impure functionLogicAnalyzer_record
Records the logic levels of the channels of a LogicAnalyzer at the current instant
Information
impure: called from a when at each level change. Called several times at the same instant (event iterations), only the last levels of the instant are written.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| LogicAnalyzerCapture | an | ||
| Real | currentTime | ||
| Integer[:] | levels | Logic level of each channel (0/1) - Integer, never Boolean, in an array passed to C |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | calls | Number of calls so far, so that the when clause has a variable to assign |