Create Serial Master VI

Installed With: LabVIEW

Creates a standard serial master. The transmission data unit used by the device is defined by the serial type input.

Create Serial Master

datatype_images\cu32.gif

baud rate is the rate of transmission. The default is 9600.

datatype_images\cio.gif

VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.

datatype_images\cu8.gif

unit ID defines the device targeted by all Modbus master read and write operations.

datatype_images\cu16.gif

parity specifies the parity used for every frame to be transmitted or received. The default is even.

datatype_images\cu16.gif

flow control sets the type of control used by the transfer mechanism.

datatype_images\cenum.gif

serial type defines the type of serial transmission data unit to be used. RTU is a binary, higher performance data unit. ASCII uses human-readable characters to send all data.

datatype_images\icclst.gif

error out contains error information. This output provides standard error out functionality.

datatype_images\ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. 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.

datatype_images\ii32.gif

code is the error or warning code. 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.

datatype_images\istr.gif

source string describes the origin of the error or warning. 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.

datatype_images\ccclst.gif

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

datatype_images\cbool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. 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.

datatype_images\ci32.gif

code is the error or warning code. 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.

datatype_images\cstr.gif

source describes the origin of the error or warning. 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.

datatype_images\irn.gif

serial master instance returns a configured and initialized serial master.