02-11-2007 03:41 PM
02-12-2007 10:33 AM
06-20-2007 04:49 PM
06-21-2007 11:00 AM
Your problems are all too familiar. I spent many hours trying to understand the GPIB communications problems. One available tool is the “GPIB Installation / Configuration Troubleshooter”. Look under NI home > Support > Troubleshooting > Installation > Getting Started > GPIB. By following the outlined procedure you can actually get the PMC200 to respond to "*IDN?\n .
I found two basic problems with communicating with the PMC200 and ESP300, 1) trying to read from the unit too soon after a read request command and 2) the once a day GPIB timeout error EABO(6).
One solution proposed to me by a NI rep. was to sprinkle time delays throughout my code like salt in stew. Since I don’t like a lot of salt or random time delays I targeted the read request and GPIB read vis. This helped greatly but did not overcome the once a day GPIB timeout error EABO(6).
To overcome this problem put your GPIB read vi in a while loop and test for the timeout error. If the timeout occurs, do the read again or do the entire command again. I loop a maximum of two tries before concluding there is another error. Also, just for a bit of reassurance, I make a global variable and index it every time there is a EABO(6) error.
A very good reference is “Serial Polling and SRQ Servicing with NI-488.2 Software and LabVIEW”. This publication has an explanation of what is going on when communicating with a PMC200 type interface and three examples of how best to communicate.