Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to Voltech PM6000

Hello,

 

I'm trying to connect to a Voltech PM6000 power analyzer from Labview via Ethernet.  The PM6000 has an IP, I can ping it, and I can connect to the machine via FTP and Telnet.  I simply cannot connect from Labview and/or MAX.  I read on this forum that you must connect via SOCKET using port 36003 (which was not mentioned anywhere in the Voltech manual), and I was certain that was my solution...but that did not work either.  (As an aside, the manual lists the FTP credentials and the Telnet login name, but doesn't provide the Telnet login password...WTH?)

 

The error I get when trying to connect directly from Labview using a named VISA Resource constant is: "0xBFFF0011 Insufficient location information or the device or resource is not present in the system."

 

Any ideas?  Thanks in advance

0 Kudos
Message 1 of 9
(4,787 Views)

FYI, I've resolved the issue.  It was true that you must connect via SOCKET (IP + specified port), but rather than port 36003 you must connect via the Telnet port of 23...

0 Kudos
Message 2 of 9
(4,782 Views)

I believe the port shoud be 21?

0 Kudos
Message 3 of 9
(4,754 Views)
My original problem actually turned out to be related to the Voltech itself. Once replaced, all of my maddening issues were resolved. That being said, port 21 is usually FTP while port 23 is TELNET, and from the way my previous post reads I was telnetting to the Voltech in my communication attempts...
Message 4 of 9
(4,751 Views)

Smiley HappyI see..

I am still struggling with the machine and the LabVIEW, though, it seems I can connect to the machine (the telnet is working), but the official LabVIEW driver isn't. Especially when VISA Read is performed, there always a 'timeout' error... What could be the problem?

0 Kudos
Message 5 of 9
(4,744 Views)
I would be surprised if you suffer the same problem I did, but I'll describe it. During the testing phase of the Voltech unit at the factory (according to the tech rep I spoke to), a component failed and was replaced. The replaced component had old, slightly incompatible firmware residing on it, which made the diagnosis of my problem virtually impossible. Once we figured it out, Voltech promptly sent me a temporary unit until they could fix mine. If you can telnet to the unit, log in, and send commands such as "*IDN?" with a valid response then you do not share my problem. I couldn't even get the default admin passwords to work, while the tech rep on the phone thought I was crazy!! Anyway, try talking to the unit through MAX first. That way you can eliminate the complexity of writing working code in LabView.
0 Kudos
Message 6 of 9
(4,739 Views)

I just got it working.. it turn out to be a simple question I didn't pay attention to. To get VISA Read working, I need to NOT suppress End On Read. And then it works fine 🙂

There is only one thing that I am curious about - I used an ordinary ethernet cable (instead of crossover) and I used port No. 36003, and I am curious about if it is the right configuration (though it works)

0 Kudos
Message 7 of 9
(4,736 Views)
If you're going from the Voltech unit directly to your computer then a cross-over is proper but many ethernet controllers are smart enough to make the adjustment for you. The port number is a completely separate issue but, as you said, if it works, it works! 🙂
0 Kudos
Message 8 of 9
(4,734 Views)

You are right Smiley Happy

I tried the port 21, it requires password Errrrr

Port 36003 is the way to go~

0 Kudos
Message 9 of 9
(4,731 Views)