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.
how can I make a recording an analog input in first .tdms file (for example in 1 second) followed by a recording in another file (for example in 1 second)?
The simplest would be to configure the DAQmx Streaming feature to write your analog reads to a TDMS file. You can use a DAQmx Read property node to set the number of samples to put into each TDMS file. A new file will automagically be created once that number of samples have been streamed.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions Unofficial Forum Rules and Guidelines "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5