12-22-2010 03:00 AM
hello,
i am trying to connect with my "Santec" tunable laser by GPIB-USB-HS. I got the Labview VI (instrument driver) file for my tunable laser model TSL-210 from http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=2791 . When i run any VI file, for example the "laser_on_off.vi" i got the error message "NI-488: Error connecting to driver or device". i checked the "measurement and automation explorer" and NI-488.2 communicator gives me the following message when i send "Query for "Send String *IDN?"
----------------
iberr = ENOL
ENOL indicates that no instrument was detected at the specified address. Verify that your instrument is powered on and properly connected to your GPIB interface.
--------------
By NI-488.2 Troubleshooting Utility, i run the selected test for GPIB-USB-HS, and the result is fail.
i checked my driver manager and it shows that the GPIB-USB-HS "device is working properly"
What i did wrong? Could you please advice me.
thanks in advance.
regards
REza
Solved! Go to Solution.
12-22-2010 08:35 AM
Do you have the GPIB adress of your laser set to match what you have set up in your vi's?
Bad GPIB cable?
-AK2DM
12-22-2010 08:48 AM
thanks for reply. How can i set up GPIB address which i got from my laser in my vi's?
12-22-2010 11:06 AM
Can you post your code?
-AK2DM
12-22-2010 11:30 AM
the GPID code from the tunable laser is A07 CALF
thanks
12-22-2010 12:07 PM
That is meaningless.
You need to step way back. The installation instructions for the USB-GPIB-HS tells you to run the diagnostics first. You eventually did this and got a failure. That is why you are getting "NI-488: Error connecting to driver or device". Until the diagnostics pass, you are simply wasting your time with anything else. Please provide the details on the failure when running the diagnostic.
12-22-2010 12:56 PM
Hello, here is the code i get
GPIB1 Instrument 0 Primary Address 7
iberr = ENOL
ENOL indicates that no instrument was detected at the specified address. Verify that your instrument is powered on and properly connected to your GPIB interface.
---------------
Globals
ibsta:0X8100
ibsta:ENOL
ibsta:0x1
Status:
ERR
CMPL
---------------------------------------
"Write"
Globals
ibsta:0X100
iberr:None
ibcntl:5
"Status"
CMPL
---------------------------------------
"Read"
String Received:
NR
Globals
ibsta:0X2100
iberr:None
ibcntl:4
Status:
END
CMPL
thanks in advanced
12-22-2010 08:32 PM
At this point, I simply do not know what you are doing. You marked the thread as solved. You did not respond to my question about your comment about the diagnostics failing. Are they now passing or are you ignoring the failure? Did you perform the next step in the installation instructions which is a scan for instruments?
12-23-2010 03:44 AM
hello,
i am sorry for pressed the wrong button. Are you asking for some other error code than the one i gave on the above? may be i misunderstood. the GPIB-USB-HS didn't pass the "RUN selected test". The scan for instruments shows that "the device did not respond to a *IDN? query". Please suggest.
thanks
12-23-2010 07:48 AM
What I was asking for is the details of the diagnostic test that you say fails. If the diagnostic fails, it's pointless to try to communicate to the instrument. Not responding to an IDN query may be harmless. Do you know for a fact that the instrument even supports IDN. It would be listed in your manual.