08-20-2014 12:29 PM
Hello everyone, could someonehelp me? I need help about table control and using data from table. Here is my vi, and i want to know how to use data from table in vi. I need to make some calculations with every value in table colum.
08-20-2014 12:48 PM - edited 08-20-2014 12:52 PM
it is a 2D string array,manipulate data using the ARRAY PALETTE , loops and string conversions.
08-20-2014 12:55 PM
Any example??
08-20-2014 01:47 PM - edited 08-20-2014 01:53 PM
08-20-2014 02:11 PM
What are you trying to do with the data? If you are doing calculations, you will first need to convert from a 2D Array of strings into a 2D Array of numerics, most likely DBL. You can do all kinds of fun stuff from there.
08-20-2014 02:14 PM - edited 08-20-2014 02:16 PM
@Nenoo wrote:
... how to use data from table in vi. I need to make some calculations with every value in table colum.
you are building your table as an indicator...couldn't you just wire directly the data directly into your calculations or make references to them from your sub.vi?
08-21-2014 06:02 AM
I can connect it directly, but i need to know how to take value from exact colum and make calculations with it(average value from all colums, devation and same...).
08-21-2014 06:07 AM - edited 08-21-2014 06:08 AM
Hi Nenoo,
to "take values from table" you need to index array elements. Usually IndexArray is the function you need.
(Or autoindexing in a loop, depending on your task which isn't defined very well until now.)
This is pretty basic LabVIEW knowledge so I advise you to take the free online courses offered by NI!
08-21-2014 06:45 AM
3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
08-21-2014 08:03 AM
@Nenoo wrote:
I can connect it directly, but i need to know how to take value from exact colum and make calculations with it(average value from all colums, devation and same...).
here's one part (average) for you....