11-21-2017 07:42 AM
Hi,
Pre-edit: This is the first time i am using GPIB interface. I read the GPIB tutorial of NI so far.
Currently, I am trying to connect a YOKOGAWA 2533E via GPIB. I have LABVIEW 2017 and NI-MAX 17 The current situation is:
I would appraciate anyone's help who has GPIB and/or YOKOGAWA 2533 knowledge. I know that both the device and the protol is quite old.
Solved! Go to Solution.
11-21-2017 11:27 AM
The driver you tried is for LabWindows/CVI 6.0 do you have that installed? If you just have LabVIEW 2017 then the driver won't just work, but it might still be of use.**
First this is a really OLD instrument! It was first made in 1986 and discontinues in ~2000. Knowing these facts we can be pretty certain that the instrument won't reply to a 488.2 "*IDN?" command. It just doesn't support that newer standard, and looking at the manual it supports 488-1978 - http://www.yokogawa.co.jp/ftp/dist/ks/eusers/wt/ked5s/im/IM2533-01E_040.pdf.
So you probably have it connected properly. But you can use NI-MAX to check if your GPIB board recognizes that there's any instrument at address 12. Just do a search for instruments, at the very least NI-MAX will report that there's something there even if it can't read a description.
Next you need to find the right set of commands for this instrument. I did a quick search and I can find a user's manual on line, but not the GPIB/RS232 remote command manuals. Do you have the manuals? If so there should be a list of commands that you can use to communicate with the instrument. They are most likely 1-4 character commands like "R1" for read power from unit 1 or the like.
** If you can't find the manual, then here's where that driver comes in handy. It actually has C code that can be used to talk to the instrument. From that code you can dig out the commands you need to read power and from the looks of the manual translate the return strings to useable readings. It will be a bit of work, but possible. Post here if you need more help...and show your code!
11-21-2017 12:54 PM - edited 11-21-2017 12:56 PM
This communicates on GPIB via IEEE-488.1-1978.
Try using this simple VI (LV 8.0) and send the following to the power meter:
U0X\r\n
See what response you might get.
**For this earlier communication style, you will need to edit this vi to always read. It was created to handle later versions that placed a "?" as the query suffix.
11-22-2017 02:18 AM
Hi thanks for the info.
11-27-2017 03:28 AM
Hi again,
I tried some of the commands from the manual i uploaded before. Yet, I couldn't make a succesfull transaction.
There are the photos that i tried from NI MAX- VISA Interactive Control
The OL command should return the Output List according to the manual.
11-27-2017 03:51 AM
Hi,
The red text shows that one of your setting is wrong.
I used a few new and old Yokogawa instruments. In your first picture I only see the PCI interface board but not the GPIB interface.
On my computer I only used the GPIB USB from NI so I don't know how I should look with your PCI board but I think you need to install some (more) drivers.
If you see the actual GPIB interface in MAX you can do a 'Scan for instruments' and your 2533 will show up.
Kees
11-27-2017 06:35 AM - edited 11-27-2017 06:35 AM
Hi guys,
I found the problem my PCI GPIB card had the same Address with the device. I changed the GPIB interface adress and now it is working. Thanks for the infos.