I am able to communicate with an instrument in MAX, but any kind of GPIB
command I issue in
labview gets me this error:
NI 488 Command requires GPIB controller to be controller in charge.
Now, I know this is a common problem, because I read the support for this on
NI.com.
My problem is that I don't understand the solution.
The solution seems to be- use the GPIB Initialize.vi. Okay I can do that
without error- but on the next command- GPIB write, I will get an error.
1. I don't understand what the address string should be.
Should it be 9 for the address of the device?
Should it be 0 to specify the bus? (I only have one controller)
Should it be GPIB0::09::INSTR?
The online help in labview is not very helpful to me.
2. Why don't the example VI's from N
I actually use the GPIB initialize.vi?
I'm looking at this nice little example that sets up a techtronix scope- it
doesn't use the initialize vi?
3. When I communicate with the device in MAX, the remote light comes on-
when I close out of there, the light goes out. I can't get this into remote
through any labview commands.
4. I understand command termination is very important. My manual says that
I can terminate with a carriage return, semicolon, etc. I have tried the
different modes.
5. MAX just has a button "communicate with instrument"- and whatever that
does, it seems to work with most any device (despite termination, etc)- why
can't there be a vi that is like this?
I'm not looking for something higher level- just make the thing do what it
says it will.
Thanks for any help.