05-08-2008 08:43 AM
05-08-2008 08:46 AM
05-08-2008 08:53 AM
05-08-2008 09:08 AM
05-08-2008 09:17 AM
05-08-2008 09:30 AM
05-08-2008 09:46 AM - edited 05-08-2008 09:49 AM
I am using the same address.
The error occurs in the initialize block.
05-08-2008 09:55 AM
That wasn't exactly what I was asking. I was more curious about the lower level function being called. In an initialize VI, there is typically an id query and a reset. I can't download the driver to look at the code so I wanted to know if the error occured on a GPIB Write or Read. If it was a Write, what was the command being written? If you would, you could attach the initialize vi to a post. I can downlaod attachments but our IT department blocks downloads from other places.![]()
During the scan for instruments in MAX, after the instrument is detected, it does an *IDN? query and reports the result of a read. You haven't explicitly said so, but if this works in MAX, there should be no reason for it to not work in a driver. If you can isolate the command that is gnerating the error, send the same command in MAX.
05-08-2008 10:30 AM
05-08-2008 10:39 AM - edited 05-08-2008 10:46 AM
An image without seeing the actual data sent does not help. Lets go back to the beginning and can you confirm some of my assumptions that I've been making? Does the scan for instruments in MAX actually return the results of *IDN? or not? If it does and the driver fails with the same query, then I don't know what the problem could be because as I already said, I can't download the driver unless you post it to one of your messages.
edit:
Actually, the image may tell me something. I notice that there is a GPIB Status function. I'm not sure that is valid unless you are addressing the controller. I have only used VISA for a long time and not the lower level GPIB functions. Not sure what will happen if you use this function with it addressed for an instrument. Take it out and see it it makes a difference.