simGetSignalName

Returns the signal name at the given index. Use this function in a loop until return is nullptr to read all set signals

C++ synopsis

char* simGetSignalName(int signalIndex, int signalType)

Arguments

  • signalIndex: zero based index
  • signalType: signal type. 0 is for integer signals, 1 for double signals, 2 for string signals and 3 ffor double signals.

Return

  • nullptr if operation was not successful or signal does not exist at this index, otherwise the name of the signal at the given index (the user is in charge of releasing the returned buffer with simReleaseBuffer)


See also: