The Daily CLAD

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

CLAD2017 - Hardware - DAQmx - Tasks

Active Participant

Which of the following is/are TRUE regarding DAQmx Tasks?

 

NOTE:  Multiple answers may apply.

 

a) All channels in a task must have the same I/O type.

b) For most devices, only one task per subsystem can run at once, but some devices can run multiple tasks simultaneously.

c) Calling the DAQmx Read VI starts your task, performs the finite measurement, and stops the task after the last sample is read.

d) A task can include channels of different measurement types, such as an analog input temperature channel and an analog input voltage channel.

Combined.png

Comments
Member

a) True. E.g.  if you have at task that has several analog channels you would not be able to add a digital channel.

b) True

c) It's possible to use the Read VI without the Start VI before and the Stop VI after it, but I would generally advise to use the Start and Stop VIs, especially if you Read multiple times (e.g. in a loop).

d) True.

 

Because of how the descriptions were phrased I did a short search and it seems a, b and d are straight from the LabVIEW help  https://zone.ni.com/reference/en-XX/help/370466AC-01/mxcncpts/tasksnidaqmx/ .

Knight of NI

A, B, C, and D.

 

Agree, do not advise C.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Trusted Enthusiast

All are True

Regards
Ray Farmer
Member

All are applicable.

Happy to Wire
Member

A; B, C, D

Member

A, B, C and D

At first glance D is confusing and seems the opposite than A. Then I realized “analog input” is every time the same. What you do with the analog input, whatever you have for a sensor (as long you read a voltage) doesn’t matter.