.

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
IdnScalar: DevString Instrument identification
QueryWindowScalar: DevUShort When many attributes are requested at the same time, they are grouped in subqueries of this size
TimeStampsThresholdScalar: DevFloat This value sets the threshold time to use a cached value or hardware read it

Commands:

Name Description
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.
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.
IDNInput: DevVoid
Output: DevString
Request identification to the instrument.
StartInput: DevVoid
Output: DevBoolean
Start an active monitoring.
StopInput: DevVoid
Output: DevBoolean
Stop the active monitoring.
OnInput: DevVoid
Output: DevBoolean
Allow communication with the instrument.
OffInput: DevVoid
Output: DevBoolean
Release the communication with the instrument.
ExecInput: DevString
Output: DevString
evaluate python code inside the device server. This command can be very helpful and dangerous.
AddMonitoringInput: DevString
Output: DevBoolean
Add an attribute to the list of monitored attributes
RemoveMonitoringInput: DevString
Output: DevBoolean
Remove an attribute from the list of monitored attributes
SetMonitoringPeriodInput: DevVarStringArray
Output: DevBoolean
From the list of already monitored attributes, stablish (or change) the period that it is checked.
GetMonitoringPeriodInput: DevString
Output: DevFloat
Get the period that is checked an attribute monitored.
CMDInput: DevString
Output: DevString
Expert command for a direct send of a SCPI command and read the answer.
CMDfloatInput: DevString
Output: DevVarFloatArray
Expert command for a direct send of a SCPI command and read the answer converted to a float list.
StandbyInput: DevVoid
Output: DevBoolean
Stablish communication with the instrument.

Pipes:

Properties:

Name Description
InstrumentDevString The name of the instrument to use
PortDevUShort In case of socket interface the port value can be changed
NumChannelsDevUShort Number of channels available in the instrument, if it has
NumFunctionsDevUShort Number of functions available in the instrument, if it has
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)
AutoOnDevBoolean When device startup, try an on() to connect to the instrument authomatically
AutoStartDevBoolean When device startup, try an Start() to monitor attributes, if MonitoredAttributes is configuredc, authomatically
AutoStandbyDevBoolean When device startup, try an standby() to connect to the instrument authomatically.


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, 10:34 a.m.