05-31-2012 05:06 PM
I am trying to communicate to a spectrapro 150 and I can communicate to the machine via the Interactive control
but it wont read back to me. I have tried several different byte counts, and looked through the help page and I found nothing there to answer my question. I have also looked up the specific error and it provided no additional information as well. ( http://digital.ni.com/public.nsf/allkb/2FA525A8585A92E9862566EE002A3755#EABO )
Solved! Go to Solution.
05-31-2012 05:33 PM
Where did you read that the query is supported? It's not in the manual. You also need to set the correct termination.
05-31-2012 08:23 PM
sorry, but I am very new to labview.
What do you mean by query
and
how do you set the correct termination?
05-31-2012 09:50 PM
05-31-2012 11:25 PM
I have read through the manual, and the commands they give do the same thing. It doesn't change anything.
The reason I'm doing this is to understand visa, labview, and gpib better and then write a program for a unique device, which doesn't have a manual with commands just listed out.
Thanks for your time in this
05-31-2012 11:38 PM
06-01-2012 10:57 AM
Where in Visa interactive control do you type that? because when I type it into the write section nothing happens.
and what do you mean I can configure the GPIB controller in MAX? I have been looking at MAX for a while now and it doesn't really do much for me. I can write to the instrument but when I try to read it blows up.
"iberr = EABO
EABO indicates that an I/O operation has been canceled, usually due to a timeout condition after a GPIB read. Before reading from the instrument, verify that the GPIB command you are sending is understood by your device and instructs it to place data in its output buffer. For information on your device's command syntax, consult the instrument manufacturer's user documentation."
06-01-2012 12:49 PM
In that window you attached, you type the command followed by \r and click execute.
In MAX, right click on the controller to view the properties window. Set the EOS byte to OD (CR) and check the send EOI on EOS (going from memory on the checkbox).
06-01-2012 01:04 PM
what do you mean set the EOS byte to OD? it only accepts numbers from 0-255
06-01-2012 01:32 PM
Sorry, used to thinking in hex. 0x0D = 0d13.