Functions for Data Logging
Type | Format | Description |
Subroutine | ClearDataLog() | Removes all logs from the data logging model. |
Subroutine | DataLog(βLogModelNameβ,BlockControl) | Creates or stops the data logging block. |
Subroutine | MakeCsv(βLogModelNameβ, BlockNumber) | Saves the data block to the SD/MMC memory in CSV file format. |
Subroutine | MakeCsvUsb(βLogModelNameβ, BlockNumber) | Saves the data block to the USB storage in CSV file format. |
Subroutine | MakeLogCsv(βLogModelNameβ, BlockNumber, Location) | Saves the data block to the assigned location in CSV file format. |
Subroutine | MakeLogCsvEx(βHeaderβ, βLogModelNameβ, BlockNumber, Location) | Saves the data block in CSV file format and stores the header name at cell A1. |
ClearDataLog | Removes all logs from the data logging model. |
Subroutine | ClearDataLog(); |
Description | Removes all logs from the data logging model. |
Example | Clears all logged data. ClearDataLog(); |
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. |
MakeCsv | Saves the data block to the SD/MMC memory in CSV file format. |
Subroutine | MakeCsv(βLogModelNameβ, BlockNumber) |
Description | Saves the assigned LogModelName βs data block to the SD/MMC memory in CSV file format. You can assign the value from 0 to 31 at BlockNumber. |
Example | Saves the 10th data block in the data logging model βLOGβ to the SD/MMC memory in CSV file format. MakeCsv(βLOGβ,10); |
MakeCsvUsb | Saves the data block to the USB storage in CSV file format. |
Subroutine | MakeCsvUsb(βLogModelNameβ, BlockNumber) |
Description | Saves the assigned LogModelName βs data block to the USB storage in CSV file format. You can assign the value from 0 to 31 at BlockNumber. |
Example | Saves the 10th data block in the data logging model βLOGβ to the USB in CSV file format. MakeCsvUsb(βLOGβ,10); |
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); |
MakeLogCsvEx | Saves the data block in CSV file format and stores the header name at cell A1. |
Subroutine | MakeLogCsvEx(βHeaderβ, βLogModelNameβ, BlockNumber, Location) |
Description | Saves the assigned LogModelName βs data block in CSV file format and stores the Header name at cell A1. You can assign the value 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 storage in CSV file format. Sets the header name βHeaderβ at cell A1. MakeLogCsvEx(βHeaderβ,βLOGβ,10,2); |
Β