Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-DIO-96

Initialization: Currently using the DIo-96 to control some relays. However unless I use the Measurement and Automation Explorer to reset all the Ports on the Device I am unable to communicate with the device using a VISA Session in my Labview 6i program.When I use MAX and reset the ports all works fine in my Labview code. I also noticed that unless I do this in MAX I cannot use the tool's "Open VISA Session" option to set particuliar outputs. What step am I missing?
What I ateempt to do is use a VISA Out 8 to write to the individual ports in a loop to reset them. However this does not work unless I use MAX to rest the device first. Any help would be appreciated. Thanks.
0 Kudos
Message 1 of 3
(4,306 Views)
Initialization: Currently using the DIo-96 to control some relays. However unless I use the Measurement and Automation Explorer to reset all the Ports on the Device I am unable to communicate with the device using a VISA Session in my Labview 6i program.One possiblity is that you are forgetting make a call to DIO Port Config to set the port to output. By default, the power-up state of the DIO board is to have its ports be inputs.

When you use the test panels in MAX, it calls a Port Config for you.
0 Kudos
Message 2 of 3
(4,306 Views)
Initialization: Currently using the DIo-96 to control some relays. However unless I use the Measurement and Automation Explorer to reset all the Ports on the Device I am unable to communicate with the device using a VISA Session in my Labview 6i program.Since I am using a VISA Session I cannot use the DIO Port Config unless I know the Device ID, which currently is unavailable to me. So shouldn't I be trying to configure the ports thru a VISA Out 8 or similar method, which is what I am attempting to do.
0 Kudos
Message 3 of 3
(4,306 Views)