10-29-2008 10:41 AM
Hello,
I have some code that sends a "*IDN?" to GPIB addresses 1 thru 31, if I get a response to the query I assume that a GPIB device exists at the address. This approach gets all hosed up when I have a GPIB instrument that does does support/recognize the *IDN? query. MAX however is able to recognize that a GPIB device does exist at the address of the instrument that I have. Any ideas of how to recognize/detect if a GPIB device exists if it does not respond to a *IDN?
Regards
Kaspar
Solved! Go to Solution.
10-29-2008 11:00 AM
10-31-2008 09:22 AM
Hello,
I used NI-spy to see what Max does and looked at the low level calls. There is a function called FindLstn that finds all of the listening devices on the GPIB bus. So now I have to see if there is such a low level call in Labview. The saga continues...
Regards,
Kaspar
10-31-2008 10:03 AM
10-31-2008 10:04 AM
10-31-2008 11:20 AM
Hello,
I used the find listener function and it works just the way I want it to. Now I have a way to identify devices that do not respond to a *IDN? query.
Thanks again....
Regards,
Kaspar
10-22-2009 05:43 AM
Kaspar wrote:it works just the way I want it to. Now I have a way
Hai Kaspar,
Can you please post that code. This will help me now and will help others also in future.
Thanks,
Mathan
10-30-2009 05:00 AM
Kaspar wrote:
I used NI-spy to see what Max does
When I press the Start button of NI Spy, nothing happens. It stays only blank.
Am I using it wrongly?
10-30-2009 05:56 AM
parthabe wrote:
When I press the Start button of NI Spy, nothing happens. It stays only blank.
It stays blank initially. Once you start sending some commands, it will be captured. Launch NI Spy and use MAX - VISAIC (VISA Interactive Control) and do some change in attributes and see what's happening in Spy.
Mathan