📄 rfcomm_server_tx_counter_5clients_noext.mdl
字号:
DstPort 1
}
Line {
SrcBlock "Data Type Conversion In"
SrcPort 1
DstBlock "rfComms_server_sfnc"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "rfComms_Server3"
Tag "MC9S12target_RFCOMMS"
Ports [1]
Position [580, 345, 755, 495]
AncestorBlock "mc9S12tool/Send user data"
List {
ListType RTWdata
format "1"
RXTXmode "TX"
serverAddress "0xe7e7e7e7"
clientAddress "0xc2c2c2c2"
RFchannel "12"
numClient "4"
clientflagmask "62"
}
FontSize 12
ShowPortLabels off
TreatAsAtomicUnit off
MaskHelp "helpview('C:\\Documents and Settings\\fwornle\\"
"My Documents\\frank\\_cProgs\\Motorola\\rtmc9S12_CW_R13\\bin\\mc9S12.map', 'm"
"c9S12_FPRXD_In_blkref')"
MaskPromptString "Sample time|Communication mode (TX, RX)|RF chan"
"nel number (0 - 127)|Client to transmit to|Server address (4 bytes, hexadecim"
"al notation, e.g. 0xe7e7e7e7)|Client address (4 bytes, hexadecimal notation, "
"e.g.: 0xc2c2c2c2)|User channel number (0 - 9)|Number of elements to be sent/"
"received|Data Type|Block sends/receives raw data|Block output is 'double'"
MaskStyleString "edit,popup(Reception (RX)|Transmission (TX)),ed"
"it,popup(1|2|3|4|5),edit,edit,edit,edit,popup(SINGLE|INT8|UINT8|INT16|UINT16|"
"INT32|UINT32|BOOLEAN),checkbox,checkbox"
MaskTunableValueString "on,on,on,on,off,off,on,on,on,on,on"
MaskCallbackString "||||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,off,on,off,on,off"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,,,"
MaskVariables "sampletime=@1;RXTXmode=@2;RFchannel=@3;numClien"
"t=@4;serverAddress=&5;clientAddress=&6;channel=@7;buf_size=@8;data_type=@9;fo"
"rmat=@10;outformat=@11;"
MaskInitialization "[buf_sizestr, RXTXmodestr, RFchannelstr, client"
"str, serverAddressstr, clientAddressstr, channelstr, data_type_str, sampletim"
"e_str] = mbc_rfComms_server(sampletime, RXTXmode, RFchannel, numClient, serve"
"rAddress, clientAddress, channel, buf_size, data_type, format, outformat);\n"
MaskDisplay "fprintf('RF mode: %s\\nRF channel: %s\\n%s\\nSe"
"rver address: %s\\nClient address: %s\\nUser channel: %s\\nElements: %s\\nDat"
"a type: %s\\n Sample rate: %s', RXTXmodestr, RFchannelstr, clientstr, serverA"
"ddressstr, clientAddressstr, channelstr, buf_sizestr, data_type_str, sampleti"
"me_str)"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.1|Transmission (TX)|12|4|0xe7e7e7e7|0xc2c2c2c"
"2|0|1|UINT8|on|on"
System {
Name "rfComms_Server3"
Location [416, 177, 1130, 342]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [90, 60, 110, 80]
FontSize 12
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion In"
Position [160, 52, 230, 88]
FontSize 12
DataType "uint8"
}
Block {
BlockType "S-Function"
Name "rfComms_server_sfnc"
Tag "MC9S12target_RFCOMMS"
Ports [1]
Position [280, 49, 420, 91]
List {
ListType RTWdata
format "1"
RXTXmode "TX"
serverAddress "0xe7e7e7e7"
clientAddress "0xc2c2c2c2"
RFchannel "12"
numClient "4"
clientflagmask "62"
}
FontSize 12
FunctionName "rfComms_server"
Parameters "sampletime, RXTXmode, channel, buf_size, da"
"ta_type"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Line {
SrcBlock "Data Type Conversion In"
SrcPort 1
DstBlock "rfComms_server_sfnc"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Data Type Conversion In"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "rfComms_Server4"
Tag "MC9S12target_RFCOMMS"
Ports [1]
Position [805, 440, 980, 590]
AncestorBlock "mc9S12tool/Send user data"
List {
ListType RTWdata
format "1"
RXTXmode "TX"
serverAddress "0xe7e7e7e7"
clientAddress "0xc2c2c2c2"
RFchannel "12"
numClient "5"
clientflagmask "62"
}
FontSize 12
ShowPortLabels off
TreatAsAtomicUnit off
MaskHelp "helpview('C:\\Documents and Settings\\fwornle\\"
"My Documents\\frank\\_cProgs\\Motorola\\rtmc9S12_CW_R13\\bin\\mc9S12.map', 'm"
"c9S12_FPRXD_In_blkref')"
MaskPromptString "Sample time|Communication mode (TX, RX)|RF chan"
"nel number (0 - 127)|Client to transmit to|Server address (4 bytes, hexadecim"
"al notation, e.g. 0xe7e7e7e7)|Client address (4 bytes, hexadecimal notation, "
"e.g.: 0xc2c2c2c2)|User channel number (0 - 9)|Number of elements to be sent/"
"received|Data Type|Block sends/receives raw data|Block output is 'double'"
MaskStyleString "edit,popup(Reception (RX)|Transmission (TX)),ed"
"it,popup(1|2|3|4|5),edit,edit,edit,edit,popup(SINGLE|INT8|UINT8|INT16|UINT16|"
"INT32|UINT32|BOOLEAN),checkbox,checkbox"
MaskTunableValueString "on,on,on,on,off,off,on,on,on,on,on"
MaskCallbackString "||||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,off,on,off,on,off"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,,,"
MaskVariables "sampletime=@1;RXTXmode=@2;RFchannel=@3;numClien"
"t=@4;serverAddress=&5;clientAddress=&6;channel=@7;buf_size=@8;data_type=@9;fo"
"rmat=@10;outformat=@11;"
MaskInitialization "[buf_sizestr, RXTXmodestr, RFchannelstr, client"
"str, serverAddressstr, clientAddressstr, channelstr, data_type_str, sampletim"
"e_str] = mbc_rfComms_server(sampletime, RXTXmode, RFchannel, numClient, serve"
"rAddress, clientAddress, channel, buf_size, data_type, format, outformat);\n"
MaskDisplay "fprintf('RF mode: %s\\nRF channel: %s\\n%s\\nSe"
"rver address: %s\\nClient address: %s\\nUser channel: %s\\nElements: %s\\nDat"
"a type: %s\\n Sample rate: %s', RXTXmodestr, RFchannelstr, clientstr, serverA"
"ddressstr, clientAddressstr, channelstr, buf_sizestr, data_type_str, sampleti"
"me_str)"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.1|Transmission (TX)|12|5|0xe7e7e7e7|0xc2c2c2c"
"2|0|1|UINT8|on|on"
System {
Name "rfComms_Server4"
Location [416, 177, 1130, 342]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [90, 60, 110, 80]
FontSize 12
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion In"
Position [160, 52, 230, 88]
FontSize 12
DataType "uint8"
}
Block {
BlockType "S-Function"
Name "rfComms_server_sfnc"
Tag "MC9S12target_RFCOMMS"
Ports [1]
Position [280, 49, 420, 91]
List {
ListType RTWdata
format "1"
RXTXmode "TX"
serverAddress "0xe7e7e7e7"
clientAddress "0xc2c2c2c2"
RFchannel "12"
numClient "5"
clientflagmask "62"
}
FontSize 12
FunctionName "rfComms_server"
Parameters "sampletime, RXTXmode, channel, buf_size, da"
"ta_type"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Data Type Conversion In"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion In"
SrcPort 1
DstBlock "rfComms_server_sfnc"
DstPort 1
}
}
}
Line {
SrcBlock "'0'"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 2
}
Line {
SrcBlock "'1'"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 3
}
Line {
SrcBlock "'2'"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 4
}
Line {
Name "top centre"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
Name "top right"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 2
DstBlock "Display"
DstPort 2
}
Line {
Name "bottom right"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 3
DstBlock "Display"
DstPort 3
}
Line {
Name "bottom centre"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 4
DstBlock "Display"
DstPort 4
}
Line {
Name "bottom left"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 5
DstBlock "Display"
DstPort 5
}
Line {
Name "top left"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 6
DstBlock "Display"
DstPort 6
}
Line {
Name "centre"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 7
DstBlock "Display"
DstPort 7
}
Line {
Name "dot"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 8
DstBlock "Display"
DstPort 8
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "'3'"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 5
}
Line {
SrcBlock "0 ... 3"
SrcPort 1
DstBlock "Multiport\nSwitch"
DstPort 1
}
Line {
SrcBlock "Counter"
SrcPort 1
Points [0, 0; 45, 0]
Branch {
DstBlock "rfComms_Server"
DstPort 1
}
Branch {
Points [0, 105]
Branch {
DstBlock "rfComms_Server1"
DstPort 1
}
Branch {
Points [0, 115]
Branch {
DstBlock "rfComms_Server2"
DstPort 1
}
Branch {
Points [0, 100]
Branch {
DstBlock "rfComms_Server3"
DstPort 1
}
Branch {
Points [0, 95]
Branch {
Points [0, 65]
DstBlock "0 ... 3"
DstPort 1
}
Branch {
DstBlock "rfComms_Server4"
DstPort 1
}
}
}
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -