DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

nilibddc install dll

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 
0 Kudos
Message 1 of 16
(8,397 Views)

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 Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 16
(8,387 Views)

I'm using Measurement Studio with C#.

 

 

0 Kudos
Message 3 of 16
(8,385 Views)

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.

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 4 of 16
(8,363 Views)

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

0 Kudos
Message 5 of 16
(8,347 Views)

Hi JB,

 

The standard procedure is to go to the www.ni.com/beta web site and request to participate in the MeasurementStudio beta program.  I just checked there, and it looks like it's not active yet, but I hear it will be very soon.  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.

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

 

0 Kudos
Message 6 of 16
(8,333 Views)

Hello all:

 

I have been trying out to work with DIAdem for weeks now - it seemed that on a Windows Vista Basic all I have is DIAdem "loading GUI..." but nothing happens (even tried reinstalling and use latest update for 10.2.1). Behavior is quite weird? When I call in a LabVIEW example for DIAdem it executes the example and I see a small icon near DataFinder Icon that when I clicked it, it enables displaying the GUI? However, when it does show it says a "command failure" in NTDLL.DLL? I'm using LabVIEW 8.5.1.

 

What can be wrong here?

Bernardino Jerez Buenaobra
Senior Test and Systems Development Engineer
Test and Systems Development Group
Integrated Microelectronics Inc.- Philippines
Telephone:+632772-4941-43
Fax/Data: +632772-4944
URL: http://www.imiphil.com/our_location.html
email: Bernardino.Buenaobra@ph.global-imi.com
0 Kudos
Message 7 of 16
(8,023 Views)

Hello Dr. Berns,

 

I have a few questions for you:

 

  • Is the behavior you are describing basically a stall when trying to open the DIAdem environment directly?
  • Similarly, does the "command failure" error with the NTDLL.dll only happen when trying to interact with DIAdem from LabVIEW, rather than when opening the DIAdem environment on its own?
  • Are you running a 32-bit or 64-bit version of Windows Vista?

 

Thanks in advance for the answers to these questions!  As a side note, please feel free to start a new thread on the forums when you have a completely separate issue/question.  This will allow you to receive quicker, better, and more direct answers, as well as alleviate confusion in general for all.

0 Kudos
Message 8 of 16
(8,005 Views)

Hello Matt:

 

Thanks for your attention. My answers are:

 

1. It stalls and simply indicates "Activating GUI...." and when I tried to see the progress in the Tasks Manager I saw multiple calls to Excel.exe?

2. When I open LabVIEW 8.5.1 and call the DIAdem examples from there the GUI actually loads and then it issues a "ntdll.dll" failure.

3. When I stop the example application I could go around the DIAdem GUI but I am limited by the set-up of whatever example DIAdem application I used - I don't access anything

     anymore from it after that. Microsoft Office diagnostics says no problem with installed components.

4.When I stop the DIAdem applicaiton everything exits by then.

5. I'm running on a Centrino Core2 Laptop with 4GByte of RAM and 100GByte of HDD using Windows Vista Basic.

6. From within LabVIEW if I attempt several times it gives an 8088 Error Code saying Diadem has no connectivity?

 

I hope you can help me make this work - We have since then upgraded our licenses to LabVIEW 8.6 (mine though is running at 8.5.1) but with a DIAdem 11 (the same behavior for an earlier 10.2.1 also)

 

 

Thanks.

 

Berns B.

 

 

Bernardino Jerez Buenaobra
Senior Test and Systems Development Engineer
Test and Systems Development Group
Integrated Microelectronics Inc.- Philippines
Telephone:+632772-4941-43
Fax/Data: +632772-4944
URL: http://www.imiphil.com/our_location.html
email: Bernardino.Buenaobra@ph.global-imi.com
0 Kudos
Message 9 of 16
(7,999 Views)

Dr. Berns,

 

Thank you for your in depth description of the behavior you are witnessing.  This will be helpful in troubleshooting the issue.  However, I still need to know whether you are running Vista 32-bit or Vista 64-bit.  Is there any way you can respond with that information?  Thank you!

0 Kudos
Message 10 of 16
(7,974 Views)