LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding waveform from

Hi,

I wrote an application using USB 6215 DAQ in order to aquire analog signal on AI0. I aquire signals in continuous mode, that means loop structure is used. I would like to add waveform from loop iteration 1 to waveform from loop iteration 2 (loop iterations ale 1,2,3,4,5,6...) in order to compare them. In loop iteration 2 so I will have waveform from iteration 1 and iteration from iteration 2. Next iteration (3rd) I would like to have waveform from iteration 2 and iteration 3 to compare them. I used append to waveform VI, but I always want to see only 2 waveforms (from current loop iteration and from previous iteration). Any suggestion?

Kindest regards,
Tomaz Lusin
0 Kudos
Message 1 of 5
(3,274 Views)

Hi tomaz,

 

If I understood your question, this should do what you need.  I used a waveform generator as I don't have a DAQ source on this PC.

 

Regards,

Jim

LV 2020
0 Kudos
Message 2 of 5
(3,265 Views)
Hi, Jim,

I understud and tried you suggestion, but I actually need to append (in my previous message i wrote add, that was my mistake)  to the waveform from current loop iteration (let say from fifth itration) an waveform from previous iteration (in this case from fourth) in order to compare them. In next step (sixth iteration), I would like append to waveform from this iteration an waveform from fifth iteration and so on. I need ony two waveforms (e.g. 4th and 5th, 5th and 6th, 6th and 7th and so on). Any suggestion?

Best regards,
Tomaz.
0 Kudos
Message 3 of 5
(3,255 Views)

Tomaz,

How's this?

 

Jim

LV 2020
0 Kudos
Message 4 of 5
(3,252 Views)
Hi, Jim,

I appreciate your help. That is what I was looking for.


Kindest regards,
Tomaz.
0 Kudos
Message 5 of 5
(3,247 Views)