From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Get value from TSUI.I.Combobox

I'm trying to get the string value of the sequence that is currently selected in the "Sequence File Combobox". I've noticed this is a TSUI.I.Combobox and the Property Node for "Value" doesn't return the full path that is in the combobox.

 

Is there a way I can get the path?

0 Kudos
Message 1 of 2
(2,116 Views)

That's because the combobox is not a true combobox.  It is an activeX control and connects to a manager control.  The manager control talks to it and tells it what should be selected.  Or the manager control listens to it and when the user changes the selection then the manager control pushes that out to all other connected controls.

 

In order to get the path you need to use the SequenceFileView manager that the combobox is connected to.

 

SequenceFileViewMgr.SequenceFile.Path

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(2,064 Views)