Now

Reads the date and time from an In-Sight sensor's internal clock.TheGetClock function insertsa formatted text string representing the current date and time into thespreadsheet.For more information, see GetClock(Time, Format String, [Local/GMT]).

Note: The Date/Time Settings dialog configures an In-Sight vision system to use Simple Network Time Protocol (SNTP) for automatic synchronization of the vision system's internal clock to a local or remote network server's time. For more information, see Date/Time Settings Dialog.

NowInputs

Syntax: Now(Event)

Parameter Description

Event

Specifies the update event on which to readthe date and time. This parameter must be a reference to one of the following:

  • The Image data structure in cell A0, containing the AcquireImage function. For more information, see AcquireImage.
  • A cell containing an Event function. For more information, see Event.
  • A cell containing a Button function. For more information, see Button.

NowOutputs

Returns

A Time data structure containingthe current date and time, or #ERR if the input Eventvalue is invalid.

Results

The VisionData Access function, GetClock, is automatically inserted into thespreadsheet.