11-09-2010 01:18 AM
Hi,
I am writing program to communicate with Keithley 4200. I have downloaded the instrument driver.
When I used the Check 4200 ID.vi, the GPIB write had an error with error code was 7.
However, when I changed the GPIB write to VISA write, the error did not happen.
Why this happen?
Attached are the graph of block diagram, one was using GPIB write, another was using VISA write.
Thanks
11-09-2010 12:33 PM
Error 7 is a "Nonexistent GPIB interface". What are you setting the VISA resource name to?
11-09-2010 07:55 PM
The VISA resource name is GPIB0::17::INSTR.
The error was shown when using GPIB write. It is fine when VISA write was used.
11-09-2010 08:46 PM
What GPIB card are you using? Is it from NI?
11-10-2010 01:28 AM
I am using GPIB-USB-HS from NI.
11-10-2010 03:48 AM
11-10-2010 11:19 PM
The string is "ID" and the address is 17.
11-12-2010 10:37 AM
11-13-2010 03:05 AM
Sorry. I misunderstood your questions. I have already using 17 in the string. ID is the data I want to write to the instrument.
11-13-2010 02:56 PM