Events

SCPI Commands

SENSe:DATA:CONTrol:IMS<Ims>:EVENts
class Events[source]

Events commands group definition. 2 total commands, 1 Sub-groups, 1 group commands

class GetStruct[source]

Response structure. Fields:

  • Idn: List[str]: String identifying the event log entry Use this ID to query event details via [CMDLINK: SENSe:DATA:CONTrol:IMS2:HISTory CMDLINK]

  • Timestamps: List[str]: Timestamp as string in the format ‘hh:mm:ss’

  • Source: List[str]: Originating party as string

  • Destination: List[str]: Terminating party as string

  • Type_Py: List[enums.DataType]: AUDio | VIDeo | SMS | INValid | CALL | RCSLmsg | FILetransfer | FTLMode AUDio: audio call VIDeo: video call SMS: sent or received short message CALL: call setup, released call or call on hold RCSLmsg: sent or received RCS large message FILetransfer: file transfer FTLMode: file transfer large mode

  • State: List[enums.SessionState]: OK | NOK | PROGgres | RINGing | ESTablished | HOLD | RESumed | RELeased | MEDiaupdate | BUSY | DECLined | INITialmedia | FILetransfer | SRVCcrelease | TERMinated | CANCeled | REJected | CREated Status of the session or message transfer

get(ims=<Ims.Default: -1>)GetStruct[source]
# SCPI: SENSe:DATA:CONTrol:IMS<Suffix>:EVENts
value: GetStruct = driver.sense.data.control.ims.events.get(ims = repcap.Ims.Default)

Queries all entries of the event log. For each entry, six parameters are returned: {<ID>, <Timestamps>, <Source>, <Destination>, <Type>, <State>}entry 1, {<ID>, …, <State>}entry 2, …

param ims

optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Ims’)

return

structure: for return value, see the help for GetStruct structure arguments.

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.sense.data.control.ims.events.clone()

Subgroups