File Read/Write Script Example

Below is a trivial example of how to use the FILE class to perform file reading and writing using the CANCapture scripting block.  This example also shows how to use strings and access individual characters of the string based on index. 

It would also be very easy to use this class to perform logging of CAN messages to a file using your own custom format.

CANCapture and ECOM Knowledgebase