Difference between revisions of "TestIT:Programming InternalDevice"
Jump to navigation
Jump to search
NolekAdmin (talk | contribs) |
NolekAdmin (talk | contribs) |
||
| Line 126: | Line 126: | ||
|Symbol to hold result (OK or ErrorMsg) | |Symbol to hold result (OK or ErrorMsg) | ||
|} | |} | ||
| + | |||
| + | |||
| + | [[TestIT:Programming#5.3_Commands|Back to Programming - Commands]] | ||
Latest revision as of 15:18, 11 September 2019
5.3.9 InternalDevice
LogStart
Description:
It will start the selected log device.
Code example:
InternalDevice.LogStart(LogDevice,_ResultText,_FileName)
| Parameters | ||
|---|---|---|
| Parameter | Type | Description |
| Instrument name | String or String symbol | The instrument name |
| Result | String symbol | Symbol to receive result from Log. 'OK' if device starts |
| FileName | String symbol | Symbol to the file name of the logged file |
LogStop
Description:
It will stop the selected log device.
Code example:
InternalDevice.LogStop(LogDevice,_ResultText)
| Parameters | ||
|---|---|---|
| Parameter | Type | Description |
| Instrument name | String or String symbol | The instrument name |
| Result | String symbol | Symbol to receive result from Log. 'OK' if device stops |
RampStart
Description:
It will start the selected ramp device.
Code example:
InternalDevice.RampStart(TestRamp,_ST01)
| Parameters | ||
|---|---|---|
| Parameter | Type | Description |
| Instrument name | String or String symbol | The instrument name |
| Result | String symbol | Symbol to receive result from Ramp. 'OK' if device starts |
RampStop
Description:
It will stop the selected ramp device.
Code example:
InternalDevice.RampStop(TestRamp,_ST01)
| Parameters | ||
|---|---|---|
| Parameter | Type | Description |
| Instrument name | String or String symbol | The instrument name |
| Result | String symbol | Symbol to receive result from Ramp. 'OK' if device stops |
DLL
Description:
It will execute the selected DLL method in the selected device.
Code example:
InternalDevice.DLL_Execute(_DLLDevice,_CommandName,_TimeoutActive, _Result)
| Parameters | ||
|---|---|---|
| Parameter | Type | Description |
| Device name | String or String symbol | The instrument name |
| Command name | String or String symbol | The saved Command, representing a DLL method |
| Timeout active | Bool symbol | Symbol to display if a timeout occurred |
| Result | String symbol | Symbol to hold result (OK or ErrorMsg) |