LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial port configuration on PXI 8185 w/ 8423 card.

I'm trying to configure wire mode for the serial ports on a 8423 RS485 card with the NI-RT.INI file, but it changes the RS232 ports on the controler. The Property node method doesn't work at all. Using LV-RT 7.1 and loading from mac OSX.
0 Kudos
Message 1 of 3
(2,675 Views)
Hello,

A few questions may clarify the task at hand a bit. Which wire mode are you trying to configure, and how were you using the property node? Did you get an error, or just not experience your desired functionality? I am not an RT expert, so if you are still trying to modify the NI-RT.INI file someone else will likely be of more assistance. However, if you are simply hoping to communicate via your 485 serial ports, definitely get back!

I look forward to hearing back from you!

JLS
Best,
JLS
Sixclear
0 Kudos
Message 2 of 3
(2,675 Views)
I just figured it out. I was trying to set the wire mode on the RS485 to two-wire auto, and the RS232 to RS232-auto. The problem was that I had a 'WIRE_MODE=xxx' in my NI-RT.INI file, this disabled the ability to set the wire modes with the serial property node. In addition, the documentation has changed: The pre-VISA 3 instructions were to let (page 6-5 NI Serial Hardware and Software for Windows User Manual)
RS485 4wire WIRE_MODE=128
RS485 2wire DTR w/echo =129
RS485 2wire DTR cont =130
RS485 2wire auto =131

but the new VISA serial has these as 0,1,2,3 respectively, with 128, 129 and 130 being RS232 wire modes. 131 is undefined now.

So it is all working as of this afternoon. Was obtuse to find these errors though, and neither the NI-RT.INI file
or the new VISA wire mode setting ability are documented correctly anywhere that I could find. Thanks for the offer of help!
0 Kudos
Message 3 of 3
(2,675 Views)