LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing arguments to external functions (not standard arguments)

Dear Labview list,

I have the following problem with a DLL that exports some functions. In
summary

If the external function is of type MyFunction(int) or
OtherFunction(void) then it works fine

But other prototypes are :

FindAdress(unsigned int *, unsigned char * *)
Read(unsigned char *, unsigned int)
SetTimeOut(bool, unsigned int)
WriteData(unsigned char *, unsigned int)
WriteCommand(unsigned char)

I am not able to pass the arguments (labview raises an error). My
biggest problem is that I can not find how to declare

a pointer to an unsigned int or char
a pointer to a 2d array of char
a bool
a char with no pointer

can anyone tell me how to call this functions from labview ?

Yours

Alex
0 Kudos
Message 1 of 2
(2,556 Views)
can you post the dll?  i'll write an example vi for these functions for you.

Charlie Rodway | Principal Software Engineer | Certified TestStand Architect (CTA)

Computer Controlled Solutions Ltd | NI Silver Alliance Partner | GDevCon#1 Sponsor

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