LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

initializing front panel controls

Hi there,
I wonder if there is a possibility to read a spreadsheet file and
initialize a table control with the values read.
I found a method named "SetCellValue" but I deem it quite laborious.
Is there a more convinient way to do this?

Thanks,
\Ulli.
0 Kudos
Message 1 of 3
(2,631 Views)
Bernd-U. Seifert schrieb:
> Hi there,
> I wonder if there is a possibility to read a spreadsheet file and
> initialize a table control with the values read.
> I found a method named "SetCellValue" but I deem it quite laborious. Is
> there a more convinient way to do this?
>
> Thanks,
> \Ulli.
>

Hi Ulli,

read your data from the spreadsheet file and convert the 2D array into a
2d array of strings. Now you can use a property node of that table,
where you select value. Set it to write and wire the 2d array and the
property node. Now all entries will be written at one time.

greets
Henrik
0 Kudos
Message 2 of 3
(2,631 Views)
Instead property node "Value" you can use also local variable of table control.
0 Kudos
Message 3 of 3
(2,631 Views)