Time

SCPI Commands

CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:TSOurce
CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:DATE
CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:TIME
CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:DSTime
CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:LTZoffset
CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:SATTach
CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:SNName
class Time[source]

Time commands group definition. 8 total commands, 1 Sub-groups, 7 group commands

class DateStruct[source]

Structure for reading output parameters. Fields:

  • Day: int: Range: 1 to 31

  • Month: int: Range: 1 to 12

  • Year: int: Range: 2011 to 2099

class TimeStruct[source]

Structure for reading output parameters. Fields:

  • Hour: int: Range: 0 to 23

  • Minute: int: Range: 0 to 59

  • Second: int: Range: 0 to 59

get_date()DateStruct[source]
# SCPI: CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:DATE
value: DateStruct = driver.configure.cell.time.get_date()

Specifies the UTC date for the time source DATE (see method RsCmwGsmSig.Configure.Cell.Time.tsource) .

return

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

get_daylight_saving_time()RsCmwGsmSig.enums.DsTime[source]
# SCPI: CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:DSTime
value: enums.DsTime = driver.configure.cell.time.get_daylight_saving_time()

Specifies a daylight saving time (DST) offset for the time source DATE (see method RsCmwGsmSig.Configure.Cell.Time. tsource) .

return

enable: P1H | P2H | ON | OFF P1H: +1h offset if DST is ON P2H: +2h offset if DST is ON Additional parameters OFF (ON) disables (enables) DST.

get_ltz_offset()float[source]
# SCPI: CONFigure:GSM:SIGNaling<instance>:CELL:TIME:LTZoffset
value: float = driver.configure.cell.time.get_ltz_offset()

Specifies a time zone offset for the time source DATE (see method RsCmwGsmSig.Configure.Cell.Time.tsource) .

return

time_zone_offset: Range: -19.75 h to 19.75 h

get_sattach()bool[source]
# SCPI: CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:SATTach
value: bool = driver.configure.cell.time.get_sattach()

Enables the transfer of the date and time information to the MS at attach and location update.

return

enable: OFF | ON

get_snname()bool[source]
# SCPI: CONFigure:GSM:SIGNaling<instance>:CELL:TIME:SNName
value: bool = driver.configure.cell.time.get_snname()

If enabled, sends the full and short network name within date and time signaling to the MS.

return

enable: OFF | ON

get_time()TimeStruct[source]
# SCPI: CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:TIME
value: TimeStruct = driver.configure.cell.time.get_time()

Specifies the UTC time for the time source DATE (see method RsCmwGsmSig.Configure.Cell.Time.tsource) .

return

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

get_tsource()RsCmwGsmSig.enums.SourceTime[source]
# SCPI: CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:TSOurce
value: enums.SourceTime = driver.configure.cell.time.get_tsource()
Selects the date and time source.

INTRO_CMD_HELP: The time source DATE is configured via the following commands:

  • method RsCmwGsmSig.Configure.Cell.Time.date

  • method RsCmwGsmSig.Configure.Cell.Time.time

  • method RsCmwGsmSig.Configure.Cell.Time.daylightSavingTime

  • method RsCmwGsmSig.Configure.Cell.Time.ltzOffset

return

source_time: CMWTime | DATE CMWTime: Windows date and time DATE: ‘Date / Time’ specified via remote commands

set_date(value: RsCmwGsmSig.Implementations.Configure_.Cell_.Time.Time.DateStruct)None[source]
# SCPI: CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:DATE
driver.configure.cell.time.set_date(value = DateStruct())

Specifies the UTC date for the time source DATE (see method RsCmwGsmSig.Configure.Cell.Time.tsource) .

param value

see the help for DateStruct structure arguments.

set_daylight_saving_time(enable: RsCmwGsmSig.enums.DsTime)None[source]
# SCPI: CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:DSTime
driver.configure.cell.time.set_daylight_saving_time(enable = enums.DsTime.OFF)

Specifies a daylight saving time (DST) offset for the time source DATE (see method RsCmwGsmSig.Configure.Cell.Time. tsource) .

param enable

P1H | P2H | ON | OFF P1H: +1h offset if DST is ON P2H: +2h offset if DST is ON Additional parameters OFF (ON) disables (enables) DST.

set_ltz_offset(time_zone_offset: float)None[source]
# SCPI: CONFigure:GSM:SIGNaling<instance>:CELL:TIME:LTZoffset
driver.configure.cell.time.set_ltz_offset(time_zone_offset = 1.0)

Specifies a time zone offset for the time source DATE (see method RsCmwGsmSig.Configure.Cell.Time.tsource) .

param time_zone_offset

Range: -19.75 h to 19.75 h

set_sattach(enable: bool)None[source]
# SCPI: CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:SATTach
driver.configure.cell.time.set_sattach(enable = False)

Enables the transfer of the date and time information to the MS at attach and location update.

param enable

OFF | ON

set_snname(enable: bool)None[source]
# SCPI: CONFigure:GSM:SIGNaling<instance>:CELL:TIME:SNName
driver.configure.cell.time.set_snname(enable = False)

If enabled, sends the full and short network name within date and time signaling to the MS.

param enable

OFF | ON

set_time(value: RsCmwGsmSig.Implementations.Configure_.Cell_.Time.Time.TimeStruct)None[source]
# SCPI: CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:TIME
driver.configure.cell.time.set_time(value = TimeStruct())

Specifies the UTC time for the time source DATE (see method RsCmwGsmSig.Configure.Cell.Time.tsource) .

param value

see the help for TimeStruct structure arguments.

set_tsource(source_time: RsCmwGsmSig.enums.SourceTime)None[source]
# SCPI: CONFigure:GSM:SIGNaling<Instance>:CELL:TIME:TSOurce
driver.configure.cell.time.set_tsource(source_time = enums.SourceTime.CMWTime)
Selects the date and time source.

INTRO_CMD_HELP: The time source DATE is configured via the following commands:

  • method RsCmwGsmSig.Configure.Cell.Time.date

  • method RsCmwGsmSig.Configure.Cell.Time.time

  • method RsCmwGsmSig.Configure.Cell.Time.daylightSavingTime

  • method RsCmwGsmSig.Configure.Cell.Time.ltzOffset

param source_time

CMWTime | DATE CMWTime: Windows date and time DATE: ‘Date / Time’ specified via remote commands

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.configure.cell.time.clone()

Subgroups