11-03-2009 03:45 PM
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
11-09-2009 07:06 AM - edited 11-09-2009 07:12 AM
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
Yann C.
France
11-09-2009 08:07 AM
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.