Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Resource name does not match COM port number

Solved!
Go to solution

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

 

 

0 Kudos
Message 1 of 3
(5,755 Views)
Solution
Accepted by topic author zizai

Hi,

 

Port 10 is reserved for the parallel port

 

Curt

0 Kudos
Message 2 of 3
(5,746 Views)

So the resource name is not neccessary to match com port name.

 

Thank you very much!

 

Eva

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