.

Average: 0
Rating Count: 0

Development status: Released, Release: 1.4.2
Information status: New
Repository: https://github.com/srgblnch/skippy/
Contact:



Class Description


Standard Commands for Programmable Instruments (SCPI) DeviceServer

Families: Communication

Key words:

Platform: All Platforms

Language: Python

License:

Contact:

Hardware


Manufacturer: none

Bus: Socket

Class interface


Attributes:

Name Description
TimeStampsThresholdScalar: DevFloat This value sets the threshold time to use a cached value or hardware read it
QueryWindowScalar: DevUShort When many attributes are requested at the same time, they are grouped in subqueries of this size
IdnScalar: DevString Instrument identification

Commands:

Name Description
StandbyInput: DevVoid
Output: DevBoolean
Stablish communication with the instrument.
CMDfloatInput: DevString
Output: DevVarFloatArray
Expert command for a direct send of a SCPI command and read the answer converted to a float list.
CMDInput: DevString
Output: DevString
Expert command for a direct send of a SCPI command and read the answer.
GetMonitoringPeriodInput: DevString
Output: DevFloat
Get the period that is checked an attribute monitored.
SetMonitoringPeriodInput: DevVarStringArray
Output: DevBoolean
From the list of already monitored attributes, stablish (or change) the period that it is checked.
RemoveMonitoringInput: DevString
Output: DevBoolean
Remove an attribute from the list of monitored attributes
AddMonitoringInput: DevString
Output: DevBoolean
Add an attribute to the list of monitored attributes
ExecInput: DevString
Output: DevString
evaluate python code inside the device server. This command can be very helpful and dangerous.
OffInput: DevVoid
Output: DevBoolean
Release the communication with the instrument.
OnInput: DevVoid
Output: DevBoolean
Allow communication with the instrument.
StopInput: DevVoid
Output: DevBoolean
Stop the active monitoring.
StartInput: DevVoid
Output: DevBoolean
Start an active monitoring.
IDNInput: DevVoid
Output: DevString
Request identification to the instrument.
StatusInput: DevVoid
Output: ConstDevString
Device status
This command gets the device status (stored in its device_status data member) and returns it to the caller.
StateInput: DevVoid
Output: State
Device state
This command gets the device state (stored in its device_state data member) and returns it to the caller.

Pipes:

Properties:

Name Description
AutoStandbyDevBoolean When device startup, try an standby() to connect to the instrument authomatically.
AutoStartDevBoolean When device startup, try an Start() to monitor attributes, if MonitoredAttributes is configuredc, authomatically
AutoOnDevBoolean When device startup, try an on() to connect to the instrument authomatically
MonitoredAttributesArray of DevString When the device is in RUNNING state, the attributes listed here will be monitored (having events) with a period said in the attribute TimeStampsThreashold (or different if specified with a : separator after the attrName)
NumFunctionsDevUShort Number of functions available in the instrument, if it has
NumChannelsDevUShort Number of channels available in the instrument, if it has
PortDevUShort In case of socket interface the port value can be changed
InstrumentDevString The name of the instrument to use


Please log in to comment.

13 May 2019, Sergi Blanch-Torné
Created:
The device class has been added to catalogue.
Added by:sblanch-torne on:13 May 2019, 12:34 p.m.