08-12-2008 01:37 PM
08-13-2008 06:43 PM
Hi John,
Can you please post the programming manual? Also, I looked at your VI and was wondering if you can tell me what are you expecting to see in response to the commands you are sending.
Thank you,
08-13-2008 10:31 PM
I don't have the instrument so I can't run your code. Some of the commands are a bit different than what is in the driver but I don't know if that is your problem. I can post the Read VI that is in the driver. Try that. And always try everything in MAX before trying to write any code. And think about upgrading.![]()
p.s. Why are you using the GPIB functions and not VISA. Even when LabVIEW was current, the recomended api was VISA.
08-14-2008 10:12 AM
08-14-2008 10:15 AM
08-14-2008 11:06 AM
You get that error when you don't have NI-VISA installed.
I don't think using VISA will help your problem though. That would seem to be a configuration problem (i.e. with the instrument). As I mentioned, before you start writing any LabVIEW code, you should be issuing all of the commands in MAX and doing the debug there. Start with a simple query such as *IDN?. Then after you have sent a couple of commands, do an ERR? query to see if the instrument complains about any of the commands you have sent. Double check the manual to see if there is a command that needs to be sent to format the data returned (i.e. as text or binary).
08-14-2008 12:02 PM
08-14-2008 12:34 PM
08-14-2008 01:13 PM
08-14-2008 02:05 PM
MAX is short for Measurement and Automation Explorer. I was also assuming that this program existed for the Mac. If you don't have it, I'm not sure what else you could use in it's place.
The driver on the palette does not affect anything at all.