Hello, i have been using our products in labview for a while, but whit the older libraries, so we want to upgrade to the new VIs, so i found a problem, i am using a usb-1208ls and i want to activate only 1 output, but when i do it modifies the another ones, it puts the another values of the other outputs in zero, there is a way to only activate one bit or output? not modifying the another ones
- Job Title: Test Engineer
- Industry: Sigmatron Intl.
- Application: Test Equipment
83 months ago
Emmanuel Batista
Chihuauha, MX
Answers
Is there a way to read the actual output status?
83 months ago
EB
Was this answer helpful?
Yes (4) /
No
(1)
Hello Emmanuel - MCC’s hardware does not support reading back values written to the output. If the error code (returned from the data write) is 0, then the output was successful.
83 months ago
Measurement Computing
Was this answer helpful?
Yes (4) /
No
(0)
I think you are talking about using the digital outputs (8 on FirstPortA and 8 on FirstPortB) on the USB-1208LS, which is an older hardware model (that uses a real 8255 IC; newer models emulate the 8255). The issue you report is limited to just a couple of older DAQ models. A workaround is to, at the start of your app, write out benign values to both FirstPortA and FirstPortB, before you start to write new values to either port. Any further writes will not impact (reset) values written prior, since the direction of both ports were set (automatically for you by ULx) in the first two writes.
83 months ago
Was this answer helpful?
Yes (5) /
No
(0)