Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DataLog

Creates or stops the data logging block.

Subroutine

DataLog(LogModelName”,BlockControl)

Description

Creates or stops the data logging block.

Enter 0 at BlockControl to stop the block. Enter 1 to create a new block.

Example

Creates a new block for the data logging model “LOG” and start logging.
DataLog(“LOG”,1);

...

MakeLogCsv

Saves the data block to the assigned location in CSV file format.

Subroutine

MakeLogCsv(“LogModelName”, BlockNumber, Location)

Description

Saves the assigned LogModelName ‘s data block to the assigned location in CSV file format.

You can assign values from 0 to 31 at BlockNumber.

You can also assign the Location as shown below.

0: _LOCAL_

1: _SDMEM_

2: _USBMEM_

Example

Saves the 10th data block in the data logging model “LOG” to USB in CSV file format.

MakeLogCsv(“LOG”,10,2);

...