pk_volt
Member level 2
I was wondering if it’s possible to pass a message signal as a function parameter based on the signal name defined in the CANdb file.
For example, if I have a message:
• VEH_STAT
o Spd
o Gear_pos
o Blah
Is there a way to make a function something like, fault_inject_signal(msg_signal, duration, fault_value); ?
For example, if I have a message:
• VEH_STAT
o Spd
o Gear_pos
o Blah
Is there a way to make a function something like, fault_inject_signal(msg_signal, duration, fault_value); ?