04-02-2020 02:50 PM - edited 04-02-2020 02:51 PM
I know I'm a little rusty on LabVIEW but in light of recent of events I've been forced home like many others. I've been tasked with writing a new way to record our data and be more intuitive of that of a excel spreadsheet.
I'm stuck, I know how to do this python very easily but no one wants to use a CLI.
I'm trying to collect all of the data and display it on a table on the front panel. Most data will be entered manually each time but two data points (temperature and humidity) will be collected from a VI I wrote a few years ago.
My question is how do I get all of this data into an array, it seems so simple yet everything I try to write doesn't give desired results or I spin in circles trying to figure out why I have broken wires.
Attached is an image of what I'm starting with.
Any guidance on this is much appreciated.
04-02-2020 03:16 PM - edited 04-02-2020 03:20 PM
We typically don't debug images. Can we see the actual VI instead?
You would use "built array" (resized to the correct number of inputs) to create an array from scalars.
(Another thing: That "status" local variable needs to go. Just unbundle and wire to the indicator before the case structure.)
A table indicator is a 2D array of strings, datawise. You can convert a numeric array to a string array easily. (example for two decimal digits)