push_link

Purpose:

Transfer variables to a remote node.

Enter:

push_link  <filename> [name=task_name] [host=hostname] &

Where:

filename

Specify the filename that contains the desired list of local and remote CyFlex variables.

name

Optional. Specify the name to register this task with the OS. The default is “node_link”.

host

Optional. Specify the IP address or hostname of the remote computer. Use this option when the transfer is to or from a non-qnx node and when the @HOSTNAME option is used in the spec file.

Example:

push_link /specs/em_specs.316 &

The above starts push_link on the local node accessing the CyFlex variable specified in the file em_specs.316.

Notes:

A combined total of 1200 variables may be specified in each file to be transferred to remote nodes.

push_link does not support STRING variables and will not perform units conversion.

This program is normally spawned via the go script. Multiple copies may be spawned if links to different nodes using separate spec files is desired.

The following is an example spec file linking to a node via it’s ip address or hostname.

# keyword             ip_address          transfer_interval      name_extender(option)
@HOSTNAME    123.45.67.89       1[s]                               A

# target_variable(remote node)    source_variable (this node)
target_label                                        source_label

When the host=hostname option is used on the command line, the ip_address field in the spec file should be replaced with CMD_LINE

# keyword             ip_address         transfer_interval       name_extender (option)
@HOSTNAME     CMD_LINE       1[s]                               A

# target_variable(remote node)    source_variable (this node)  
target_label                                        source_label

See Also:

Internodal Communications Tasks Reference