From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, 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: 

Multiple channel DAQ (using delphi)

I am using Delphi and a NI data-acquisition card (DAQcard-6062E) to acquire data from 8 different channels.

I have been able to retrieve data from one channel but when trying to add more channels I run into difficulties.

The idea is to collect data with one AnalogInput which has multiple channels.

Is it possible to add more channels in the CWAI-control properties window, and if so how does one go about this?


Thx.
Adrian

0 Kudos
Message 1 of 3
(2,931 Views)

Hello,

Officially National Instruments does not support Delphi as a development enviroment. But maybe I can help you a little bit on this control. You should be able to use the following syntax for the channel string either in the properties dialog window of this control or in the function itself:

  • For selecting a span of channels use: x:y with x the first channel and y the last channel in the span.
  • If you want to read some random chanels use comma's to seperate the channels for example: 0,3,6

Hope this helps.

RikP

National Instruments

Rik Prins, CLA, CLED
Software Development Engineer
0 Kudos
Message 2 of 3
(2,918 Views)
Thanks for the help.

A bigger problem for me is actually getting the data from a certain channel into a graph/table.

At the moment I've got:

Chart1.Series[0].Add(MyMeasurement, MyTime);

Where "MyMeasurement"  needs to be replaced by the data coming in from the channel.

Do you understand what I'm trying to do and have you got any ideas?

Thanks again.

Adrian.

0 Kudos
Message 3 of 3
(2,913 Views)