FlexLogger - Set Channel Logging Enabled VI
- 更新时间2025-11-20
- 阅读时长2分钟
Sets the logging state for the specified Channel name. When logging is disabled (i.e. enabled is False), no data is logged to TDMS for that channel. Call the Get Channel Names instance of this VI to get a list of valid channel names. Note: Not all channels support setting the logging state.

Inputs/Outputs
FlexLogger session in
—
FlexLogger session is a reference to the currently running FlexLogger application. Use the Connect to FlexLogger VI to get the current session.
Channel name
—
Channel name is the name of the channel to update.
Enabled (T)
—
Enabled specifies whether or not this channel is enabled.
error in (no error)
—
error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.
FlexLogger session out
—
FlexLogger session is a reference to the currently running FlexLogger application. Use the Connect to FlexLogger VI to get the current session.
error out
—
error out passes error or warning information out of a VI to be used by other VIs. Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
FlexLogger session in
—
Channel name
—
Enabled (T)
—
error in (no error)
—
FlexLogger session out
—
error out
—