LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question on remote instrument communication

HI All,

 

I have a keysight instrument connected to a remote PC through USB (but it gets an IP address -- may be virtual network IP). From my local PC, i am trying to communicate with this instrument.

NIMAX can see the instrument under "Remote systems --> IP address of remote PC --> Devices --> VISA TCP/IP resource" and can communicate through "VISA Test Panel".

tdpd78_1-1722472227854.png

tdpd78_2-1722472419959.png

 

 

However, If i try to communicate to the same instrument using Labview (LV2020, Windows 11 64 bit), it is throwing me a resource not found error.

tdpd78_3-1722472726633.png

 

Thank you in advance for your suggestions/help.

0 Kudos
Message 1 of 3
(203 Views)

So your pc is connected to a remote pc, the remote pc is connected to a keysight instruments on USB. 

Does NI MAx works when you send "*IDN?\n" over TCP/IP ? 

 

What do you have running on both Remote and local ? 

 

Please share your code for LV 2020. 

 

 

0 Kudos
Message 2 of 3
(153 Views)

Hi LVNinja,

Thanks for responding.

 

So your pc is connected to a remote pc, the remote pc is connected to a keysight instruments on USB. 

Yes

 

Does NI MAx works when you send "*IDN?\n" over TCP/IP ?

Yes, as shown in Figure.

 

What do you have running on both Remote and local ? 

If you are asking about OS, they both are Windows 11 64 bit. On my PC, LV2020 and on remote PC i enabled the NI VISA server, thats how i was able to communicate through NIMax through "VISA:\\" address.

 

Please share your code for LV 2020

Code is exactly a "VISA open" subvi where i am getting an error. I did not add any more subvi's yet. As shown in picture, in the first subvi itself i am getting an error.

 

Thanks,

0 Kudos
Message 3 of 3
(144 Views)