From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Sweep generation does not work with PCI-6110

I would like to use the attached vi "Sweep Generation.vi" to generate a sweep and to give this sweep out on the PCI-6110 card. But there is no output at AO 0 and I do not get any error message. Has anyone an idee what could be the problem?
0 Kudos
Message 1 of 2
(2,462 Views)
There are two minor issues with your vi:
  1. The DAQmx Timing.vi is set to "Use Waveform" but your waveform doesn't contain timing information as it is not a waveform datatype but a DBL array. You should switch either the datatype of your waveform or change the DAQmx Timing.vi to "Sample Clock" and provide a sample clock parameter.
    That's what I did in a test and now the application is running fine.

  2. The while loop in your vi never stops as long as there is no error so you will have to press the abort button in order to stop the vi. This is not a clean way to stop a data generation task as DAQmx clear task.vi is never called.
I hope that helps,

Jochen Klier
National Instruments Germany
0 Kudos
Message 2 of 2
(2,447 Views)