LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Inserting timestamps after set time

I am pritty new to labVIEW and am wondering how to insert a timestamp after a set time (say 30minutes) after the temprature has risen above a set level (in this case 30C).

 

Thanks

Chaz

0 Kudos
Message 1 of 5
(2,941 Views)

hi,

Sorry i didnt get u pls explain me in brief what exactly u want.

Regards,
Santhosh M
0 Kudos
Message 2 of 5
(2,926 Views)

sorry...

 

I am unsure how to get a timestamp to be added after a set time has passed (30min). This 30minute timespan can only start when the temp is at or above 30 C. I can get it to insert a timestamp as soon as the temprature is above 30...

 

Chaz

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

Hi Chaz,

 

Thanks for the post and I hope your well.

 

If I understand the question correctly (which Im not sure I do), you want to generate a time stamp after a certain condition?

 

If so, in the example below we time how long the loop has been running for. The trigger is the stop button. You could change this logic to produce a true when X amount of time had passed.

 

 

However, when you say time stamp - I assume you mean you want to time stamp your data? Now normally in DAQmx the waveform data generated already contains time stamps. If your trying to build your own waveform have you tried using the Build Waveform Node?

 

Or maybe your trying to do this?

 

How Do I Include a Time Stamp in a File Using the Write To Measurement File.vi

http://digital.ni.com/public.nsf/allkb/68806B93A21355E98625726F0064822B?OpenDocument

 

Please post back so we can help you some more,

Hope this helps,

Message Edited by Hillman on 12-04-2008 12:35 PM
Message Edited by Hillman on 12-04-2008 12:38 PM
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 4 of 5
(2,890 Views)

Thanks... weill give this a try. Also will try and post the vi, hopefully before the weekend.

 

Forgot to mention thatthe hardware that i am using is a cFP-2120 with cFP-TC-120 & cFP-CB-3

0 Kudos
Message 5 of 5
(2,877 Views)