Model { Name "dsa_demo" Version 4.1.1 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip on BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off PostLoadFcn ",try, rti_mdl_postloadfcn(bdroot, 'UpdateModel', 56" ", 'RTI1102'); catch, disp(lasterr); end, " Created "Wed Nov 30 14:27:56 2005" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "ta2737" ModifiedDateFormat "%" LastModifiedDate "Tue Apr 25 11:47:39 2006" ModelVersionFormat "1.%" ConfigurationManager "none" SimParamPage "Solver" StartTime "0.0" StopTime "1e10" SolverMode "SingleTasking" Solver "ode1" RelTol "1e-3" AbsTol "1e-6" Refine "1" MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "0.0001" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" LimitDataPoints off MaxDataPoints "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "warning" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" ArrayBoundsChecking "none" ConsistencyChecking "none" ZeroCross on Profile off SimulationMode "normal" RTWSystemTargetFile "rti1102.tlc" RTWOptions " -aEnforceIntegerDowncast=0 -aExtMode=1 -aFoldNonRo" "lledExpr=0 -aForceParamTrailComments=0 -aGenerateComments=1 -aIncHierarchyInI" "ds=1 -aInlineInvariantSignals=0 -aInlineParameters=0 -aLocalBlockOutputs=0 -a" "RTWVerbose=0 -aRollThreshold=5 -aShowEliminatedStatements=0" RTWInlineParameters off RTWRetainRTWFile on RTWTemplateMakefile "rti1102.tmf" RTWMakeCommand "make_rti" RTWGenerateCodeOnly off TLCProfiler off TLCDebug off TLCCoverage off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "rti_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on OptimizeBlockIOStorage off BufferReuse on ParameterPooling on BlockReductionOpt off RTWExpressionDepthLimit 5 BooleanDataType off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "dsa_demo" Location [197, 119, 950, 604] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Reference Name "DS1102ADC" Ports [0, 4] Position [105, 226, 175, 314] SourceBlock "rtilib1102/DS1102/DS1102ADC" SourceType "DS1102ADC" DialogFcn "gui1102adc" UnitName "{ 'DS1102ADC' }" UnitValues "{ [] }" DSProperties "struct('RTI',struct('Version',uint32(1),'BlockT" "ype',struct('isSLSource',uint8(1),'isSLSink',uint8(0),'isHWSource',uint8(1),'" "isHWSink',uint8(0),'isSetup',uint8(0),'isInline',uint8(1),'isNonInline',uint8" "(0),'isInterrupt',uint8(0),'isChannelwise',uint8(0)),'IOBoardType','DS1102','" "UnitType','ADC','Identifier','ADC','DialogType','ML','BlockSet','NONE','Slave" "Processor','NONE'))" } Block { BlockType Reference Name "DS1102DAC" Ports [4] Position [365, 116, 435, 204] SourceBlock "rtilib1102/DS1102/DS1102DAC" SourceType "DS1102DAC" Range "[10 10 10 10]" InitValue "[0 0 0 0]" TermMode "[1 1 1 1]" TermValue "[0 0 0 0]" DialogFcn "gui1102dac" UnitName "{ 'DS1102DAC' }" UnitValues "{ [] }" DSProperties "struct('RTI',struct('Version',uint32(1),'BlockT" "ype',struct('isSLSource',uint8(0),'isSLSink',uint8(1),'isHWSource',uint8(0),'" "isHWSink',uint8(1),'isSetup',uint8(0),'isInline',uint8(1),'isNonInline',uint8" "(0),'isInterrupt',uint8(0),'isChannelwise',uint8(0)),'IOBoardType','DS1102','" "UnitType','DAC','Identifier','DAC','DialogType','ML','BlockSet','NONE','Slave" "Processor','NONE'))" } Block { BlockType SubSystem Name "Dynamic\nSignal Analyzer" Ports [2, 1] Position [75, 111, 175, 149] BackgroundColor "yellow" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Dynamic\nSignal Analyzer" Location [645, 368, 917, 612] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "channel1" Position [25, 58, 50, 82] BackgroundColor "blue" Port "1" LatchInput off Interpolate on } Block { BlockType Inport Name "channel2" Position [25, 108, 50, 132] BackgroundColor "red" Port "2" LatchInput off Interpolate on } Block { BlockType Display Name "Display1" Ports [1] Position [100, 55, 190, 85] BackgroundColor "gray" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display2" Ports [1] Position [100, 105, 190, 135] BackgroundColor "gray" Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType SignalGenerator Name "Swept\nSine" Position [25, 165, 55, 195] WaveForm "sine" Amplitude "0" Frequency "10" Units "Hertz" VectorParams1D on } Block { BlockType Outport Name "SineOut" Position [210, 167, 235, 193] BackgroundColor "green" Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "channel2" SrcPort 1 DstBlock "Display2" DstPort 1 } Line { SrcBlock "channel1" SrcPort 1 DstBlock "Display1" DstPort 1 } Line { SrcBlock "Swept\nSine" SrcPort 1 DstBlock "SineOut" DstPort 1 } Annotation { Position [127, 23] BackgroundColor "lightBlue" Text "NOTE: 'Display' is only here to define\na b" "lock output for mlib to read. (You\nwon't see display output while running.)" DropShadow on } } } Block { BlockType Ground Name "Ground" Position [310, 140, 330, 160] } Block { BlockType Ground Name "Ground1" Position [265, 160, 285, 180] } Block { BlockType Ground Name "Ground2" Position [310, 180, 330, 200] } Block { BlockType SubSystem Name "RTI Data" Tag "struct('RTIDataServer',struct('RTIDataServerVs'" ",'2','RTIModelDescription','struct(''main'',''dsa_demo'',''sub'','''',''isMp'" "',0)'))" Ports [] Position [150, 20, 201, 32] BackgroundColor "gray" DropShadow on ShowName off CopyFcn "try, rtidc('DataHostBlockClbCopy', gcbh); catc" "h, disp(['Warning: ''CopyFcn'' for RTI Data block failed: ' lasterr]); end" DeleteFcn "try, rtidc('DataHostBlockClbDelete', gcbh); ca" "tch, disp(['Warning: ''DeleteFcn'' for RTI Data block failed: ' lasterr]); en" "d" LoadFcn "try, rtidc('DataHostBlockClbLoad', gcbh); catc" "h, disp(['Warning: ''LoadFcn'' for RTI Data block failed: ' lasterr]); end" ModelCloseFcn "try, rtidc('DataHostBlockClbModelClose', gcbh)" "; catch, disp(['Warning: ''ModelCloseFcn'' for RTI Data block failed: ' laste" "rr]); end" PreSaveFcn "try, rtidc('DataHostBlockClbPreSave', gcbh); c" "atch, disp(['Warning: ''PreSaveFcn'' for RTI Data block failed: ' lasterr]); " "end" PostSaveFcn "try, rtidc('DataHostBlockClbPostSave', gcbh); " "catch, disp(['Warning: ''PostSaveFcn'' for RTI Data block failed: ' lasterr])" "; end" NameChangeFcn "try, rtidc('DataHostBlockClbNameChange', gcbh)" "; catch, disp(['Warning: ''NameChangeFcn'' for RTI Data block failed: ' laste" "rr]); end" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "RTI_DATA_HOST" MaskDescription "RTI Data Block.\nThis block is used by RTI to s" "tore internal model-dependent data.\nPlease keep this block on the root level" " of the model. Deleting this block will result in data loss.\n\nNEVER DELETE " "OR COPY THIS BLOCK!" MaskHelp "RTI Data Block.\nThis block is used by RTI to s" "tore internal model-dependent data.\nPlease keep this block on the root level" " of the model. Deleting this block will result in data loss.\n\nNEVER DELETE " "OR COPY THIS BLOCK!" MaskDisplay "text(0.5, 0.5, 'RTI Data', 'HorizontalAlignment" "', 'center');" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "normalized" System { Name "RTI Data" Location [450, 250, 640, 300] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "RTI Data Store" Tag "struct('private',struct('version',struct('d" "sVer',uint32(2),'dsVerCreation',uint32(2),'RTI',struct('ver','4.3.1p1','type'" ",'RTI1102')),'access',struct('type','Model','isPerm',1,'created',['25-Apr-200" "6 11:37:31'],'modified',['25-Apr-2006 11:47:40'],'location','')),'public',str" "uct('main',struct('data',[]),'sub',struct('name',{{'dsa_demo'}},'data',{{stru" "ct('TH',struct('thTaskInfo',struct('taskType',{'TIMER','HWINT','TMRINT','SWIN" "T'},'tasksNumOf',{1,0,0,0},'srcIds',{{'TIMERA'},{},{},{}},'taskNames',{{['Tim" "er Task 1']},{},{},{}})),'th_tc',struct('taskType','TIMER','blkh',-1,'srcId'," "'TIMERA','srcSgnName',['Timer A interrupt'],'srcCpuName','','taskName',['Time" "r Task 1 [0.0001] s'],'smplTime',1e-04,'smplTimeOffs',0,'priority',1,'ovcTyp" "e',1,'ovcMax',0),'tc_th',struct('taskType','TIMER','blkh',-1,'srcId','TIMERA'" ",'srcSgnName',['Timer A interrupt'],'srcCpuName','','taskName',['Timer Task 1" " [0.0001] s'],'smplTime',1e-04,'smplTimeOffs',0,'priority',1,'ovcType',1,'ov" "cMax',0))}})))" Ports [] Position [146, 12, 181, 25] ForegroundColor "white" ShowName off ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "RTI_DATA_STORE" MaskDescription "RTI Data Store Block. This block is used by" " RTI to store internal model dependent data. Deleting this block will result " "in data loss.\n\nNEVER DELETE, COPY, OR MODIFY THIS BLOCK!" MaskHelp "RTI Data Store Block. This block is used by" " RTI to store internal model dependent data. Deleting this block will result " "in data loss.\n\nNEVER DELETE, COPY, OR MODIFY THIS BLOCK!" MaskDisplay "text(0.5, 0.5, ' ', 'HorizontalAlignment', " "'center');" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "normalized" System { Name "RTI Data Store" Location [450, 250, 640, 300] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "RTI Data Store" Ports [] Position [146, 12, 181, 25] ForegroundColor "white" ShowName off ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "RTI_DATA_STORE" MaskDescription "RTI Data Store Block. This block is use" "d by RTI to store internal model dependent data. Deleting this block will res" "ult in data loss.\n\nNEVER DELETE, COPY, OR MODIFY THIS BLOCK!" MaskHelp "RTI Data Store Block. This block is use" "d by RTI to store internal model dependent data. Deleting this block will res" "ult in data loss.\n\nNEVER DELETE, COPY, OR MODIFY THIS BLOCK!" MaskDisplay "text(0.5, 0.5, ' ', 'HorizontalAlignmen" "t', 'center');" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "normalized" System { Name "RTI Data Store" Location [450, 250, 640, 300] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "RTI Data Store" Ports [] Position [146, 12, 181, 25] ForegroundColor "white" ShowName off ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "RTI_DATA_STORE" MaskDescription "RTI Data Store Block. This block is" " used by RTI to store internal model dependent data. Deleting this block will" " result in data loss.\n\nNEVER DELETE, COPY, OR MODIFY THIS BLOCK!" MaskHelp "RTI Data Store Block. This block is" " used by RTI to store internal model dependent data. Deleting this block will" " result in data loss.\n\nNEVER DELETE, COPY, OR MODIFY THIS BLOCK!" MaskDisplay "text(0.5, 0.5, ' ', 'HorizontalAlig" "nment', 'center');" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "normalized" System { Name "RTI Data Store" Location [450, 250, 640, 300] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "RTI Data Store" Ports [] Position [146, 12, 181, 25] ForegroundColor "white" ShowName off ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "RTI_DATA_STORE" MaskDescription "RTI Data Store Block. This block " "is used by RTI to store internal model dependent data. Deleting this block wi" "ll result in data loss.\n\nNEVER DELETE, COPY, OR MODIFY THIS BLOCK!" MaskHelp "RTI Data Store Block. This block " "is used by RTI to store internal model dependent data. Deleting this block wi" "ll result in data loss.\n\nNEVER DELETE, COPY, OR MODIFY THIS BLOCK!" MaskDisplay "text(0.5, 0.5, ' ', 'HorizontalAl" "ignment', 'center');" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "normalized" System { Name "RTI Data Store" Location [450, 250, 640, 300] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" } } } } } } } } } } Block { BlockType Terminator Name "Terminator" Position [195, 290, 215, 310] } Block { BlockType Terminator Name "Terminator1" Position [250, 270, 270, 290] } Block { BlockType Terminator Name "Terminator2" Position [195, 240, 215, 260] } Line { SrcBlock "DS1102ADC" SrcPort 1 Points [0, -45; -130, 0; 0, -55] DstBlock "Dynamic\nSignal Analyzer" DstPort 2 } Line { SrcBlock "DS1102ADC" SrcPort 2 DstBlock "Terminator2" DstPort 1 } Line { SrcBlock "DS1102ADC" SrcPort 3 DstBlock "Terminator1" DstPort 1 } Line { SrcBlock "DS1102ADC" SrcPort 4 DstBlock "Terminator" DstPort 1 } Line { SrcBlock "Ground" SrcPort 1 DstBlock "DS1102DAC" DstPort 2 } Line { SrcBlock "Ground1" SrcPort 1 DstBlock "DS1102DAC" DstPort 3 } Line { SrcBlock "Ground2" SrcPort 1 DstBlock "DS1102DAC" DstPort 4 } Line { SrcBlock "Dynamic\nSignal Analyzer" SrcPort 1 Points [70, 0] Branch { DstBlock "DS1102DAC" DstPort 1 } Branch { Points [0, -50; -200, 0; 0, 40] DstBlock "Dynamic\nSignal Analyzer" DstPort 1 } } Annotation { Position [69, 36] BackgroundColor "cyan" Text "Simulink Model for \nRC network DSA test " DropShadow on } } }