Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to initiate the GPIB instrument in LabVIEW

Windows 7

LabVIEW 2012

IGA-3000V PCI-GPIB

 

I encounter a problem that my device cannot stop correctly and run again without cut off the power and restart the device manually.  Using NI I/O tracer I found that the device cannot

return a valid char when stop the communication after run one time and obviously not able to do the scanning process again. When send stop command, the device return some random

strings. So I think it is the problem with the buffer. I wonder if I can clear all the buffers to make the device back to the very beginning condition, maybe it can run nicely.

Can somebody tell me how to do this kind of resetting  process.

 

Thanks

0 Kudos
Message 1 of 4
(3,424 Views)

depending on your device, check the manual

try *RST

greetings from the Netherlands
0 Kudos
Message 2 of 4
(3,412 Views)

I am not sure exactly what you mean by initiate.

*RST will often reset the instrument to a set of defaults which you may or may not have to undo to achieve settings that you want.

 

 

This thread is apparently a rehash of http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/PCI-GPIB-CCD-3000V-Can-only-run-one-time-with...

 

0 Kudos
Message 3 of 4
(3,401 Views)

I looked at the driver in that other thread and it is horribly written. My suggestion would be to write your own code.

 

 

0 Kudos
Message 4 of 4
(3,393 Views)