Jump to content

Copy all control properties to another control


Recommended Posts

Hi,

I have indicator that looks like this

image.png.e7195bc7ee885b522599ebd0de35782c.png

The table is automatically filled in live depending on the results of some test that are carried out by the labview program. Depending on the values measured during the tests, each cell will get a different background color (also live). 

So in the end, I am getting a table whose values and colors are slightly modified. At the end of the test, another tab will automatically be displayed, showing the summary of all the tests that have been carried out.

What I would like is to just make an exact copy of my table that has been automatically filled in, respecting the values and the colors of the table, in the second tab. I am looking for the best way of doing this. Any ideas?

Just defining the table outside the tabs and showing/hiding it dependin on the tab is not a good option, since I have too many tabs and indicators, and they are placed in different places in each tab, so showing/hiding and moving them should be a mess.

 

Thanks!

Link to comment

Thanks for the info @Antoine Chalons. My code is now too mature to start replacing my indicators by QControls, but anyway it is a good advice for the future.

Since the only stuff I needed to copy was the value of the table and the color of the cells, I opted out doing a specific VI that does that

image.png.3af4a0460609c33a586550e0027396f0.png

Anyway, if someone knows a simpler way to do it, I am here to learn ;)

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.