fox-FoxClientConnection

These component (Client Connection) properties configure a FoxSession connection used by a NiagaraStation.

Figure 1. FoxClientConnection Property Sheet


To access this view, expand Config > Drivers > NiagaraNetwork, right-click the NiagaraStation component in the Nav tree, click Views > Property Sheet and double-click Client Connection.

PropertyValueDescription
Stateread onlyReports the current state of the Fox connection.
Portnumber

Defines the port number on the controller or computer used to connect to the network. If using fox streaming, which uses the station to render the video stream, this port should be different from the station's fox port. If you are not using fox streaming, this port should be the same as the station's fox port.

This port is only used for configuring fox or foxs connections. The foxwss port is configured using the separate property.

Use Foxstrue or falseWhen disabled, Fox communication is assumed, unless the Fox Over WebSocket property specifies otherwise.
Fox Over WebSocketdrop-down menu Provides options for deciding when a foxwss connection to the remote station should be established:
  • Use WebSocket if Fox or Foxs fails (default) : instructs to prefer fox or foxs as configured by the existing properties (the Use Foxs property in particular), but allows foxwss to be used as a fall-through if the fox/foxs attempt initially fails due to an unreachable host/port error.

  • Use WebSocket Only: instructs to use foxwss connection exclusively. Using this option causes the Use Foxs property setting to be ignored and only attempt foxwss connections.

  • WebSocket Disabled: instructs to disable foxwss connections. Only the Use Foxs setting will be in effect.

Fox Over WebSocket PortnumericSpecifies the port to use for foxwss connections. This should be the HTTPS port used by the remote station's WebService.
Fox Over WebSocket In Useread-onlyIndicates whether the last successful connection used foxwss or not. This helps determine when the fall-through connection occurs.
Last Connect Timeread-onlyReports the last connected time of the device to the server.
Last Disconnect Timeread-onlyReports the last disconnected time of the device to the server.
Last Disconnect Causeread-onlyReports the cause for disconnection of the device to the server.
Last Failure timeread-onlyReports the time for last failed connection.
Last failed Causeread-onlyReports the cause for last failed connection.
Retry Periodhours minutes secondsSpecifies the period for retry for connection.
Next Attempt Timeread-onlyDisplays the time for next attempt for connection.
Credential Storedrop-down listDefines the Username and Password for the connection.

Actions

To access this view, right click Client Connection.



This component has two default actions. You can manually force/test a connection using Manual Connect and Manual Disconnect actions.