Pack signals into data frame by using configuration in LIN description file
Simulink Real-Time / LIN
The LIN Pack block packs signals into the data frame by using the configuration in the LIN description file (LDF). A local interconnect network (LIN) bus can use the packed data. The LIN Pack block supports LDF version 2.2 and previous.
in — input data to pack
Receives data to pack for the LIN. The number of input ports is allocated based on the selected frame. The port name is assigned to each port.
lin_data — output LIN data
Sends packed LIN data.
LDF File Name — File path of LDF
empty (default) | character vector | string scalar
Provides the file path of the LDF. If you do not set this parameter, you cannot use the block.
Select Frame — LIN frame
None (default) | character vector | string scalar
Selects the LIN frame from selections available in LDF. If you do not select an LDF,
the block uses
Frame ID — LIN frame ID
1 (default) | uint8
Selects the LIN frame ID from selections available in LDF. If you do not select an
LDF, the block uses