> I want to use the TI c600 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);
>
> 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 and.
>
> 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 library function to work
> with the dskHA
NDLE 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??
>
In general, when you run into a type specified in another header file,
you will need to look it up and make a substitution. In this case, I
believe that you can pass in an int32 by adress so that the first call
can allocate, making a new int32 value, and you can then pass that value
to the later calls.
Greg McKaskle