LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

import vi from dll

when i try to set up to import vi from .DLL  file, how do i include more than one .h file
(select shared lib & header file screen)
 
here's the warning message, and the import failed.
there's only 2 files which has the refer f(x)  -  *.dll & *.h
 
The shared library contains 1 function(s), among which the declarations of 0 function(s) are found in the header file and these function(s) will be imported. The remaining 1 function(s) listed below cannot be imported.
-  getAuthenticationArray ()
For each function, verify the following conditions:
1. The function is declared in the header file.   
2. The declaration of the function in the header file(s) is embraced by a valid predefined symbol.      
3. The predefined symbols are included in the list of valid predefined symbols. You can click the Back button to get to the previous page of the wizard and add the predefined symbol. 
4. The header file contains declarations for the functions to be converted.
0 Kudos
Message 1 of 5
(3,365 Views)

Kitahara,
      To get a better idea of your issue please answer these questions:

1.What version of LabVIEW are you using?
2. What language was the .DLL created in?
3. Please attach any pertinent files
4. Have you looked at this resource?

Thanks,

Nathan

0 Kudos
Message 2 of 5
(3,349 Views)

labview 8.2

c++

not sure how to attach

no, that's the traditional lib call, i'm trying the new feature in 8.2 which can create vi from dll file,

functions of the dll can then be place simutaneous instead of one function call at a time with the dll.

 

0 Kudos
Message 3 of 5
(3,337 Views)
think what i need is a sample of the header file which show the declaration of the subroutine.
0 Kudos
Message 4 of 5
(3,335 Views)
Kithara,
       I am pretty sure that all the import wizard uses the header file for is getting the function prototypes.  You should try combining the header files together and then running the wizard.  You can add the .dll files in the attachment box that can be found about 2 inches down from the "Submit Post" button.

Thanks,

Nathan
0 Kudos
Message 5 of 5
(3,322 Views)