TestSpecificationVersion Property
General info
Label |
Version |
Description |
An identification of the version of the Material Test Specification i.e. 1.0, A.1 |
Data type |
String |
Type |
Regular |
Code |
826 |
Symbolic name |
MODEL_PROP_TESTSPECIFICATIONVERSION |
Lua access code |
inmation.model.properties.TestSpecificationVersion |
Available since |
1.8.1.1450 |
- Parent classes
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 |
Examples
Read from or write to the TestSpecificationVersion
property.
-- Read from the TestSpecificationVersion
inmation.getvalue("<OBJECT FULL PATH>.TestSpecificationVersion")
-- Write to the TestSpecificationVersion
inmation.setvalue("<OBJECT FULL PATH>.TestSpecificationVersion", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the TestSpecificationVersion
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.TestSpecificationVersion"));
// Write to the TestSpecificationVersion
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.TestSpecificationVersion"));