sim.waitForSignal

Waits for a signal. This function first checks whether an integer, float, double or string signal with that name is present (in that order). The function only returns when the signal is present (defined)

Synopsis

number/bytes signalValue = sim.waitForSignal(string signalName) number/buffer signalValue = sim.waitForSignal(string signalName)

Arguments

  • signalName: name of the signal

Return values

  • signalValue: value of the signal


See also: