Observables - Environment
|
CurrentDateDay |
|
|---|---|
|
Complete Command |
ZenService.Environment.CurrentDateDay |
|
Input |
|
|
Output |
integer |
|
Description |
Returns the current day. |
|
CurrentDateMonth |
|
|---|---|
|
Complete Command |
ZenService.Environment.CurrentDateMonth |
|
Input |
|
|
Output |
integer |
|
Description |
Returns the current month. |
|
CurrentDateYear |
|
|---|---|
|
Complete Command |
ZenService.Environment.CurrentDateYear |
|
Input |
|
|
Output |
integer |
|
Description |
Returns the current year. |
|
CurrentTimeHour |
|
|---|---|
|
Complete Command |
ZenService.Environment.CurrentTimeHour |
|
Input |
|
|
Output |
integer |
|
Description |
Returns the current hour. |
|
CurrentDateTimeMinute |
|
|---|---|
|
Complete Command |
ZenService.Environment.CurrentTimeMinute |
|
Input |
|
|
Output |
integer |
|
Description |
Returns the current minute. |
|
CurrentDateTimeSeconds |
|
|---|---|
|
Complete Command |
ZenService.Environment.CurrentTimeSeconds |
|
Input |
|
|
Output |
integer |
|
Description |
Returns the current second. |
|
CurrentDateTimeMilliseconds |
|
|---|---|
|
Complete Command |
ZenService.Environment.CurrentTimeMilliseconds |
|
Input |
|
|
Output |
integer |
|
Description |
Returns the current millisecond. |
|
FreeDiskSpaceInMBytes |
|
|---|---|
|
Complete Command |
ZenService.Environment.FreeDiskSpaceInMBytes |
|
Input |
|
|
Output |
double |
|
Description |
Returns the free disk space on the hard disk where the experiment data will be saved. |
|
HasChanged |
|
|---|---|
|
Complete Command |
ZenService.Environment.HasChanged(String observableId) |
|
Input |
|
|
Output |
boolean |
|
Description |
Returns whether a certain observable has changed. On simple occurrences it is possible to use the HasChanged("observableId") method. Where available the HasChanged("observableId") method takes an observable name as parameter. HasChanged("observableId") returns true whenever the specified observable has changed since last script run; otherwise false. So it might not be suitable for situations when an observable changes very often and/or when really a singular execution is desired. |