node_linkN

Purpose:

Communicate with remote nodes to fetch or push variables as specified in a configuration file, supporting bidirectional data transfer in a CyFlex system.

Enter:

node_linkN <filename> [tc=NNN] [node=XX] [name=task_name]  [host=hostname] [direction=push/pull] [extender] &

Where:

filename

Specify the pathname of the specification file containing the list of variables to transfer.

tc

Optional. Specify the test cell number to override the node number in the specification file.

node

Optional. Specify the node number to override in the specification file.

name

Optional. Specify the name to register this task with the OS. The default is a standard name.

host

Optional. Specify the IP address or hostname of the remote computer for transfers to non-local nodes.

direction

Optional. Specify ‘push’ or ‘pull’ to indicate the direction of data movement. The default is to ‘pull’ data from the remote node.

extender

Optional. Specify an extender for the server name on the remote node.

Example:

node_linkN specs/em_specs.316 extender=N50 &
The above starts “node_linkN” on the local node accessing the CyFlex variable specified in the file em_specs.316. The node number for the first block of specifications will be overwritten with ’58’. The task name of “node_linkN” will be registered with the OS.

node_linkN node_link.setting direction=push host=ctcnode9 &
The above starts “node_linkN” on the local node and moves data to ctcnode9.

Notes:

This program operates as a background service and is typically spawned via a script. Ensure the specification file uses current CyFlex conventions.

The following is an example spec file linking to a node via its IP address or hostname.

# keyword ip_address transfer_interval @HOSTNAME 192.168.1.100 1[s]

# fetched_variable(remote node) target variable (this node) my_token cell_2_token

See Also:

snode_link, Connection Server Setup, Internodal Communications Tasks Reference