Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Port Binding for RS-485 card?

I am trying to change the port binding on a PCI-8433/2 card but am unable to,  When I go into MAX and select the remote system that has the card and select into the properties of the card the port binding selection box is greyed out.  I have run as administrator, uninstalled, re-installed different driver version (3.6.0 and 3.8,1) but all to no avail.  My software maps the port to COM2 but theport biding is stuck on COM3.  Any suggestions on how to change the port binding?

 

Thanks,
Jeremy Williams

VPI Engineering

jeremyw@vpieng.com

0 Kudos
Message 1 of 5
(3,799 Views)

Hi Jeremy,

 

It looks like you're already working with another Applications Engineer on this issue.  Please feel free to post if you find a solution or further updates about this issue.

 

Sincerely,

 

Bogdan Buricea
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(3,775 Views)

Did you find a solution to your problem? If not, were you trying to do this for a LabVIEW Real-Time system?

0 Kudos
Message 3 of 5
(3,758 Views)

I found a semi-solution to this problem.  We ended up disabling the second internal serial port in the BIOS and that allowed us to set the ports as we wanted.  I didn't find how to arbitrarily set the binding as I wanted to.  We were using a real-time system.

 

Thanks,
Jeremy W.

0 Kudos
Message 4 of 5
(3,756 Views)

The newer versions of NI-Serial will always start numbering your PCI boards at COM3. This mimics the behavior that is seen on Windows machines, and allows for the system to have two built-in ports, without conflicts.

 

There is no way to change the port assignments through a utility, but the current versions of NI-Serial for LabVIEW Real-Time store the port assignments in the C:\ni-rt\system\niserial.dbs file. You could edit this file if you need to change the assignment for a port.

 

[Reserved Ports]

NonPnpDevice\VEN_16550&DEV_232\3f8\Port1 = 1
NonPnpDevice\VEN_16550&DEV_232\2f8\Port1 = 2

 

In this section, the number at the end of the line is the COM port assignment. You can assign any number you want here, as long as there are no duplicates. I believe each number is also listed in the section for each port, in the "COM2" form. I think that will update automatically when the file is rebooted, but I am not sure.

 

Reboot the RT machine after transferring the modified niserial.dbs file back to the target, and you should see the new port numbers in use.

 

-Jason Smith

 


 

 

0 Kudos
Message 5 of 5
(3,750 Views)