03-19-2010 09:17 AM
Hi all,
I'm using the text based DAQmx interface (Version 9.1.0) and try to find the names of all digital output terminals with the following code snippet:
char data[1024];
DAQmxGetDevDOLines("Dev1", data, 1024);
and get always an incomplete string cutted at position 430 like this:
"Dev1/port0/line0, Dev1/port0/line1, Dev1/port0/line2, Dev1/port0/line3, Dev1/port0/line4, Dev1/port0/line5, Dev1/port0/line6, Dev1/port0/line7, Dev1/port1/line0, Dev1/port1/line1, Dev1/port1/line2, Dev1/port1/line3, Dev1/port1/line4, Dev1/port1/line5, Dev1/port1/line6, Dev1/port1/line7, Dev1/port2/line0, Dev1/port2/line1, Dev1/port2/line2, Dev1/port2/line3, Dev1/port2/line4, Dev1/port"
Are there any size limitations? Work arounds?
Thanks
03-23-2010 09:01 AM
03-23-2010 10:09 AM
Hi Ulrich,
today I tried to reproduce my problem. But it works perfectly. It could be a problem with my debugger string display because the 430 seems to be correct for the string length. (USB-6251 simulated board)
Thanks