02-06-2023 01:34 PM
I am trying to write out a Digital Channel with 8 bits for 6323.. I used Dev1/port0/line7:0, but i am getting an error - Specified digital channel contains more bits than supported by the 8-bit version of DAQmx Port Write.Use the version of DAQmx Port Write that supports wider digital ports." As i understand it correctly, I can choose port0 -8 bits. Is this correct. Why then woud i get an error .. How do i use 8 bits of a line. See Attached.
I need to write to port0/line7:0 and read from another port0/line8:15. How would i do this ? Or can i only use a port with 8 bits l.
02-06-2023 03:06 PM
The issue is that Port0 is a 32-bit wide port, the U8 write API can only handle ports that contain up to 8 channels (not the task but the hardware)
This API will work for Port1 and Port2
02-10-2023 06:00 AM
Thanks.
How do you set a line to start ligic
hi instead of low?
02-10-2023 02:46 PM
I am getting output with dev0\line7:0 (Connector 0) but not getting output from dev0\line15:8 which outputs thru connector SCB-68A Connector 1 output ..
It does work thru the NI max Test panel , but not thru the code
Should i set all channels