Reinis,
Thank you for the program. This is just I need.
Miguel.
"Reinis Kanders" escribi� en el mensaje
news:394a5046_5@goliath.newsfeeds.com...
>
http://digital.ni.com/explprog.nsf/75c7cd5de6d387788625663d00558a4c/3d9437c9
> d630e5e48625683a000a8332?OpenDocument
>
> Check this example, that should do it.
>
> "Miguel" wrote in message
> news:394a4056@newsgroups.ni.com...
> > Thanks for the information, but I have a dll function and I want to use
> > "call library function"
> > to access to the library.
> >
> > Miguel.
> >
> > Reinis Kanders escribi� en el mensaje de noticias
> > 394a352e$1_1@goliath.newsfeeds.com...
> > > First create CIN on your VI, then connect cluster to CIN's output.
> > > Right click on CIN and choose to create .c file.
> > > Output is belove.
> > > More info on how to compile lsb file to be used by CIN is on NI
website.
> > > CIN=code interface node
> > >
> > > /*
> > > * CIN source file
> > > */
> > >
> > > #include "extcode.h"
> > >
> > > /*
> > > * typedefs
> > > */
> > >
> > > typedef struct {
> > > float64 d_value;
> > > float64 d_value2;
> > > uInt32 u_value;
> > > uInt32 u_value2;
> > > } TD1;
> > >
> > > CIN MgErr CINRun(TD1 *Cluster, float64 *input_d);
> > >
> > > CIN MgErr CINRun(TD1 *Cluster, float64 *input_d) {
> > >
> > > /* ENTER YOUR CODE HERE */
> > >
> > > return noErr;
> > > }
> > >
> > > "Miguel" wrote in message
> > > news:394a2bf3@newsgroups.ni.com...
> > > > Hi,
> > > >
> > > > I want to use this function into LabView:
> > > >
> > > > struct my_output my_function (char * signal, unsigned size_signal)
> > > >
> > > > the output of the function is a C structure:
> > > >
> > > > struct my_output
> > > > {
> > > > double d_value;
> > > > unsigned u_value;
> > > > unsigned u_value2;
> > > > double d_value2;
> > > > .....
> > > > }my_output;
> > > >
> > > > I would like to retrieve the C structure in a cluster in LabView.
> > > >
> > > > Is it possible to convert from C structure type to cluster type in
> > > LabView?
> > > >
> > > > Thanks in advance,
> > > >
> > > > Miguel.
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> > > http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> > > -----== Over 80,000 Newsgroups - 16 Different Servers! =-----
> >
> >
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 80,000 Newsgroups - 16 Different Servers! =-----