StartupScriptTimeout Property
General info
Label |
Timeout |
Description |
Timeout in seconds, used for determining the script's execution state. |
Data type |
UInt32 |
Default value |
30 |
Min value |
1 |
Type |
Regular |
Code |
11865 |
Symbolic name |
MODEL_PROP_STARTUPSCRIPTTIMEOUT |
Lua access code |
syslib.model.properties.StartupScriptTimeout |
Available since |
1.60 |
- Parent properties
Attributes
| Name | Tooltip |
|---|---|
| PROP_CONFIGURABLE | The property is configurable and can be changed with DataStudio and the various inmation APIs. |
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
| PROP_HAS_DEFAULT | The property has a default value as standard. |
| PROP_HAS_LOLIMIT | The property has a low limit. |
Examples
Read from or write to the StartupScriptTimeout property.
-- Read from the StartupScriptTimeout
syslib.getvalue("<OBJECT FULL PATH>.StartupScript.StartupScriptTimeout")
-- Write to the StartupScriptTimeout
syslib.setvalue("<OBJECT FULL PATH>.StartupScript.StartupScriptTimeout", 30)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the StartupScriptTimeout
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.StartupScript.StartupScriptTimeout"));
// Write to the StartupScriptTimeout
Result result = sli.WriteValue(sc, new WriteItem(30, "<OBJECT FULL PATH>.StartupScript.StartupScriptTimeout"));