simGetStringSignal
Gets the value of a string signal
C++ synopsis
char* simGetStringSignal(const char* signalName, int* stringLength)
Arguments
- signalName: name of the signal
- stringLength: the size of the returned string, since it may contain any data (also embedded zeros).
Return
- nullptr if operation was not successful or signal does not exist, otherwise the value of the string signal (which may contain any value, including embedded zeros). In that case the returned buffer should be released with simReleaseBuffer
See also:
|