Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the WFMsingleBufAsync Example supposed to output?

Hardware: 6711 Software: VB. I don't measure any output with the WFMsingleBufAsync example. Does the buffer that is supposed to be output ever get filled, or is it just outputing 0 Volts? How and at what point in the Waveform generation procedure does the buffer get filled?
0 Kudos
Message 1 of 3
(2,535 Views)
Greetings,

The NIDAQMakeBuffer() function fills the buffer. Since the ulType input paramter is set to WFM_DATA_F64, the buffer contains a 10 period sinewave (0 - 4.99). Are you using the correct device number? How are you measuring the output? Have you verified that your board is outputting correctly with its Test Panel in Measurement & Automation Explorer (MAX)?

Spencer S.
0 Kudos
Message 2 of 3
(2,535 Views)
The Test Panel outputs correctly and some of the example functions output correctly (such as WFMsingleBufSync). The AOonePoint example doesn't output anything either. I am measuring the output from the TBX-68 terminal block using an oscilloscope and I have also tried using a multimeter for the single point functions and I just measure a voltage spike and then 0V.
Is it only possible to fill the buffer with the WFM_DATA_U8, WFM_DATA_I16, WFM_DATA_F64, WFM_DATA_U32 ulTypes? What do I do if, for instance, I want to have a 2V sine wave, or a different period?
0 Kudos
Message 3 of 3
(2,535 Views)