PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Repeat waveform from HWS file

I've created a waveform using NI Digital Waveform Editor, but I want to repeat it N  times in quick succession using the PXIe-6556.

 

Using LabVIEW 2011, I've tried this in software, placing a "for" loop around "initiate" and "wait until done" HSDIO blocks. This is a software regeneration of the waveform though, and is nondeterministic. The gap between sequential runs of the waveform is arbitrary.

 

Is it possible within digital waveform editor to define the waveform once, and then get it to generate N repeats of the waveform in the one HWS file?

0 Kudos
Message 1 of 4
(5,662 Views)

Hi Aidan,

 

Try the niHSDIO Configure Generation Repeat VI (found in NI-HSDIO > Generation > Configuration palette.

 

You can use this to set up finite repeats, one of the inputs is "N".

 

This creates hardware timed waveform repeats instead of software (which is as you have seen very slow and unreliable due to OS being in control).

 

Regards

Ian S
Applications Engineer CLA
National Instruments UK&Ireland
0 Kudos
Message 2 of 4
(5,646 Views)

You can also consider using Scripting. There are some examples that ship with the driver that show you how to perform scripted Generations.

 

Regards,

DJ_L

0 Kudos
Message 3 of 4
(5,637 Views)

Hi guys,

 

Thanks very much, Ian's suggestion worked perfectly.

0 Kudos
Message 4 of 4
(5,635 Views)