LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous analog generation with LV/DAQmx

I'm having trouble porting some waveform generation VIs from LV6/TS2 to LV7/TS3. I have two low-level VIs that generate a sinusoid waveform (Analog Output) and a square wave (Counter output). The original VIs were developed several years ago in LV 6 and used NI-DAQ VIs to interface with the PXI-6602 and PXI-6713. Each VI sets up and starts it's waveform generation and then exits with the waveform still being generated by the hardware. These VIs are used in TestStand sequences to start the continuous waveform and allow the TestStand sequence to continue where other VIs make measurements or the user is instructed to probe points internal to the circuit under test. When the measurments are completed, separate VIs are called from the sequence to stop the waveforms.

Our new system also uses the PXI-6602 but uses the PXI-6723 instead of the PXI-6713. The square wave generation VI works correctly on the new hardware without any changes, but the sine wave VI cannot be used since the PXI-6723 does not support the NI-DAQ interface. I have tried building a new DAQmx based analog waveform using the examples in the NI Example Finder under Hardware Input and Output->DAQmx->Analog Generation->Voltage. The examples work correctly on my system, but they all stop the waveform generation when the VI closes. I modified some of the examples to remove the DAQmx Clear Task.vi and just exit after the DAQmx Start Task.VI but the waveform is still stopped when the VI exits.

Is there a way to configure the DAQmx task to allow the waveform generation to continue after the top-level VI exits?

-or-

Is there a way to use NI-DAQ on the PXI-6723 that I overlooked?

-or-

Is there a way to use a VI in TestStand that can run in the background while other steps are processed and be closed later in the sequence?


Thanks,

Alan Granger
0 Kudos
Message 1 of 2
(2,954 Views)
Hi,

Unfortunatly NI-Trad. DAQ doesn't support PXI 6723. Only NI-DAQ7.2 support PXI 6723.
You can choos the Step which call the Analog Signal generation VI and call properties>> run options >> change the unload option. I think that is the way to run the VI in TS Background.

I hope it helps.
TN
0 Kudos
Message 2 of 2
(2,941 Views)