From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to save 1 sample/minute

Solved!
Go to solution

Hi.

I am using TDMS Write to save the data and the data saved right now is 10samples/minute.

What can I do to save only 1sample/minute or 1sample/5min?

 

0 Kudos
Message 1 of 7
(3,446 Views)

Try wiring Time Elapsed Express VI into the Enable input to the Write to Measurement File function.

Message 2 of 7
(3,432 Views)

@RavensFan wrote:

Try wiring Time Elapsed Express VI into the Enable input to the Write to Measurement File function.


RavensFan,

TQ for the quick reply..

But I am currently using TDMS function.

How can I wire Time Elapsed Express VI to the TDMS Write function?

0 Kudos
Message 3 of 7
(3,417 Views)

@nhan91213 wrote:

How can I wire Time Elapsed Express VI to the TDMS Write function?



Wrap the TDMS Write with a Case structure and wire the Elapsed Time to that.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 4 of 7
(3,406 Views)

@jcarmody wrote:

 

Wrap the TDMS Write with a Case structure and wire the Elapsed Time to that.


TQ jcarmody,

 

but where can I wire the Elapsed Time to the case structure?

Is it to the case selector or else?

Do you mean Elapsed Time or Time Elapsed Express VI?

 

0 Kudos
Message 5 of 7
(3,401 Views)
Solution
Accepted by topic author nhan91213

@nhan91213 wrote:

 

Is it to the case selector or else?

Do you mean Elapsed Time or Time Elapsed Express VI?

 


Yes, wire the Time Elapsed? output of the Elapsed Time Express VI to the case selector of the Case structure.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 6 of 7
(3,394 Views)

@nhan91213 wrote:

@RavensFan wrote:

Try wiring Time Elapsed Express VI into the Enable input to the Write to Measurement File function.


RavensFan,

TQ for the quick reply..

But I am currently using TDMS function.

How can I wire Time Elapsed Express VI to the TDMS Write function?


Write to Measurement File does write to TDMS files.

 

Is sounds like you have an answer that works for you.  But I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

 

How case structures work is a very basic LabVIEW skill that would be covered in the tutorials.

0 Kudos
Message 7 of 7
(3,346 Views)