LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200279 How to fix it ?

Solved!
Go to solution

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 11 of 24
(1,317 Views)

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.

0 Kudos
Message 12 of 24
(1,314 Views)

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.

0 Kudos
Message 13 of 24
(1,300 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 24
(1,297 Views)

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

0 Kudos
Message 15 of 24
(1,284 Views)

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?

  • In the file functions palette you find a subfolder named "TDMS". In this subfolder is a TDMSFileViewer function. You can use it to look into your TDMS file…
  • LabVIEW comes with a huge library of example VIs. There are also examples explaining how to write and read TDMS files…

Your file consists of 169 "groups", containing 5 channels with one sample per group.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 16 of 24
(1,290 Views)

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.

0 Kudos
Message 17 of 24
(1,278 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 18 of 24
(1,275 Views)

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

0 Kudos
Message 19 of 24
(1,271 Views)

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

0 Kudos
Message 20 of 24
(1,266 Views)