LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

call labview dll to vs2005

Hello all,

I have made a dll using labview that I want to call in an ASP page using VS2005.

 

I have done some research in the forums and tried some solutions but I still haven’t worked it out.

I made simpler dll (just adds two integers) to try it but still noting.

 

Can anyone present me with a simple code that calls this simple dll in asp and returns the result?

Thanks in advance,

Adam

0 Kudos
Message 1 of 2
(2,573 Views)
What isn't working for you? The only thing you should need to do is create a P/Invoke import for your DLL and then call it from your C#/VB.NET code. If you are using a version of LabVIEW before 8.0, you'll need to worry about the UI thread - here are the details on that. I don't have a simple example, but let me know what version of LV you are using and what is going wrong.
0 Kudos
Message 2 of 2
(2,556 Views)