02-27-2013 11:07 PM
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?
Solved! Go to Solution.
02-27-2013 11:38 PM
I have attached the code of whst I have done so far..
02-28-2013 05:32 AM
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.
02-28-2013 05:40 AM
It worked.. Thanks 🙂