LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS C DLL can be used in a VB Project?

Solved!
Go to solution

Hello

 

We have a project in vb that uses measurement information kept in an excel file.

Now we want to use this information along with information contained in a TDMS file.

 

I've tried using the TDM C DLL  provided in http://ni.intellisurvey.com/run/2007codelicenseagree, unsuccesfully.

When I try to add the reference to the .dll, this error pops out:

"Cannot add the reference to "/filepath/nilibdcc.dll. Make it sure you can access the component or  it's a valid COM component"

(The message is a translation from spanish)

 

What i'm doing wrong? It's possible to use it?

 

Thanks

 

 

0 Kudos
Message 1 of 3
(3,506 Views)
Solution
Accepted by topic author Tomacco

Hi Tomacco,

 

the TDM-C-DLL was designed to access TDM(S) files using C.

Otherwise it is possible to access DLLs from vb. Please refer to this article: http://support.microsoft.com/kb/106553. But I havn't tried this for the TDM-C-DLL.

 

Another option is to use Measurement Studio if you want to access TDMS from within VB.

 

Stefan

0 Kudos
Message 2 of 3
(3,503 Views)

Thanks!

 

The Measurement Studio option looks far more simple, so I will try it.

0 Kudos
Message 3 of 3
(3,461 Views)