Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Use MATLAB Simulink with USB-6009

I tried some work with USB-6009 using Simulink.

 

The version of my MATLAB is R2008a.

 

However, analog input block size is fixed by 2.

 

Why should be 2?

 

I couldn't understand.

0 Kudos
Message 1 of 4
(5,243 Views)

Hi,

 

NI-DAQmx requires at least two samples for clocked acquisition.  There are additional simulink blocks that were introduced in R2008a to allow single sample acquisition and generation.

 

-Rob

-----
Rob Purser
Manager, Test and Measurement
MathWorks
rob.purser@mathworks.com
0 Kudos
Message 2 of 4
(5,236 Views)

What the clocked acquisition means?

I don't understand why two samples are obtained in a one sample time?

If 2.1 and 2.3 were measured, what is the truth?

And what are the additional blocks for single sample acquisition?

Could you introduce an example?

0 Kudos
Message 3 of 4
(5,224 Views)

Single Point Blocks.jpg

 I've attached a picture of the blocks I'm talking about.

 

All the best,

-Rob

-----
Rob Purser
Manager, Test and Measurement
MathWorks
rob.purser@mathworks.com
0 Kudos
Message 4 of 4
(5,210 Views)