Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

When the waveform is acquired

Solved!
Go to solution

Hello,

 

I use the example code to control my scope (Tektronix 2024B).

I need the VI to inform when the waveform is acquired - the exact moment.

 

How do I do it?

 

 

Thanks,

Ariel.

0 Kudos
Message 1 of 6
(3,750 Views)

You've got the time of acquisition embedded in the waveform. If you want to know the elapsed time, get the time at the start and subtract. 'The exact moment' is wishful thinking.

0 Kudos
Message 2 of 6
(3,733 Views)

Thanks for your answer.

 

The time is not the issue here.

If I set a trigger, the scope waits until it gets a waveform.

I want the VI to inform the other loop that the waveform is acquired, and as a result the loop will stop.

0 Kudos
Message 3 of 6
(3,727 Views)

Sorry for the misunderstanding.

 

You could use a queue or something as simple as a local or value property node.

0 Kudos
Message 4 of 6
(3,713 Views)
I don't know how to use those things... Can demonstrate with the vi that I uploaded it will be very useful... Thanks, Ariel
0 Kudos
Message 5 of 6
(3,689 Views)
Solution
Accepted by topic author arielsl\
0 Kudos
Message 6 of 6
(3,677 Views)