timeStamp

Block Category: Signal Producer

Description: The timeStamp block produces a unique time stamp string, which gives you the capability to export data to a file with a unique name.

Because of the flexibility that the timeStamp block offers, you may want to use this block in place of the timeOfDay block to display the current time of day.

Format String: Specifies the format for displaying the date and time.

Update Frequency: Specifies when the time stamp is applied.

 

Example

If you want to log data acquisition results in a file where the file name is tied to the date, you can use the timeStamp block in conjunction with the export block, as shown below.

timeStamp ex

Here the variable DAQfile expands to Jan02_162454TC, resulting in the complete file name Jan02_162454TC.csv.