Other
Function: Sleep
Description:
Pauses the execution of the application for a specified number of milliseconds.
Parameters:
- milliseconds
: The amount of time, in milliseconds, for which the application should pause.
Function: GetCurrentSortableTimeStamp
Description:
Retrieves a timestamp string formatted for easy sorting.
Return Value:
Returns a sortable timestamp string.
Usage Example | |
---|---|
Function: GetCurrentUnixTimeStamp
Description:
Gets the current Unix timestamp.
Return Value:
Returns the current Unix timestamp as a double.
Usage Example | |
---|---|
Function: SaveBytesToFile
Description:
Saves a byte array to a specified file.
Parameters:
- filename
: The name of the file where the byte array should be saved.
- data
: The byte array to save.
Usage Example | |
---|---|
Function: SaveTextToFile
Description:
Saves a string to a specified file.
Parameters:
- filename
: The name of the file where the string should be saved.
- data
: The string to save.
Usage Example | |
---|---|
Function: GetInterfaceType
Description:
Retrieves the type of interface being used.
Return Value:
Returns an integer representing the interface type.
value | Description |
---|---|
-1 | Interface not selected |
0 | D-PDU API Interface (VAS6154 or VAS5054) |
1 | J2534 Interface |
2 | DoIP Connection |
3 | ELM-compatible interface |