03-27-2013 10:35 PM
Hi,
When I connect board to computer, I use
ResourceManager.GetLocalManager().FindResources("?*")
to get resource name("ASRL11::INSTR") and use this name I invoke
Session session = ResourceManager.GetLocalManager().Open(name);
to get session and get session's HardwareInterfaceName property value.
The problem is that the COM port number in the HardwareInterfaceName property("Com10") does not match the resource name. The COM port number is correct, it is the same as it is shown in Windows Device Manager. But why is the resource name "ASRL11::INSTR", it should be "ASRL10::INSTR".
Does anyone have an idea?
Thanks,
Eva
04-04-2013 11:31 AM
As I remember, ASRL10::INSTR on NI-VISA was reserved by the legacy printer parallel port (LPT1). Likely the 10th ASRL is still reserved for the LPT1 (even if non-existing) port therefore COM10 may be mapped to the next ASRL11::INSTR.
04-07-2013 12:42 AM
Yes, number 10 is reserved for parallel port.
Thank you very much.