Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Create and Configure IO Server Express VI

LabVIEW 2010 Datalogging and Supervisory Control Module Help

Edition Date: June 2010

Part Number: 371618F-01

»View Product Info

Owning Palette: Variables & I/O Servers VIs

Requires: DSC Module

Creates a new Modbus, Modbus Slave, or OPC Client I/O server and adds the I/O server to the Shared Variable Engine (SVE).

You also can use this Express VI to configure or replace an existing I/O server.

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

Dialog Box Options

ParameterDescription
I/O server typeSpecifies the type of I/O server you want to configure or create.
Set AttributesDisplays the Configure Modbus I/O Server, Configure Modbus Slave I/O Server, or Configure OPC Client I/O Server dialog box, depending on the I/O server type that you specify.
Common ParametersSpecifies general information about the process and the I/O server you want to configure or create.
  • Process name—Specifies the name of the existing process to which the I/O server belongs. Refer to the system tree in the NI Distributed System Manager to view a list of processes. You also can use the Get Process List VI to return a list of process names.
  • I/O server name—Specifies the name of the I/O server you want to configure or create. You can specify an I/O server in a hierarchy, for example, folder_name\server_name.
  • Overwrite if the I/O server exists—Specifies whether to replace an existing I/O server with the I/O server you want to create if the two I/O servers have the same name.
TipsDisplays tips for configuring or creating the I/O server.

Block Diagram Inputs

ParameterDescription
Process nameSpecifies the name of the existing process to which the I/O server belongs.
I/O server nameSpecifies the name of the I/O server you want to configure or create. You can specify an I/O server in a hierarchy, for example, folder_name\server_name.
OverwriteSpecifies whether to replace an existing I/O server with the I/O server you want to create if the two I/O servers have the same name.
AddressSpecifies the address of this instance of the I/O server. This option appears if you select Modbus or Modbus Slave from the I/O server type pull-down menu in the configuration dialog box of this Express VI.
Baud rateSpecifies the baud rate of this instance of the I/O server. You can select a value from 2400 to 115200. This option appears if you select Modbus Serial from the Model pull-down menu of the Configure Modbus I/O Server or Configure Modbus Slave I/O Server dialog box.
error in (no error)Describes error conditions that occur before this node runs.
Refresh rateSpecifies how often this instance of the I/O server refreshes the device, in seconds. This option appears if you select Modbus from the I/O server type pull-down menu in the configuration dialog box of this Express VI.
Serial portSpecifies the serial port this instance of the I/O server uses to communicate with the device. You can select a serial port in the range from COM1 to COM32. This option appears if you select Modbus Serial from the Model pull-down menu of the Configure Modbus I/O Server or Configure Modbus Slave I/O Server dialog box.
IP addressSpecifies the IP address of the device with which the Modbus I/O server communicates. This option appears if you select Modbus Ethernet from the Model pull-down menu of the Configure Modbus I/O Server dialog box.
DeadbandSets the percent change within a range that a value from the OPC server must change before the OPC server communicates the value to the SVE. This option appears if you select OPC Client from the I/O server type pull-down menu in the configuration dialog box of this Express VI.
MachineSpecifies the name of the computer from which you can select an OPC server. This option appears if you select OPC Client from the I/O server type pull-down menu in the configuration dialog box of this Express VI.
Prog IDSpecifies the ID of the OPC server. This option appears if you select OPC Client from the I/O server type pull-down menu in the configuration dialog box of this Express VI.
Reconnect poll rateSpecifies how often, in seconds, the SVE attempts to connect to an OPC server after losing the connection to the server. Enter a value of 0 if you do not want the SVE to retry the connection.

This option appears if you select OPC Client from the I/O server type pull-down menu in the configuration dialog box of this Express VI.
Update rateDetermines the amount of time that passes before the OPC server communicates updated values to the SVE. This value is a requested update rate for the OPC server. The actual update rate returned by the OPC server is greater than or equal to this value. Entering a value of 0 returns the fastest update rate possible from the OPC server.

This option appears if you select OPC Client from the I/O server type pull-down menu in the configuration dialog box of this Express VI.

Block Diagram Outputs

ParameterDescription
I/O server URL outReturns the relative URL to the computer if the I/O server configuration is successful. Otherwise, I/O server URL out returns an empty string. The format of I/O server URL out is \\computer_name\process_name\IO_server_name.

Wire I/O server URL out to the I/O server URL input of the Delete IO Server VI to remove the I/O server programmatically.
error outContains error information. This output provides standard error out functionality.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit