LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmxWriteDigitalU32 Status code: -200566

Hi,

I have this error -200566 when I executed DAQmxWriteDigitalU32 command - 'Specified digital channel contains more bits then supported by the 32-bit verison of DAQmx Port Write. Minimum Write Size (In Bits) : 64'

 

The hardware being used is NI6509 and driver is DAQmx driver 9.1.7. I created a 32-bit digital output using command below but somehow write digital command thinks I am writing something more than 32 bits I believed.

 

DAQmxErrChk (DAQmxCreateDOChan(NewMeca_DioHandle,"NI6509/port5/line0:7, NI6509/port6/line3:7, NI6509/port7/line3:7, NI6509/port8/line3:7, NI6509/port11/line0:7, NI6509/port9/line3","",DAQmx_Val_ChanForAllLines));

 

I realized if I changed the port definition in the command below to 4 ports the error would go away for example

 

DAQmxErrChk (DAQmxCreateDOChan(NewMeca_DioHandle,"NI6509/port5/line0:7, NI6509/port6/line3:7, NI6509/port7/line3:7, NI6509/port8/line3:7","",DAQmx_Val_ChanForAllLines));

 

Anything more than 5 port the error would happen regardless of the number of bits is less than 32. I am wondering if this is a software bug.

 

I know we have later versions of DAQmx but I wanted to ask first before I go that path. Please help. Thanks.

 

0 Kudos
Message 1 of 1
(977 Views)