From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(4,927 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
(4,920 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
(4,908 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
(4,894 Views)