Skip to content

Python Support

ThomasPRZilliox edited this page Feb 25, 2024 · 7 revisions

Import the module

from lv_ui_testing import ui_testing

Methods

The methods are split into two categories:

  • FMV : the one for the Front Most Vi
  • SP : the one for a VI inside a SubPanel of the front most Vi

The arguments of the different methods are often similar:

  • control_label : the label of the control/indicator
  • subpanel_label : the label of the subpanel object

Front Most Vi

FMV_get_vi_name()

Returns the name of the front most VI.

FMV_click_on_button(control_label)

Simulate the click of a User on a button (boolean).

FMV_get_value(control_label)

Returns the current value of a control/indicator as a string.

FMV_get_value_DBL(control_label)

Returns the current value of a control/indicator as a number.

FMV_get_value_bool(control_label)

Returns the current value of a control/indicator as a bool.

Clone this wiki locally