LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging TDMS from Analog Input NXG

Hi all,

 

I am using the Dynamic Force Input setting in the Analog input task in NXG.

I ran it for 1.5 hrs and wrote too much data. I was unable to open the TDMS file... I know that I can change the collection and writing rates, but will need to collect data over a (at least) 24 hr period.

LabVIEW 2019 SP1 had an option to open new files to write to once a TDMS file reached a certain length, but I am not finding a similar option in NXG.

 

Is there a place to select writing multiple files in NXG?

 

Thanks!!

0 Kudos
Message 1 of 2
(2,165 Views)

Hi Mix,

 

I'm not sure if there's a built-in option in NXG, but if you're able to write your code in terms of the TDMS nodes then you could add a counter or similar and increment it on each write.

When the counter reaches a certain number (say, 1800 if you're writing once a second) you can start a new file.

 

Especially if you do this in a Producer/Consumer style you shouldn't run into significant problems with e.g. the change in execution time of that iteration.


GCentral
0 Kudos
Message 2 of 2
(2,119 Views)