LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

obtaining resource base address

Hi,

I am using NI's 8 port RS232 card and I'm programmatically obtaining the port numbers and names for each COM port. However for my application I must use the low level functions to change the baud rate on the fly. Is there a way I can find the base addresses for each of the ports or even for the card as a whole.

I am trying to avoid look-up tables as the software ideally needs to be platform independent.

Your help is much appreciated!!

Alan
0 Kudos
Message 1 of 2
(3,130 Views)
Look up and enumerate the com ports in the system registry. There is enemeration functions and registry tools in the programmers toolbox.
Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd
0 Kudos
Message 2 of 2
(3,108 Views)