I am trying to pull a signal value (from a DBC file) into a variable but I get the message "Must be constant expression". If I try adding a filter like .DefaultValue
, it works but that isn't the value I want. I want the value of the signal at the time of me calling this CAPL function. Here is an example:
float Cell_Voltage = Mc00_UCell00;
(this is where I get error of must be constant expression)
float Cell_Voltage = Mc00_UCell00.DefaultValue;
(this works but I don't want the default value)
Is there a filter to pull the current value of the signal Mc00_UCell0
?