ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My code stopped working

I have a code to calculate the BREATH FREQUENCY for an infant from 0 to 36 months.

 

It takes the number of breaths within a duration of one minute, and determines whether it is a TACHYNPNEA,EUPNEA,or DYSPNEA

 

This code worked fine, until I integrated a BATTERY INDICATOR and SPO2 INDICATOR
.

 

Now that I have all three within the same BLOCK DIAGRAM, my BREATH INDICATOR ALARMS do not ILLUMINATE, nor does it give me a numeric value for the number of breaths, or repeatedly run after 60 seconds.

 

 

Channel ai0  = Microphone

Channel ai1 = Infrared voltage for SPO2

Channel ai2 = Red voltage for SPO2

Channel ai3 = Battery indicator

 

 

I only have the MICROPHONE plugged into Channel ai0, the rest are not attached because my project members have not completed their hardware.

0 Kudos
Message 1 of 5
(3,098 Views)

SInce you made changes to the code, look at the changes you made.

 

Otherwise, please attach your code. This is probably something simple.

0 Kudos
Message 2 of 5
(3,094 Views)

Here is 3 out of 4 of my Vi

0 Kudos
Message 3 of 5
(3,074 Views)

here is the last code, you need all 4 codes to run the program

0 Kudos
Message 4 of 5
(3,073 Views)

It would help if you could tell us the name of the toplevel VI too.

 

Looking at "Nov17...", you have a wire with two sources and thus a broken VI. did you fix that already?

0 Kudos
Message 5 of 5
(3,067 Views)