09-27-2013 10:06 AM
I have a small and simple sub VI for Keithley reset/preset.
There is no "error in" to the GPIB Function called GPIB Write but in "error out" I get an Error 7. From where is this error coming. Please see attachemnt.
Gpib Address is 27
MAX Shows proper interactive control / query check with the device.
I have read all documents about GPIB Errror 7 on ni.website..but that does not help.
09-27-2013 10:20 AM
09-27-2013 10:24 AM
09-30-2013 02:17 AM
thank you for the reply.
please see attachment for MAX screenshot.
09-30-2013 02:22 AM
I used VISA Write instead of GPIB Write function. I still get an error -1073807343.
Please see screenshot .
09-30-2013 02:36 AM - edited 09-30-2013 02:39 AM
Hi pd,
error 7 says "NI-488: GPIB-Schnittstelle existiert nicht." (interface doesn't exist)...
So I guess: you use some GPIB interface from an manufacture like Keithley or Agilent (but not NI). Those interfaces are supported by MAX and LabVIEW - but you should definitely use VISA functions instead of those (old, nearly obsolete) GPIB functions!#
Edited: My guess was right after looking at your MAX screenshot...
Edited: Now I saw those other messages...
For your VISA problem: VISA uses other references than those plain GPIB functions, hence you get "resource not found" errors. You really should read the context help for VISAWrite to know what to wire at the reference input!
09-30-2013 05:21 AM
Hello GerdW,
Thank you for your reply.
I am trying to connect to VISA Write by refering to context help.
I am using a GPIB Interface for my keithley device. with address 27.
in VISA Write , there are 2 ports:
Write Buffer
VISA Resource name.
to Write buffer I connect the GPIB Address 27
What should I connect to the VISA Resource name terminal?
09-30-2013 05:36 AM - edited 09-30-2013 05:38 AM
Hi pd,
did you read the context help of VISAWrite? RTFM!
It says something like this (and a lot more):
- There's a link in the help explaining the resource name...
- Why do you wire the GPIB address to the write buffer? Did you wire that address to the write buffer of the GPIBWrite too?
- Create a constant for the resource name, then select the resource...
READ THE HELP!
09-30-2013 07:21 AM
Hi
yes I did read through.
And sorry that was a typing error..I connected the GPIB Address to resource name.
To write buffer I connected the data but still I am getting the same error like I posted in the VISA Write error screenshot.
Context HELP, HELP also aks to connect data to write buffer and the resource here is the GPIB Address as far as I understand.
I am very new to labview; please let me know where I am going wrong.
09-30-2013 07:42 AM