From: Ali on
"Mick " <twoofthe30(a)hotmail.com> wrote in message <h7lmvj$kc1$1(a)fred.mathworks.com>...
> Greetings
>
> I am trying to interface my NI USB-6009 with the RT Windows Target Analog Input Block in Simulink. In the Block Parameters window under the Data acquisition board window, how do I install my I/O device (USB-6009) as it is not offered in the list of cards under the NI lists? Here are the Ver and OS details as well as the error that I had originally that got me to this point......Thanks to Arnaud for his help.
>
> "Mick " <twoofthe30(a)hotmail.com> wrote in message
> news:h7lhsf$l31$1(a)fred.mathworks.com...
> > Greetings all,
> >
> > I am trying to compile a simulink blockset diagram and get the following
> > error:
> >
> <snip>
>
> > I am running Matlab 2008b, Data Aquisition Toolbox Ver 2.13, am using a NI
> > USB 6009 as the analouge input device with niDAQmx Ver 8.8. My OS is Vista
> > Ultimate SP 2.I am using the default compiler and sending the result to a
> > rtwin.tlc file. When I replace the Analog Input (Single Sample) block with
> > a signal generator I do not get an error. It only occurs with the Analog
> > input block. THe errors I am concerned about are;
> >
> > Error! E2028: exDAQAcquireData_ is an undefined reference
> > Error! E2028: exDAQGetLastError_ is an undefined reference
> > Error! E2028: exDAQTerminateSystem_ is an undefined reference
> > Error! E2028: exDAQCreateAISSSystem_ is an undefined reference
> > Error! E2028: exDAQInitializeSystem_ is an undefined reference
> >
> > Please help.....Mick H
>
> Is this the analog input block from the Data Acquisition Toolbox? If so, I
> don't believe it is supported by Real-Time Workshop for code generation.
> Since you seem to be using Real-Time Windows Target, use the analog input
> block from there instead. The data acquisition block are for simulation
> only.
>
> HTH,
>
> Arnaud
 | 
Pages: 1
Prev: level 2 s function
Next: amdf