Loop through all Signals in the measurement configuration in CANape software and pick only those with same name pattern

828 views Asked by At

I want to write a code that loops through all signals in the Canape software, look only for signals with similar name pattern and return the signal value. There are many signals, but I only look for signals which follow similar pattern. I mean only signals naming: drivingSignal_01, drivingSignal_02, drivingSignal_03…

Does anyone have function programming experience in Canape? Can anybody help me with this?

1

There are 1 answers

0
mzurawski On

This would best be done using the scripting language within CANape. The SignalValueIterator could be used to perform this task. The help on SignalValueIterator has some good examples that you could pull from.

If you would like more details on this I would email Vector at [email protected]