LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing comment to a tdms file during Data Acquisition as many times as required

Hi everyone,

I am trying to write a comment to a tdms file during Data acqusition at deasired time stamp.(Please find the attached doc).One which I did was able to write the comment only in the first cell of the Comment column.

I searches in the Forum about this Topic and found that qeueing is the solution and found no vi's related to it. Please help with a example to start with it.

 

Thanksa a lot in advance

 

 

0 Kudos
Message 1 of 5
(3,322 Views)

Hi Avalanche_27 (French ? If yes, you can also check the "francophone forum" !),

 

The Producer/Consumer pattern is very simple to use, but could be complex to understand.

To check an example, you can read this or that and begin a new project with the QSM Template (Manu page of LabVIEW -> Create a Project -> QSM Template). A lot of explanations follow the Template.

 

If you have some questions to understand how a Producer/Consumer pattern works, feel free to ask !

 

 

Bilsix.
0 Kudos
Message 2 of 5
(3,309 Views)

Hi Bilsix,

Thanks a lot for the info.  I ll go through them.

 

I came up with a logic with only while Loop. Please find the attached VI. It provides the Output how I require

I also want to log the data evey 10sec or 1min as the test goes for 2days. So, using a Producer consumer Loop logs every data as consumer Loop runs faster than the Producer. 

 

Could you please tell me if the logic which I have developed is a right way to do it?

 

Thanks in advance

0 Kudos
Message 3 of 5
(3,289 Views)

I'm sorry Avalanche_27, I work with LabVIEW 15. Could you please send the .vi "saved for a previous version" ?

(Open your .vi -> File -> Save for previous version...)

Bilsix.
0 Kudos
Message 4 of 5
(3,269 Views)

Sorry for the late reply and for the Version Bilsix.

Please find the attached

 

Message 5 of 5
(3,261 Views)