01-25-2014 04:52 AM
Hi,
it is possible to write all digital port with a decimal value for a device with 96 channels in the same time?
I have a USB 6509 device and I want to write each bit whit value 1 in loop (for the first port I write 0,1,2,4,8,16, 32, 64 and 128) with line "Dev3/port0/line0:7", but if I want to write all the ports in the same time how to set the line and the "DAQmx write.vi"?
Thank you.
Solved! Go to Solution.
01-26-2014 12:16 PM
You can setup reading and writing in 8-bit ports with the 6509. So you could just write 128 to "Dev3/port0". If you want to write to all 12 ports, I recommend making a task that is multiple channels on the 6509 module, each channel in the task being a port. You can then use the Multiple Channel, Single Sample to write your values. Your values will need to be in an array of U8.