ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

shared library issues

Solved!
Go to solution

Hi,

 

I have a DLL from my amplifier and a help file + a header file, but when i try to import the shared library, it doesn't make all the functions... Now i have some functions from a third party, but when i try to:

getinstancelist -> opendevice -> getsignalformat -> stopdevice -> close device  

 

My whole LabVIEW program often shuts down and gives an error. I wish i could make all the functions with the wizard so that i can be shure everything is done right... 

 

In the attachment the SDK, DLL and header files + the getinstancelist, opendevice, getsignalformat, stopdevice, close device VI's

 

Best regards,

Thijs Boeree

 

0 Kudos
Message 1 of 2
(2,564 Views)
Solution
Accepted by topic author ThijsBoeree

Found it!

 

I only "opened" the device in my VI and then tried to "stop" it (but it wasn't started...) So that caused the crashes!

Best regards,

Thijs 

0 Kudos
Message 2 of 2
(2,557 Views)