The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: CLAD2017 - DAQmx - Configuration Series 4 of 5

SercoSteveB
Active Participant

What are the contents of Data Array Size Out following execution of the VI?

 

DAQmx N Chans N Samples Data Points Looped.png

 

DAQmx N Chans N Samples Data Points Looped Answers.png

Comments
GladysToMeetYou
Member

D

Vinay_Kumar_M_S
Member

D

PakAsia
Member

D

timmy
A_rid
Member

D

hemasagar
Member

can any one explain how option D

Baltur
Member

D

We have 4 channels (ai0 to ai3) and we read 3 samples per channel. This means the Read NChan NSamp will output an array with 4 rows and 3 columns. The auto-indexing of the For-loop will then create a 3D Array from that. This array has 2 pages, 4 rows and 3 colums.

alphy
Member

answer is B

monesh
Member

d)

crossrulz
Knight of NI

D


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
mini09
Active Participant

D

SravanKumarAtla
Member

D is ans..... 

Sravankumar Atla
CLD || CTD
whitecr
Member

D

qubirt
Member

D

Matt-A.
Member

D

CataM
NI Employee (retired)

d)

HARDIK22
Member

D

hemasagar
Member

i am getting as 2 pages 1 row and 3 columns 2*1*3 is it correct?

crossrulz
Knight of NI

hemasagar, sounds like you do not have the right number of channels in your task.  Look closely at the channel constant.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
SercoSteveB
Active Participant

Answer: D.  Nice one all.

 

So we have four channels (ai0:3), three samples per channel and two DAQmx Read operations (iterations of the loop)

istan0227
Member

D