LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

do i have to use .h files to call .dll files?

Dear,
 
Now i want to use labview to control an instrument. And the instrument company give their dll files.
 
When i use tools---> import---->share library,labview tells me import .h file,but their are many .h files,you know you can just choose only one head files in labview at the same time.So should i write a new .h file to concluding this head files and every thing will be ok?it is complicated.
 
I use another method to call .dll and it is CIF.But i also encounter new problem.When i invoke the node .dll,and then choose the functions,i find that the functions are void.Does It meanthat i can not input my parameter,and get output?
 
So what' the problems?
 
Thanks.
0 Kudos
Message 1 of 2
(2,343 Views)
To call a dll in LV, you have to use the Call Library Fuction node in your BD. Then dbl-click it to open the Configuration dialog. In that, you have to browse to the appropriate folder in teh Function tab & select the dll you want to call. Then select the function from the list populated down to it. Then go to the Parameters tab & select/assign the parameters for that function. This will do the job.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 2
(2,339 Views)