LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with tdms writing in built executable;memory.cpp error

Solved!
Go to solution

Hello,

 

i've a problem with writing tdms files in the built executable, wich i created with the application builder in LabView 8.2.1 .

 

I created a little application wich reads some channels from the DAQmx. This results schould be written into a tdms file. All this happens inside a while-loop, even the open-write-close-tdms steps.

 

Testing this in the development environment everything goes fine. But if i creat an executable and try this on the same and other computer i got an error warning.

 

The error says: error in line 342, memory.cpp

 

Is there someone who has an idea what the problem is? Do i have to insert something into the application builder for the tdms creation?

 

best regards,T.Malec

0 Kudos
Message 1 of 7
(3,431 Views)

Hi Saibot,

 

Is that convenient for you to attach your VI here? If we have the VI, we can reproduce the problem and maybe will have some ideas for that.

 

And did you try with some newer version of LabVIEW or some other data file format, like LabVIEW binary file? 

 

Thanks. 

0 Kudos
Message 2 of 7
(3,425 Views)

Hi,

in the attachment i isolated the part from my vi, were i want to write data into the tdms file. if i try this example in labview this works. but the executable doesnt work.... 

 

i work with labview 8.2.0 and it is not possible for me to make an upgrade to a higher version.

 

thanks.

 

yours sincerely, T.Malec

0 Kudos
Message 3 of 7
(3,404 Views)

We used to have a problem like this that would occur if you run an application that was built in 8.20 with an 8.2.1 Runtime Engine (or vice versa). The problem would not occur if your LabVIEW Development System is the same version as your Runtime Engine.

 

Herbert

0 Kudos
Message 4 of 7
(3,398 Views)

Hello Herbert,

 

if i built the application with 8.2.1 (or higher), would it be possible to run this executable on other higher Verions of the Runtime Engine than this one i built it with? Is this a special problem from the 8.2.0 Version?

 

Thanks.

 

Tobias 

0 Kudos
Message 5 of 7
(3,388 Views)
Solution
Accepted by topic author Saibot

The TDMS problem is special to 8.20. However, you can't run the executable with a newer runtime engine, because the compiled code is not compatible between major releases (example: code compiled with 8.5.0 will run on 8.5.1, but not on 8.6.x).

 

Herbert

0 Kudos
Message 6 of 7
(3,375 Views)

Hello,

 

I solved this problem with using LabView 8.6 or LV 9. If I open the same vi (which doesn't worked with LV 8.2) and built an exe, the application worked !

 

 

0 Kudos
Message 7 of 7
(3,053 Views)