Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

simulate signal module is not generating waveforms when I build an application

Help.  I am writing a Vi where I am generating analog waveforms, applying them to a unit under test and measuring the output.  I am using the simulate signal module to generate the proper signals and then applying them to the output of my multifunction DAC.  Everything is working fine until I build my application.  The simulate signal module is working intermittently (no data output) therefore no waveform to my hardware.  Using a NI PCI-6251 board with an NI PCI 8431 RS232 card.
0 Kudos
Message 1 of 2
(2,988 Views)

Hi Ed_zah,

 

Could you tell us how you were able to narrow down the problem to the simulate signal module? Which VI are you using to generate your signal? If you have proper error handling in your code, I imagine that this should throw an error. Could you tell us what error code you are getting?

 

Also, are you starting and stopping your generation in your code? If so, this may be the reason why you are getting intermittent stops in your application. If you are doing a continuous generation, you cofigure your task to start only once and have your DAQmx write function in a loop. You can also take a look at the "Cont Gen Voltage Wfm-Int Clk.vi" from your NI Example Finder under Hardware Input and Output » DAQmx » Analog Generation » Voltage.

S_Hong
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,977 Views)