07-18-2008 12:04 PM
07-21-2008 06:44 PM
07-22-2008 07:39 AM
I am trying to simulate a card failure and the ability to detect that, so I am not power cycling the system. Obviously I don't want to do this too many times and risk damage to my expensive card. I currently sort through the PXISYS.INI file for a list of expected installed devices, and use the VISA Find Resources to get a current list (also with logic to parse out non-DAQ devices like bridges, etc.). That list apparently does not actually come from a live bus query, as when I remove a card it still reports it as present, and properties all return valid values as if it were still installed. There seems to be some methods performed in MAX that do a module self test, but they don't appear to be exposed to LabVIEW? What I think I need is some property query that is actually read from the module that could give me an error if the module is no longer present.
Thanks
07-23-2008 04:39 PM
07-24-2008 11:56 AM
Just to clarify, I am physically removing the card from the chassis, and as mentioned I risk damaging the card, so I don't want to do this any more than necessary. The issue with the reset is that I want to do this health check while the system is running, and hence don't want to reset any output values or port settings. Another person suggested that perhaps I set up a fake I/O task with unused pins to test the system, which might prove to be a fair method, but that would have to be customized per design or per implementation. It sounds like there is currently no good way to do what I hope to do, and DAQmx methods won't work with non-NI cards.
Perhaps an update to the VISA standard????
07-25-2008 03:51 PM
07-28-2008 02:21 AM