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: 

String Value to a Tab control

Solved!
Go to solution

Hello Guys, i have a issue

 

i have a string value indicador result from a database, but with this value i want to control the page on a tab control,

how can i make this? 

 

on the tab control i want to place some images of some product and depends with the string indicador select the case on the tab control and place the correct image for that case

 

i hope can help me with this thank you

Ignacio564_0-1723662707523.pngIgnacio564_1-1723662745326.png

 

 

 

 

0 Kudos
Message 1 of 3
(1,092 Views)

Hello,


You can use "Scan From String". Here's an example:

 

PauloAurum_0-1723665309719.png

 

Regards,
Paulo
CLA, CTD
Aurum Automation Inc.

CLACTD
0 Kudos
Message 2 of 3
(1,066 Views)
Solution
Accepted by topic author Ignacio564

LVNinja_0-1723665520385.png

You can implement by using a case structure, the String control is compared with the Case structure ( you need to use the exact same string coming from Database) and wire it to a constant tab of each tab. (right click on the tab an select CREATE CONSTANT). 

0 Kudos
Message 3 of 3
(1,064 Views)