PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA question GPIB - SOCKET - INSTR

Hi,

 

I am trying to comunicate with a YOKOGAWA OSA through TCPIP::xxx.xxx.xxx.xxx::INSTR and I am having an error.

First I have tried to  use GPIB which works fine. After this I was also trying to use ethernet connection but I am not having success.

I have used  TCPIP::xxx.xxx.xxx.xxx::ddd::SOCKET that estableshes comunication...

I have also created this in Measurement and Automation and the comunication works fine.

 

But with this I don't know how to sen the queries, because when I use this no action is taken in the device (YOKOGAWA).

 

I have also tryed the TCPIP::xxx.xxx.xxx.xxx::INSTR, and this returns an error : -1073807343.

Firts I thought that was because of the port that was not specified, but I realy don't know what is the error.

 

From my search in the forums and the notes available by NI, I thought that I could use VISA with any of these strings:

 

1) GPIB::1::1::INSTR

2) TCPIP::xxx.xxx.xxx.xxx::ddd::SOCKET

3) TCPIP::xxx.xxx.xxx.xxx::INSTR

 

and the result is:

 

1) OK

2) Comunication OK but no action on the device

3) Error

 

 

Can you please advise me?

 

Thank you.

 

Best regards,

Hugo

 

 

0 Kudos
Message 1 of 3
(4,127 Views)

Hi,

Can you get a communication with your device using VISA Test Panels under MAX?

 If the device is configured in MAX, you can use the device name visible under VISA TCP/IP Resources in MAX.

Regards

Message Edité par YannC le 11-09-2009 07:12 AM

Yann C.

France

0 Kudos
Message 2 of 3
(4,093 Views)

Hi,

 

If I use the instructions below, I can communicate VISA Test Panels under MAX


GPIB::1::1::INSTR

TCPIP::xxx.xxx.xxx.xxx::ddd::SOCKE

 

But if I use TCPIP::xxx.xxx.xxx.xxx::INSTRI can't comunicate with Max.

 

0 Kudos
Message 3 of 3
(4,088 Views)