12-22-2013 05:21 AM
I am a new Labwindows user,I need to use the onboard clock to update 4 voltage arrays in 4 different AO channels .After I Write all of my 4 voltage arrays into the buffer ,I find it can only generate one by one, more than starting at same time .Should I use two-dimensional array to save the 4 voltage arrays ,which will be write to the buffer by using this two-dimensional array rather then four one-dimensional arrays?Thank you for your help.
12-22-2013 11:46 PM
Try to set the channel like this:"6229/ai0:3"
12-31-2013 01:38 AM
I have set my channel like"Dev1/ao0:1",but when I write my voltage data into the buffer ,some error happen.The error info is like this "FATAL RUN-TIME ERROR: "work.c", line 224, col 121, thread id 0x0000E838: Array argument too small (4000000 bytes). Argument must contain at least 8000000 bytes (1000000 elements)."
My board is NI6343,I use the DAQmxWriteAnalogF64 function ,the datalayout is interleaved.
01-02-2014 07:28 AM - edited 01-02-2014 07:29 AM
This question is related to this other thread where there can be a solution