NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
simon27
Posts: 24
0 Kudos

回复: cannot open tdms file

Hi Pery S,

Thanks for your replay.

 

I create the TDMS file while recording the data

DAQmxConfigureLogging(taskHandle, logFile.toAscii().constData() ,DAQmx_Val_LogAndRead,"GroupName",DAQmx_Val_OpenOrCreate)

Then when I try to open it I got the 6210  error.

 

Here link to TDMStesting example

http://forums.ni.com/t5/LabWindows-CVI/TDMS-DLL/td-p/792269

 

 

 

Active Participant
Perry_S
Posts: 204
0 Kudos

回复: cannot open tdms file

Hi Simon27,

 

I have tested the file that you created and it opened successfully in two out of the three environments that I used. I was able to open it in DIAdem and Visual Studio 2010 (Using a cs Measurement Studio example). When I tried using LabWindows CVI, which is a c development environment I ran into some runtime errors. The errors told me that some properties were not correctly defined. I am looking more into it. I will let you know what I find.

 

Regards,

 

Perry S.

Applications Engineer
National Instruments
Member
simon27
Posts: 24
0 Kudos

回复: cannot open tdms file

Thanks!!

Member
simon27
Posts: 24
0 Kudos

回复: cannot open tdms file

I solved it by using the "Dominonilibddc" libary.

I found it at http://forums.ni.com/t5/Measurement-Studio-for-VC/TDMS-read-error-getdatatype/m-p/1584692#M7241

 

And I copied the Data Models folder with the dll files to the build folder of my project and it solved it.

 

 

Perry S. thanks alot for your guidance!!

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page