FormatPy

SCPI Command :

DISPlay[:WINDow<n>]:TIME:FORMat
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(window=Window.Default) TimeFormat[source]
# DISPlay[:WINDow<n>]:TIME:FORMat
value: enums.TimeFormat = driver.display.window.time.formatPy.get(window = repcap.Window.Default)

This command selects the time and date format.

Parameters:

window – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Window’)

Returns:

format_py: US | DE | ISO DE dd.mm.yyyy hh:mm:ss 24 hour format. US mm/dd/yyyy hh:mm:ss 12 hour format. ISO yyyy-mm-dd hh:mm:ss 24 hour format.

set(format_py: TimeFormat, window=Window.Default) None[source]
# DISPlay[:WINDow<n>]:TIME:FORMat
driver.display.window.time.formatPy.set(format_py = enums.TimeFormat.DE, window = repcap.Window.Default)

This command selects the time and date format.

Parameters:
  • format_py – US | DE | ISO DE dd.mm.yyyy hh:mm:ss 24 hour format. US mm/dd/yyyy hh:mm:ss 12 hour format. ISO yyyy-mm-dd hh:mm:ss 24 hour format.

  • window – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Window’)