Table of Contents
SBus Decode
Decodes an S.BUS frame into its constituent parts.
Library
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
qc_open_library('quarc_library/Communications/S.BUS')Description
The SBus Decode block decodes an S.BUS frame, which is a series of 25 bytes, into its constituent parts, including the synchronization byte, 16 channels, flags and telemetry information.
Input Ports
frame
An array of 25 unsigned bytes (uint8
) constituting the S.BUS frame to decode. This input is typically returned
by a Stream block.
Output Ports
sync
The synchronization byte from the S.BUS frame, as a uint8
.
ch
A 16 element vector of uint16
values, where each element corresponds to a separate channel.
flg
The flags from the S.BUS frame, as a uint8
.
tele
The telemetry data from the S.BUS frame, as a uint8
. For some receivers, this value will always be zero.
Parameters and Dialog Box
The SBus Decode block has no parameters.
Targets
Target Name |
Compatible* |
Model Referencing |
Comments |
---|---|---|---|
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
Last fully supported in QUARC 2018. |
|
Rapid Simulation (RSIM) Target |
Yes |
Yes |
|
S-Function Target |
No |
N/A |
Old technology. Use model referencing instead. |
Normal simulation |
Yes |
Yes |
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.