LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to record timestamp after activation...

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(2,496 Views)

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..

 

Smiley Wink

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 3
(2,468 Views)
Solution
Accepted by topic author tanyasue327

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

http://www.ni.com/support

0 Kudos
Message 3 of 3
(2,449 Views)