@@ -1041,7 +1041,7 @@ def get_signals(signal_array, frame, ea, multiplex_id, float_factory, bit_offset
1041
1041
if system_signal is None :
1042
1042
logger .debug ('Frame %s, signal %s has no system-signal' , frame .name , isignal .tag )
1043
1043
1044
- if "SYSTEM-SIGNAL-GROUP" in system_signal .tag :
1044
+ if system_signal is not None and "SYSTEM-SIGNAL-GROUP" in system_signal .tag :
1045
1045
system_signals = ea .find_children_by_path (system_signal , "SYSTEM-SIGNAL-REFS/SYSTEM-SIGNAL" )
1046
1046
get_sys_signals (system_signal , system_signals , frame , group_id , ns )
1047
1047
group_id = group_id + 1
@@ -1168,6 +1168,7 @@ def get_signals(signal_array, frame, ea, multiplex_id, float_factory, bit_offset
1168
1168
1169
1169
if name is None :
1170
1170
logger .debug ('no name for signal given' )
1171
+ name = ea .get_child (isignal , "SHORT-NAME" )
1171
1172
if start_bit is None :
1172
1173
logger .debug ('no startBit for signal given' )
1173
1174
if length is None :
@@ -1255,8 +1256,7 @@ def get_frame_from_multiplexed_ipdu(pdu, target_frame, multiplex_translation, ea
1255
1256
ipdu = ea .get_child (alternative , "I-PDU" )
1256
1257
multiplex_translation [ea .get_element_name (ipdu )] = ea .get_element_name (pdu )
1257
1258
if ipdu is not None :
1258
- pdu_sig_mappings = ea .get_child (ipdu , "SIGNAL-TO-PDU-MAPPINGS" )
1259
- pdu_sig_mapping = ea .get_children (pdu_sig_mappings , "I-SIGNAL-TO-I-PDU-MAPPING" )
1259
+ pdu_sig_mapping = ea .get_children (ipdu , "I-SIGNAL-TO-I-PDU-MAPPING" )
1260
1260
get_signals (pdu_sig_mapping , target_frame , ea , selector_id .text , float_factory )
1261
1261
1262
1262
0 commit comments