Network Status Variables Naming Rules
PcVue provides several variables containing status information for stations in a networked application. The variables are generated automatically with names related to the network configuration. The variables can be used to animate a network status mimic that should be considered essential for any networked application.
The names of the network status variables are generated automatically by PcVue with branches constructed using the following rules.
Naming rules when using TCP/IP prior to version 10.0 SP1
Mnemonic | Description |
<StationName> | The name of the station as entered in the network configuration. Not the name by which the host PC is known on the Windows network. |
<StationNumber> | The number of the station corresponding to <StationName>. For information on how the station number is configured see the topic How the station number is allocated to a physical PC. |
<NodeNumber> | The number of a node within a station. The nodes are configured in the network configuration with each node corresponding to a physical network card in the host PC. Node numbers start at 0. |
<NodeName> | The identity of the node. = <StationName>_<NodeNumber> |
<ServerConnectionName> | The identity of server connection. = <StationName>_<NodeNumber>S |
<ClientConnectionName> | The identity of client connection. = <StationName>_<NodeNumber>C |
<AssociationName> | The name of an association as entered in the network configuration. Associations are used in redundant configurations. |
Naming rules when using TCP/IP for version 10.0 SP1 and later
Version 10.0 SP1 and later have a minor difference in the way the <ServerConnectionName> and <ClientConnectionName> are constructed. If you open a project created with a version prior to 10.0 SP1, variables constructed using the old scheme will still work as expected. However, if you create any new stations in the network configuration, the new naming scheme will be used when the new status variables are generated.
Mnemonic | Description |
<ServerConnectionName> | The identity of server connection. = <StationName><NodeNumber>S |
<ClientConnectionName> | The identity of client connection. = <StationName><NodeNumber>C |
Naming rules when using NetBios
NetBios is no longer in common use although it is still supported. The naming scheme, if using Netbios, is modified as follows. Please note that these names can be changed manually in the station properties.
Mnemonic | Description |
<ServerConnectionName> | The identity of server connection. = <StationName>S<NodeNumber> |
<ClientConnectionName> | The identity of client connection. = <StationName>C<NodeNumber> |
Example for TCP/IP illustrating the status variable naming rules
Mnemonic | Example |
<StationName> | PIPPIN |
<StationNumber> | 1 |
<NodeNumber> | 0 |
<ServerConnectionName> | PIPPIN_0S (earlier than 10.0 SP1) PIPPIN0S (10.0 SP1 and later) |
<ClientConnectionName> | PIPPIN_0C (earlier than 10.0 SP1) PIPPIN0C (10.0 SP1 and later) |
An important note
The information provided by some of the variables is different when <StationName> is the local station and when <StationName> is the name of another (remote) station on the network.