⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usrcom_upld.mdl

📁 simulink real-time workshop for dragon12 development board from
💻 MDL
📖 第 1 页 / 共 2 页
字号:
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "USRCom_upld"
    Location		    [472, 179, 957, 494]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [295, 239, 325, 271]
      Location		      [67, 91, 391, 330]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "10"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Send user data"
      Ports		      [1]
      Position		      [300, 34, 460, 106]
      AncestorBlock	      "mc9S12tool/Send user data"
      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_UTXD_In_blkref')"
      MaskPromptString	      "Sample time|Channel number|Number of elements|D"
"ata Type"
      MaskStyleString	      "edit,edit,edit,popup(SINGLE|INT8|UINT8|INT16|UI"
"NT16|INT32|UINT32|BOOLEAN)"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskVariables	      "sampletime=@1;channel=@2;buf_size=@3;data_type="
"@4;"
      MaskInitialization      "[buf_sizestr, channelstr, data_type_str, sample"
"time_str] = mbc_userteltxd(sampletime, channel, buf_size, data_type);"
      MaskDisplay	      "fprintf('Transmit %s element(s) on\\nuser data "
"channel %s\\nData type: %s\\n Sample rate: %s', buf_sizestr, channelstr, data"
"_type_str, sampletime_str)"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0|0|5|SINGLE"
      System {
	Name			"Send user data"
	Location		[542, 167, 996, 332]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [45, 60, 65, 80]
	  FontSize		  12
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion"
	  Position		  [160, 56, 215, 84]
	  DataType		  "single"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "SEND_USR_DATA"
	  Ports			  [1]
	  Position		  [315, 50, 420, 90]
	  FontSize		  12
	  FunctionName		  "s0_userTel_txd"
	  Parameters		  "sampletime, channel, buf_size, data_type"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion"
	  SrcPort		  1
	  DstBlock		  "SEND_USR_DATA"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Send user data1"
      Ports		      [1]
      Position		      [300, 129, 460, 201]
      AncestorBlock	      "mc9S12tool/Send user data"
      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_UTXD_In_blkref')"
      MaskPromptString	      "Sample time|Channel number|Number of elements|D"
"ata Type"
      MaskStyleString	      "edit,edit,edit,popup(SINGLE|INT8|UINT8|INT16|UI"
"NT16|INT32|UINT32|BOOLEAN)"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskVariables	      "sampletime=@1;channel=@2;buf_size=@3;data_type="
"@4;"
      MaskInitialization      "[buf_sizestr, channelstr, data_type_str, sample"
"time_str] = mbc_userteltxd(sampletime, channel, buf_size, data_type);"
      MaskDisplay	      "fprintf('Transmit %s element(s) on\\nuser data "
"channel %s\\nData type: %s\\n Sample rate: %s', buf_sizestr, channelstr, data"
"_type_str, sampletime_str)"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0|1|7|UINT8"
      System {
	Name			"Send user data1"
	Location		[542, 167, 996, 332]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [45, 60, 65, 80]
	  FontSize		  12
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion"
	  Position		  [160, 56, 215, 84]
	  DataType		  "uint8"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "SEND_USR_DATA"
	  Ports			  [1]
	  Position		  [315, 50, 420, 90]
	  FontSize		  12
	  FunctionName		  "s0_userTel_txd"
	  Parameters		  "sampletime, channel, buf_size, data_type"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion"
	  SrcPort		  1
	  DstBlock		  "SEND_USR_DATA"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Position		      [190, 240, 220, 270]
      SineType		      "Time based"
      Frequency		      "10"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "User data"
      Position		      [90, 51, 200, 89]
      FontSize		      12
      Value		      "[5 4 3 2 1]"
    }
    Block {
      BlockType		      Constant
      Name		      "User data1"
      Position		      [90, 146, 200, 184]
      FontSize		      12
      Value		      "[1 2 3 4 5 6 7]"
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "User data"
      SrcPort		      1
      DstBlock		      "Send user data"
      DstPort		      1
    }
    Line {
      SrcBlock		      "User data1"
      SrcPort		      1
      DstBlock		      "Send user data1"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -