📄 pntongbu.mdl
字号:
Name "Queue3"
Ports [3, 1]
Position [135, 152, 230, 218]
SourceBlock "dspbuff3/Queue"
SourceType "Queue"
depth "8"
trigger "Rising edge"
overflow "Dynamic reallocation"
pes "Warning"
eso off
fso off
nso off
clr off
clrOutport off
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [710, 324, 740, 356]
Location [4, 254, 1011, 538]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [490, 34, 520, 66]
Location [224, 523, 731, 762]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
SampleInput on
SampleTime "0.001"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [310, 29, 340, 61]
Location [294, 481, 618, 720]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleInput on
SampleTime "0.001"
}
Block {
BlockType Scope
Name "Scope4"
Ports [3]
Position [350, 432, 400, 498]
Location [5, 54, 1033, 775]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-5~-5~-5"
YMax "5~5~5"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
SampleInput on
}
Block {
BlockType Step
Name "Step"
Position [190, 45, 220, 75]
Time "0.001"
SampleTime "0"
}
Block {
BlockType Outport
Name "output"
Position [715, 238, 745, 262]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Step"
SrcPort 1
Points [10, 0; 0, 40; 60, 0]
Branch {
DstBlock "Data Type Conversion"
DstPort 1
}
Branch {
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "Data Type Conversion"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Queue3"
SrcPort 1
Points [10, 0]
DstBlock "Queue"
DstPort 1
}
Line {
SrcBlock "Queue"
SrcPort 1
Points [5, 0; 0, -20]
DstBlock "Queue1"
DstPort 1
}
Line {
SrcBlock "Queue2"
SrcPort 1
Points [10, 0; 0, -45; -170, 0; 0, -30]
Branch {
DstBlock "Logical\nOperator"
DstPort 2
}
Branch {
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Data Type \nConversion"
SrcPort 1
Points [0, -45; -265, 0; 0, -30]
Branch {
Points [0, -30]
Branch {
Points [0, -70]
DstBlock "Queue3"
DstPort 2
}
Branch {
Points [180, 0]
Branch {
Points [130, 0]
Branch {
Points [0, -65]
DstBlock "Queue1"
DstPort 2
}
Branch {
Points [140, 0; 0, -65]
DstBlock "Queue2"
DstPort 2
}
}
Branch {
Points [0, -65]
DstBlock "Queue"
DstPort 2
}
}
}
Branch {
DstBlock "Logical\nOperator4"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator3"
SrcPort 1
Points [5, 0; 0, -10]
Branch {
DstBlock "Data Type \nConversion"
DstPort 1
}
Branch {
Points [35, 0; 0, 80]
DstBlock "Scope4"
DstPort 3
}
}
Line {
SrcBlock "Logical\nOperator4"
SrcPort 1
DstBlock "Data Type \nConversion1"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion1"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, -55; -110, 0; 0, -30]
DstBlock "Queue3"
DstPort 3
}
Branch {
Points [35, 0]
Branch {
DstBlock "Queue"
DstPort 3
}
Branch {
Points [140, 0]
Branch {
DstBlock "Queue1"
DstPort 3
}
Branch {
Points [135, 0]
DstBlock "Queue2"
DstPort 3
}
}
}
}
Line {
SrcBlock "Queue1"
SrcPort 1
Points [5, 0; 0, -5]
Branch {
Points [0, -15]
DstBlock "Queue2"
DstPort 1
}
Branch {
Points [0, 120]
DstBlock "Logical\nOperator2"
DstPort 2
}
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [130, 0; 0, 140]
Branch {
Points [-90, 0; 0, 40]
DstBlock "Logical\nOperator2"
DstPort 1
}
Branch {
Points [20, 0]
Branch {
DstBlock "output"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Scope1"
DstPort 1
}
}
}
Line {
SrcBlock "Data Type \nConversion2"
SrcPort 1
Points [0, 10]
DstBlock "Queue3"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator2"
SrcPort 1
Points [30, 0; 0, 40; -635, 0; 0, -260]
DstBlock "Data Type \nConversion2"
DstPort 1
}
Line {
SrcBlock "input"
SrcPort 1
Points [60, 0; 0, -5]
Branch {
Points [0, -25]
DstBlock "Logical\nOperator3"
DstPort 2
}
Branch {
DstBlock "Scope4"
DstPort 1
}
}
Line {
SrcBlock "Pulse\nGenerator1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Logical\nOperator3"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "Scope4"
DstPort 2
}
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [380, 403, 410, 417]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Data Type \nConversion1"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "Scope8"
DstPort 1
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -40; -370, 0; 0, 115]
DstBlock "Scope"
DstPort 3
}
Branch {
Points [15, 0]
Branch {
Points [0, -80]
DstBlock "Scope8"
DstPort 3
}
Branch {
DstBlock "Integrator2"
DstPort 1
}
}
}
Line {
SrcBlock "Compare\nTo Constant"
SrcPort 1
Points [25, 0; 30, 0]
Branch {
DstBlock "Logical\nOperator1"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "Scope6"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
DstBlock "Logical\nOperator3"
DstPort 1
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
DstBlock "Logical\nOperator2"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
Points [10, 0; 0, -45]
DstBlock "Logical\nOperator2"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [285, 0; 0, -60]
DstBlock "Logical\nOperator3"
DstPort 2
}
Branch {
DstBlock "Scope7"
DstPort 1
}
}
Line {
Labels [2, 0]
SrcBlock "Logical\nOperator3"
SrcPort 1
Points [100, 0]
DstBlock "Logical\nOperator4"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion2"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter1"
DstPort 1
}
Line {
SrcBlock "pntongbu"
SrcPort 1
Points [10, 0]
Branch {
Points [25, 0]
Branch {
DstBlock "Data Type \nConversion2"
DstPort 1
}
Branch {
Points [-25, 0; 0, -125]
DstBlock "Scope"
DstPort 2
}
}
Branch {
Points [0, 60]
DstBlock "Scope5"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator4"
SrcPort 1
Points [0, 35; -930, 0]
DstBlock "pntongbu"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -185]
DstBlock "Product"
DstPort 2
}
Branch {
Points [10, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, -280]
DstBlock "Scope8"
DstPort 2
}
}
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Data Type \nConversion1"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [35, 0]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Compare\nTo Constant"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Scope8"
DstPort 4
}
}
Line {
SrcBlock "Pulse\nGenerator1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Scope4"
DstPort 1
}
Branch {
Points [0, 180]
DstBlock "Product1"
DstPort 1
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -