Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

SRS RGA error kicks me out of the simple table VI

The SRS RGA 300 mass spec that I'm using is sending an error message to Labview, error 5032 RF_CT exceeds limit at max mass.  This isn't a problem in the SRS software, because I have the option of continuing through anyway.  However in the Labview VI simple table and the main file support this error ends te program and I don't know how to get around it.  I have tried warming up the mass spec which is supposed to get rid of the error, but that isn't working so I was wondering if I can alter the error block in the VI to allow me to know the problem exists, but still be able to continue the scans.
 
 
Any help is appreciated, I'm a labview rookie.
 
Thanks
 
 
0 Kudos
Message 1 of 3
(3,565 Views)

Hi,

Here is a link to a KnowledgeBase that discusses how to ignore specific errors. However, you said you want to clear the error before it reaches the other functions. Do do this, you can use the Clear Errors.vi to remove the error you are seeing. Instead of just wiring the error cluster to Clear Errors.vi, I would check the error code and compare it to the error you want to ignore, then clear the error only in this case. That way, if you get unexpected errors, you're not clearing them unnecessarily. To let you know that the error occurred, you could change a boolean or display a dialog to the user. Just some suggestions.

Does this error happen every time? Are you able to receive data from the instrument? What VI returns the error? Are you using an instrument driver?

Regards,

Missy S.
Project Engineer
RoviSys
0 Kudos
Message 2 of 3
(3,533 Views)

This error does happen every time I try to turn the filament on or try to run the simple table vi.  I am able to run the analog scan though so I know that I can communicate with the instrument.  It is just connencted to the computer through the serial port and as for the instrument drivers, I am using the SRS RGA LabView development kit and am not quite sure what drivers are being used.  The vi that seems to start the error messages in the main vi is the SRSRGAo set or query electron emissions.vi when the filament is turned on.  In the simple table it seems to start at the SRSRGAo start table.vi.  But I am able to turn on the filament and run a simple scan, so I think the error clear vi should help. 

Thanks a lot! 

0 Kudos
Message 3 of 3
(3,511 Views)