Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-485/4 - Initialize Ports

Hello !
I want to work in Half Duplex Mode, I am using the macro that defined working in Two wires TXRDY, But in the 'DEVICE MANAGER' There is a.way to configure operation Mode (4 wirws or two wires). The problem is that the application does not overwride this configuration, e.g - if in the Device Manager configure 4 Wires and my application initialize to 2 wires TXRDY, it still works on 4 Wires and i get an error, How can configure it not using the Device Manager ?

Thanks
0 Kudos
Message 1 of 2
(3,236 Views)
Hi,

The whole purpouse of that macro used with the DeviceIOControl function is to overwrite the setting in the Device Manager. The Device Manager won't show the change, but the board should work in the appropriate mode.

I've searched for know problems, but I couldn't find anything.

What OS are you using?,
What programming environment?,
What's the version of NI-Serial that you're using?
What's the error code you're getting?

If you configure the board in Device Manager for the 2 wires mode, does the program work correctly?

DiegoF
National Instruments.
0 Kudos
Message 2 of 2
(3,236 Views)