04-08-2009 09:12 AM
04-08-2009 09:18 AM
04-08-2009 09:44 AM
I am using a search 1-D array with a false constant boolean wired to it. Its hard for me to explain all of it so Ill just post my program and you can take a quick look
04-08-2009 11:23 AM
04-08-2009 12:52 PM
04-08-2009 01:04 PM
04-08-2009 01:19 PM
Im searching my sub vi for any false or true values which is compared to the array appendix and if it matches up then a true is sent from the equal to the search 1-D and to the resulting indicator. If any time the boolean from the subVI and the array apendix dont match up then the appropriate error from the string appendix is sent to the select and displayed on the front panel. The way I have it works perfect for detecting the errors on the circuit board and displaying what is failing due to shorts and mechanical errors. Im assuming the way I have it set up just detects the programmable errors and what you mentioned is that I dont have anything to detect the hardware errors (such as the daq not even being hooked up to the computer???) but that was kind of what I was asking. I dont understand though how if the Daq modules arent even connected to the computer how is that subVI even working and sending out any type of boolean signal to be compared with the appendix array. The subVI is just simply 32 inputs from a 9425 digital input module that checks the voltage at 32 different inputs and compares it with the array apppendix. Except I am only using the amount of inputs listed in the array appendix. So basically what am I missing to pick up these possible hardware errors??
04-08-2009 01:37 PM - edited 04-08-2009 01:38 PM
What you have set up only detects unit under test errors. There could be logic/programming errors or external hardware errors. The subVIs are not working if there is no hardware. They are returning an error and the Boolean state of the read should be ignored. The subVIs will always return something, even if it's a default value.
Shown below is some of simple optiopns you have for error handling. Look through the shipping examples. You will see a lot in them as well.
04-08-2009 02:24 PM
04-08-2009 02:27 PM