Showing results for 
Search instead for 
Did you mean: 

visa sessions

Actually i am using labview to acquire real time data from rigol oscilloscope
DS1204B.I succeeded in acquiring waveforms but my problem now is to first get
data of a waveform and get its amplitude1 value and then get another waveform  
and want to use amplitude1 of previous waveform to get amplitude of second
waveform divided by amplitude1. So basicaaly i want to store that previous
value of amplitude1 of first  waveform. First i get waveform1 data and its
amplitude but when i display the second waveform on rigol and acquire it in
labview my previous data is lost that was kindly give me a
solution to this problem so i can be able to acess my  previous stored data in
next acquisition.

0 Kudos
Message 1 of 17
Use a shift register or feedback node to save the value from the last loop iteration. If you want more detail than that, post your code!
0 Kudos
Message 2 of 17
also you can use Append Waveforms VI for waveform and attach your file with shift register
or use what Sam told and use insert into array instead
0 Kudos
Message 3 of 17

What would be the point of either the Append Waveforms or Insert Into Array? Neither would be appropriate based on the op's description. A single shift register as Sam mentioned is enough.
0 Kudos
Message 4 of 17
dont you need to save your data based on time index? using just shift register will be destroy last data and you would not have a access to them
0 Kudos
Message 5 of 17

Details are provided in second math script palette used in attached vi

0 Kudos
Message 6 of 17
Can you attach an image of the block diagram? I'm posting from my phone.
0 Kudos
Message 7 of 17

different parts of my vi

0 Kudos
Message 8 of 17
I don't understand what you are trying to do. When you say waveform 1 and waveform 2, do you mean channel 1 and channel 2? Or do you mean to repeat the acquisition of both channels? And I would eliminate the Mathscript and use native LabVIEW functions.
0 Kudos
Message 9 of 17

I mean to repeat acquisition of both channels for new waveforms displayed on oscilloscope

0 Kudos
Message 10 of 17