08-01-2005 10:11 AM
I am currently evaluating Lab View for my company. I have started to develop code for a possible vi. This vi is set up to compare the air flow rates through 2 hoses, a production part and a part which represents a restricted or bad part. What we are trying to accomplish with this vi is to read analog voltage inputs from 2 flowmeters(2 analog voltage inputs), compare the data from one flowmeter to the other, and based on this comparison, make a decision. This decision will have three results - a result that would indicate a good part, a result that would indicate a bad part, or a result that would indicate that the part is leaking. Once the decision is made, a digital output must be sent out to indicate whether the part is good, bad or leaking (3 separate digital outputs). The way I have the vi set up currently, I am getting analog inputs, converting them to boolean data, and my end results are 3 differnt led's that light up on my front panel to indicate whether the part is good bad or leaking. I need to convert these booloean results to digital outputs to indicate the condition of the test part - only one of the three digital outputs will be sent out at any one time - the test part is either good, bad or leaking. These digital outputs will indicate to a plc whether or no to continue on with the test. I need to know if I can use my boolean result data to trigger a digital output, and if so, what sub vi's would accomplish this(any examples would be appreciated). I have analog inputs connected to ACH0, and ACH1. I have my digital outputs connected as follows: Good Part - DIO0, Bad part - DIO1, Leaking part -DIO2. Hardware is PCI-6220 AND SCB-68. Thanks.
Thomas
08-01-2005 11:58 AM