Reply by Kevin Aylward September 3, 20212021-09-03
"legg"  wrote in message news:pnp4igh0oujoc5dn6cslfahlmrn5m8h37f@4ax.com... 


>> >>I've explained it. X-axis is node number. Y axis is voltage on each of >>those nodes. Since node numbers are discrete, it would probably look >>stairstepped, like a DAC output.
Rotate your laptop 90 degs. http://www.anasoft.co.uk/ SuperSpice http://www.kevinaylward.co.uk/ee/index.html
Reply by Bob Baylor September 1, 20212021-09-01
On Thursday, August 19, 2021 at 4:08:23 PM UTC-7, John Larkin wrote:
> Suppose I have a circuit with 20 nodes, N1 ... N20. > > I want to plot the node voltages, left to right on the screen. > > Any ideas? > > Clumsy ways: > > Build an analog mux and clock it with a counter, plot with time as > x-axis > > Push a pulse into a tapped transmission line to sequence a bunch of > switches > > Export a file and do it in a separate program
I would use python. The script could present a GUI of the output and any input control of the circuit (values, voltages, frequencies, whatever). Spice can be pretty slow, of course, so the GUI controls wouldn't be "live"; Instead, there would be a "Do it" button to start the cycle: * write a file of parameter values for inclusion into the spice model * run Spice * process the raw file using the ltspice python library * plot the nodes of interest. If you're trying to get a "feel" for the transfer functions, plot little trails of the previous runs. I had a project that required LTSpice to verilog test vectors to Vivado to vcd dump files (vddvcd python library) to final processing (to verify the verilog). The GUI would probably take the most time to code. Perhaps just columns of numbers would be ok? HTH, Bob
Reply by August 22, 20212021-08-22
On Sun, 22 Aug 2021 11:03:54 -0400, legg <legg@nospam.magma.ca> wrote:

>On Sun, 22 Aug 2021 11:00:46 -0400, legg <legg@nospam.magma.ca> wrote: > >>On Sat, 21 Aug 2021 11:24:21 -0700, jlarkin@highlandsniptechnology.com >>wrote: >><snip> >>>>>>>>Sounds like a table, rather than a plot. >>>>>>> >>>>>>>I want a plot. >>>>>>> >>>>>>>LT Spice now has the ADG1208 analog mux. Three of them lets me scan 24 >>>>>>>points. I can drive them from a 1 Hz counter or a few pulse >>>>>>>generators. >>>>>>> >>>>>> >>>>>>This topic on the LTspice forum may be addressing your 'challenge': >>>>>> >>>>>>https://groups.io/g/LTspice/topic/measure_voltage_at_periodic/85037428?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,85037428 >>>>>> >>>>>> >>>>>>RL >>>>> >>>>>Interesting, but that's not what I want to do. >>>> >>>>Not sure I see it. >>>> >>>>Do you want a visual display similar to a bar spectrun analyser >>>>output? >>> >>>I've explained it. X-axis is node number. Y axis is voltage on each of >>>those nodes. Since node numbers are discrete, it would probably look >>>stairstepped, like a DAC output. >> >All this talk about how LTspice encourages your instincts; > >....and here you are wanting to load the poor circuit with >twenty voltmeters. > >RL
In this case, that graph is what I want to train my instincts. Spice doesn't care about loading. I sometimes have to force myself to not care about kilowatt resistor power dissipation, or megavolt potentials. -- Father Brown's figure remained quite dark and still; but in that instant he had lost his head. His head was always most valuable when he had lost it.
Reply by legg August 22, 20212021-08-22
On Sun, 22 Aug 2021 11:00:46 -0400, legg <legg@nospam.magma.ca> wrote:

>On Sat, 21 Aug 2021 11:24:21 -0700, jlarkin@highlandsniptechnology.com >wrote: ><snip> >>>>>>>Sounds like a table, rather than a plot. >>>>>> >>>>>>I want a plot. >>>>>> >>>>>>LT Spice now has the ADG1208 analog mux. Three of them lets me scan 24 >>>>>>points. I can drive them from a 1 Hz counter or a few pulse >>>>>>generators. >>>>>> >>>>> >>>>>This topic on the LTspice forum may be addressing your 'challenge': >>>>> >>>>>https://groups.io/g/LTspice/topic/measure_voltage_at_periodic/85037428?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,85037428 >>>>> >>>>> >>>>>RL >>>> >>>>Interesting, but that's not what I want to do. >>> >>>Not sure I see it. >>> >>>Do you want a visual display similar to a bar spectrun analyser >>>output? >> >>I've explained it. X-axis is node number. Y axis is voltage on each of >>those nodes. Since node numbers are discrete, it would probably look >>stairstepped, like a DAC output. >
All this talk about how LTspice encourages your instincts; ....and here you are wanting to load the poor circuit with twenty voltmeters. RL
Reply by Rick C August 21, 20212021-08-21
On Saturday, August 21, 2021 at 5:10:03 PM UTC-4, Rich S wrote:
> On Friday, August 20, 2021 at 9:57:08 PM UTC, gnuarm.del...@gmail.com wrote: > > On Friday, August 20, 2021 at 1:16:09 PM UTC-4, Rich S wrote: > > > On Thursday, August 19, 2021 at 11:08:23 PM UTC, John Larkin wrote: > > > > Suppose I have a circuit with 20 nodes, N1 ... N20. > > > > > > > > I want to plot the node voltages, left to right on the screen. > > > > > > > > Any ideas? > > > > > > > > Clumsy ways: > > > > > > > > Build an analog mux and clock it with a counter, plot with time as > > > > x-axis > > > > > > > > Push a pulse into a tapped transmission line to sequence a bunch of > > > > switches > > > > > > > > Export a file and do it in a separate program > > > Hello John, > > > So the issue is LTSpice won't plot that many (n=20) in one graph? > > > Sorry, I use MicroCap, not LTSPice. > > > Plotting 20 nodes is no sweat in MicroCap. > > > > > > Or, you want 20 separate plots, each in its own window? That, I can't do either. > > > > > > In any case, I would export* the data & graph it in Excel. > > > > > > *In MicroCap: > > > Run Transient Analysis (Alt-1). > > > F10 > Numeric Output > Check All, Data Points=Actual, "OK" > > > Re-run Transient Analysis (F2), see Numeric Output (F5) > > He wants the equivalent of a bar graph, 20 values on a single signal. > > > > Using 20 frequency sources each could be multiplied by the related signal to be displayed and the outputs combined to produce 20 peaks in a spectral output. A bit messier than a signal with DC levels, but not horribly so. > > > > -- > > > > Rick C. > > > > + Get 1,000 miles of free Supercharging > > + Tesla referral code - https://ts.la/richard11209 > Ah, maybe... Is this it? > I took 20 sample-and-holds. Each 'sample' pin driven by its own timed pulse. > The 20 pulses are a time series, generated by a stimulus generator (actually 3 16-bit generators, > just using the first 20 of 48 outputs). I setup the stimulus pattern to toggle each 's' node > ('sample') every 1us, followed by 1us logic-low , then 1us 'reset', 1us of logic-low, etc. > The work was a bit tedious but not too bad. > https://drive.google.com/file/d/1H7QancjrA3HlFv0unvj29Pi_hrJpro_0/view?usp=sharing > https://drive.google.com/file/d/1ybstHRkP7QFSW5XvB-aKy9-ISkuox6lk/view?usp=sharing > https://drive.google.com/file/d/1BNvojDJCQXBGBVezQLQpIZBLYnsmpbr-/view?usp=sharing > https://drive.google.com/file/d/1pGHaOsOQ1QXrmbd_vcd33n0UtIkweHoS/view?usp=sharing
I'll let you whitewash this fence if you give me your apple! "Work consists of whatever a body is obliged to do, and that Play consists of whatever a body is not obliged to do". -- Rick C. -- Get 1,000 miles of free Supercharging -- Tesla referral code - https://ts.la/richard11209
Reply by Rich S August 21, 20212021-08-21
On Friday, August 20, 2021 at 9:57:08 PM UTC, gnuarm.del...@gmail.com wrote:
> On Friday, August 20, 2021 at 1:16:09 PM UTC-4, Rich S wrote: > > On Thursday, August 19, 2021 at 11:08:23 PM UTC, John Larkin wrote: > > > Suppose I have a circuit with 20 nodes, N1 ... N20. > > > > > > I want to plot the node voltages, left to right on the screen. > > > > > > Any ideas? > > > > > > Clumsy ways: > > > > > > Build an analog mux and clock it with a counter, plot with time as > > > x-axis > > > > > > Push a pulse into a tapped transmission line to sequence a bunch of > > > switches > > > > > > Export a file and do it in a separate program > > Hello John, > > So the issue is LTSpice won't plot that many (n=20) in one graph? > > Sorry, I use MicroCap, not LTSPice. > > Plotting 20 nodes is no sweat in MicroCap. > > > > Or, you want 20 separate plots, each in its own window? That, I can't do either. > > > > In any case, I would export* the data & graph it in Excel. > > > > *In MicroCap: > > Run Transient Analysis (Alt-1). > > F10 > Numeric Output > Check All, Data Points=Actual, "OK" > > Re-run Transient Analysis (F2), see Numeric Output (F5) > He wants the equivalent of a bar graph, 20 values on a single signal. > > Using 20 frequency sources each could be multiplied by the related signal to be displayed and the outputs combined to produce 20 peaks in a spectral output. A bit messier than a signal with DC levels, but not horribly so. > > -- > > Rick C. > > + Get 1,000 miles of free Supercharging > + Tesla referral code - https://ts.la/richard11209
Ah, maybe... Is this it? I took 20 sample-and-holds. Each 'sample' pin driven by its own timed pulse. The 20 pulses are a time series, generated by a stimulus generator (actually 3 16-bit generators, just using the first 20 of 48 outputs). I setup the stimulus pattern to toggle each 's' node ('sample') every 1us, followed by 1us logic-low , then 1us 'reset', 1us of logic-low, etc. The work was a bit tedious but not too bad. https://drive.google.com/file/d/1H7QancjrA3HlFv0unvj29Pi_hrJpro_0/view?usp=sharing https://drive.google.com/file/d/1ybstHRkP7QFSW5XvB-aKy9-ISkuox6lk/view?usp=sharing https://drive.google.com/file/d/1BNvojDJCQXBGBVezQLQpIZBLYnsmpbr-/view?usp=sharing https://drive.google.com/file/d/1pGHaOsOQ1QXrmbd_vcd33n0UtIkweHoS/view?usp=sharing
Reply by August 21, 20212021-08-21
On Sat, 21 Aug 2021 14:09:06 -0400, legg <legg@nospam.magma.ca> wrote:

>On Sat, 21 Aug 2021 08:31:24 -0700, jlarkin@highlandsniptechnology.com >wrote: > >>On Sat, 21 Aug 2021 09:40:16 -0400, legg <legg@nospam.magma.ca> wrote: >> >>>On Thu, 19 Aug 2021 21:33:34 -0700, jlarkin@highlandsniptechnology.com >>>wrote: >>> >>>>On Thu, 19 Aug 2021 22:39:00 -0400, legg <legg@nospam.magma.ca> wrote: >>>> >>>>>On Thu, 19 Aug 2021 16:08:12 -0700, John Larkin >>>>><jlarkin@highland_atwork_technology.com> wrote: >>>>> >>>>>>Suppose I have a circuit with 20 nodes, N1 ... N20. >>>>>> >>>>>>I want to plot the node voltages, left to right on the screen. >>>>>> >>>>>>Any ideas? >>>>>> >>>>>>Clumsy ways: >>>>>> >>>>>>Build an analog mux and clock it with a counter, plot with time as >>>>>>x-axis >>>>>> >>>>>>Push a pulse into a tapped transmission line to sequence a bunch of >>>>>>switches >>>>>> >>>>>>Export a file and do it in a separate program >>>>> >>>>>Sounds like a table, rather than a plot. >>>> >>>>I want a plot. >>>> >>>>LT Spice now has the ADG1208 analog mux. Three of them lets me scan 24 >>>>points. I can drive them from a 1 Hz counter or a few pulse >>>>generators. >>>> >>> >>>This topic on the LTspice forum may be addressing your 'challenge': >>> >>>https://groups.io/g/LTspice/topic/measure_voltage_at_periodic/85037428?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,85037428 >>> >>> >>>RL >> >>Interesting, but that's not what I want to do. > >Not sure I see it. > >Do you want a visual display similar to a bar spectrun analyser >output?
I've explained it. X-axis is node number. Y axis is voltage on each of those nodes. Since node numbers are discrete, it would probably look stairstepped, like a DAC output. -- Father Brown's figure remained quite dark and still; but in that instant he had lost his head. His head was always most valuable when he had lost it.
Reply by legg August 21, 20212021-08-21
On Sat, 21 Aug 2021 08:31:24 -0700, jlarkin@highlandsniptechnology.com
wrote:

>On Sat, 21 Aug 2021 09:40:16 -0400, legg <legg@nospam.magma.ca> wrote: > >>On Thu, 19 Aug 2021 21:33:34 -0700, jlarkin@highlandsniptechnology.com >>wrote: >> >>>On Thu, 19 Aug 2021 22:39:00 -0400, legg <legg@nospam.magma.ca> wrote: >>> >>>>On Thu, 19 Aug 2021 16:08:12 -0700, John Larkin >>>><jlarkin@highland_atwork_technology.com> wrote: >>>> >>>>>Suppose I have a circuit with 20 nodes, N1 ... N20. >>>>> >>>>>I want to plot the node voltages, left to right on the screen. >>>>> >>>>>Any ideas? >>>>> >>>>>Clumsy ways: >>>>> >>>>>Build an analog mux and clock it with a counter, plot with time as >>>>>x-axis >>>>> >>>>>Push a pulse into a tapped transmission line to sequence a bunch of >>>>>switches >>>>> >>>>>Export a file and do it in a separate program >>>> >>>>Sounds like a table, rather than a plot. >>> >>>I want a plot. >>> >>>LT Spice now has the ADG1208 analog mux. Three of them lets me scan 24 >>>points. I can drive them from a 1 Hz counter or a few pulse >>>generators. >>> >> >>This topic on the LTspice forum may be addressing your 'challenge': >> >>https://groups.io/g/LTspice/topic/measure_voltage_at_periodic/85037428?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,85037428 >> >> >>RL > >Interesting, but that's not what I want to do.
Not sure I see it. Do you want a visual display similar to a bar spectrun analyser output? RL RL
Reply by August 21, 20212021-08-21
On Sat, 21 Aug 2021 09:40:16 -0400, legg <legg@nospam.magma.ca> wrote:

>On Thu, 19 Aug 2021 21:33:34 -0700, jlarkin@highlandsniptechnology.com >wrote: > >>On Thu, 19 Aug 2021 22:39:00 -0400, legg <legg@nospam.magma.ca> wrote: >> >>>On Thu, 19 Aug 2021 16:08:12 -0700, John Larkin >>><jlarkin@highland_atwork_technology.com> wrote: >>> >>>>Suppose I have a circuit with 20 nodes, N1 ... N20. >>>> >>>>I want to plot the node voltages, left to right on the screen. >>>> >>>>Any ideas? >>>> >>>>Clumsy ways: >>>> >>>>Build an analog mux and clock it with a counter, plot with time as >>>>x-axis >>>> >>>>Push a pulse into a tapped transmission line to sequence a bunch of >>>>switches >>>> >>>>Export a file and do it in a separate program >>> >>>Sounds like a table, rather than a plot. >> >>I want a plot. >> >>LT Spice now has the ADG1208 analog mux. Three of them lets me scan 24 >>points. I can drive them from a 1 Hz counter or a few pulse >>generators. >> > >This topic on the LTspice forum may be addressing your 'challenge': > >https://groups.io/g/LTspice/topic/measure_voltage_at_periodic/85037428?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,85037428 > > >RL
Interesting, but that's not what I want to do. -- Father Brown's figure remained quite dark and still; but in that instant he had lost his head. His head was always most valuable when he had lost it.
Reply by legg August 21, 20212021-08-21
On Thu, 19 Aug 2021 21:33:34 -0700, jlarkin@highlandsniptechnology.com
wrote:

>On Thu, 19 Aug 2021 22:39:00 -0400, legg <legg@nospam.magma.ca> wrote: > >>On Thu, 19 Aug 2021 16:08:12 -0700, John Larkin >><jlarkin@highland_atwork_technology.com> wrote: >> >>>Suppose I have a circuit with 20 nodes, N1 ... N20. >>> >>>I want to plot the node voltages, left to right on the screen. >>> >>>Any ideas? >>> >>>Clumsy ways: >>> >>>Build an analog mux and clock it with a counter, plot with time as >>>x-axis >>> >>>Push a pulse into a tapped transmission line to sequence a bunch of >>>switches >>> >>>Export a file and do it in a separate program >> >>Sounds like a table, rather than a plot. > >I want a plot. > >LT Spice now has the ADG1208 analog mux. Three of them lets me scan 24 >points. I can drive them from a 1 Hz counter or a few pulse >generators. >
This topic on the LTspice forum may be addressing your 'challenge': https://groups.io/g/LTspice/topic/measure_voltage_at_periodic/85037428?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,85037428 RL