Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

PH 600 comm issue

I need to check when the probes are not moving on a SUSS Microteck PH600 XYZ motorized translation stages.  I query the controller with ReadProbeStatus using VISA Write to sent the command then VISA Read to read it back with a 120ms delay between write/read.  It works most of the time but sometimes it fails and the only way I know how to restore this function is to quit Labview and restart Labview then the ReadProbeStatus will work again for a while.  What does Labview do to the GPIB port when it starts?  Can I add this to the program to clear this error?  Should I try some lower level GPIB functions in labview 7.1.1?
Thanx,
Karl
0 Kudos
Message 1 of 5
(4,219 Views)
The missing vi's
0 Kudos
Message 2 of 5
(4,216 Views)
 

Hi Karl,

It looks like we need to figure out why it is failing.  What happens when it fails?  Does it give you an error?  If so, what error?  Does it lock up LabVIEW?  How often does it fail?  A great utility you can use to help us figure this out is NI-SPY.  Let me know what information this utility provides.

Hope this helps,

Robert Mortensen
Applications Engineer
National Instruments

Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 3 of 5
(4,202 Views)
Hello Robert,
 
Thanks for the NI Spy tip.  Actually I have inserted 100ms delays between write commands and write/reads and this seems to have solved the problem.  It has been running for days without any problems.
 
 
0 Kudos
Message 4 of 5
(4,192 Views)
Hi Karl,

I'm glad to hear it's now working for you.

Happy Coding!

Robert Mortensen
Applications Engineer
National Instruments
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 5 of 5
(4,185 Views)