LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tdms.dll causes executable programm crash (LV2009)

Hi,  I have a more or less serious problem with LabView 2009. When I run my program on the development machine its causes no problems.But when it runs on the measurement machine the program crashes after some hours.  Windows detected a problem with ..... and the program was stopped would you like to send the error toMicrosoft .... blablabla..  Has anyone an idea where this problem could come from?

 

 

 Err1.jpg

 

 

Err2.jpg

 

Message Edited by bourqrap on 08-19-2009 12:40 AM
0 Kudos
Message 1 of 13
(4,199 Views)

Hi Bourqrap

 

I haven't seen this problem before, but I know updates were made to the TDMS VIs in LV2009 (TDMS version 2) Have you updated the Runtime engine and DAQmx on you measurment machine to the latest versions? If you have could you try and remove them and then reinstall? If the problem persists I would recommend contacting your local NI support

 

Best Regards

 

David

NISW

0 Kudos
Message 2 of 13
(4,189 Views)

Hi David,

 

LabView has set the TDMS Version automatically to 1.0 when I first loaded the VI (8.6.1 version) in LV2009.

RuntimEngine is 2009 (DVD came 2 or 3 weeks ago).

I could try to remove the previous 8.6.1 runtime and then reinstall the 2009 version.

Or should I try to set all the 1.0 Enums to 2.0 ?

 

Best Regards

 

Raphael  

0 Kudos
Message 3 of 13
(4,181 Views)

Hi Raphael

 

I would start with reinstalling the RTEs. You could also try and change the file version to 2.0, but that makes the files harder to read in any other version than 2009.

 

Best Regards

 

David

0 Kudos
Message 4 of 13
(4,171 Views)

Hi Bourqrap,

 

It's the expected behavior that LabVIEW sets the TDMS Version automatically to 1.0 when you loaded the VI (8.6.1 version) in LV2009. It should be OK when you run your VI with  the version set to 1.0 in LV 2009.

 

Would you please check on the machine which version of tdms.dll. It should be installed in Program Files\National Instruments\Shared\TDMS, you can right click the dll and get the version number in the "version" tab, it should be "2.1.*.*".

 

And, it would be very helpful if you could post your VI's diagram here and we can take a deep look.

0 Kudos
Message 5 of 13
(4,146 Views)

 For some detail information of TDMS 2.0, you can refer to: http://zone.ni.com/devzone/cda/tut/p/id/9995#9

0 Kudos
Message 6 of 13
(4,144 Views)

Hi YongqingYe,

 

The tdms.dll version is 2.0.1319.932

 

Only a reinstall of th 2009 runtime did not solve the problem.

But on this computere two "old" versions of labview were installed (8.5 and 8.6 -- Runtime 7.1 to 2009).

So i've uninstalled every NI Software and only installed the 2009 runtime - and now it works from about 20h without any probems.

 

The newest tdms.dll version is 2.1.xxxx.xxx ?? Do you know where i could get an update?

 

best regards and thanks for your help

 

raphael

0 Kudos
Message 7 of 13
(4,127 Views)

Hi Bourqrap,

 

Which version of LV 2009 you are using? Is that a beta version? And the latest TDMS stand-alone installer is also here: http://zone.ni.com/devzone/cda/tut/p/id/9995#9 , you can download the exe file and it will install the latest tdms.dll onto your machine.

 

Did you have any other NI's softwares installed, besides LabVIEW, when you having that crash problem?

 

The problem you had is a little weird. If you install only LV 2009, it can work, then if you have LV 2009/8.6/8.5, then it would have a problem?

 

Is that convinient for you to post your VI here? Then we can have some more investigation.

 

Thanks.

0 Kudos
Message 8 of 13
(4,120 Views)

Hi Raphael

 

The version you have, 2.0.1319.932 is the one distributed with LV2009. If you download the standalone YongqingYe linked to you will update to fileversion 2.2.1328.581.

Happy the reinstall solved the problem, but sorry you had to remove all the software. Hope everything workes out for you.

 

Best Regards

 

Davids

0 Kudos
Message 9 of 13
(4,112 Views)

Oh, sorry, I correct myself here, 2.0.1319.932 is the right version for LV 2009.


The latest stand-alone installer will install 2.2 version, it should also work for LV 2009.

0 Kudos
Message 10 of 13
(4,107 Views)