06-09-2006 04:55 PM
06-12-2006 05:21 PM
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,
06-13-2006 03:50 PM
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!