I have attached my VI. The VI should detect when the breath waveform (a sinewave, approx freq of 0.2 Hz) is below a defined threshold. If it remains below the threshold for a given period i.e. the patient stops breathing, a trigger signal should be sent to a muscle stimulator via the ADC-11 digital output. So my problems now are:
1. I donot think I am getting a digital output when I should
2. The output should only stay high for 10 mins max after which period, it should not be able to be turned on (even if breath level is below the threshold) for the next 30 mins so as to allow the muscle to recover.
Regrading the first issue, I would be grateful if could help me rule out the VI not working. Regarding the second issue, any help/tips on how to implement this would be much appreciated
As you probably already gathered, I have limited experience in Labview, so you help is very much appreciated!
- (21.63 KiB) Downloaded 295 times