Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nilibddc install dll

164 views
Skip to first unread message

jbyrneiu

unread,
Aug 8, 2008, 12:40:06 AM8/8/08
to
I'm having trouble loading the Diadem C DLL library (nilibddc) in my C# program. 
How do I register this dll in order for C# VS2008 to access the functions?
I get an error when I try to add it to the VS2008 solution reference.
 
Thanks in advance,
John B 

Brad Turpin

unread,
Aug 8, 2008, 10:40:14 AM8/8/08
to
Hi John,
The DIAdem C DLL is a C++ library, and you will need to wrap it as you would any other C++ DLL in order to use it in .NET.  I've never done this myself, so I won't be any help to you, but I seem to remember that there was a Discussion Forum on this topic a while back...
Alternatively, there must be all kinds of posted support content for something as general as wanting to re-use C++ code in .NET-- who knows, you might even find something useful on the Microsoft support site.
Are you using straight .NET, or are you using NI's MeasurementStudio?Brad TurpinDIAdem Product Support EngineerNational Instruments

jbyrneiu

unread,
Aug 8, 2008, 11:40:11 AM8/8/08
to
I'm using Measurement Studio with C#.
 
 

Brad Turpin

unread,
Aug 11, 2008, 4:40:09 PM8/11/08
to
Hi jbyrneiu,
In that case I would encourage you to join the Beta program for the upcoming version of MeasurementStudio... it will be easier than building the wrappers yourself.

jbyrneiu

unread,
Aug 12, 2008, 9:10:12 AM8/12/08
to
Yes,
 I would be interested.  What steps would I need to take.  I'm working on an application that associates sensor data to multimedia SMPTE timecodes and then play them back on Measurement Studio graphs in real time.  Currently using AVI file format to record and playback to synchronized multimedia timers but would like to use tdms as the file format to be compatible with other Labview products.
 
JB

Brad Turpin

unread,
Aug 13, 2008, 11:10:16 AM8/13/08
to
Hi JB,&nbsp;The standard procedure is to go to the <a href="http://www.ni.com/beta" target="_blank">www.ni.com/beta</a> web site and request to participate in the MeasurementStudio beta program.&nbsp; I just checked there, and it looks like it's not active yet, but I hear it will be very soon.&nbsp; If you have to get started right away you could use the posted C++ DLL that reads and writes TDM and TDMS data files, but the C++ DLL does not stream data, so that may not be sufficient for your purposes. &nbsp;Brad TurpinDIAdem Product Support Engineer
National Instruments&nbsp;
0 new messages