-
Notifications
You must be signed in to change notification settings - Fork 2
FAQ
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
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.
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