10-02-2018 03:54 AM
Hi Max,
as you told me to directly save the signal from the daq assistant meaning that each signal will be saved in different TDML.
I never said so!
I suggested to use the DAQmx feature of saving measurement data directly to a TDMS file. DAQmx will save all data/channels of a task within a single file…
10-02-2018 04:17 AM
Ohhh okay.
By the way I cranked up the sample rate x 10 and the rate as well.
Andd its 10 minutes instead of 4 now.
10-02-2018 06:11 AM
I did save directly with the DAQ assistant in the TDMS file but how do I get the other files to get saved in it?
and how can I control the daq so it starts to save the signal when I send a signal
Ansonst the program worked and I did not get any crash.
10-02-2018 06:34 AM
Hi Max,
but how do I get the other files to get saved in it?
Which other files?
how can I control the daq so it starts to save the signal when I send a signal
There's no way to trigger the DAQmx-internal TDMS saving. You can save data - or you dn't save data at all.
You still have the option to create a producer-sconsumer-scheme in your VI, then it becomes easy to implement the "Save?" condition…
10-02-2018 08:47 AM
For some dark magic reasons going from excel to TDMS worked. Even if the first test failed the rest worked pretty smooth may I say. But for some weird reasons Im getting some kind of gibberish when Im using it in my main program. How do you translate TDMS exactly?
Files are attached
10-02-2018 08:56 AM - edited 10-02-2018 08:57 AM
Hi Max,
But for some weird reasons Im getting some kind of gibberish when Im using it in my main program.
Well, I guess the problem is in your "main program". Unfortunately you didn't attach it…
How do you translate TDMS exactly?
Your file consists of 169 "groups", containing 5 channels with one sample per group.
10-04-2018 03:08 AM
Good Morning Fox !
So I have a program that saves 5 signals in a tdms file every 100 ms when I open it with excel.
Each iteration is saved in a different tab named untitled 1, 2 , 3 etc instead of being in the same table.
I uploaded the TDMS file so you guys can have a better idea.
10-04-2018 03:17 AM - edited 10-04-2018 03:19 AM
Hi Max,
instead of creating a new thread without supplying sufficient information about your problem (or even a meaningful thread title) you should stay in your thread so anybody finds relevant information!
Your file consists of several groups with each group containing just one sample per channel BECAUSE you have it programmed this way!
When you want to write less groups, but with more samples per group you need to program it that way…
10-04-2018 03:20 AM
My bad I was just reading noticed your comment right now and was searching how to erase the new thread.
By the way the fixed the cause of the gibberish thing as you've notice noy l'll try following your last statement.
Again Im very sorry ans thankful at the same time
10-04-2018 07:58 AM
I solved the problem once and for all Im not using these TDMS file or write data to file I created mw own program here is the VI for those who need it
Thank you once again Gerd