Measuring the one sensor above and one sensor below

Hi
Cn somebody help me in measuring one sensor above and one sensor below and if thy are almost equal must stop.
I tried doing so, but i dont knw whr it is going wrong. I hv attached the program with this query.
In a large cryogenic storage system,  we need to find the level of cryogenic fluids. For ths we a immersed PCB consisting of multiplexers and sensors into the storage system. We need to find the level by passing current to the PCB & measuring voltage at each sensor. We can conform the liquid level by measuring one sensor above and one sensor below the actual level.
Thanks in Advance.
Regards,
Sujeep. 
Attachments:
liquidlevel1.vi ‏358 KB

sujeep wrote:
Hi
Can somebody help me in measuring one sensor above and one sensor below and if they are almost equal must stop.
I tried doing so, but i don't know where it is going wrong. I have attached the program with this query.
In a large cryogenic storage system,  we need to find the level of cryogenic fluids. For this we a immersed PCB consisting of multiplexers and sensors into the storage system. We need to find the level by passing current to the PCB & measuring voltage at each sensor. We can conform the liquid level by measuring one sensor above and one sensor below the actual level.
Thanks in Advance.
Regards,
Sujeep. 
You should submit a little more detail as to what is going wrong.  Also, what do V1 through V6 represent?  They seem to be read from the same analog input channel.  You should try passing those value through with wires rather than using local variables.  If so, you could eliminate a large number of your sequence frames.
In the 4th frame of your sequence structure, you could have a race condition.  You are reading V4 as a local variable around the same time you are assigning a value to V4 through the DaqMX read.  You don't know whether it is using the latest V4 value or the one from the previous iteration. 
I would also recommend not using the STOP sign VI.  If you have a case where the program should end, you should wire the boolean out of the case structures and to the condition node of the while loop.  It will allow the code to end much more cleanly.  In your situation, the DaxMX close will never execute because the only way the program ends is through the STOP sign which is the equivalent of hitting the ABORT button.

Similar Messages

Maybe you are looking for

  • IPod Classic 160g Won't Hold Songs past 2 gigs or so.

    Over the past few months my ipod classic had been having periodic playback problems. I listen to it at work and I'd say it gets a solid 6 hours a day on weekdays. It's about 3 years old. The issue was that it would pause songs every hour or so, then

  • Displays to support

    my ipod displays a unhappy ipod and www.apple.com/support

  • Create bussinness area in 11.1.1.4 discoverer

    Hi All, I am new to discoverer. I want to link discoverer with oracle apps user. I connect to discoverer viewer and discoverer plus however i dont find any clue from where to create bussiness area then i want to create workbook. Can somebody please g

  • Timeout waiting for ARP/RARP packet

    Does anyone know how to get to the ok prompt when the message, Timeout waiting for ARP/RARP packet is repeating over and over on the screen. I tried hitting stop + a but there was no response. Could this be a problem with my keyboard. Are there any o

  • Oracle OATS Databank Question

    Hi Guys, I am working with Oracle OpenScript to generate Siebel Application Script. For many reasons, I need to choose in OLT the Databank to use for a incoming test. Is it possible to define in OLT mutliple sources (CSV file) that correpond to the d