LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ni scan engine vs DAQmx

Hello,

I just finished the LabVIEW real time course and I'm interested in understanding better what is the scan engine. I have always used a simple DAQmx configurator block when performing acquisitions on cdaq and even crio (for supported modules of course). Why would I choose to use the scan engine that looks very similar to the DAQmx driver, but not as intuitive?

Hope the question makes sense

Thanks

0 Kudos
Message 1 of 6
(449 Views)

Before the release of cRIO-904x/905x, you can't choose between Scan Engine and DAQmx.

cDAQs only support DAQmx.

cRIOs other than 904x/905x only support Scan Engine or FPGA mode. Scan Engine was the only option for easy configuration without re-compiling the FPGA VI.

With the introduction of DAQmx to cRIO-904x/905x, there is no need to consider Scan Engine. DAQmx offers more flexibility and better performance than Scan Engine.

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 2 of 6
(419 Views)
0 Kudos
Message 3 of 6
(410 Views)

Hello,

I just finished the LabVIEW real time course and I'm interested in understanding better what is the scan engine. I have always used a simple DAQmx configurator block when performing acquisitions on cdaq and even crio (for supported modules of course). Why would I choose to use the scan engine that looks very similar to the DAQmx driver, but not as intuitive?

Hope the question makes sense

Thanks

0 Kudos
Message 4 of 6
(366 Views)

@dacca wrote:

Why would I choose to use the scan engine that looks very similar to the DAQmx driver, but not as intuitive?


The interfaces are nowhere close to the same.  The Scan Engine uses special variables to get single values while DAQmx has a full API where you can get waveforms or single values or an array of values.  DAQmx also defines the data rate and whatever other settings on the block diagram while the Scan Engine has to be defined by a special properties window in from the project.

 

My personal preference is to define all of this directly in the FPGA where I can add additional logic for limit checking, control, etc.  I then use a DMA FIFO to pass the data to the RT who then does whatever with it (locally save it, additional processing, pass on to the Windows system, etc.).

 

If I did not need that additional logic in the FPGA, I would use the DAQmx interface.


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
0 Kudos
Message 5 of 6
(323 Views)

I don't think I've used the scan engine since I've had the ability to use DAQmx on a cRIO.

 

The one area I could see it fitting well would be any time you think you need to do hardware timed single point I/O in DAQmx.

0 Kudos
Message 6 of 6
(308 Views)