I want to use the TI c6000 DSK board but instead of programming the interface test routines in VC++ I want to do it in Labview. I have used Labview quite a bit and have used the Call library function before also.
But I have a problem.
The function dsk6x_open is define as
BOOL dsk6x_open(char *pfname, dskHANDLE *HandlePtr);
and is the first function to call to open the device.
The Bool type and the Char type is easy, but the dskHANDLE type is a bit of a mistery to me. In the Win32 example included on the DSK manuals,
the variable is defined as below:
dskHANDLE handle;
char *pfname = "c:\\ti\\c6000\\dsk6x11\\include\\ti_ppdsk.cfg";
if(dsk6x_open(pfname,&handle)){
etc............
}
How do you set the 2nd argument of the Call l
ibrary function to work with the dskHANDLE type. I suppose it is some kind of structure with its contends. The usual way is to pass a pointer to the structure if you
work in C. So how now ?? How do you set the Labview Call library function types and most important, what do you wire to go into the VI block??