PHDBridgeEndOfPHDBridge Property

General info

Label

End Of PHD Bridge Signal

Description

Sending this string to PHD-Bridge causes exit from the program.

Data type

String

Type

Regular

Code

12504

Symbolic name

MODEL_PROP_PHDBRIDGEENDOFPHDBRIDGE

Lua access code

syslib.model.properties.PHDBridgeEndOfPHDBridge

Available since

1.74

Parent properties

PHDBridgeDiagnostics

Attributes

Name Tooltip
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs.
PROP_VOLATILE The property exists during runtime of the service only and is not saved to the image.

Examples

Read from or write to the PHDBridgeEndOfPHDBridge property.

  • Lua

  • C#

-- Read from the PHDBridgeEndOfPHDBridge
syslib.getvalue("<OBJECT FULL PATH>.TransporterConfiguration.AlternativeInterfaceParameter.PHDConnection.PHDBridgeDiagnostics.PHDBridgeEndOfPHDBridge")

-- Write to the PHDBridgeEndOfPHDBridge
syslib.setvalue("<OBJECT FULL PATH>.TransporterConfiguration.AlternativeInterfaceParameter.PHDConnection.PHDBridgeDiagnostics.PHDBridgeEndOfPHDBridge", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the PHDBridgeEndOfPHDBridge
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.TransporterConfiguration.AlternativeInterfaceParameter.PHDConnection.PHDBridgeDiagnostics.PHDBridgeEndOfPHDBridge"));
// Write to the PHDBridgeEndOfPHDBridge
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.TransporterConfiguration.AlternativeInterfaceParameter.PHDConnection.PHDBridgeDiagnostics.PHDBridgeEndOfPHDBridge"));