Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Display analog data in a table after acquisition

Solved!
Go to solution

Hi,

I am acquiring data from nearly 12 analog channels using a single task at the rate of 100hz and trying to display it in a table. I have renamed all the channels according to their functions and also assigned them a hardware number. But the problem I face is that am not able to find out which data comes from a particular channel. The graph should look like the one similar to the table in MAX with a column extra for displaying the hardware number as  well and I have attached the image of it. As of now I have tried to display all Channels, their hardware number and values acquired sequentially in three separate columns. Though it seems fine, I would like to know if there is any option to find out from which channel a particular value was acquired in a task with a number of channels?

Download All
0 Kudos
Message 1 of 4
(3,185 Views)

I have attached the code of whst I have done so far..

Download All
0 Kudos
Message 2 of 4
(3,181 Views)
Solution
Accepted by topic author Karthi_R

The shift register for the while loop where you are collecting your data should be a 2D array.  Then each colum will be designated to a channel.


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
Message 3 of 4
(3,159 Views)

It worked.. Thanks 🙂

0 Kudos
Message 4 of 4
(3,156 Views)