System:Time#

SCPI Commands

SYSTem:TIME
SYSTem:TIME:LOCal
SYSTem:TIME:PROTocol
SYSTem:TIME:UTC

Cloning the Group

// Create a clone of the original group, that exists independently
var time2 = driver.System.Time.Clone();

Direct SCPI Members

class Time_Data

Structure for setting input parameters.

int Hour

integer

int Minute

integer

int Second

integer

class Time_Data

Response structure.

int Hour

integer

int Minute

integer

int Second

integer

Time_Data Get ( )#
void Set ( Time_Data settings )#
// SCPI: SYSTem:TIME
// Get:
Time_Data value = driver.System.Time.Get();
// Set:
driver.System.Time.Set(new Time_Data());

Queries or sets the time for the instrument-internal clock. This is a password-protected function. Unlock the protection level 1 to access it. See method RsSmw.System.Protect.State.Set.

settings For set / get value, see the help for Time_Data structure arguments


string Local#
// SCPI: SYSTem:TIME:LOCal
string value = driver.System.Time.Local;
driver.System.Time.Local = "abc";

No help available.


TimeProtocolEnum Protocol#
// SCPI: SYSTem:TIME:PROTocol
TimeProtocolEnum value = driver.System.Time.Protocol;
driver.System.Time.Protocol = TimeProtocolEnum._0;

Sets the date and time of the operating system.

timeProtocol: OFF | NONE | 0| NTP | ON | 1

  • NONE: Sets the date and time according to the selected timezone, see :SYSTem:TIME:ZONE:CATalog? and :SYSTem:TIME:ZONE.

  • NTP: Sets the date and time derived from the network time protocol. To select the NTP time server, use the commands :SYSTem:NTP:HOSTname and :SYSTem:NTP:STATe.


string Utc#
// SCPI: SYSTem:TIME:UTC
string value = driver.System.Time.Utc;
driver.System.Time.Utc = "abc";

No help available.


Subgroups