Skip to content
ThomasPRZilliox edited this page Aug 29, 2025 · 3 revisions

How to control enums

Behind the scenes an enum acts in LabVIEW as an integer, to be able to set a value simply use the methods set_value_DBL

For example:

enum_label = "my_enum"
fmv.set_value_DBL(enum_label,1) # Set the enum control to the value corresponding to the index 1

Feel free to look at the script test_enums.py for more details

How to control tabs

Behind the scenes an tab control acts in LabVIEW as an integer, to be able to set a value simply use the methods set_value_DBL

For example:

tab_label = "my_tabs"
fmv.set_value_DBL(tab_label ,1) # Set the tab control to the second page 

Feel free to look at the script test_tabs.py for more details

It's important to know that tab control might take a bit of time to update in the LabVIEW UI, it's recommended to use the time.sleep() function after selecting a new page.

Requirements for a build

As one can see in the lv-splash-screen some dlls are required for the 0MQ package in order to make a build. Make sure to add them to the build spec.

Those dll are usually stored in:

C:\Program Files\National Instruments\<LabVIEW version>\vi.lib\addons\zeromq\lib\<windows bitness>

for example:

C:\Program Files\National Instruments\LabVIEW 2021\vi.lib\addons\zeromq\lib\win64
Clone this wiki locally