07-27-2012 07:35 PM
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
07-30-2012 04:38 PM - edited 07-30-2012 04:38 PM
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,
08-13-2012 12:54 PM
Did you find a solution to your problem? If not, were you trying to do this for a LabVIEW Real-Time system?
08-13-2012 01:05 PM
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.
08-13-2012 02:12 PM
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