ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

table update

Hello I have table and 2 combox string. Once i start the VI  and change values in combox, the table shoudl also update simultaneously... Thanks for any help

 

 

 

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 1 of 5
(3,120 Views)

Hi Nghtcrwlr,

 

you cannot replace elements of an empty array! As long as the table is empty ReplaceArraySubset will not work...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(3,105 Views)

Then how is it possible to update an empty table?

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 5
(3,101 Views)

Hi,

 

either define your table as 2D array of empty strings or use BuildArray instead of ReplaceArraySubset...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(3,094 Views)

ya-.. I created a 2D arraxy and then worjed a little bit with it to get the result. Thanks for the help

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 5 of 5
(3,082 Views)