Show/Hide Toolbars

Irinos Measurement System

Navigation: MscDll Reference Guide > Opcodes and parameters > Opcodes: Configuration and miscellaneous

opcSAbsT: Set absolute time (for diagnostics memory)

Scroll Prev Top Next More

This opcode allows setting the current date and time in the Irinos-System. This is not required but very useful for the diagnostic memory: date/time information will be added to all events.

 

Overview


Opcode:              0x3A

Name:                opcSAbsT

Function:            Set absolute time

Parameter type:        String

 

DLL-Function


MSC_WriteCommand

 

Request string to the Irinos-System


#{Value 1};{Year};{Month};{Day};{Hour};{Minute};{Second};{Millisecond}#

Example: #1;2015;06;26;16;49;32;532#

Value 1

Value 1 must be used for this parameter.

Year

Year (4-digit)

Month

Month (1- or 2-digit)

Day

Day (1- or 2-digit)

Hour

Hour (1- or 2-digit) using the 24h time format

Minute

Minute (1- or 2-digit)

Second

Second (1- or 2-digit)

Millisecond

Millisecond (1-, 2- or 3-digit)

 

Response string from the Irinos-System


#0#        Success

#-n#        Invalid parameter no n

#-99#        General syntax error of the request string

 

Comments


Writing the system-time is not required, but recommended. It provides date & time information for all diagnostic events.

After restarting the Irinos-System, the date/time information is lost. Therefore it should always be rewritten after power on.

The internal clock does not take into account leap years of leap seconds. Further it has no high accuracy. Hence it is recommended to rewrite the date/time information once a day. It can be rewritten any time.