Another CAPL question

Status
Not open for further replies.

pk_volt

Member level 2
Joined
Oct 20, 2010
Messages
45
Helped
12
Reputation
24
Reaction score
12
Trophy points
1,288
Activity points
1,528
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); ?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…