PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

samples between generate in script for nihsdio pxi 6561

I have a pxi 6561 that we use with labview. I would like to create a script to generate various digital waveforms. The scripting feature has a command generate to generate many waveforms. Suppose I have three waveforms named A, B, and C, and I have as my code:

script example
generate A
generate B
generate C
end script

When this code is executed, do they waveforms get generated sequentially A, B, and C with no samples in between them or are there some samples of 0's in between.


0 Kudos
Message 1 of 2
(2,724 Views)
Timothy,

The waveforms get played back to back with no delay between them.  If you need to insert delays you can use the "wait" function to either wait for a finite number of sample or for a trigger ("script trigger").

The NI Script Editor installed with your HSDIO is an easy way to build a more complicated script and to get some more detailed information on the scripting engine.

Message Edited by Ryan M on 10-08-2006 10:15 PM

Message 2 of 2
(2,721 Views)