10-01-2010 10:11 AM
Hi everyone! I am currently working on a .vi for some fire testing and I need some help trying to figure this out.
I have some smoke detectors set up. The voltage runs from -10.4 V to 10.4 V and I am using FieldPoint
When the voltage is at 10.4 the detector is making no noise, or off, when the detector drops below 10.4 V it will go off meaning it detected smoke.
When this drop occurs I need to be able to record the time stamp and display it on the front panel. I was thinking of many ways to do this but I can't seem to think of any good ways.
If anyone has any suggestions that would be greatly appreciated.
Thank you
-Tanya
Solved! Go to Solution.
10-03-2010 09:27 PM
You have mentioned at 10.4 and below 10.4 it goes "off".. Seems confusing... I dont think that getting a time stamp at the particular instant and displaying it in the front panel is a tough job... Can you post the VI that you made for that..
10-04-2010 10:16 AM
Hi tanyasue327,
Assuming that you are using the FP Read VI to acquire the voltage from your FieldPoint, you should be able to use the "timestamp" output from the FP Read to get the time associated with the value being read. The "timestamp" output will be in a DBL datatype, but you can use the "To Time Stamp" function in the Functions»Programming»Timiing palette to convert this DBL to a Time Stamp datatype. You can then display this to the front panel thru a Time Stamp Indicator and/or write it to file using the File I/O VIs found in the Functions»Programming»File I/O palette.
Hope this helps!
Aaron P
National Instruments
Applications Engineer