From 4dde75d68aece00eb1207d7c7187cb664c0017a9 Mon Sep 17 00:00:00 2001 From: Adhitya Kamakshidasan Date: Mon, 18 Jul 2016 22:48:44 +0530 Subject: Minor Changes --- WEB-INF/Readme | 9 - WEB-INF/classes/SciExec.class | Bin 3308 -> 0 bytes WEB-INF/classes/SciExec.java~ | 91 - blocks_xcos/ABS_VALUE.xcos | 37 - blocks_xcos/AFFICH_m.xcos | 60 - blocks_xcos/ANDBLK.xcos | 1355 ---- blocks_xcos/ANDLOG_f.xcos | 38 - blocks_xcos/AUTOMAT.xcos | 66 - blocks_xcos/BACKLASH.xcos | 42 - blocks_xcos/BARXY.xcos | 51 - blocks_xcos/BIGSOM_f.xcos | 43 - blocks_xcos/BITCLEAR.xcos | 42 - blocks_xcos/BITSET.xcos | 42 - blocks_xcos/BOUNCE.xcos | 67 - blocks_xcos/BOUNCEXY.xcos | 71 - blocks_xcos/BPLATFORM.xcos | 57 - blocks_xcos/Bache.xcos | 108 - blocks_xcos/CANIMXY.xcos | 67 - blocks_xcos/CANIMXY3D.xcos | 88 - blocks_xcos/CBLOCK.xcos | 53 - blocks_xcos/CBLOCK4.xcos | 58 - blocks_xcos/CCS.xcos | 61 - blocks_xcos/CEVENTSCOPE.xcos | 49 - blocks_xcos/CFSCOPE.xcos | 65 - blocks_xcos/CLINDUMMY_f.xcos | 32 - blocks_xcos/CLKFROM.xcos | 35 - blocks_xcos/CLKGOTO.xcos | 38 - blocks_xcos/CLKGotoTagVisibility.xcos | 35 - blocks_xcos/CLKINV_f.xcos | 28 - blocks_xcos/CLKOUTV_f.xcos | 28 - blocks_xcos/CLKSOMV_f.xcos | 41 - blocks_xcos/CLOCK_c.xcos | 738 --- blocks_xcos/CLR.xcos | 46 - blocks_xcos/CLSS.xcos | 49 - blocks_xcos/CMAT3D.xcos | 125 - blocks_xcos/CMATVIEW.xcos | 121 - blocks_xcos/CMSCOPE.xcos | 70 - blocks_xcos/CONST.xcos | 36 - blocks_xcos/CONSTRAINT2_c.xcos | 54 - blocks_xcos/CONSTRAINT_c.xcos | 43 - blocks_xcos/CONST_f.xcos | 36 - blocks_xcos/CONST_m.xcos | 36 - blocks_xcos/CONVERT.xcos | 41 - blocks_xcos/COSBLK_f.xcos | 35 - blocks_xcos/CSCOPE.xcos | 67 - blocks_xcos/CSCOPXY.xcos | 67 - blocks_xcos/CSCOPXY3D.xcos | 88 - blocks_xcos/CUMSUM.xcos | 38 - blocks_xcos/CURV_f.xcos | 49 - blocks_xcos/CVS.xcos | 61 - blocks_xcos/Capacitor.xcos | 76 - blocks_xcos/ConstantVoltage.xcos | 66 - blocks_xcos/Counter.xcos | 46 - blocks_xcos/CurrentSensor.xcos | 60 - blocks_xcos/DEADBAND.xcos | 42 - blocks_xcos/DEBUG.xcos | 37 - blocks_xcos/DELAYV_f.xcos | 66 - blocks_xcos/DELAY_f.xcos | 1182 ---- blocks_xcos/DEMUX.xcos | 42 - blocks_xcos/DEMUX_f.xcos | 42 - blocks_xcos/DERIV.xcos | 35 - blocks_xcos/DFLIPFLOP.xcos | 7807 ----------------------- blocks_xcos/DIFF_f.xcos | 42 - blocks_xcos/DLATCH.xcos | 2262 ------- blocks_xcos/DLR.xcos | 49 - blocks_xcos/DLRADAPT_f.xcos | 69 - blocks_xcos/DLSS.xcos | 52 - blocks_xcos/DOLLAR.xcos | 44 - blocks_xcos/DOLLAR_f.xcos | 44 - blocks_xcos/DOLLAR_m.xcos | 44 - blocks_xcos/Diode.xcos | 84 - blocks_xcos/EDGE_TRIGGER.xcos | 934 --- blocks_xcos/ENDBLK.xcos | 340 - blocks_xcos/END_c.xcos | 37 - blocks_xcos/ESELECT_f.xcos | 45 - blocks_xcos/EVTDLY_c.xcos | 41 - blocks_xcos/EVTGEN_f.xcos | 34 - blocks_xcos/EVTVARDLY.xcos | 40 - blocks_xcos/EXPBLK_m.xcos | 39 - blocks_xcos/EXPRESSION.xcos | 63 - blocks_xcos/EXTRACT.xcos | 44 - blocks_xcos/EXTRACTBITS.xcos | 42 - blocks_xcos/EXTRACTOR.xcos | 39 - blocks_xcos/EXTTRI.xcos | 38 - blocks_xcos/Extract_Activation.xcos | 950 --- blocks_xcos/FROM.xcos | 41 - blocks_xcos/FROMMO.xcos | 38 - blocks_xcos/FROMWSB.xcos | 571 -- blocks_xcos/Flowmeter.xcos | 71 - blocks_xcos/GAINBLK.xcos | 39 - blocks_xcos/GAINBLK_f.xcos | 39 - blocks_xcos/GAIN_f.xcos | 41 - blocks_xcos/GENERAL_f.xcos | 43 - blocks_xcos/GENSIN_f.xcos | 40 - blocks_xcos/GENSQR_f.xcos | 40 - blocks_xcos/GOTO.xcos | 38 - blocks_xcos/GOTOMO.xcos | 41 - blocks_xcos/GotoTagVisibility.xcos | 35 - blocks_xcos/GotoTagVisibilityMO.xcos | 35 - blocks_xcos/Ground.xcos | 54 - blocks_xcos/Gyrator.xcos | 80 - blocks_xcos/HALT_f.xcos | 39 - blocks_xcos/HYSTHERESIS.xcos | 46 - blocks_xcos/IFTHEL_f.xcos | 44 - blocks_xcos/INIMPL_f.xcos | 47 - blocks_xcos/INTEGRAL_f.xcos | 40 - blocks_xcos/INTEGRAL_m.xcos | 44 - blocks_xcos/INTMUL.xcos | 43 - blocks_xcos/INTRP2BLK_f.xcos | 54 - blocks_xcos/INTRPLBLK_f.xcos | 43 - blocks_xcos/INVBLK.xcos | 37 - blocks_xcos/IN_f.xcos | 28 - blocks_xcos/ISELECT_m.xcos | 51 - blocks_xcos/IdealTransformer.xcos | 75 - blocks_xcos/Inductor.xcos | 66 - blocks_xcos/JKFLIPFLOP.xcos | 3446 ---------- blocks_xcos/LOGBLK_f.xcos | 39 - blocks_xcos/LOGIC.xcos | 51 - blocks_xcos/LOGICAL_OP.xcos | 43 - blocks_xcos/LOOKUP_f.xcos | 44 - blocks_xcos/MATBKSL.xcos | 40 - blocks_xcos/MATCATH.xcos | 40 - blocks_xcos/MATCATV.xcos | 40 - blocks_xcos/MATDET.xcos | 37 - blocks_xcos/MATDIAG.xcos | 37 - blocks_xcos/MATDIV.xcos | 40 - blocks_xcos/MATEIG.xcos | 38 - blocks_xcos/MATEXPM.xcos | 37 - blocks_xcos/MATINV.xcos | 37 - blocks_xcos/MATLU.xcos | 40 - blocks_xcos/MATMAGPHI.xcos | 40 - blocks_xcos/MATMUL.xcos | 42 - blocks_xcos/MATPINV.xcos | 37 - blocks_xcos/MATRESH.xcos | 39 - blocks_xcos/MATSING.xcos | 38 - blocks_xcos/MATSUM.xcos | 38 - blocks_xcos/MATTRAN.xcos | 37 - blocks_xcos/MATZCONJ.xcos | 35 - blocks_xcos/MATZREIM.xcos | 40 - blocks_xcos/MAXMIN.xcos | 41 - blocks_xcos/MAX_f.xcos | 41 - blocks_xcos/MBLOCK.xcos | 116 - blocks_xcos/MCLOCK_f.xcos | 1389 ---- blocks_xcos/MFCLCK_f.xcos | 48 - blocks_xcos/MIN_f.xcos | 41 - blocks_xcos/MUX.xcos | 42 - blocks_xcos/MUX_f.xcos | 42 - blocks_xcos/M_SWITCH.xcos | 48 - blocks_xcos/M_freq.xcos | 65 - blocks_xcos/Modulo_Count.xcos | 43 - blocks_xcos/NEGTOPOS_f.xcos | 40 - blocks_xcos/NMOS.xcos | 94 - blocks_xcos/NPN.xcos | 151 - blocks_xcos/NRMSOM_f.xcos | 40 - blocks_xcos/OUTIMPL_f.xcos | 47 - blocks_xcos/OUT_f.xcos | 28 - blocks_xcos/OpAmp.xcos | 60 - blocks_xcos/PDE.xcos | 244 - blocks_xcos/PID.xcos | 2403 ------- blocks_xcos/PMOS.xcos | 94 - blocks_xcos/PNP.xcos | 151 - blocks_xcos/POSTONEG_f.xcos | 40 - blocks_xcos/POWBLK_f.xcos | 39 - blocks_xcos/PRODUCT.xcos | 43 - blocks_xcos/PROD_f.xcos | 39 - blocks_xcos/PULSE_SC.xcos | 1370 ---- blocks_xcos/PerteDP.xcos | 84 - blocks_xcos/PotentialSensor.xcos | 58 - blocks_xcos/PuitsP.xcos | 71 - blocks_xcos/QUANT_f.xcos | 42 - blocks_xcos/RAMP.xcos | 40 - blocks_xcos/RAND_m.xcos | 50 - blocks_xcos/RATELIMITER.xcos | 41 - blocks_xcos/READAU_f.xcos | 82 - blocks_xcos/READC_f.xcos | 84 - blocks_xcos/REGISTER.xcos | 52 - blocks_xcos/RELATIONALOP.xcos | 43 - blocks_xcos/RELAY_f.xcos | 50 - blocks_xcos/RFILE_f.xcos | 72 - blocks_xcos/RICC.xcos | 47 - blocks_xcos/ROOTCOEF.xcos | 38 - blocks_xcos/Resistor.xcos | 66 - blocks_xcos/SAMPHOLD_m.xcos | 40 - blocks_xcos/SATURATION.xcos | 42 - blocks_xcos/SAWTOOTH_f.xcos | 40 - blocks_xcos/SCALAR2VECTOR.xcos | 37 - blocks_xcos/SELECT_m.xcos | 51 - blocks_xcos/SELF_SWITCH.xcos | 946 --- blocks_xcos/SHIFT.xcos | 42 - blocks_xcos/SIGNUM.xcos | 37 - blocks_xcos/SINBLK_f.xcos | 37 - blocks_xcos/SOM_f.xcos | 48 - blocks_xcos/SQRT.xcos | 37 - blocks_xcos/SRFLIPFLOP.xcos | 1681 ----- blocks_xcos/STEP_FUNCTION.xcos | 1118 ---- blocks_xcos/SUBMAT.xcos | 46 - blocks_xcos/SUMMATION.xcos | 43 - blocks_xcos/SUM_f.xcos | 43 - blocks_xcos/SUPER_f.xcos | 493 -- blocks_xcos/SWITCH2_m.xcos | 50 - blocks_xcos/SWITCH_f.xcos | 43 - blocks_xcos/SampleCLK.xcos | 38 - blocks_xcos/Sigbuilder.xcos | 992 --- blocks_xcos/SineVoltage.xcos | 90 - blocks_xcos/SourceP.xcos | 71 - blocks_xcos/Switch.xcos | 72 - blocks_xcos/TANBLK_f.xcos | 37 - blocks_xcos/TCLSS.xcos | 55 - blocks_xcos/TEXT_f.xcos | 34 - blocks_xcos/TIME_DELAY.xcos | 44 - blocks_xcos/TIME_f.xcos | 32 - blocks_xcos/TKSCALE.xcos | 43 - blocks_xcos/TOWS_c.xcos | 43 - blocks_xcos/TRASH_f.xcos | 37 - blocks_xcos/TrigFun.xcos | 37 - blocks_xcos/VARIABLE_DELAY.xcos | 47 - blocks_xcos/VVsourceAC.xcos | 70 - blocks_xcos/VanneReglante.xcos | 72 - blocks_xcos/VariableResistor.xcos | 60 - blocks_xcos/VirtualCLK0.xcos | 32 - blocks_xcos/VoltageSensor.xcos | 61 - blocks_xcos/VsourceAC.xcos | 72 - blocks_xcos/WFILE_f.xcos | 69 - blocks_xcos/WRITEAU_f.xcos | 63 - blocks_xcos/WRITEC_f.xcos | 59 - blocks_xcos/ZCROSS_f.xcos | 42 - blocks_xcos/c_block.xcos | 44 - blocks_xcos/fortran_block.xcos | 47 - blocks_xcos/freq_div.xcos | 1165 ---- blocks_xcos/generic_block3.xcos | 55 - blocks_xcos/scifunc_block_m.xcos | 72 - combined.js | 70 + data_structures/ABS_VALUE.js | 20 - data_structures/AFFICH_m.js | 33 - data_structures/ANDBLK.js | 75 - data_structures/ANDLOG_f.js | 15 - data_structures/AUTOMAT.js | 40 - data_structures/BACKLASH.js | 18 - data_structures/BARXY.js | 27 - data_structures/BIGSOM_f.js | 19 - data_structures/BITCLEAR.js | 21 - data_structures/BITSET.js | 21 - data_structures/BOUNCE.js | 17 - data_structures/BOUNCEXY.js | 43 - data_structures/BPLATFORM.js | 32 - data_structures/Bache.js | 50 - data_structures/CANIMXY.js | 43 - data_structures/CANIMXY3D.js | 43 - data_structures/CBLOCK.js | 48 - data_structures/CBLOCK4.js | 39 - data_structures/CCS.js | 30 - data_structures/CEVENTSCOPE.js | 29 - data_structures/CFSCOPE.js | 33 - data_structures/CLINDUMMY_f.js | 16 - data_structures/CLKFROM.js | 16 - data_structures/CLKGOTO.js | 17 - data_structures/CLKGotoTagVisibility.js | 23 - data_structures/CLKINV_f.js | 19 - data_structures/CLKOUTV_f.js | 17 - data_structures/CLKSOMV_f.js | 15 - data_structures/CLOCK_c.js | 48 - data_structures/CLR.js | 28 - data_structures/CLSS.js | 32 - data_structures/CMAT3D.js | 35 - data_structures/CMATVIEW.js | 32 - data_structures/CMSCOPE.js | 42 - data_structures/CONST.js | 19 - data_structures/CONSTRAINT2_c.js | 24 - data_structures/CONSTRAINT_c.js | 20 - data_structures/CONST_f.js | 19 - data_structures/CONST_m.js | 22 - data_structures/CONVERT.js | 24 - data_structures/COSBLK_f.js | 16 - data_structures/CSCOPE.js | 35 - data_structures/CSCOPXY.js | 40 - data_structures/CSCOPXY3D.js | 42 - data_structures/CUMSUM.js | 31 - data_structures/CURV_f.js | 28 - data_structures/CVS.js | 30 - data_structures/Capacitor.js | 28 - data_structures/ConstantVoltage.js | 27 - data_structures/Counter.js | 25 - data_structures/CurrentSensor.js | 24 - data_structures/DEADBAND.js | 25 - data_structures/DEBUG.js | 13 - data_structures/DELAYV_f.js | 29 - data_structures/DELAY_f.js | 72 - data_structures/DEMUX.js | 20 - data_structures/DEMUX_f.js | 20 - data_structures/DERIV.js | 16 - data_structures/DFLIPFLOP.js | 97 - data_structures/DIFF_f.js | 19 - data_structures/DLATCH.js | 41 - data_structures/DLR.js | 29 - data_structures/DLRADAPT_f.js | 33 - data_structures/DLSS.js | 29 - data_structures/DOLLAR.js | 24 - data_structures/DOLLAR_f.js | 24 - data_structures/DOLLAR_m.js | 24 - data_structures/Diode.js | 34 - data_structures/EDGE_TRIGGER.js | 87 - data_structures/ENDBLK.js | 13 - data_structures/END_c.js | 19 - data_structures/ESELECT_f.js | 24 - data_structures/EVTDLY_c.js | 22 - data_structures/EVTGEN_f.js | 18 - data_structures/EVTVARDLY.js | 19 - data_structures/EXPBLK_m.js | 25 - data_structures/EXPRESSION.js | 28 - data_structures/EXTRACT.js | 31 - data_structures/EXTRACTBITS.js | 23 - data_structures/EXTRACTOR.js | 19 - data_structures/EXTTRI.js | 31 - data_structures/Extract_Activation.js | 92 - data_structures/FROM.js | 23 - data_structures/FROMMO.js | 27 - data_structures/FROMWSB.js | 15 - data_structures/Flowmeter.js | 30 - data_structures/GAINBLK.js | 25 - data_structures/GAINBLK_f.js | 21 - data_structures/GAIN_f.js | 19 - data_structures/GENERAL_f.js | 25 - data_structures/GENSIN_f.js | 21 - data_structures/GENSQR_f.js | 21 - data_structures/GOTO.js | 23 - data_structures/GOTOMO.js | 27 - data_structures/GotoTagVisibility.js | 23 - data_structures/GotoTagVisibilityMO.js | 23 - data_structures/Ground.js | 23 - data_structures/Gyrator.js | 30 - data_structures/HALT_f.js | 19 - data_structures/HYSTHERESIS.js | 27 - data_structures/IFTHEL_f.js | 22 - data_structures/INIMPL_f.js | 25 - data_structures/INTEGRAL_f.js | 19 - data_structures/INTEGRAL_m.js | 26 - data_structures/INTMUL.js | 24 - data_structures/INTRP2BLK_f.js | 24 - data_structures/INTRPLBLK_f.js | 21 - data_structures/INVBLK.js | 18 - data_structures/IN_f.js | 20 - data_structures/ISELECT_m.js | 31 - data_structures/IdealTransformer.js | 30 - data_structures/Inductor.js | 28 - data_structures/JKFLIPFLOP.js | 53 - data_structures/LOGBLK_f.js | 21 - data_structures/LOGIC.js | 25 - data_structures/LOGICAL_OP.js | 23 - data_structures/LOOKUP_f.js | 15 - data_structures/MATBKSL.js | 31 - data_structures/MATCATH.js | 31 - data_structures/MATCATV.js | 33 - data_structures/MATDET.js | 31 - data_structures/MATDIAG.js | 31 - data_structures/MATDIV.js | 31 - data_structures/MATEIG.js | 31 - data_structures/MATEXPM.js | 31 - data_structures/MATINV.js | 31 - data_structures/MATLU.js | 31 - data_structures/MATMAGPHI.js | 31 - data_structures/MATMUL.js | 18 - data_structures/MATPINV.js | 31 - data_structures/MATRESH.js | 31 - data_structures/MATSING.js | 31 - data_structures/MATSUM.js | 31 - data_structures/MATTRAN.js | 17 - data_structures/MATZCONJ.js | 31 - data_structures/MATZREIM.js | 31 - data_structures/MAXMIN.js | 18 - data_structures/MAX_f.js | 19 - data_structures/MBLOCK.js | 30 - data_structures/MCLOCK_f.js | 81 - data_structures/MFCLCK_f.js | 24 - data_structures/MIN_f.js | 19 - data_structures/MUX.js | 19 - data_structures/MUX_f.js | 19 - data_structures/M_SWITCH.js | 23 - data_structures/M_freq.js | 19 - data_structures/Modulo_Count.js | 22 - data_structures/NEGTOPOS_f.js | 17 - data_structures/NMOS.js | 43 - data_structures/NPN.js | 30 - data_structures/NRMSOM_f.js | 20 - data_structures/OUTIMPL_f.js | 25 - data_structures/OUT_f.js | 22 - data_structures/OpAmp.js | 30 - data_structures/PDE.js | 19 - data_structures/PID.js | 43 - data_structures/PMOS.js | 43 - data_structures/PNP.js | 30 - data_structures/POSTONEG_f.js | 19 - data_structures/POWBLK_f.js | 21 - data_structures/PRODUCT.js | 19 - data_structures/PROD_f.js | 12 - data_structures/PULSE_SC.js | 57 - data_structures/PerteDP.js | 40 - data_structures/PotentialSensor.js | 23 - data_structures/PuitsP.js | 31 - data_structures/QUANT_f.js | 22 - data_structures/RAMP.js | 27 - data_structures/RAND_m.js | 39 - data_structures/RATELIMITER.js | 23 - data_structures/READAU_f.js | 40 - data_structures/READC_f.js | 46 - data_structures/REGISTER.js | 20 - data_structures/RELATIONALOP.js | 22 - data_structures/RELAY_f.js | 25 - data_structures/RFILE_f.js | 40 - data_structures/RICC.js | 31 - data_structures/ROOTCOEF.js | 31 - data_structures/Resistor.js | 28 - data_structures/SAMPHOLD_m.js | 21 - data_structures/SATURATION.js | 25 - data_structures/SAWTOOTH_f.js | 17 - data_structures/SCALAR2VECTOR.js | 18 - data_structures/SELECT_m.js | 31 - data_structures/SELF_SWITCH.js | 24 - data_structures/SHIFT.js | 26 - data_structures/SIGNUM.js | 20 - data_structures/SINBLK_f.js | 16 - data_structures/SOM_f.js | 19 - data_structures/SQRT.js | 19 - data_structures/SRFLIPFLOP.js | 44 - data_structures/STEP_FUNCTION.js | 57 - data_structures/SUBMAT.js | 31 - data_structures/SUMMATION.js | 21 - data_structures/SUM_f.js | 16 - data_structures/SUPER_f.js | 28 - data_structures/SWITCH2_m.js | 30 - data_structures/SWITCH_f.js | 24 - data_structures/SampleCLK.js | 15 - data_structures/Sigbuilder.js | 19 - data_structures/SineVoltage.js | 36 - data_structures/SourceP.js | 33 - data_structures/Switch.js | 34 - data_structures/TANBLK_f.js | 18 - data_structures/TCLSS.js | 27 - data_structures/TEXT_f.js | 21 - data_structures/TIME_DELAY.js | 26 - data_structures/TIME_f.js | 13 - data_structures/TKSCALE.js | 23 - data_structures/TOWS_c.js | 31 - data_structures/TRASH_f.js | 18 - data_structures/TrigFun.js | 16 - data_structures/VARIABLE_DELAY.js | 26 - data_structures/VVsourceAC.js | 30 - data_structures/VanneReglante.js | 32 - data_structures/VariableResistor.js | 24 - data_structures/VirtualCLK0.js | 16 - data_structures/VoltageSensor.js | 24 - data_structures/VsourceAC.js | 30 - data_structures/WFILE_f.js | 30 - data_structures/WRITEAU_f.js | 32 - data_structures/WRITEC_f.js | 32 - data_structures/ZCROSS_f.js | 23 - data_structures/c_block.js | 43 - data_structures/fortran_block.js | 25 - data_structures/freq_div.js | 113 - data_structures/generic_block3.js | 23 - data_structures/scifunc_block_m.js | 51 - documentation/servet.md | 4 + history/blocks_xcos/ABS_VALUE.xcos | 37 + history/blocks_xcos/AFFICH_m.xcos | 60 + history/blocks_xcos/ANDBLK.xcos | 1355 ++++ history/blocks_xcos/ANDLOG_f.xcos | 38 + history/blocks_xcos/AUTOMAT.xcos | 66 + history/blocks_xcos/BACKLASH.xcos | 42 + history/blocks_xcos/BARXY.xcos | 51 + history/blocks_xcos/BIGSOM_f.xcos | 43 + history/blocks_xcos/BITCLEAR.xcos | 42 + history/blocks_xcos/BITSET.xcos | 42 + history/blocks_xcos/BOUNCE.xcos | 67 + history/blocks_xcos/BOUNCEXY.xcos | 71 + history/blocks_xcos/BPLATFORM.xcos | 57 + history/blocks_xcos/Bache.xcos | 108 + history/blocks_xcos/CANIMXY.xcos | 67 + history/blocks_xcos/CANIMXY3D.xcos | 88 + history/blocks_xcos/CBLOCK.xcos | 53 + history/blocks_xcos/CBLOCK4.xcos | 58 + history/blocks_xcos/CCS.xcos | 61 + history/blocks_xcos/CEVENTSCOPE.xcos | 49 + history/blocks_xcos/CFSCOPE.xcos | 65 + history/blocks_xcos/CLINDUMMY_f.xcos | 32 + history/blocks_xcos/CLKFROM.xcos | 35 + history/blocks_xcos/CLKGOTO.xcos | 38 + history/blocks_xcos/CLKGotoTagVisibility.xcos | 35 + history/blocks_xcos/CLKINV_f.xcos | 28 + history/blocks_xcos/CLKOUTV_f.xcos | 28 + history/blocks_xcos/CLKSOMV_f.xcos | 41 + history/blocks_xcos/CLOCK_c.xcos | 738 +++ history/blocks_xcos/CLR.xcos | 46 + history/blocks_xcos/CLSS.xcos | 49 + history/blocks_xcos/CMAT3D.xcos | 125 + history/blocks_xcos/CMATVIEW.xcos | 121 + history/blocks_xcos/CMSCOPE.xcos | 70 + history/blocks_xcos/CONST.xcos | 36 + history/blocks_xcos/CONSTRAINT2_c.xcos | 54 + history/blocks_xcos/CONSTRAINT_c.xcos | 43 + history/blocks_xcos/CONST_f.xcos | 36 + history/blocks_xcos/CONST_m.xcos | 36 + history/blocks_xcos/CONVERT.xcos | 41 + history/blocks_xcos/COSBLK_f.xcos | 35 + history/blocks_xcos/CSCOPE.xcos | 67 + history/blocks_xcos/CSCOPXY.xcos | 67 + history/blocks_xcos/CSCOPXY3D.xcos | 88 + history/blocks_xcos/CUMSUM.xcos | 38 + history/blocks_xcos/CURV_f.xcos | 49 + history/blocks_xcos/CVS.xcos | 61 + history/blocks_xcos/Capacitor.xcos | 76 + history/blocks_xcos/ConstantVoltage.xcos | 66 + history/blocks_xcos/Counter.xcos | 46 + history/blocks_xcos/CurrentSensor.xcos | 60 + history/blocks_xcos/DEADBAND.xcos | 42 + history/blocks_xcos/DEBUG.xcos | 37 + history/blocks_xcos/DELAYV_f.xcos | 66 + history/blocks_xcos/DELAY_f.xcos | 1182 ++++ history/blocks_xcos/DEMUX.xcos | 42 + history/blocks_xcos/DEMUX_f.xcos | 42 + history/blocks_xcos/DERIV.xcos | 35 + history/blocks_xcos/DFLIPFLOP.xcos | 7807 +++++++++++++++++++++++ history/blocks_xcos/DIFF_f.xcos | 42 + history/blocks_xcos/DLATCH.xcos | 2262 +++++++ history/blocks_xcos/DLR.xcos | 49 + history/blocks_xcos/DLRADAPT_f.xcos | 69 + history/blocks_xcos/DLSS.xcos | 52 + history/blocks_xcos/DOLLAR.xcos | 44 + history/blocks_xcos/DOLLAR_f.xcos | 44 + history/blocks_xcos/DOLLAR_m.xcos | 44 + history/blocks_xcos/Diode.xcos | 84 + history/blocks_xcos/EDGE_TRIGGER.xcos | 934 +++ history/blocks_xcos/ENDBLK.xcos | 340 + history/blocks_xcos/END_c.xcos | 37 + history/blocks_xcos/ESELECT_f.xcos | 45 + history/blocks_xcos/EVTDLY_c.xcos | 41 + history/blocks_xcos/EVTGEN_f.xcos | 34 + history/blocks_xcos/EVTVARDLY.xcos | 40 + history/blocks_xcos/EXPBLK_m.xcos | 39 + history/blocks_xcos/EXPRESSION.xcos | 63 + history/blocks_xcos/EXTRACT.xcos | 44 + history/blocks_xcos/EXTRACTBITS.xcos | 42 + history/blocks_xcos/EXTRACTOR.xcos | 39 + history/blocks_xcos/EXTTRI.xcos | 38 + history/blocks_xcos/Extract_Activation.xcos | 950 +++ history/blocks_xcos/FROM.xcos | 41 + history/blocks_xcos/FROMMO.xcos | 38 + history/blocks_xcos/FROMWSB.xcos | 571 ++ history/blocks_xcos/Flowmeter.xcos | 71 + history/blocks_xcos/GAINBLK.xcos | 39 + history/blocks_xcos/GAINBLK_f.xcos | 39 + history/blocks_xcos/GAIN_f.xcos | 41 + history/blocks_xcos/GENERAL_f.xcos | 43 + history/blocks_xcos/GENSIN_f.xcos | 40 + history/blocks_xcos/GENSQR_f.xcos | 40 + history/blocks_xcos/GOTO.xcos | 38 + history/blocks_xcos/GOTOMO.xcos | 41 + history/blocks_xcos/GotoTagVisibility.xcos | 35 + history/blocks_xcos/GotoTagVisibilityMO.xcos | 35 + history/blocks_xcos/Ground.xcos | 54 + history/blocks_xcos/Gyrator.xcos | 80 + history/blocks_xcos/HALT_f.xcos | 39 + history/blocks_xcos/HYSTHERESIS.xcos | 46 + history/blocks_xcos/IFTHEL_f.xcos | 44 + history/blocks_xcos/INIMPL_f.xcos | 47 + history/blocks_xcos/INTEGRAL_f.xcos | 40 + history/blocks_xcos/INTEGRAL_m.xcos | 44 + history/blocks_xcos/INTMUL.xcos | 43 + history/blocks_xcos/INTRP2BLK_f.xcos | 54 + history/blocks_xcos/INTRPLBLK_f.xcos | 43 + history/blocks_xcos/INVBLK.xcos | 37 + history/blocks_xcos/IN_f.xcos | 28 + history/blocks_xcos/ISELECT_m.xcos | 51 + history/blocks_xcos/IdealTransformer.xcos | 75 + history/blocks_xcos/Inductor.xcos | 66 + history/blocks_xcos/JKFLIPFLOP.xcos | 3446 ++++++++++ history/blocks_xcos/LOGBLK_f.xcos | 39 + history/blocks_xcos/LOGIC.xcos | 51 + history/blocks_xcos/LOGICAL_OP.xcos | 43 + history/blocks_xcos/LOOKUP_f.xcos | 44 + history/blocks_xcos/MATBKSL.xcos | 40 + history/blocks_xcos/MATCATH.xcos | 40 + history/blocks_xcos/MATCATV.xcos | 40 + history/blocks_xcos/MATDET.xcos | 37 + history/blocks_xcos/MATDIAG.xcos | 37 + history/blocks_xcos/MATDIV.xcos | 40 + history/blocks_xcos/MATEIG.xcos | 38 + history/blocks_xcos/MATEXPM.xcos | 37 + history/blocks_xcos/MATINV.xcos | 37 + history/blocks_xcos/MATLU.xcos | 40 + history/blocks_xcos/MATMAGPHI.xcos | 40 + history/blocks_xcos/MATMUL.xcos | 42 + history/blocks_xcos/MATPINV.xcos | 37 + history/blocks_xcos/MATRESH.xcos | 39 + history/blocks_xcos/MATSING.xcos | 38 + history/blocks_xcos/MATSUM.xcos | 38 + history/blocks_xcos/MATTRAN.xcos | 37 + history/blocks_xcos/MATZCONJ.xcos | 35 + history/blocks_xcos/MATZREIM.xcos | 40 + history/blocks_xcos/MAXMIN.xcos | 41 + history/blocks_xcos/MAX_f.xcos | 41 + history/blocks_xcos/MBLOCK.xcos | 116 + history/blocks_xcos/MCLOCK_f.xcos | 1389 ++++ history/blocks_xcos/MFCLCK_f.xcos | 48 + history/blocks_xcos/MIN_f.xcos | 41 + history/blocks_xcos/MUX.xcos | 42 + history/blocks_xcos/MUX_f.xcos | 42 + history/blocks_xcos/M_SWITCH.xcos | 48 + history/blocks_xcos/M_freq.xcos | 65 + history/blocks_xcos/Modulo_Count.xcos | 43 + history/blocks_xcos/NEGTOPOS_f.xcos | 40 + history/blocks_xcos/NMOS.xcos | 94 + history/blocks_xcos/NPN.xcos | 151 + history/blocks_xcos/NRMSOM_f.xcos | 40 + history/blocks_xcos/OUTIMPL_f.xcos | 47 + history/blocks_xcos/OUT_f.xcos | 28 + history/blocks_xcos/OpAmp.xcos | 60 + history/blocks_xcos/PDE.xcos | 244 + history/blocks_xcos/PID.xcos | 2403 +++++++ history/blocks_xcos/PMOS.xcos | 94 + history/blocks_xcos/PNP.xcos | 151 + history/blocks_xcos/POSTONEG_f.xcos | 40 + history/blocks_xcos/POWBLK_f.xcos | 39 + history/blocks_xcos/PRODUCT.xcos | 43 + history/blocks_xcos/PROD_f.xcos | 39 + history/blocks_xcos/PULSE_SC.xcos | 1370 ++++ history/blocks_xcos/PerteDP.xcos | 84 + history/blocks_xcos/PotentialSensor.xcos | 58 + history/blocks_xcos/PuitsP.xcos | 71 + history/blocks_xcos/QUANT_f.xcos | 42 + history/blocks_xcos/RAMP.xcos | 40 + history/blocks_xcos/RAND_m.xcos | 50 + history/blocks_xcos/RATELIMITER.xcos | 41 + history/blocks_xcos/READAU_f.xcos | 82 + history/blocks_xcos/READC_f.xcos | 84 + history/blocks_xcos/REGISTER.xcos | 52 + history/blocks_xcos/RELATIONALOP.xcos | 43 + history/blocks_xcos/RELAY_f.xcos | 50 + history/blocks_xcos/RFILE_f.xcos | 72 + history/blocks_xcos/RICC.xcos | 47 + history/blocks_xcos/ROOTCOEF.xcos | 38 + history/blocks_xcos/Resistor.xcos | 66 + history/blocks_xcos/SAMPHOLD_m.xcos | 40 + history/blocks_xcos/SATURATION.xcos | 42 + history/blocks_xcos/SAWTOOTH_f.xcos | 40 + history/blocks_xcos/SCALAR2VECTOR.xcos | 37 + history/blocks_xcos/SELECT_m.xcos | 51 + history/blocks_xcos/SELF_SWITCH.xcos | 946 +++ history/blocks_xcos/SHIFT.xcos | 42 + history/blocks_xcos/SIGNUM.xcos | 37 + history/blocks_xcos/SINBLK_f.xcos | 37 + history/blocks_xcos/SOM_f.xcos | 48 + history/blocks_xcos/SQRT.xcos | 37 + history/blocks_xcos/SRFLIPFLOP.xcos | 1681 +++++ history/blocks_xcos/STEP_FUNCTION.xcos | 1118 ++++ history/blocks_xcos/SUBMAT.xcos | 46 + history/blocks_xcos/SUMMATION.xcos | 43 + history/blocks_xcos/SUM_f.xcos | 43 + history/blocks_xcos/SUPER_f.xcos | 493 ++ history/blocks_xcos/SWITCH2_m.xcos | 50 + history/blocks_xcos/SWITCH_f.xcos | 43 + history/blocks_xcos/SampleCLK.xcos | 38 + history/blocks_xcos/Sigbuilder.xcos | 992 +++ history/blocks_xcos/SineVoltage.xcos | 90 + history/blocks_xcos/SourceP.xcos | 71 + history/blocks_xcos/Switch.xcos | 72 + history/blocks_xcos/TANBLK_f.xcos | 37 + history/blocks_xcos/TCLSS.xcos | 55 + history/blocks_xcos/TEXT_f.xcos | 34 + history/blocks_xcos/TIME_DELAY.xcos | 44 + history/blocks_xcos/TIME_f.xcos | 32 + history/blocks_xcos/TKSCALE.xcos | 43 + history/blocks_xcos/TOWS_c.xcos | 43 + history/blocks_xcos/TRASH_f.xcos | 37 + history/blocks_xcos/TrigFun.xcos | 37 + history/blocks_xcos/VARIABLE_DELAY.xcos | 47 + history/blocks_xcos/VVsourceAC.xcos | 70 + history/blocks_xcos/VanneReglante.xcos | 72 + history/blocks_xcos/VariableResistor.xcos | 60 + history/blocks_xcos/VirtualCLK0.xcos | 32 + history/blocks_xcos/VoltageSensor.xcos | 61 + history/blocks_xcos/VsourceAC.xcos | 72 + history/blocks_xcos/WFILE_f.xcos | 69 + history/blocks_xcos/WRITEAU_f.xcos | 63 + history/blocks_xcos/WRITEC_f.xcos | 59 + history/blocks_xcos/ZCROSS_f.xcos | 42 + history/blocks_xcos/c_block.xcos | 44 + history/blocks_xcos/fortran_block.xcos | 47 + history/blocks_xcos/freq_div.xcos | 1165 ++++ history/blocks_xcos/generic_block3.xcos | 55 + history/blocks_xcos/scifunc_block_m.xcos | 72 + history/data_structures/ABS_VALUE.js | 20 + history/data_structures/AFFICH_m.js | 33 + history/data_structures/ANDBLK.js | 75 + history/data_structures/ANDLOG_f.js | 15 + history/data_structures/AUTOMAT.js | 40 + history/data_structures/BACKLASH.js | 18 + history/data_structures/BARXY.js | 27 + history/data_structures/BIGSOM_f.js | 19 + history/data_structures/BITCLEAR.js | 21 + history/data_structures/BITSET.js | 21 + history/data_structures/BOUNCE.js | 17 + history/data_structures/BOUNCEXY.js | 43 + history/data_structures/BPLATFORM.js | 32 + history/data_structures/Bache.js | 50 + history/data_structures/CANIMXY.js | 43 + history/data_structures/CANIMXY3D.js | 43 + history/data_structures/CBLOCK.js | 48 + history/data_structures/CBLOCK4.js | 39 + history/data_structures/CCS.js | 30 + history/data_structures/CEVENTSCOPE.js | 29 + history/data_structures/CFSCOPE.js | 33 + history/data_structures/CLINDUMMY_f.js | 16 + history/data_structures/CLKFROM.js | 16 + history/data_structures/CLKGOTO.js | 17 + history/data_structures/CLKGotoTagVisibility.js | 23 + history/data_structures/CLKINV_f.js | 19 + history/data_structures/CLKOUTV_f.js | 17 + history/data_structures/CLKSOMV_f.js | 15 + history/data_structures/CLOCK_c.js | 48 + history/data_structures/CLR.js | 28 + history/data_structures/CLSS.js | 32 + history/data_structures/CMAT3D.js | 35 + history/data_structures/CMATVIEW.js | 32 + history/data_structures/CMSCOPE.js | 42 + history/data_structures/CONST.js | 19 + history/data_structures/CONSTRAINT2_c.js | 24 + history/data_structures/CONSTRAINT_c.js | 20 + history/data_structures/CONST_f.js | 19 + history/data_structures/CONST_m.js | 22 + history/data_structures/CONVERT.js | 24 + history/data_structures/COSBLK_f.js | 16 + history/data_structures/CSCOPE.js | 35 + history/data_structures/CSCOPXY.js | 40 + history/data_structures/CSCOPXY3D.js | 42 + history/data_structures/CUMSUM.js | 31 + history/data_structures/CURV_f.js | 28 + history/data_structures/CVS.js | 30 + history/data_structures/Capacitor.js | 28 + history/data_structures/ConstantVoltage.js | 27 + history/data_structures/Counter.js | 25 + history/data_structures/CurrentSensor.js | 24 + history/data_structures/DEADBAND.js | 25 + history/data_structures/DEBUG.js | 13 + history/data_structures/DELAYV_f.js | 29 + history/data_structures/DELAY_f.js | 72 + history/data_structures/DEMUX.js | 20 + history/data_structures/DEMUX_f.js | 20 + history/data_structures/DERIV.js | 16 + history/data_structures/DFLIPFLOP.js | 97 + history/data_structures/DIFF_f.js | 19 + history/data_structures/DLATCH.js | 41 + history/data_structures/DLR.js | 29 + history/data_structures/DLRADAPT_f.js | 33 + history/data_structures/DLSS.js | 29 + history/data_structures/DOLLAR.js | 24 + history/data_structures/DOLLAR_f.js | 24 + history/data_structures/DOLLAR_m.js | 24 + history/data_structures/Diode.js | 34 + history/data_structures/EDGE_TRIGGER.js | 87 + history/data_structures/ENDBLK.js | 13 + history/data_structures/END_c.js | 19 + history/data_structures/ESELECT_f.js | 24 + history/data_structures/EVTDLY_c.js | 22 + history/data_structures/EVTGEN_f.js | 18 + history/data_structures/EVTVARDLY.js | 19 + history/data_structures/EXPBLK_m.js | 25 + history/data_structures/EXPRESSION.js | 28 + history/data_structures/EXTRACT.js | 31 + history/data_structures/EXTRACTBITS.js | 23 + history/data_structures/EXTRACTOR.js | 19 + history/data_structures/EXTTRI.js | 31 + history/data_structures/Extract_Activation.js | 92 + history/data_structures/FROM.js | 23 + history/data_structures/FROMMO.js | 27 + history/data_structures/FROMWSB.js | 15 + history/data_structures/Flowmeter.js | 30 + history/data_structures/GAINBLK.js | 25 + history/data_structures/GAINBLK_f.js | 21 + history/data_structures/GAIN_f.js | 19 + history/data_structures/GENERAL_f.js | 25 + history/data_structures/GENSIN_f.js | 21 + history/data_structures/GENSQR_f.js | 21 + history/data_structures/GOTO.js | 23 + history/data_structures/GOTOMO.js | 27 + history/data_structures/GotoTagVisibility.js | 23 + history/data_structures/GotoTagVisibilityMO.js | 23 + history/data_structures/Ground.js | 23 + history/data_structures/Gyrator.js | 30 + history/data_structures/HALT_f.js | 19 + history/data_structures/HYSTHERESIS.js | 27 + history/data_structures/IFTHEL_f.js | 22 + history/data_structures/INIMPL_f.js | 25 + history/data_structures/INTEGRAL_f.js | 19 + history/data_structures/INTEGRAL_m.js | 26 + history/data_structures/INTMUL.js | 24 + history/data_structures/INTRP2BLK_f.js | 24 + history/data_structures/INTRPLBLK_f.js | 21 + history/data_structures/INVBLK.js | 18 + history/data_structures/IN_f.js | 20 + history/data_structures/ISELECT_m.js | 31 + history/data_structures/IdealTransformer.js | 30 + history/data_structures/Inductor.js | 28 + history/data_structures/JKFLIPFLOP.js | 53 + history/data_structures/LOGBLK_f.js | 21 + history/data_structures/LOGIC.js | 25 + history/data_structures/LOGICAL_OP.js | 23 + history/data_structures/LOOKUP_f.js | 15 + history/data_structures/MATBKSL.js | 31 + history/data_structures/MATCATH.js | 31 + history/data_structures/MATCATV.js | 33 + history/data_structures/MATDET.js | 31 + history/data_structures/MATDIAG.js | 31 + history/data_structures/MATDIV.js | 31 + history/data_structures/MATEIG.js | 31 + history/data_structures/MATEXPM.js | 31 + history/data_structures/MATINV.js | 31 + history/data_structures/MATLU.js | 31 + history/data_structures/MATMAGPHI.js | 31 + history/data_structures/MATMUL.js | 18 + history/data_structures/MATPINV.js | 31 + history/data_structures/MATRESH.js | 31 + history/data_structures/MATSING.js | 31 + history/data_structures/MATSUM.js | 31 + history/data_structures/MATTRAN.js | 17 + history/data_structures/MATZCONJ.js | 31 + history/data_structures/MATZREIM.js | 31 + history/data_structures/MAXMIN.js | 18 + history/data_structures/MAX_f.js | 19 + history/data_structures/MBLOCK.js | 30 + history/data_structures/MCLOCK_f.js | 81 + history/data_structures/MFCLCK_f.js | 24 + history/data_structures/MIN_f.js | 19 + history/data_structures/MUX.js | 19 + history/data_structures/MUX_f.js | 19 + history/data_structures/M_SWITCH.js | 23 + history/data_structures/M_freq.js | 19 + history/data_structures/Modulo_Count.js | 22 + history/data_structures/NEGTOPOS_f.js | 17 + history/data_structures/NMOS.js | 43 + history/data_structures/NPN.js | 30 + history/data_structures/NRMSOM_f.js | 20 + history/data_structures/OUTIMPL_f.js | 25 + history/data_structures/OUT_f.js | 22 + history/data_structures/OpAmp.js | 30 + history/data_structures/PDE.js | 19 + history/data_structures/PID.js | 43 + history/data_structures/PMOS.js | 43 + history/data_structures/PNP.js | 30 + history/data_structures/POSTONEG_f.js | 19 + history/data_structures/POWBLK_f.js | 21 + history/data_structures/PRODUCT.js | 19 + history/data_structures/PROD_f.js | 12 + history/data_structures/PULSE_SC.js | 57 + history/data_structures/PerteDP.js | 40 + history/data_structures/PotentialSensor.js | 23 + history/data_structures/PuitsP.js | 31 + history/data_structures/QUANT_f.js | 22 + history/data_structures/RAMP.js | 27 + history/data_structures/RAND_m.js | 39 + history/data_structures/RATELIMITER.js | 23 + history/data_structures/READAU_f.js | 40 + history/data_structures/READC_f.js | 46 + history/data_structures/REGISTER.js | 20 + history/data_structures/RELATIONALOP.js | 22 + history/data_structures/RELAY_f.js | 25 + history/data_structures/RFILE_f.js | 40 + history/data_structures/RICC.js | 31 + history/data_structures/ROOTCOEF.js | 31 + history/data_structures/Resistor.js | 28 + history/data_structures/SAMPHOLD_m.js | 21 + history/data_structures/SATURATION.js | 25 + history/data_structures/SAWTOOTH_f.js | 17 + history/data_structures/SCALAR2VECTOR.js | 18 + history/data_structures/SELECT_m.js | 31 + history/data_structures/SELF_SWITCH.js | 24 + history/data_structures/SHIFT.js | 26 + history/data_structures/SIGNUM.js | 20 + history/data_structures/SINBLK_f.js | 16 + history/data_structures/SOM_f.js | 19 + history/data_structures/SQRT.js | 19 + history/data_structures/SRFLIPFLOP.js | 44 + history/data_structures/STEP_FUNCTION.js | 57 + history/data_structures/SUBMAT.js | 31 + history/data_structures/SUMMATION.js | 21 + history/data_structures/SUM_f.js | 16 + history/data_structures/SUPER_f.js | 28 + history/data_structures/SWITCH2_m.js | 30 + history/data_structures/SWITCH_f.js | 24 + history/data_structures/SampleCLK.js | 15 + history/data_structures/Sigbuilder.js | 19 + history/data_structures/SineVoltage.js | 36 + history/data_structures/SourceP.js | 33 + history/data_structures/Switch.js | 34 + history/data_structures/TANBLK_f.js | 18 + history/data_structures/TCLSS.js | 27 + history/data_structures/TEXT_f.js | 21 + history/data_structures/TIME_DELAY.js | 26 + history/data_structures/TIME_f.js | 13 + history/data_structures/TKSCALE.js | 23 + history/data_structures/TOWS_c.js | 31 + history/data_structures/TRASH_f.js | 18 + history/data_structures/TrigFun.js | 16 + history/data_structures/VARIABLE_DELAY.js | 26 + history/data_structures/VVsourceAC.js | 30 + history/data_structures/VanneReglante.js | 32 + history/data_structures/VariableResistor.js | 24 + history/data_structures/VirtualCLK0.js | 16 + history/data_structures/VoltageSensor.js | 24 + history/data_structures/VsourceAC.js | 30 + history/data_structures/WFILE_f.js | 30 + history/data_structures/WRITEAU_f.js | 32 + history/data_structures/WRITEC_f.js | 32 + history/data_structures/ZCROSS_f.js | 23 + history/data_structures/c_block.js | 43 + history/data_structures/fortran_block.js | 25 + history/data_structures/freq_div.js | 113 + history/data_structures/generic_block3.js | 23 + history/data_structures/scifunc_block_m.js | 51 + styles/new.xml | 974 --- 918 files changed, 48517 insertions(+), 49517 deletions(-) delete mode 100644 WEB-INF/Readme delete mode 100755 WEB-INF/classes/SciExec.class delete mode 100755 WEB-INF/classes/SciExec.java~ delete mode 100755 blocks_xcos/ABS_VALUE.xcos delete mode 100755 blocks_xcos/AFFICH_m.xcos delete mode 100755 blocks_xcos/ANDBLK.xcos delete mode 100755 blocks_xcos/ANDLOG_f.xcos delete mode 100755 blocks_xcos/AUTOMAT.xcos delete mode 100755 blocks_xcos/BACKLASH.xcos delete mode 100755 blocks_xcos/BARXY.xcos delete mode 100755 blocks_xcos/BIGSOM_f.xcos delete mode 100755 blocks_xcos/BITCLEAR.xcos delete mode 100755 blocks_xcos/BITSET.xcos delete mode 100755 blocks_xcos/BOUNCE.xcos delete mode 100755 blocks_xcos/BOUNCEXY.xcos delete mode 100755 blocks_xcos/BPLATFORM.xcos delete mode 100755 blocks_xcos/Bache.xcos delete mode 100755 blocks_xcos/CANIMXY.xcos delete mode 100755 blocks_xcos/CANIMXY3D.xcos delete mode 100755 blocks_xcos/CBLOCK.xcos delete mode 100755 blocks_xcos/CBLOCK4.xcos delete mode 100755 blocks_xcos/CCS.xcos delete mode 100755 blocks_xcos/CEVENTSCOPE.xcos delete mode 100755 blocks_xcos/CFSCOPE.xcos delete mode 100755 blocks_xcos/CLINDUMMY_f.xcos delete mode 100755 blocks_xcos/CLKFROM.xcos delete mode 100755 blocks_xcos/CLKGOTO.xcos delete mode 100755 blocks_xcos/CLKGotoTagVisibility.xcos delete mode 100755 blocks_xcos/CLKINV_f.xcos delete mode 100755 blocks_xcos/CLKOUTV_f.xcos delete mode 100755 blocks_xcos/CLKSOMV_f.xcos delete mode 100755 blocks_xcos/CLOCK_c.xcos delete mode 100755 blocks_xcos/CLR.xcos delete mode 100755 blocks_xcos/CLSS.xcos delete mode 100755 blocks_xcos/CMAT3D.xcos delete mode 100755 blocks_xcos/CMATVIEW.xcos delete mode 100755 blocks_xcos/CMSCOPE.xcos delete mode 100755 blocks_xcos/CONST.xcos delete mode 100755 blocks_xcos/CONSTRAINT2_c.xcos delete mode 100755 blocks_xcos/CONSTRAINT_c.xcos delete mode 100755 blocks_xcos/CONST_f.xcos delete mode 100755 blocks_xcos/CONST_m.xcos delete mode 100755 blocks_xcos/CONVERT.xcos delete mode 100755 blocks_xcos/COSBLK_f.xcos delete mode 100755 blocks_xcos/CSCOPE.xcos delete mode 100755 blocks_xcos/CSCOPXY.xcos delete mode 100755 blocks_xcos/CSCOPXY3D.xcos delete mode 100755 blocks_xcos/CUMSUM.xcos delete mode 100755 blocks_xcos/CURV_f.xcos delete mode 100755 blocks_xcos/CVS.xcos delete mode 100755 blocks_xcos/Capacitor.xcos delete mode 100755 blocks_xcos/ConstantVoltage.xcos delete mode 100755 blocks_xcos/Counter.xcos delete mode 100755 blocks_xcos/CurrentSensor.xcos delete mode 100755 blocks_xcos/DEADBAND.xcos delete mode 100755 blocks_xcos/DEBUG.xcos delete mode 100755 blocks_xcos/DELAYV_f.xcos delete mode 100755 blocks_xcos/DELAY_f.xcos delete mode 100755 blocks_xcos/DEMUX.xcos delete mode 100755 blocks_xcos/DEMUX_f.xcos delete mode 100755 blocks_xcos/DERIV.xcos delete mode 100755 blocks_xcos/DFLIPFLOP.xcos delete mode 100755 blocks_xcos/DIFF_f.xcos delete mode 100755 blocks_xcos/DLATCH.xcos delete mode 100755 blocks_xcos/DLR.xcos delete mode 100755 blocks_xcos/DLRADAPT_f.xcos delete mode 100755 blocks_xcos/DLSS.xcos delete mode 100755 blocks_xcos/DOLLAR.xcos delete mode 100755 blocks_xcos/DOLLAR_f.xcos delete mode 100755 blocks_xcos/DOLLAR_m.xcos delete mode 100755 blocks_xcos/Diode.xcos delete mode 100755 blocks_xcos/EDGE_TRIGGER.xcos delete mode 100755 blocks_xcos/ENDBLK.xcos delete mode 100755 blocks_xcos/END_c.xcos delete mode 100755 blocks_xcos/ESELECT_f.xcos delete mode 100755 blocks_xcos/EVTDLY_c.xcos delete mode 100755 blocks_xcos/EVTGEN_f.xcos delete mode 100755 blocks_xcos/EVTVARDLY.xcos delete mode 100755 blocks_xcos/EXPBLK_m.xcos delete mode 100755 blocks_xcos/EXPRESSION.xcos delete mode 100755 blocks_xcos/EXTRACT.xcos delete mode 100755 blocks_xcos/EXTRACTBITS.xcos delete mode 100755 blocks_xcos/EXTRACTOR.xcos delete mode 100755 blocks_xcos/EXTTRI.xcos delete mode 100755 blocks_xcos/Extract_Activation.xcos delete mode 100755 blocks_xcos/FROM.xcos delete mode 100755 blocks_xcos/FROMMO.xcos delete mode 100755 blocks_xcos/FROMWSB.xcos delete mode 100755 blocks_xcos/Flowmeter.xcos delete mode 100755 blocks_xcos/GAINBLK.xcos delete mode 100755 blocks_xcos/GAINBLK_f.xcos delete mode 100755 blocks_xcos/GAIN_f.xcos delete mode 100755 blocks_xcos/GENERAL_f.xcos delete mode 100755 blocks_xcos/GENSIN_f.xcos delete mode 100755 blocks_xcos/GENSQR_f.xcos delete mode 100755 blocks_xcos/GOTO.xcos delete mode 100755 blocks_xcos/GOTOMO.xcos delete mode 100755 blocks_xcos/GotoTagVisibility.xcos delete mode 100755 blocks_xcos/GotoTagVisibilityMO.xcos delete mode 100755 blocks_xcos/Ground.xcos delete mode 100755 blocks_xcos/Gyrator.xcos delete mode 100755 blocks_xcos/HALT_f.xcos delete mode 100755 blocks_xcos/HYSTHERESIS.xcos delete mode 100755 blocks_xcos/IFTHEL_f.xcos delete mode 100755 blocks_xcos/INIMPL_f.xcos delete mode 100755 blocks_xcos/INTEGRAL_f.xcos delete mode 100755 blocks_xcos/INTEGRAL_m.xcos delete mode 100755 blocks_xcos/INTMUL.xcos delete mode 100755 blocks_xcos/INTRP2BLK_f.xcos delete mode 100755 blocks_xcos/INTRPLBLK_f.xcos delete mode 100755 blocks_xcos/INVBLK.xcos delete mode 100755 blocks_xcos/IN_f.xcos delete mode 100755 blocks_xcos/ISELECT_m.xcos delete mode 100755 blocks_xcos/IdealTransformer.xcos delete mode 100755 blocks_xcos/Inductor.xcos delete mode 100755 blocks_xcos/JKFLIPFLOP.xcos delete mode 100755 blocks_xcos/LOGBLK_f.xcos delete mode 100755 blocks_xcos/LOGIC.xcos delete mode 100755 blocks_xcos/LOGICAL_OP.xcos delete mode 100755 blocks_xcos/LOOKUP_f.xcos delete mode 100755 blocks_xcos/MATBKSL.xcos delete mode 100755 blocks_xcos/MATCATH.xcos delete mode 100755 blocks_xcos/MATCATV.xcos delete mode 100755 blocks_xcos/MATDET.xcos delete mode 100755 blocks_xcos/MATDIAG.xcos delete mode 100755 blocks_xcos/MATDIV.xcos delete mode 100755 blocks_xcos/MATEIG.xcos delete mode 100755 blocks_xcos/MATEXPM.xcos delete mode 100755 blocks_xcos/MATINV.xcos delete mode 100755 blocks_xcos/MATLU.xcos delete mode 100755 blocks_xcos/MATMAGPHI.xcos delete mode 100755 blocks_xcos/MATMUL.xcos delete mode 100755 blocks_xcos/MATPINV.xcos delete mode 100755 blocks_xcos/MATRESH.xcos delete mode 100755 blocks_xcos/MATSING.xcos delete mode 100755 blocks_xcos/MATSUM.xcos delete mode 100755 blocks_xcos/MATTRAN.xcos delete mode 100755 blocks_xcos/MATZCONJ.xcos delete mode 100755 blocks_xcos/MATZREIM.xcos delete mode 100755 blocks_xcos/MAXMIN.xcos delete mode 100755 blocks_xcos/MAX_f.xcos delete mode 100755 blocks_xcos/MBLOCK.xcos delete mode 100755 blocks_xcos/MCLOCK_f.xcos delete mode 100755 blocks_xcos/MFCLCK_f.xcos delete mode 100755 blocks_xcos/MIN_f.xcos delete mode 100755 blocks_xcos/MUX.xcos delete mode 100755 blocks_xcos/MUX_f.xcos delete mode 100755 blocks_xcos/M_SWITCH.xcos delete mode 100755 blocks_xcos/M_freq.xcos delete mode 100755 blocks_xcos/Modulo_Count.xcos delete mode 100755 blocks_xcos/NEGTOPOS_f.xcos delete mode 100755 blocks_xcos/NMOS.xcos delete mode 100755 blocks_xcos/NPN.xcos delete mode 100755 blocks_xcos/NRMSOM_f.xcos delete mode 100755 blocks_xcos/OUTIMPL_f.xcos delete mode 100755 blocks_xcos/OUT_f.xcos delete mode 100755 blocks_xcos/OpAmp.xcos delete mode 100755 blocks_xcos/PDE.xcos delete mode 100755 blocks_xcos/PID.xcos delete mode 100755 blocks_xcos/PMOS.xcos delete mode 100755 blocks_xcos/PNP.xcos delete mode 100755 blocks_xcos/POSTONEG_f.xcos delete mode 100755 blocks_xcos/POWBLK_f.xcos delete mode 100755 blocks_xcos/PRODUCT.xcos delete mode 100755 blocks_xcos/PROD_f.xcos delete mode 100755 blocks_xcos/PULSE_SC.xcos delete mode 100755 blocks_xcos/PerteDP.xcos delete mode 100755 blocks_xcos/PotentialSensor.xcos delete mode 100755 blocks_xcos/PuitsP.xcos delete mode 100755 blocks_xcos/QUANT_f.xcos delete mode 100755 blocks_xcos/RAMP.xcos delete mode 100755 blocks_xcos/RAND_m.xcos delete mode 100755 blocks_xcos/RATELIMITER.xcos delete mode 100755 blocks_xcos/READAU_f.xcos delete mode 100755 blocks_xcos/READC_f.xcos delete mode 100755 blocks_xcos/REGISTER.xcos delete mode 100755 blocks_xcos/RELATIONALOP.xcos delete mode 100755 blocks_xcos/RELAY_f.xcos delete mode 100755 blocks_xcos/RFILE_f.xcos delete mode 100755 blocks_xcos/RICC.xcos delete mode 100755 blocks_xcos/ROOTCOEF.xcos delete mode 100755 blocks_xcos/Resistor.xcos delete mode 100755 blocks_xcos/SAMPHOLD_m.xcos delete mode 100755 blocks_xcos/SATURATION.xcos delete mode 100755 blocks_xcos/SAWTOOTH_f.xcos delete mode 100755 blocks_xcos/SCALAR2VECTOR.xcos delete mode 100755 blocks_xcos/SELECT_m.xcos delete mode 100755 blocks_xcos/SELF_SWITCH.xcos delete mode 100755 blocks_xcos/SHIFT.xcos delete mode 100755 blocks_xcos/SIGNUM.xcos delete mode 100755 blocks_xcos/SINBLK_f.xcos delete mode 100755 blocks_xcos/SOM_f.xcos delete mode 100755 blocks_xcos/SQRT.xcos delete mode 100755 blocks_xcos/SRFLIPFLOP.xcos delete mode 100755 blocks_xcos/STEP_FUNCTION.xcos delete mode 100755 blocks_xcos/SUBMAT.xcos delete mode 100755 blocks_xcos/SUMMATION.xcos delete mode 100755 blocks_xcos/SUM_f.xcos delete mode 100755 blocks_xcos/SUPER_f.xcos delete mode 100755 blocks_xcos/SWITCH2_m.xcos delete mode 100755 blocks_xcos/SWITCH_f.xcos delete mode 100755 blocks_xcos/SampleCLK.xcos delete mode 100755 blocks_xcos/Sigbuilder.xcos delete mode 100755 blocks_xcos/SineVoltage.xcos delete mode 100755 blocks_xcos/SourceP.xcos delete mode 100755 blocks_xcos/Switch.xcos delete mode 100755 blocks_xcos/TANBLK_f.xcos delete mode 100755 blocks_xcos/TCLSS.xcos delete mode 100755 blocks_xcos/TEXT_f.xcos delete mode 100755 blocks_xcos/TIME_DELAY.xcos delete mode 100755 blocks_xcos/TIME_f.xcos delete mode 100755 blocks_xcos/TKSCALE.xcos delete mode 100755 blocks_xcos/TOWS_c.xcos delete mode 100755 blocks_xcos/TRASH_f.xcos delete mode 100755 blocks_xcos/TrigFun.xcos delete mode 100755 blocks_xcos/VARIABLE_DELAY.xcos delete mode 100755 blocks_xcos/VVsourceAC.xcos delete mode 100755 blocks_xcos/VanneReglante.xcos delete mode 100755 blocks_xcos/VariableResistor.xcos delete mode 100755 blocks_xcos/VirtualCLK0.xcos delete mode 100755 blocks_xcos/VoltageSensor.xcos delete mode 100755 blocks_xcos/VsourceAC.xcos delete mode 100755 blocks_xcos/WFILE_f.xcos delete mode 100755 blocks_xcos/WRITEAU_f.xcos delete mode 100755 blocks_xcos/WRITEC_f.xcos delete mode 100755 blocks_xcos/ZCROSS_f.xcos delete mode 100755 blocks_xcos/c_block.xcos delete mode 100755 blocks_xcos/fortran_block.xcos delete mode 100755 blocks_xcos/freq_div.xcos delete mode 100755 blocks_xcos/generic_block3.xcos delete mode 100755 blocks_xcos/scifunc_block_m.xcos delete mode 100644 data_structures/ABS_VALUE.js delete mode 100644 data_structures/AFFICH_m.js delete mode 100644 data_structures/ANDBLK.js delete mode 100644 data_structures/ANDLOG_f.js delete mode 100644 data_structures/AUTOMAT.js delete mode 100644 data_structures/BACKLASH.js delete mode 100644 data_structures/BARXY.js delete mode 100644 data_structures/BIGSOM_f.js delete mode 100644 data_structures/BITCLEAR.js delete mode 100644 data_structures/BITSET.js delete mode 100644 data_structures/BOUNCE.js delete mode 100644 data_structures/BOUNCEXY.js delete mode 100644 data_structures/BPLATFORM.js delete mode 100644 data_structures/Bache.js delete mode 100644 data_structures/CANIMXY.js delete mode 100644 data_structures/CANIMXY3D.js delete mode 100644 data_structures/CBLOCK.js delete mode 100644 data_structures/CBLOCK4.js delete mode 100644 data_structures/CCS.js delete mode 100644 data_structures/CEVENTSCOPE.js delete mode 100644 data_structures/CFSCOPE.js delete mode 100644 data_structures/CLINDUMMY_f.js delete mode 100644 data_structures/CLKFROM.js delete mode 100644 data_structures/CLKGOTO.js delete mode 100644 data_structures/CLKGotoTagVisibility.js delete mode 100644 data_structures/CLKINV_f.js delete mode 100644 data_structures/CLKOUTV_f.js delete mode 100644 data_structures/CLKSOMV_f.js delete mode 100644 data_structures/CLOCK_c.js delete mode 100644 data_structures/CLR.js delete mode 100644 data_structures/CLSS.js delete mode 100644 data_structures/CMAT3D.js delete mode 100644 data_structures/CMATVIEW.js delete mode 100644 data_structures/CMSCOPE.js delete mode 100644 data_structures/CONST.js delete mode 100644 data_structures/CONSTRAINT2_c.js delete mode 100644 data_structures/CONSTRAINT_c.js delete mode 100644 data_structures/CONST_f.js delete mode 100644 data_structures/CONST_m.js delete mode 100644 data_structures/CONVERT.js delete mode 100644 data_structures/COSBLK_f.js delete mode 100644 data_structures/CSCOPE.js delete mode 100644 data_structures/CSCOPXY.js delete mode 100644 data_structures/CSCOPXY3D.js delete mode 100644 data_structures/CUMSUM.js delete mode 100644 data_structures/CURV_f.js delete mode 100644 data_structures/CVS.js delete mode 100644 data_structures/Capacitor.js delete mode 100644 data_structures/ConstantVoltage.js delete mode 100644 data_structures/Counter.js delete mode 100644 data_structures/CurrentSensor.js delete mode 100644 data_structures/DEADBAND.js delete mode 100644 data_structures/DEBUG.js delete mode 100644 data_structures/DELAYV_f.js delete mode 100644 data_structures/DELAY_f.js delete mode 100644 data_structures/DEMUX.js delete mode 100644 data_structures/DEMUX_f.js delete mode 100644 data_structures/DERIV.js delete mode 100644 data_structures/DFLIPFLOP.js delete mode 100644 data_structures/DIFF_f.js delete mode 100644 data_structures/DLATCH.js delete mode 100644 data_structures/DLR.js delete mode 100644 data_structures/DLRADAPT_f.js delete mode 100644 data_structures/DLSS.js delete mode 100644 data_structures/DOLLAR.js delete mode 100644 data_structures/DOLLAR_f.js delete mode 100644 data_structures/DOLLAR_m.js delete mode 100644 data_structures/Diode.js delete mode 100644 data_structures/EDGE_TRIGGER.js delete mode 100644 data_structures/ENDBLK.js delete mode 100644 data_structures/END_c.js delete mode 100644 data_structures/ESELECT_f.js delete mode 100644 data_structures/EVTDLY_c.js delete mode 100644 data_structures/EVTGEN_f.js delete mode 100644 data_structures/EVTVARDLY.js delete mode 100644 data_structures/EXPBLK_m.js delete mode 100644 data_structures/EXPRESSION.js delete mode 100644 data_structures/EXTRACT.js delete mode 100644 data_structures/EXTRACTBITS.js delete mode 100644 data_structures/EXTRACTOR.js delete mode 100644 data_structures/EXTTRI.js delete mode 100644 data_structures/Extract_Activation.js delete mode 100644 data_structures/FROM.js delete mode 100644 data_structures/FROMMO.js delete mode 100644 data_structures/FROMWSB.js delete mode 100644 data_structures/Flowmeter.js delete mode 100644 data_structures/GAINBLK.js delete mode 100644 data_structures/GAINBLK_f.js delete mode 100644 data_structures/GAIN_f.js delete mode 100644 data_structures/GENERAL_f.js delete mode 100644 data_structures/GENSIN_f.js delete mode 100644 data_structures/GENSQR_f.js delete mode 100644 data_structures/GOTO.js delete mode 100644 data_structures/GOTOMO.js delete mode 100644 data_structures/GotoTagVisibility.js delete mode 100644 data_structures/GotoTagVisibilityMO.js delete mode 100644 data_structures/Ground.js delete mode 100644 data_structures/Gyrator.js delete mode 100644 data_structures/HALT_f.js delete mode 100644 data_structures/HYSTHERESIS.js delete mode 100644 data_structures/IFTHEL_f.js delete mode 100644 data_structures/INIMPL_f.js delete mode 100644 data_structures/INTEGRAL_f.js delete mode 100644 data_structures/INTEGRAL_m.js delete mode 100644 data_structures/INTMUL.js delete mode 100644 data_structures/INTRP2BLK_f.js delete mode 100644 data_structures/INTRPLBLK_f.js delete mode 100644 data_structures/INVBLK.js delete mode 100644 data_structures/IN_f.js delete mode 100644 data_structures/ISELECT_m.js delete mode 100644 data_structures/IdealTransformer.js delete mode 100644 data_structures/Inductor.js delete mode 100644 data_structures/JKFLIPFLOP.js delete mode 100644 data_structures/LOGBLK_f.js delete mode 100644 data_structures/LOGIC.js delete mode 100644 data_structures/LOGICAL_OP.js delete mode 100644 data_structures/LOOKUP_f.js delete mode 100644 data_structures/MATBKSL.js delete mode 100644 data_structures/MATCATH.js delete mode 100644 data_structures/MATCATV.js delete mode 100644 data_structures/MATDET.js delete mode 100644 data_structures/MATDIAG.js delete mode 100644 data_structures/MATDIV.js delete mode 100644 data_structures/MATEIG.js delete mode 100644 data_structures/MATEXPM.js delete mode 100644 data_structures/MATINV.js delete mode 100644 data_structures/MATLU.js delete mode 100644 data_structures/MATMAGPHI.js delete mode 100644 data_structures/MATMUL.js delete mode 100644 data_structures/MATPINV.js delete mode 100644 data_structures/MATRESH.js delete mode 100644 data_structures/MATSING.js delete mode 100644 data_structures/MATSUM.js delete mode 100644 data_structures/MATTRAN.js delete mode 100644 data_structures/MATZCONJ.js delete mode 100644 data_structures/MATZREIM.js delete mode 100644 data_structures/MAXMIN.js delete mode 100644 data_structures/MAX_f.js delete mode 100644 data_structures/MBLOCK.js delete mode 100644 data_structures/MCLOCK_f.js delete mode 100644 data_structures/MFCLCK_f.js delete mode 100644 data_structures/MIN_f.js delete mode 100644 data_structures/MUX.js delete mode 100644 data_structures/MUX_f.js delete mode 100644 data_structures/M_SWITCH.js delete mode 100644 data_structures/M_freq.js delete mode 100644 data_structures/Modulo_Count.js delete mode 100644 data_structures/NEGTOPOS_f.js delete mode 100644 data_structures/NMOS.js delete mode 100644 data_structures/NPN.js delete mode 100644 data_structures/NRMSOM_f.js delete mode 100644 data_structures/OUTIMPL_f.js delete mode 100644 data_structures/OUT_f.js delete mode 100644 data_structures/OpAmp.js delete mode 100644 data_structures/PDE.js delete mode 100644 data_structures/PID.js delete mode 100644 data_structures/PMOS.js delete mode 100644 data_structures/PNP.js delete mode 100644 data_structures/POSTONEG_f.js delete mode 100644 data_structures/POWBLK_f.js delete mode 100644 data_structures/PRODUCT.js delete mode 100644 data_structures/PROD_f.js delete mode 100644 data_structures/PULSE_SC.js delete mode 100644 data_structures/PerteDP.js delete mode 100644 data_structures/PotentialSensor.js delete mode 100644 data_structures/PuitsP.js delete mode 100644 data_structures/QUANT_f.js delete mode 100644 data_structures/RAMP.js delete mode 100644 data_structures/RAND_m.js delete mode 100644 data_structures/RATELIMITER.js delete mode 100644 data_structures/READAU_f.js delete mode 100644 data_structures/READC_f.js delete mode 100644 data_structures/REGISTER.js delete mode 100644 data_structures/RELATIONALOP.js delete mode 100644 data_structures/RELAY_f.js delete mode 100644 data_structures/RFILE_f.js delete mode 100644 data_structures/RICC.js delete mode 100644 data_structures/ROOTCOEF.js delete mode 100644 data_structures/Resistor.js delete mode 100644 data_structures/SAMPHOLD_m.js delete mode 100644 data_structures/SATURATION.js delete mode 100644 data_structures/SAWTOOTH_f.js delete mode 100644 data_structures/SCALAR2VECTOR.js delete mode 100644 data_structures/SELECT_m.js delete mode 100644 data_structures/SELF_SWITCH.js delete mode 100644 data_structures/SHIFT.js delete mode 100644 data_structures/SIGNUM.js delete mode 100644 data_structures/SINBLK_f.js delete mode 100644 data_structures/SOM_f.js delete mode 100644 data_structures/SQRT.js delete mode 100644 data_structures/SRFLIPFLOP.js delete mode 100644 data_structures/STEP_FUNCTION.js delete mode 100644 data_structures/SUBMAT.js delete mode 100644 data_structures/SUMMATION.js delete mode 100644 data_structures/SUM_f.js delete mode 100644 data_structures/SUPER_f.js delete mode 100644 data_structures/SWITCH2_m.js delete mode 100644 data_structures/SWITCH_f.js delete mode 100644 data_structures/SampleCLK.js delete mode 100644 data_structures/Sigbuilder.js delete mode 100644 data_structures/SineVoltage.js delete mode 100644 data_structures/SourceP.js delete mode 100644 data_structures/Switch.js delete mode 100644 data_structures/TANBLK_f.js delete mode 100644 data_structures/TCLSS.js delete mode 100644 data_structures/TEXT_f.js delete mode 100644 data_structures/TIME_DELAY.js delete mode 100644 data_structures/TIME_f.js delete mode 100644 data_structures/TKSCALE.js delete mode 100644 data_structures/TOWS_c.js delete mode 100644 data_structures/TRASH_f.js delete mode 100644 data_structures/TrigFun.js delete mode 100644 data_structures/VARIABLE_DELAY.js delete mode 100644 data_structures/VVsourceAC.js delete mode 100644 data_structures/VanneReglante.js delete mode 100644 data_structures/VariableResistor.js delete mode 100644 data_structures/VirtualCLK0.js delete mode 100644 data_structures/VoltageSensor.js delete mode 100644 data_structures/VsourceAC.js delete mode 100644 data_structures/WFILE_f.js delete mode 100644 data_structures/WRITEAU_f.js delete mode 100644 data_structures/WRITEC_f.js delete mode 100644 data_structures/ZCROSS_f.js delete mode 100644 data_structures/c_block.js delete mode 100644 data_structures/fortran_block.js delete mode 100644 data_structures/freq_div.js delete mode 100644 data_structures/generic_block3.js delete mode 100644 data_structures/scifunc_block_m.js create mode 100644 documentation/servet.md create mode 100644 history/blocks_xcos/ABS_VALUE.xcos create mode 100644 history/blocks_xcos/AFFICH_m.xcos create mode 100644 history/blocks_xcos/ANDBLK.xcos create mode 100644 history/blocks_xcos/ANDLOG_f.xcos create mode 100644 history/blocks_xcos/AUTOMAT.xcos create mode 100644 history/blocks_xcos/BACKLASH.xcos create mode 100644 history/blocks_xcos/BARXY.xcos create mode 100644 history/blocks_xcos/BIGSOM_f.xcos create mode 100644 history/blocks_xcos/BITCLEAR.xcos create mode 100644 history/blocks_xcos/BITSET.xcos create mode 100644 history/blocks_xcos/BOUNCE.xcos create mode 100644 history/blocks_xcos/BOUNCEXY.xcos create mode 100644 history/blocks_xcos/BPLATFORM.xcos create mode 100644 history/blocks_xcos/Bache.xcos create mode 100644 history/blocks_xcos/CANIMXY.xcos create mode 100644 history/blocks_xcos/CANIMXY3D.xcos create mode 100644 history/blocks_xcos/CBLOCK.xcos create mode 100644 history/blocks_xcos/CBLOCK4.xcos create mode 100644 history/blocks_xcos/CCS.xcos create mode 100644 history/blocks_xcos/CEVENTSCOPE.xcos create mode 100644 history/blocks_xcos/CFSCOPE.xcos create mode 100644 history/blocks_xcos/CLINDUMMY_f.xcos create mode 100644 history/blocks_xcos/CLKFROM.xcos create mode 100644 history/blocks_xcos/CLKGOTO.xcos create mode 100644 history/blocks_xcos/CLKGotoTagVisibility.xcos create mode 100644 history/blocks_xcos/CLKINV_f.xcos create mode 100644 history/blocks_xcos/CLKOUTV_f.xcos create mode 100644 history/blocks_xcos/CLKSOMV_f.xcos create mode 100644 history/blocks_xcos/CLOCK_c.xcos create mode 100644 history/blocks_xcos/CLR.xcos create mode 100644 history/blocks_xcos/CLSS.xcos create mode 100644 history/blocks_xcos/CMAT3D.xcos create mode 100644 history/blocks_xcos/CMATVIEW.xcos create mode 100644 history/blocks_xcos/CMSCOPE.xcos create mode 100644 history/blocks_xcos/CONST.xcos create mode 100644 history/blocks_xcos/CONSTRAINT2_c.xcos create mode 100644 history/blocks_xcos/CONSTRAINT_c.xcos create mode 100644 history/blocks_xcos/CONST_f.xcos create mode 100644 history/blocks_xcos/CONST_m.xcos create mode 100644 history/blocks_xcos/CONVERT.xcos create mode 100644 history/blocks_xcos/COSBLK_f.xcos create mode 100644 history/blocks_xcos/CSCOPE.xcos create mode 100644 history/blocks_xcos/CSCOPXY.xcos create mode 100644 history/blocks_xcos/CSCOPXY3D.xcos create mode 100644 history/blocks_xcos/CUMSUM.xcos create mode 100644 history/blocks_xcos/CURV_f.xcos create mode 100644 history/blocks_xcos/CVS.xcos create mode 100644 history/blocks_xcos/Capacitor.xcos create mode 100644 history/blocks_xcos/ConstantVoltage.xcos create mode 100644 history/blocks_xcos/Counter.xcos create mode 100644 history/blocks_xcos/CurrentSensor.xcos create mode 100644 history/blocks_xcos/DEADBAND.xcos create mode 100644 history/blocks_xcos/DEBUG.xcos create mode 100644 history/blocks_xcos/DELAYV_f.xcos create mode 100644 history/blocks_xcos/DELAY_f.xcos create mode 100644 history/blocks_xcos/DEMUX.xcos create mode 100644 history/blocks_xcos/DEMUX_f.xcos create mode 100644 history/blocks_xcos/DERIV.xcos create mode 100644 history/blocks_xcos/DFLIPFLOP.xcos create mode 100644 history/blocks_xcos/DIFF_f.xcos create mode 100644 history/blocks_xcos/DLATCH.xcos create mode 100644 history/blocks_xcos/DLR.xcos create mode 100644 history/blocks_xcos/DLRADAPT_f.xcos create mode 100644 history/blocks_xcos/DLSS.xcos create mode 100644 history/blocks_xcos/DOLLAR.xcos create mode 100644 history/blocks_xcos/DOLLAR_f.xcos create mode 100644 history/blocks_xcos/DOLLAR_m.xcos create mode 100644 history/blocks_xcos/Diode.xcos create mode 100644 history/blocks_xcos/EDGE_TRIGGER.xcos create mode 100644 history/blocks_xcos/ENDBLK.xcos create mode 100644 history/blocks_xcos/END_c.xcos create mode 100644 history/blocks_xcos/ESELECT_f.xcos create mode 100644 history/blocks_xcos/EVTDLY_c.xcos create mode 100644 history/blocks_xcos/EVTGEN_f.xcos create mode 100644 history/blocks_xcos/EVTVARDLY.xcos create mode 100644 history/blocks_xcos/EXPBLK_m.xcos create mode 100644 history/blocks_xcos/EXPRESSION.xcos create mode 100644 history/blocks_xcos/EXTRACT.xcos create mode 100644 history/blocks_xcos/EXTRACTBITS.xcos create mode 100644 history/blocks_xcos/EXTRACTOR.xcos create mode 100644 history/blocks_xcos/EXTTRI.xcos create mode 100644 history/blocks_xcos/Extract_Activation.xcos create mode 100644 history/blocks_xcos/FROM.xcos create mode 100644 history/blocks_xcos/FROMMO.xcos create mode 100644 history/blocks_xcos/FROMWSB.xcos create mode 100644 history/blocks_xcos/Flowmeter.xcos create mode 100644 history/blocks_xcos/GAINBLK.xcos create mode 100644 history/blocks_xcos/GAINBLK_f.xcos create mode 100644 history/blocks_xcos/GAIN_f.xcos create mode 100644 history/blocks_xcos/GENERAL_f.xcos create mode 100644 history/blocks_xcos/GENSIN_f.xcos create mode 100644 history/blocks_xcos/GENSQR_f.xcos create mode 100644 history/blocks_xcos/GOTO.xcos create mode 100644 history/blocks_xcos/GOTOMO.xcos create mode 100644 history/blocks_xcos/GotoTagVisibility.xcos create mode 100644 history/blocks_xcos/GotoTagVisibilityMO.xcos create mode 100644 history/blocks_xcos/Ground.xcos create mode 100644 history/blocks_xcos/Gyrator.xcos create mode 100644 history/blocks_xcos/HALT_f.xcos create mode 100644 history/blocks_xcos/HYSTHERESIS.xcos create mode 100644 history/blocks_xcos/IFTHEL_f.xcos create mode 100644 history/blocks_xcos/INIMPL_f.xcos create mode 100644 history/blocks_xcos/INTEGRAL_f.xcos create mode 100644 history/blocks_xcos/INTEGRAL_m.xcos create mode 100644 history/blocks_xcos/INTMUL.xcos create mode 100644 history/blocks_xcos/INTRP2BLK_f.xcos create mode 100644 history/blocks_xcos/INTRPLBLK_f.xcos create mode 100644 history/blocks_xcos/INVBLK.xcos create mode 100644 history/blocks_xcos/IN_f.xcos create mode 100644 history/blocks_xcos/ISELECT_m.xcos create mode 100644 history/blocks_xcos/IdealTransformer.xcos create mode 100644 history/blocks_xcos/Inductor.xcos create mode 100644 history/blocks_xcos/JKFLIPFLOP.xcos create mode 100644 history/blocks_xcos/LOGBLK_f.xcos create mode 100644 history/blocks_xcos/LOGIC.xcos create mode 100644 history/blocks_xcos/LOGICAL_OP.xcos create mode 100644 history/blocks_xcos/LOOKUP_f.xcos create mode 100644 history/blocks_xcos/MATBKSL.xcos create mode 100644 history/blocks_xcos/MATCATH.xcos create mode 100644 history/blocks_xcos/MATCATV.xcos create mode 100644 history/blocks_xcos/MATDET.xcos create mode 100644 history/blocks_xcos/MATDIAG.xcos create mode 100644 history/blocks_xcos/MATDIV.xcos create mode 100644 history/blocks_xcos/MATEIG.xcos create mode 100644 history/blocks_xcos/MATEXPM.xcos create mode 100644 history/blocks_xcos/MATINV.xcos create mode 100644 history/blocks_xcos/MATLU.xcos create mode 100644 history/blocks_xcos/MATMAGPHI.xcos create mode 100644 history/blocks_xcos/MATMUL.xcos create mode 100644 history/blocks_xcos/MATPINV.xcos create mode 100644 history/blocks_xcos/MATRESH.xcos create mode 100644 history/blocks_xcos/MATSING.xcos create mode 100644 history/blocks_xcos/MATSUM.xcos create mode 100644 history/blocks_xcos/MATTRAN.xcos create mode 100644 history/blocks_xcos/MATZCONJ.xcos create mode 100644 history/blocks_xcos/MATZREIM.xcos create mode 100644 history/blocks_xcos/MAXMIN.xcos create mode 100644 history/blocks_xcos/MAX_f.xcos create mode 100644 history/blocks_xcos/MBLOCK.xcos create mode 100644 history/blocks_xcos/MCLOCK_f.xcos create mode 100644 history/blocks_xcos/MFCLCK_f.xcos create mode 100644 history/blocks_xcos/MIN_f.xcos create mode 100644 history/blocks_xcos/MUX.xcos create mode 100644 history/blocks_xcos/MUX_f.xcos create mode 100644 history/blocks_xcos/M_SWITCH.xcos create mode 100644 history/blocks_xcos/M_freq.xcos create mode 100644 history/blocks_xcos/Modulo_Count.xcos create mode 100644 history/blocks_xcos/NEGTOPOS_f.xcos create mode 100644 history/blocks_xcos/NMOS.xcos create mode 100644 history/blocks_xcos/NPN.xcos create mode 100644 history/blocks_xcos/NRMSOM_f.xcos create mode 100644 history/blocks_xcos/OUTIMPL_f.xcos create mode 100644 history/blocks_xcos/OUT_f.xcos create mode 100644 history/blocks_xcos/OpAmp.xcos create mode 100644 history/blocks_xcos/PDE.xcos create mode 100644 history/blocks_xcos/PID.xcos create mode 100644 history/blocks_xcos/PMOS.xcos create mode 100644 history/blocks_xcos/PNP.xcos create mode 100644 history/blocks_xcos/POSTONEG_f.xcos create mode 100644 history/blocks_xcos/POWBLK_f.xcos create mode 100644 history/blocks_xcos/PRODUCT.xcos create mode 100644 history/blocks_xcos/PROD_f.xcos create mode 100644 history/blocks_xcos/PULSE_SC.xcos create mode 100644 history/blocks_xcos/PerteDP.xcos create mode 100644 history/blocks_xcos/PotentialSensor.xcos create mode 100644 history/blocks_xcos/PuitsP.xcos create mode 100644 history/blocks_xcos/QUANT_f.xcos create mode 100644 history/blocks_xcos/RAMP.xcos create mode 100644 history/blocks_xcos/RAND_m.xcos create mode 100644 history/blocks_xcos/RATELIMITER.xcos create mode 100644 history/blocks_xcos/READAU_f.xcos create mode 100644 history/blocks_xcos/READC_f.xcos create mode 100644 history/blocks_xcos/REGISTER.xcos create mode 100644 history/blocks_xcos/RELATIONALOP.xcos create mode 100644 history/blocks_xcos/RELAY_f.xcos create mode 100644 history/blocks_xcos/RFILE_f.xcos create mode 100644 history/blocks_xcos/RICC.xcos create mode 100644 history/blocks_xcos/ROOTCOEF.xcos create mode 100644 history/blocks_xcos/Resistor.xcos create mode 100644 history/blocks_xcos/SAMPHOLD_m.xcos create mode 100644 history/blocks_xcos/SATURATION.xcos create mode 100644 history/blocks_xcos/SAWTOOTH_f.xcos create mode 100644 history/blocks_xcos/SCALAR2VECTOR.xcos create mode 100644 history/blocks_xcos/SELECT_m.xcos create mode 100644 history/blocks_xcos/SELF_SWITCH.xcos create mode 100644 history/blocks_xcos/SHIFT.xcos create mode 100644 history/blocks_xcos/SIGNUM.xcos create mode 100644 history/blocks_xcos/SINBLK_f.xcos create mode 100644 history/blocks_xcos/SOM_f.xcos create mode 100644 history/blocks_xcos/SQRT.xcos create mode 100644 history/blocks_xcos/SRFLIPFLOP.xcos create mode 100644 history/blocks_xcos/STEP_FUNCTION.xcos create mode 100644 history/blocks_xcos/SUBMAT.xcos create mode 100644 history/blocks_xcos/SUMMATION.xcos create mode 100644 history/blocks_xcos/SUM_f.xcos create mode 100644 history/blocks_xcos/SUPER_f.xcos create mode 100644 history/blocks_xcos/SWITCH2_m.xcos create mode 100644 history/blocks_xcos/SWITCH_f.xcos create mode 100644 history/blocks_xcos/SampleCLK.xcos create mode 100644 history/blocks_xcos/Sigbuilder.xcos create mode 100644 history/blocks_xcos/SineVoltage.xcos create mode 100644 history/blocks_xcos/SourceP.xcos create mode 100644 history/blocks_xcos/Switch.xcos create mode 100644 history/blocks_xcos/TANBLK_f.xcos create mode 100644 history/blocks_xcos/TCLSS.xcos create mode 100644 history/blocks_xcos/TEXT_f.xcos create mode 100644 history/blocks_xcos/TIME_DELAY.xcos create mode 100644 history/blocks_xcos/TIME_f.xcos create mode 100644 history/blocks_xcos/TKSCALE.xcos create mode 100644 history/blocks_xcos/TOWS_c.xcos create mode 100644 history/blocks_xcos/TRASH_f.xcos create mode 100644 history/blocks_xcos/TrigFun.xcos create mode 100644 history/blocks_xcos/VARIABLE_DELAY.xcos create mode 100644 history/blocks_xcos/VVsourceAC.xcos create mode 100644 history/blocks_xcos/VanneReglante.xcos create mode 100644 history/blocks_xcos/VariableResistor.xcos create mode 100644 history/blocks_xcos/VirtualCLK0.xcos create mode 100644 history/blocks_xcos/VoltageSensor.xcos create mode 100644 history/blocks_xcos/VsourceAC.xcos create mode 100644 history/blocks_xcos/WFILE_f.xcos create mode 100644 history/blocks_xcos/WRITEAU_f.xcos create mode 100644 history/blocks_xcos/WRITEC_f.xcos create mode 100644 history/blocks_xcos/ZCROSS_f.xcos create mode 100644 history/blocks_xcos/c_block.xcos create mode 100644 history/blocks_xcos/fortran_block.xcos create mode 100644 history/blocks_xcos/freq_div.xcos create mode 100644 history/blocks_xcos/generic_block3.xcos create mode 100644 history/blocks_xcos/scifunc_block_m.xcos create mode 100644 history/data_structures/ABS_VALUE.js create mode 100644 history/data_structures/AFFICH_m.js create mode 100644 history/data_structures/ANDBLK.js create mode 100644 history/data_structures/ANDLOG_f.js create mode 100644 history/data_structures/AUTOMAT.js create mode 100644 history/data_structures/BACKLASH.js create mode 100644 history/data_structures/BARXY.js create mode 100644 history/data_structures/BIGSOM_f.js create mode 100644 history/data_structures/BITCLEAR.js create mode 100644 history/data_structures/BITSET.js create mode 100644 history/data_structures/BOUNCE.js create mode 100644 history/data_structures/BOUNCEXY.js create mode 100644 history/data_structures/BPLATFORM.js create mode 100644 history/data_structures/Bache.js create mode 100644 history/data_structures/CANIMXY.js create mode 100644 history/data_structures/CANIMXY3D.js create mode 100644 history/data_structures/CBLOCK.js create mode 100644 history/data_structures/CBLOCK4.js create mode 100644 history/data_structures/CCS.js create mode 100644 history/data_structures/CEVENTSCOPE.js create mode 100644 history/data_structures/CFSCOPE.js create mode 100644 history/data_structures/CLINDUMMY_f.js create mode 100644 history/data_structures/CLKFROM.js create mode 100644 history/data_structures/CLKGOTO.js create mode 100644 history/data_structures/CLKGotoTagVisibility.js create mode 100644 history/data_structures/CLKINV_f.js create mode 100644 history/data_structures/CLKOUTV_f.js create mode 100644 history/data_structures/CLKSOMV_f.js create mode 100644 history/data_structures/CLOCK_c.js create mode 100644 history/data_structures/CLR.js create mode 100644 history/data_structures/CLSS.js create mode 100644 history/data_structures/CMAT3D.js create mode 100644 history/data_structures/CMATVIEW.js create mode 100644 history/data_structures/CMSCOPE.js create mode 100644 history/data_structures/CONST.js create mode 100644 history/data_structures/CONSTRAINT2_c.js create mode 100644 history/data_structures/CONSTRAINT_c.js create mode 100644 history/data_structures/CONST_f.js create mode 100644 history/data_structures/CONST_m.js create mode 100644 history/data_structures/CONVERT.js create mode 100644 history/data_structures/COSBLK_f.js create mode 100644 history/data_structures/CSCOPE.js create mode 100644 history/data_structures/CSCOPXY.js create mode 100644 history/data_structures/CSCOPXY3D.js create mode 100644 history/data_structures/CUMSUM.js create mode 100644 history/data_structures/CURV_f.js create mode 100644 history/data_structures/CVS.js create mode 100644 history/data_structures/Capacitor.js create mode 100644 history/data_structures/ConstantVoltage.js create mode 100644 history/data_structures/Counter.js create mode 100644 history/data_structures/CurrentSensor.js create mode 100644 history/data_structures/DEADBAND.js create mode 100644 history/data_structures/DEBUG.js create mode 100644 history/data_structures/DELAYV_f.js create mode 100644 history/data_structures/DELAY_f.js create mode 100644 history/data_structures/DEMUX.js create mode 100644 history/data_structures/DEMUX_f.js create mode 100644 history/data_structures/DERIV.js create mode 100644 history/data_structures/DFLIPFLOP.js create mode 100644 history/data_structures/DIFF_f.js create mode 100644 history/data_structures/DLATCH.js create mode 100644 history/data_structures/DLR.js create mode 100644 history/data_structures/DLRADAPT_f.js create mode 100644 history/data_structures/DLSS.js create mode 100644 history/data_structures/DOLLAR.js create mode 100644 history/data_structures/DOLLAR_f.js create mode 100644 history/data_structures/DOLLAR_m.js create mode 100644 history/data_structures/Diode.js create mode 100644 history/data_structures/EDGE_TRIGGER.js create mode 100644 history/data_structures/ENDBLK.js create mode 100644 history/data_structures/END_c.js create mode 100644 history/data_structures/ESELECT_f.js create mode 100644 history/data_structures/EVTDLY_c.js create mode 100644 history/data_structures/EVTGEN_f.js create mode 100644 history/data_structures/EVTVARDLY.js create mode 100644 history/data_structures/EXPBLK_m.js create mode 100644 history/data_structures/EXPRESSION.js create mode 100644 history/data_structures/EXTRACT.js create mode 100644 history/data_structures/EXTRACTBITS.js create mode 100644 history/data_structures/EXTRACTOR.js create mode 100644 history/data_structures/EXTTRI.js create mode 100644 history/data_structures/Extract_Activation.js create mode 100644 history/data_structures/FROM.js create mode 100644 history/data_structures/FROMMO.js create mode 100644 history/data_structures/FROMWSB.js create mode 100644 history/data_structures/Flowmeter.js create mode 100644 history/data_structures/GAINBLK.js create mode 100644 history/data_structures/GAINBLK_f.js create mode 100644 history/data_structures/GAIN_f.js create mode 100644 history/data_structures/GENERAL_f.js create mode 100644 history/data_structures/GENSIN_f.js create mode 100644 history/data_structures/GENSQR_f.js create mode 100644 history/data_structures/GOTO.js create mode 100644 history/data_structures/GOTOMO.js create mode 100644 history/data_structures/GotoTagVisibility.js create mode 100644 history/data_structures/GotoTagVisibilityMO.js create mode 100644 history/data_structures/Ground.js create mode 100644 history/data_structures/Gyrator.js create mode 100644 history/data_structures/HALT_f.js create mode 100644 history/data_structures/HYSTHERESIS.js create mode 100644 history/data_structures/IFTHEL_f.js create mode 100644 history/data_structures/INIMPL_f.js create mode 100644 history/data_structures/INTEGRAL_f.js create mode 100644 history/data_structures/INTEGRAL_m.js create mode 100644 history/data_structures/INTMUL.js create mode 100644 history/data_structures/INTRP2BLK_f.js create mode 100644 history/data_structures/INTRPLBLK_f.js create mode 100644 history/data_structures/INVBLK.js create mode 100644 history/data_structures/IN_f.js create mode 100644 history/data_structures/ISELECT_m.js create mode 100644 history/data_structures/IdealTransformer.js create mode 100644 history/data_structures/Inductor.js create mode 100644 history/data_structures/JKFLIPFLOP.js create mode 100644 history/data_structures/LOGBLK_f.js create mode 100644 history/data_structures/LOGIC.js create mode 100644 history/data_structures/LOGICAL_OP.js create mode 100644 history/data_structures/LOOKUP_f.js create mode 100644 history/data_structures/MATBKSL.js create mode 100644 history/data_structures/MATCATH.js create mode 100644 history/data_structures/MATCATV.js create mode 100644 history/data_structures/MATDET.js create mode 100644 history/data_structures/MATDIAG.js create mode 100644 history/data_structures/MATDIV.js create mode 100644 history/data_structures/MATEIG.js create mode 100644 history/data_structures/MATEXPM.js create mode 100644 history/data_structures/MATINV.js create mode 100644 history/data_structures/MATLU.js create mode 100644 history/data_structures/MATMAGPHI.js create mode 100644 history/data_structures/MATMUL.js create mode 100644 history/data_structures/MATPINV.js create mode 100644 history/data_structures/MATRESH.js create mode 100644 history/data_structures/MATSING.js create mode 100644 history/data_structures/MATSUM.js create mode 100644 history/data_structures/MATTRAN.js create mode 100644 history/data_structures/MATZCONJ.js create mode 100644 history/data_structures/MATZREIM.js create mode 100644 history/data_structures/MAXMIN.js create mode 100644 history/data_structures/MAX_f.js create mode 100644 history/data_structures/MBLOCK.js create mode 100644 history/data_structures/MCLOCK_f.js create mode 100644 history/data_structures/MFCLCK_f.js create mode 100644 history/data_structures/MIN_f.js create mode 100644 history/data_structures/MUX.js create mode 100644 history/data_structures/MUX_f.js create mode 100644 history/data_structures/M_SWITCH.js create mode 100644 history/data_structures/M_freq.js create mode 100644 history/data_structures/Modulo_Count.js create mode 100644 history/data_structures/NEGTOPOS_f.js create mode 100644 history/data_structures/NMOS.js create mode 100644 history/data_structures/NPN.js create mode 100644 history/data_structures/NRMSOM_f.js create mode 100644 history/data_structures/OUTIMPL_f.js create mode 100644 history/data_structures/OUT_f.js create mode 100644 history/data_structures/OpAmp.js create mode 100644 history/data_structures/PDE.js create mode 100644 history/data_structures/PID.js create mode 100644 history/data_structures/PMOS.js create mode 100644 history/data_structures/PNP.js create mode 100644 history/data_structures/POSTONEG_f.js create mode 100644 history/data_structures/POWBLK_f.js create mode 100644 history/data_structures/PRODUCT.js create mode 100644 history/data_structures/PROD_f.js create mode 100644 history/data_structures/PULSE_SC.js create mode 100644 history/data_structures/PerteDP.js create mode 100644 history/data_structures/PotentialSensor.js create mode 100644 history/data_structures/PuitsP.js create mode 100644 history/data_structures/QUANT_f.js create mode 100644 history/data_structures/RAMP.js create mode 100644 history/data_structures/RAND_m.js create mode 100644 history/data_structures/RATELIMITER.js create mode 100644 history/data_structures/READAU_f.js create mode 100644 history/data_structures/READC_f.js create mode 100644 history/data_structures/REGISTER.js create mode 100644 history/data_structures/RELATIONALOP.js create mode 100644 history/data_structures/RELAY_f.js create mode 100644 history/data_structures/RFILE_f.js create mode 100644 history/data_structures/RICC.js create mode 100644 history/data_structures/ROOTCOEF.js create mode 100644 history/data_structures/Resistor.js create mode 100644 history/data_structures/SAMPHOLD_m.js create mode 100644 history/data_structures/SATURATION.js create mode 100644 history/data_structures/SAWTOOTH_f.js create mode 100644 history/data_structures/SCALAR2VECTOR.js create mode 100644 history/data_structures/SELECT_m.js create mode 100644 history/data_structures/SELF_SWITCH.js create mode 100644 history/data_structures/SHIFT.js create mode 100644 history/data_structures/SIGNUM.js create mode 100644 history/data_structures/SINBLK_f.js create mode 100644 history/data_structures/SOM_f.js create mode 100644 history/data_structures/SQRT.js create mode 100644 history/data_structures/SRFLIPFLOP.js create mode 100644 history/data_structures/STEP_FUNCTION.js create mode 100644 history/data_structures/SUBMAT.js create mode 100644 history/data_structures/SUMMATION.js create mode 100644 history/data_structures/SUM_f.js create mode 100644 history/data_structures/SUPER_f.js create mode 100644 history/data_structures/SWITCH2_m.js create mode 100644 history/data_structures/SWITCH_f.js create mode 100644 history/data_structures/SampleCLK.js create mode 100644 history/data_structures/Sigbuilder.js create mode 100644 history/data_structures/SineVoltage.js create mode 100644 history/data_structures/SourceP.js create mode 100644 history/data_structures/Switch.js create mode 100644 history/data_structures/TANBLK_f.js create mode 100644 history/data_structures/TCLSS.js create mode 100644 history/data_structures/TEXT_f.js create mode 100644 history/data_structures/TIME_DELAY.js create mode 100644 history/data_structures/TIME_f.js create mode 100644 history/data_structures/TKSCALE.js create mode 100644 history/data_structures/TOWS_c.js create mode 100644 history/data_structures/TRASH_f.js create mode 100644 history/data_structures/TrigFun.js create mode 100644 history/data_structures/VARIABLE_DELAY.js create mode 100644 history/data_structures/VVsourceAC.js create mode 100644 history/data_structures/VanneReglante.js create mode 100644 history/data_structures/VariableResistor.js create mode 100644 history/data_structures/VirtualCLK0.js create mode 100644 history/data_structures/VoltageSensor.js create mode 100644 history/data_structures/VsourceAC.js create mode 100644 history/data_structures/WFILE_f.js create mode 100644 history/data_structures/WRITEAU_f.js create mode 100644 history/data_structures/WRITEC_f.js create mode 100644 history/data_structures/ZCROSS_f.js create mode 100644 history/data_structures/c_block.js create mode 100644 history/data_structures/fortran_block.js create mode 100644 history/data_structures/freq_div.js create mode 100644 history/data_structures/generic_block3.js create mode 100644 history/data_structures/scifunc_block_m.js delete mode 100644 styles/new.xml diff --git a/WEB-INF/Readme b/WEB-INF/Readme deleted file mode 100644 index 444d69a..0000000 --- a/WEB-INF/Readme +++ /dev/null @@ -1,9 +0,0 @@ -/* - Maverick - Directions to run the servlet code. -*/ - -Download apache-tomcat-xxx. -Create a folder 'temp' in the tomcat directory. -Paste the entire 'xcos-on-web' directory inside the '/path/to/tomcat/webapps' directory. -Run the server and access using a web browser. \ No newline at end of file diff --git a/WEB-INF/classes/SciExec.class b/WEB-INF/classes/SciExec.class deleted file mode 100755 index f87436e..0000000 Binary files a/WEB-INF/classes/SciExec.class and /dev/null differ diff --git a/WEB-INF/classes/SciExec.java~ b/WEB-INF/classes/SciExec.java~ deleted file mode 100755 index c4287aa..0000000 --- a/WEB-INF/classes/SciExec.java~ +++ /dev/null @@ -1,91 +0,0 @@ -import java.io.*; -import javax.servlet.*; -import java.util.*; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.util.ArrayList; -import java.util.List; -import org.apache.commons.io.IOUtils; -import org.apache.commons.io.FilenameUtils; - - -public class SciExec extends GenericServlet { - - - public void service(ServletRequest request,ServletResponse response) throws ServletException, IOException - { - PrintWriter pw = response.getWriter(); - - - - - InputStream is = null; - ByteArrayOutputStream baos = null; - List commands = new ArrayList(); - commands.add("scilab-adv-cli"); - commands.add("-noatomsautoload"); - commands.add("-nogui"); - commands.add("-nb"); - commands.add("-e"); - - String imagePath=""; - String fileNameWithoutExt=""; - //commands.add("plot3d();xs2png(gcf(),'img2.png');exit();"); - /*String data=request.getParameter("name"); - pw.println(data); - commands.add("echo "+data+" > /home/saarang/Softwares/apache-tomcat-8.0.36/webapps/sci/servlet/file.xcos");*/ - //commands.add("driver('PNG');xinit('/home/saarang/apache-tomcat-8.0.36/webapps/worknogui/servlet/ans"+k+".png');loadXcosLibs();importXcosDiagram('/home/saarang/apache-tomcat-8.0.36/file.xcos');xcos_simulate(scs_m,4);mode(2);xend();quit();"); - ProcessBuilder pb = new ProcessBuilder(commands); - try - { - InputStream inputStream = request.getInputStream(); - - File xcosFile = File.createTempFile("usr-", ".xcos"); - OutputStream outputStream = new FileOutputStream(xcosFile); - IOUtils.copy(inputStream, outputStream); - outputStream.close(); - - String tempPath = xcosFile.getAbsolutePath(); - - String parentPath = xcosFile.getParent(); - fileNameWithoutExt = FilenameUtils.removeExtension(xcosFile.getName()); - - imagePath = "/home/saarang/apache-tomcat-8.0.36/webapps/xcos-on-web/servlet"+File.separator + fileNameWithoutExt + ".png"; - - commands.add("driver('PNG');xinit('"+imagePath+"');loadXcosLibs();importXcosDiagram('"+tempPath+"');xcos_simulate(scs_m,4);mode(2);xend();quit();"); - - Process prs = pb.start(); - is = prs.getInputStream(); - byte[] b = new byte[1024]; - int size = 0; - baos = new ByteArrayOutputStream(); - while((size = is.read(b)) != -1){ - baos.write(b, 0, size); - } - System.out.println(new String(baos.toByteArray())); - - - } - catch (IOException e) - { - e.printStackTrace(); - } - catch(Exception e) - { - /*System.out.println(e.toString()+"Some Exception");*/ - pw.println("Exception"); - } - finally - { - try { - if(is != null) is.close(); - if(baos != null) baos.close(); - } catch (Exception ex){} - } - pw.println("servlet/"+fileNameWithoutExt+".png"); - //pw.println(request.getParameter("name")); - pw.close(); - } - -} diff --git a/blocks_xcos/ABS_VALUE.xcos b/blocks_xcos/ABS_VALUE.xcos deleted file mode 100755 index fe5db1d..0000000 --- a/blocks_xcos/ABS_VALUE.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/AFFICH_m.xcos b/blocks_xcos/AFFICH_m.xcos deleted file mode 100755 index f74c3ce..0000000 --- a/blocks_xcos/AFFICH_m.xcos +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/ANDBLK.xcos b/blocks_xcos/ANDBLK.xcos deleted file mode 100755 index 9afb4ec..0000000 --- a/blocks_xcos/ANDBLK.xcos +++ /dev/null @@ -1,1355 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/ANDLOG_f.xcos b/blocks_xcos/ANDLOG_f.xcos deleted file mode 100755 index 5d1829a..0000000 --- a/blocks_xcos/ANDLOG_f.xcos +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/AUTOMAT.xcos b/blocks_xcos/AUTOMAT.xcos deleted file mode 100755 index 1f9b45c..0000000 --- a/blocks_xcos/AUTOMAT.xcos +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/BACKLASH.xcos b/blocks_xcos/BACKLASH.xcos deleted file mode 100755 index 9ae1e74..0000000 --- a/blocks_xcos/BACKLASH.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/BARXY.xcos b/blocks_xcos/BARXY.xcos deleted file mode 100755 index 8c6812f..0000000 --- a/blocks_xcos/BARXY.xcos +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/BIGSOM_f.xcos b/blocks_xcos/BIGSOM_f.xcos deleted file mode 100755 index 714a7c2..0000000 --- a/blocks_xcos/BIGSOM_f.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/BITCLEAR.xcos b/blocks_xcos/BITCLEAR.xcos deleted file mode 100755 index fec7a41..0000000 --- a/blocks_xcos/BITCLEAR.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/BITSET.xcos b/blocks_xcos/BITSET.xcos deleted file mode 100755 index 77867f1..0000000 --- a/blocks_xcos/BITSET.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/BOUNCE.xcos b/blocks_xcos/BOUNCE.xcos deleted file mode 100755 index 714ed25..0000000 --- a/blocks_xcos/BOUNCE.xcos +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/BOUNCEXY.xcos b/blocks_xcos/BOUNCEXY.xcos deleted file mode 100755 index 15ee007..0000000 --- a/blocks_xcos/BOUNCEXY.xcos +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/BPLATFORM.xcos b/blocks_xcos/BPLATFORM.xcos deleted file mode 100755 index b690031..0000000 --- a/blocks_xcos/BPLATFORM.xcos +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Bache.xcos b/blocks_xcos/Bache.xcos deleted file mode 100755 index ccfc2ac..0000000 --- a/blocks_xcos/Bache.xcos +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CANIMXY.xcos b/blocks_xcos/CANIMXY.xcos deleted file mode 100755 index d182992..0000000 --- a/blocks_xcos/CANIMXY.xcos +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CANIMXY3D.xcos b/blocks_xcos/CANIMXY3D.xcos deleted file mode 100755 index 7acd1bb..0000000 --- a/blocks_xcos/CANIMXY3D.xcos +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CBLOCK.xcos b/blocks_xcos/CBLOCK.xcos deleted file mode 100755 index bb2f3d1..0000000 --- a/blocks_xcos/CBLOCK.xcos +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CBLOCK4.xcos b/blocks_xcos/CBLOCK4.xcos deleted file mode 100755 index c6a6805..0000000 --- a/blocks_xcos/CBLOCK4.xcos +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CCS.xcos b/blocks_xcos/CCS.xcos deleted file mode 100755 index 756db4e..0000000 --- a/blocks_xcos/CCS.xcos +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CEVENTSCOPE.xcos b/blocks_xcos/CEVENTSCOPE.xcos deleted file mode 100755 index 00a65b7..0000000 --- a/blocks_xcos/CEVENTSCOPE.xcos +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CFSCOPE.xcos b/blocks_xcos/CFSCOPE.xcos deleted file mode 100755 index 48aebe4..0000000 --- a/blocks_xcos/CFSCOPE.xcos +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CLINDUMMY_f.xcos b/blocks_xcos/CLINDUMMY_f.xcos deleted file mode 100755 index 276e9d6..0000000 --- a/blocks_xcos/CLINDUMMY_f.xcos +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CLKFROM.xcos b/blocks_xcos/CLKFROM.xcos deleted file mode 100755 index 191d104..0000000 --- a/blocks_xcos/CLKFROM.xcos +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/blocks_xcos/CLKGOTO.xcos b/blocks_xcos/CLKGOTO.xcos deleted file mode 100755 index 2e9b622..0000000 --- a/blocks_xcos/CLKGOTO.xcos +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/blocks_xcos/CLKGotoTagVisibility.xcos b/blocks_xcos/CLKGotoTagVisibility.xcos deleted file mode 100755 index be251d1..0000000 --- a/blocks_xcos/CLKGotoTagVisibility.xcos +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CLKINV_f.xcos b/blocks_xcos/CLKINV_f.xcos deleted file mode 100755 index 27db6b6..0000000 --- a/blocks_xcos/CLKINV_f.xcos +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CLKOUTV_f.xcos b/blocks_xcos/CLKOUTV_f.xcos deleted file mode 100755 index 0d1666c..0000000 --- a/blocks_xcos/CLKOUTV_f.xcos +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CLKSOMV_f.xcos b/blocks_xcos/CLKSOMV_f.xcos deleted file mode 100755 index 4bdffa8..0000000 --- a/blocks_xcos/CLKSOMV_f.xcos +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CLOCK_c.xcos b/blocks_xcos/CLOCK_c.xcos deleted file mode 100755 index aebd6c6..0000000 --- a/blocks_xcos/CLOCK_c.xcos +++ /dev/null @@ -1,738 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CLR.xcos b/blocks_xcos/CLR.xcos deleted file mode 100755 index b28e0a5..0000000 --- a/blocks_xcos/CLR.xcos +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CLSS.xcos b/blocks_xcos/CLSS.xcos deleted file mode 100755 index b606d08..0000000 --- a/blocks_xcos/CLSS.xcos +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CMAT3D.xcos b/blocks_xcos/CMAT3D.xcos deleted file mode 100755 index 15fb657..0000000 --- a/blocks_xcos/CMAT3D.xcos +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CMATVIEW.xcos b/blocks_xcos/CMATVIEW.xcos deleted file mode 100755 index 5fbf0f1..0000000 --- a/blocks_xcos/CMATVIEW.xcos +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CMSCOPE.xcos b/blocks_xcos/CMSCOPE.xcos deleted file mode 100755 index f9d6eba..0000000 --- a/blocks_xcos/CMSCOPE.xcos +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CONST.xcos b/blocks_xcos/CONST.xcos deleted file mode 100755 index c014c23..0000000 --- a/blocks_xcos/CONST.xcos +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CONSTRAINT2_c.xcos b/blocks_xcos/CONSTRAINT2_c.xcos deleted file mode 100755 index 9714445..0000000 --- a/blocks_xcos/CONSTRAINT2_c.xcos +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CONSTRAINT_c.xcos b/blocks_xcos/CONSTRAINT_c.xcos deleted file mode 100755 index 20e4158..0000000 --- a/blocks_xcos/CONSTRAINT_c.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CONST_f.xcos b/blocks_xcos/CONST_f.xcos deleted file mode 100755 index 1d98597..0000000 --- a/blocks_xcos/CONST_f.xcos +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CONST_m.xcos b/blocks_xcos/CONST_m.xcos deleted file mode 100755 index 5218346..0000000 --- a/blocks_xcos/CONST_m.xcos +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CONVERT.xcos b/blocks_xcos/CONVERT.xcos deleted file mode 100755 index 1700ce5..0000000 --- a/blocks_xcos/CONVERT.xcos +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/COSBLK_f.xcos b/blocks_xcos/COSBLK_f.xcos deleted file mode 100755 index 89a5b00..0000000 --- a/blocks_xcos/COSBLK_f.xcos +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CSCOPE.xcos b/blocks_xcos/CSCOPE.xcos deleted file mode 100755 index 92ef748..0000000 --- a/blocks_xcos/CSCOPE.xcos +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CSCOPXY.xcos b/blocks_xcos/CSCOPXY.xcos deleted file mode 100755 index faf9c2c..0000000 --- a/blocks_xcos/CSCOPXY.xcos +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CSCOPXY3D.xcos b/blocks_xcos/CSCOPXY3D.xcos deleted file mode 100755 index d01bc08..0000000 --- a/blocks_xcos/CSCOPXY3D.xcos +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CUMSUM.xcos b/blocks_xcos/CUMSUM.xcos deleted file mode 100755 index 8bbada9..0000000 --- a/blocks_xcos/CUMSUM.xcos +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CURV_f.xcos b/blocks_xcos/CURV_f.xcos deleted file mode 100755 index ecd0e3c..0000000 --- a/blocks_xcos/CURV_f.xcos +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CVS.xcos b/blocks_xcos/CVS.xcos deleted file mode 100755 index 3a5275d..0000000 --- a/blocks_xcos/CVS.xcos +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Capacitor.xcos b/blocks_xcos/Capacitor.xcos deleted file mode 100755 index c9d5d23..0000000 --- a/blocks_xcos/Capacitor.xcos +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/ConstantVoltage.xcos b/blocks_xcos/ConstantVoltage.xcos deleted file mode 100755 index 0538708..0000000 --- a/blocks_xcos/ConstantVoltage.xcos +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Counter.xcos b/blocks_xcos/Counter.xcos deleted file mode 100755 index 020a6d9..0000000 --- a/blocks_xcos/Counter.xcos +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/CurrentSensor.xcos b/blocks_xcos/CurrentSensor.xcos deleted file mode 100755 index 990209b..0000000 --- a/blocks_xcos/CurrentSensor.xcos +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DEADBAND.xcos b/blocks_xcos/DEADBAND.xcos deleted file mode 100755 index c5ece68..0000000 --- a/blocks_xcos/DEADBAND.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DEBUG.xcos b/blocks_xcos/DEBUG.xcos deleted file mode 100755 index 980eb09..0000000 --- a/blocks_xcos/DEBUG.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DELAYV_f.xcos b/blocks_xcos/DELAYV_f.xcos deleted file mode 100755 index 33a51bf..0000000 --- a/blocks_xcos/DELAYV_f.xcos +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DELAY_f.xcos b/blocks_xcos/DELAY_f.xcos deleted file mode 100755 index dd2a33f..0000000 --- a/blocks_xcos/DELAY_f.xcos +++ /dev/null @@ -1,1182 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DEMUX.xcos b/blocks_xcos/DEMUX.xcos deleted file mode 100755 index 5afccae..0000000 --- a/blocks_xcos/DEMUX.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DEMUX_f.xcos b/blocks_xcos/DEMUX_f.xcos deleted file mode 100755 index 002f17f..0000000 --- a/blocks_xcos/DEMUX_f.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DERIV.xcos b/blocks_xcos/DERIV.xcos deleted file mode 100755 index b00b937..0000000 --- a/blocks_xcos/DERIV.xcos +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DFLIPFLOP.xcos b/blocks_xcos/DFLIPFLOP.xcos deleted file mode 100755 index 9bdd370..0000000 --- a/blocks_xcos/DFLIPFLOP.xcos +++ /dev/null @@ -1,7807 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DIFF_f.xcos b/blocks_xcos/DIFF_f.xcos deleted file mode 100755 index c8c6665..0000000 --- a/blocks_xcos/DIFF_f.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DLATCH.xcos b/blocks_xcos/DLATCH.xcos deleted file mode 100755 index 3bf0ae0..0000000 --- a/blocks_xcos/DLATCH.xcos +++ /dev/null @@ -1,2262 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DLR.xcos b/blocks_xcos/DLR.xcos deleted file mode 100755 index fff2daf..0000000 --- a/blocks_xcos/DLR.xcos +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DLRADAPT_f.xcos b/blocks_xcos/DLRADAPT_f.xcos deleted file mode 100755 index e0f9379..0000000 --- a/blocks_xcos/DLRADAPT_f.xcos +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DLSS.xcos b/blocks_xcos/DLSS.xcos deleted file mode 100755 index 125fd5c..0000000 --- a/blocks_xcos/DLSS.xcos +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DOLLAR.xcos b/blocks_xcos/DOLLAR.xcos deleted file mode 100755 index 0b73e0b..0000000 --- a/blocks_xcos/DOLLAR.xcos +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DOLLAR_f.xcos b/blocks_xcos/DOLLAR_f.xcos deleted file mode 100755 index eb62713..0000000 --- a/blocks_xcos/DOLLAR_f.xcos +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/DOLLAR_m.xcos b/blocks_xcos/DOLLAR_m.xcos deleted file mode 100755 index caaea09..0000000 --- a/blocks_xcos/DOLLAR_m.xcos +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Diode.xcos b/blocks_xcos/Diode.xcos deleted file mode 100755 index aebd811..0000000 --- a/blocks_xcos/Diode.xcos +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/EDGE_TRIGGER.xcos b/blocks_xcos/EDGE_TRIGGER.xcos deleted file mode 100755 index d62b775..0000000 --- a/blocks_xcos/EDGE_TRIGGER.xcos +++ /dev/null @@ -1,934 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/ENDBLK.xcos b/blocks_xcos/ENDBLK.xcos deleted file mode 100755 index 4f2afa8..0000000 --- a/blocks_xcos/ENDBLK.xcos +++ /dev/null @@ -1,340 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/END_c.xcos b/blocks_xcos/END_c.xcos deleted file mode 100755 index b190241..0000000 --- a/blocks_xcos/END_c.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/ESELECT_f.xcos b/blocks_xcos/ESELECT_f.xcos deleted file mode 100755 index 87a6b14..0000000 --- a/blocks_xcos/ESELECT_f.xcos +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/EVTDLY_c.xcos b/blocks_xcos/EVTDLY_c.xcos deleted file mode 100755 index 5e1ce59..0000000 --- a/blocks_xcos/EVTDLY_c.xcos +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/EVTGEN_f.xcos b/blocks_xcos/EVTGEN_f.xcos deleted file mode 100755 index 8392d4c..0000000 --- a/blocks_xcos/EVTGEN_f.xcos +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/EVTVARDLY.xcos b/blocks_xcos/EVTVARDLY.xcos deleted file mode 100755 index 63f09fe..0000000 --- a/blocks_xcos/EVTVARDLY.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/EXPBLK_m.xcos b/blocks_xcos/EXPBLK_m.xcos deleted file mode 100755 index 134ea3d..0000000 --- a/blocks_xcos/EXPBLK_m.xcos +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/EXPRESSION.xcos b/blocks_xcos/EXPRESSION.xcos deleted file mode 100755 index cee3743..0000000 --- a/blocks_xcos/EXPRESSION.xcos +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/EXTRACT.xcos b/blocks_xcos/EXTRACT.xcos deleted file mode 100755 index 2527ce7..0000000 --- a/blocks_xcos/EXTRACT.xcos +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/EXTRACTBITS.xcos b/blocks_xcos/EXTRACTBITS.xcos deleted file mode 100755 index c8fdf4f..0000000 --- a/blocks_xcos/EXTRACTBITS.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/EXTRACTOR.xcos b/blocks_xcos/EXTRACTOR.xcos deleted file mode 100755 index e150a93..0000000 --- a/blocks_xcos/EXTRACTOR.xcos +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/EXTTRI.xcos b/blocks_xcos/EXTTRI.xcos deleted file mode 100755 index 70653ae..0000000 --- a/blocks_xcos/EXTTRI.xcos +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Extract_Activation.xcos b/blocks_xcos/Extract_Activation.xcos deleted file mode 100755 index 0923ef1..0000000 --- a/blocks_xcos/Extract_Activation.xcos +++ /dev/null @@ -1,950 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/FROM.xcos b/blocks_xcos/FROM.xcos deleted file mode 100755 index daff6fe..0000000 --- a/blocks_xcos/FROM.xcos +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/FROMMO.xcos b/blocks_xcos/FROMMO.xcos deleted file mode 100755 index 848d843..0000000 --- a/blocks_xcos/FROMMO.xcos +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/FROMWSB.xcos b/blocks_xcos/FROMWSB.xcos deleted file mode 100755 index f391969..0000000 --- a/blocks_xcos/FROMWSB.xcos +++ /dev/null @@ -1,571 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Flowmeter.xcos b/blocks_xcos/Flowmeter.xcos deleted file mode 100755 index a9973ff..0000000 --- a/blocks_xcos/Flowmeter.xcos +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/GAINBLK.xcos b/blocks_xcos/GAINBLK.xcos deleted file mode 100755 index 43f921b..0000000 --- a/blocks_xcos/GAINBLK.xcos +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/GAINBLK_f.xcos b/blocks_xcos/GAINBLK_f.xcos deleted file mode 100755 index c2817f8..0000000 --- a/blocks_xcos/GAINBLK_f.xcos +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/GAIN_f.xcos b/blocks_xcos/GAIN_f.xcos deleted file mode 100755 index 046ee69..0000000 --- a/blocks_xcos/GAIN_f.xcos +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/GENERAL_f.xcos b/blocks_xcos/GENERAL_f.xcos deleted file mode 100755 index 0221f32..0000000 --- a/blocks_xcos/GENERAL_f.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/GENSIN_f.xcos b/blocks_xcos/GENSIN_f.xcos deleted file mode 100755 index b4ee5cb..0000000 --- a/blocks_xcos/GENSIN_f.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/GENSQR_f.xcos b/blocks_xcos/GENSQR_f.xcos deleted file mode 100755 index 69ea76e..0000000 --- a/blocks_xcos/GENSQR_f.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/GOTO.xcos b/blocks_xcos/GOTO.xcos deleted file mode 100755 index a8f787c..0000000 --- a/blocks_xcos/GOTO.xcos +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/GOTOMO.xcos b/blocks_xcos/GOTOMO.xcos deleted file mode 100755 index c90c5f9..0000000 --- a/blocks_xcos/GOTOMO.xcos +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/GotoTagVisibility.xcos b/blocks_xcos/GotoTagVisibility.xcos deleted file mode 100755 index d75ad16..0000000 --- a/blocks_xcos/GotoTagVisibility.xcos +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/GotoTagVisibilityMO.xcos b/blocks_xcos/GotoTagVisibilityMO.xcos deleted file mode 100755 index 6898ed6..0000000 --- a/blocks_xcos/GotoTagVisibilityMO.xcos +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Ground.xcos b/blocks_xcos/Ground.xcos deleted file mode 100755 index 1bc7586..0000000 --- a/blocks_xcos/Ground.xcos +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Gyrator.xcos b/blocks_xcos/Gyrator.xcos deleted file mode 100755 index 774909d..0000000 --- a/blocks_xcos/Gyrator.xcos +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/HALT_f.xcos b/blocks_xcos/HALT_f.xcos deleted file mode 100755 index 1452cff..0000000 --- a/blocks_xcos/HALT_f.xcos +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/HYSTHERESIS.xcos b/blocks_xcos/HYSTHERESIS.xcos deleted file mode 100755 index 8d30a89..0000000 --- a/blocks_xcos/HYSTHERESIS.xcos +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/IFTHEL_f.xcos b/blocks_xcos/IFTHEL_f.xcos deleted file mode 100755 index 894d211..0000000 --- a/blocks_xcos/IFTHEL_f.xcos +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/INIMPL_f.xcos b/blocks_xcos/INIMPL_f.xcos deleted file mode 100755 index 9e560c1..0000000 --- a/blocks_xcos/INIMPL_f.xcos +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/INTEGRAL_f.xcos b/blocks_xcos/INTEGRAL_f.xcos deleted file mode 100755 index 30bc24e..0000000 --- a/blocks_xcos/INTEGRAL_f.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/INTEGRAL_m.xcos b/blocks_xcos/INTEGRAL_m.xcos deleted file mode 100755 index 7facf10..0000000 --- a/blocks_xcos/INTEGRAL_m.xcos +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/INTMUL.xcos b/blocks_xcos/INTMUL.xcos deleted file mode 100755 index 0bff20e..0000000 --- a/blocks_xcos/INTMUL.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/INTRP2BLK_f.xcos b/blocks_xcos/INTRP2BLK_f.xcos deleted file mode 100755 index f9242c2..0000000 --- a/blocks_xcos/INTRP2BLK_f.xcos +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/INTRPLBLK_f.xcos b/blocks_xcos/INTRPLBLK_f.xcos deleted file mode 100755 index e7b1f49..0000000 --- a/blocks_xcos/INTRPLBLK_f.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/INVBLK.xcos b/blocks_xcos/INVBLK.xcos deleted file mode 100755 index fc95e77..0000000 --- a/blocks_xcos/INVBLK.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/IN_f.xcos b/blocks_xcos/IN_f.xcos deleted file mode 100755 index 8373d82..0000000 --- a/blocks_xcos/IN_f.xcos +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/ISELECT_m.xcos b/blocks_xcos/ISELECT_m.xcos deleted file mode 100755 index 51aa0c8..0000000 --- a/blocks_xcos/ISELECT_m.xcos +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/IdealTransformer.xcos b/blocks_xcos/IdealTransformer.xcos deleted file mode 100755 index 01e17f1..0000000 --- a/blocks_xcos/IdealTransformer.xcos +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Inductor.xcos b/blocks_xcos/Inductor.xcos deleted file mode 100755 index 96a9d52..0000000 --- a/blocks_xcos/Inductor.xcos +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/JKFLIPFLOP.xcos b/blocks_xcos/JKFLIPFLOP.xcos deleted file mode 100755 index 54245ca..0000000 --- a/blocks_xcos/JKFLIPFLOP.xcos +++ /dev/null @@ -1,3446 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/LOGBLK_f.xcos b/blocks_xcos/LOGBLK_f.xcos deleted file mode 100755 index ef2c3d2..0000000 --- a/blocks_xcos/LOGBLK_f.xcos +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/LOGIC.xcos b/blocks_xcos/LOGIC.xcos deleted file mode 100755 index bc40ec5..0000000 --- a/blocks_xcos/LOGIC.xcos +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/LOGICAL_OP.xcos b/blocks_xcos/LOGICAL_OP.xcos deleted file mode 100755 index 76d9f8c..0000000 --- a/blocks_xcos/LOGICAL_OP.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/LOOKUP_f.xcos b/blocks_xcos/LOOKUP_f.xcos deleted file mode 100755 index 57aa5ad..0000000 --- a/blocks_xcos/LOOKUP_f.xcos +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATBKSL.xcos b/blocks_xcos/MATBKSL.xcos deleted file mode 100755 index b081c81..0000000 --- a/blocks_xcos/MATBKSL.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATCATH.xcos b/blocks_xcos/MATCATH.xcos deleted file mode 100755 index 0cf49ef..0000000 --- a/blocks_xcos/MATCATH.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATCATV.xcos b/blocks_xcos/MATCATV.xcos deleted file mode 100755 index 8e0a2ee..0000000 --- a/blocks_xcos/MATCATV.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATDET.xcos b/blocks_xcos/MATDET.xcos deleted file mode 100755 index 447c8b6..0000000 --- a/blocks_xcos/MATDET.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATDIAG.xcos b/blocks_xcos/MATDIAG.xcos deleted file mode 100755 index ce702af..0000000 --- a/blocks_xcos/MATDIAG.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATDIV.xcos b/blocks_xcos/MATDIV.xcos deleted file mode 100755 index f5f0186..0000000 --- a/blocks_xcos/MATDIV.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATEIG.xcos b/blocks_xcos/MATEIG.xcos deleted file mode 100755 index 21ab40d..0000000 --- a/blocks_xcos/MATEIG.xcos +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATEXPM.xcos b/blocks_xcos/MATEXPM.xcos deleted file mode 100755 index f03c205..0000000 --- a/blocks_xcos/MATEXPM.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATINV.xcos b/blocks_xcos/MATINV.xcos deleted file mode 100755 index f6c6fa5..0000000 --- a/blocks_xcos/MATINV.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATLU.xcos b/blocks_xcos/MATLU.xcos deleted file mode 100755 index 5f1dc60..0000000 --- a/blocks_xcos/MATLU.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATMAGPHI.xcos b/blocks_xcos/MATMAGPHI.xcos deleted file mode 100755 index 62af843..0000000 --- a/blocks_xcos/MATMAGPHI.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATMUL.xcos b/blocks_xcos/MATMUL.xcos deleted file mode 100755 index 5f0b2eb..0000000 --- a/blocks_xcos/MATMUL.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATPINV.xcos b/blocks_xcos/MATPINV.xcos deleted file mode 100755 index c175efe..0000000 --- a/blocks_xcos/MATPINV.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATRESH.xcos b/blocks_xcos/MATRESH.xcos deleted file mode 100755 index 0b51257..0000000 --- a/blocks_xcos/MATRESH.xcos +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATSING.xcos b/blocks_xcos/MATSING.xcos deleted file mode 100755 index 7dd786d..0000000 --- a/blocks_xcos/MATSING.xcos +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATSUM.xcos b/blocks_xcos/MATSUM.xcos deleted file mode 100755 index 8d15b9c..0000000 --- a/blocks_xcos/MATSUM.xcos +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATTRAN.xcos b/blocks_xcos/MATTRAN.xcos deleted file mode 100755 index 64e5df3..0000000 --- a/blocks_xcos/MATTRAN.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATZCONJ.xcos b/blocks_xcos/MATZCONJ.xcos deleted file mode 100755 index b31006f..0000000 --- a/blocks_xcos/MATZCONJ.xcos +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MATZREIM.xcos b/blocks_xcos/MATZREIM.xcos deleted file mode 100755 index e984d49..0000000 --- a/blocks_xcos/MATZREIM.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MAXMIN.xcos b/blocks_xcos/MAXMIN.xcos deleted file mode 100755 index 3652677..0000000 --- a/blocks_xcos/MAXMIN.xcos +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MAX_f.xcos b/blocks_xcos/MAX_f.xcos deleted file mode 100755 index d89b665..0000000 --- a/blocks_xcos/MAX_f.xcos +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MBLOCK.xcos b/blocks_xcos/MBLOCK.xcos deleted file mode 100755 index 651e9c7..0000000 --- a/blocks_xcos/MBLOCK.xcos +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MCLOCK_f.xcos b/blocks_xcos/MCLOCK_f.xcos deleted file mode 100755 index 9bc2366..0000000 --- a/blocks_xcos/MCLOCK_f.xcos +++ /dev/null @@ -1,1389 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MFCLCK_f.xcos b/blocks_xcos/MFCLCK_f.xcos deleted file mode 100755 index fb43aa1..0000000 --- a/blocks_xcos/MFCLCK_f.xcos +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MIN_f.xcos b/blocks_xcos/MIN_f.xcos deleted file mode 100755 index 5846c1e..0000000 --- a/blocks_xcos/MIN_f.xcos +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MUX.xcos b/blocks_xcos/MUX.xcos deleted file mode 100755 index 396cf23..0000000 --- a/blocks_xcos/MUX.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/MUX_f.xcos b/blocks_xcos/MUX_f.xcos deleted file mode 100755 index 2bc295f..0000000 --- a/blocks_xcos/MUX_f.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/M_SWITCH.xcos b/blocks_xcos/M_SWITCH.xcos deleted file mode 100755 index c22349d..0000000 --- a/blocks_xcos/M_SWITCH.xcos +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/M_freq.xcos b/blocks_xcos/M_freq.xcos deleted file mode 100755 index f2d8368..0000000 --- a/blocks_xcos/M_freq.xcos +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Modulo_Count.xcos b/blocks_xcos/Modulo_Count.xcos deleted file mode 100755 index 5c99ee3..0000000 --- a/blocks_xcos/Modulo_Count.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/NEGTOPOS_f.xcos b/blocks_xcos/NEGTOPOS_f.xcos deleted file mode 100755 index f8c5072..0000000 --- a/blocks_xcos/NEGTOPOS_f.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/NMOS.xcos b/blocks_xcos/NMOS.xcos deleted file mode 100755 index 0016973..0000000 --- a/blocks_xcos/NMOS.xcos +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/NPN.xcos b/blocks_xcos/NPN.xcos deleted file mode 100755 index 8b1b964..0000000 --- a/blocks_xcos/NPN.xcos +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/NRMSOM_f.xcos b/blocks_xcos/NRMSOM_f.xcos deleted file mode 100755 index 9ecaea3..0000000 --- a/blocks_xcos/NRMSOM_f.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/OUTIMPL_f.xcos b/blocks_xcos/OUTIMPL_f.xcos deleted file mode 100755 index 0a221a4..0000000 --- a/blocks_xcos/OUTIMPL_f.xcos +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/OUT_f.xcos b/blocks_xcos/OUT_f.xcos deleted file mode 100755 index 5190490..0000000 --- a/blocks_xcos/OUT_f.xcos +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/OpAmp.xcos b/blocks_xcos/OpAmp.xcos deleted file mode 100755 index 31de573..0000000 --- a/blocks_xcos/OpAmp.xcos +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/PDE.xcos b/blocks_xcos/PDE.xcos deleted file mode 100755 index 897a6ce..0000000 --- a/blocks_xcos/PDE.xcos +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/PID.xcos b/blocks_xcos/PID.xcos deleted file mode 100755 index c7cfc69..0000000 --- a/blocks_xcos/PID.xcos +++ /dev/null @@ -1,2403 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/PMOS.xcos b/blocks_xcos/PMOS.xcos deleted file mode 100755 index c7ba939..0000000 --- a/blocks_xcos/PMOS.xcos +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/PNP.xcos b/blocks_xcos/PNP.xcos deleted file mode 100755 index 4722414..0000000 --- a/blocks_xcos/PNP.xcos +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/POSTONEG_f.xcos b/blocks_xcos/POSTONEG_f.xcos deleted file mode 100755 index 415d258..0000000 --- a/blocks_xcos/POSTONEG_f.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/POWBLK_f.xcos b/blocks_xcos/POWBLK_f.xcos deleted file mode 100755 index 6d01b91..0000000 --- a/blocks_xcos/POWBLK_f.xcos +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/PRODUCT.xcos b/blocks_xcos/PRODUCT.xcos deleted file mode 100755 index 8bf5d1a..0000000 --- a/blocks_xcos/PRODUCT.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/PROD_f.xcos b/blocks_xcos/PROD_f.xcos deleted file mode 100755 index 1d1c91e..0000000 --- a/blocks_xcos/PROD_f.xcos +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/PULSE_SC.xcos b/blocks_xcos/PULSE_SC.xcos deleted file mode 100755 index c3bf9ef..0000000 --- a/blocks_xcos/PULSE_SC.xcos +++ /dev/null @@ -1,1370 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/PerteDP.xcos b/blocks_xcos/PerteDP.xcos deleted file mode 100755 index 9ad675d..0000000 --- a/blocks_xcos/PerteDP.xcos +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/PotentialSensor.xcos b/blocks_xcos/PotentialSensor.xcos deleted file mode 100755 index 1b07ac3..0000000 --- a/blocks_xcos/PotentialSensor.xcos +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/PuitsP.xcos b/blocks_xcos/PuitsP.xcos deleted file mode 100755 index 89d2b51..0000000 --- a/blocks_xcos/PuitsP.xcos +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/QUANT_f.xcos b/blocks_xcos/QUANT_f.xcos deleted file mode 100755 index 590cf48..0000000 --- a/blocks_xcos/QUANT_f.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/RAMP.xcos b/blocks_xcos/RAMP.xcos deleted file mode 100755 index c79760c..0000000 --- a/blocks_xcos/RAMP.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/RAND_m.xcos b/blocks_xcos/RAND_m.xcos deleted file mode 100755 index 85aee60..0000000 --- a/blocks_xcos/RAND_m.xcos +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/RATELIMITER.xcos b/blocks_xcos/RATELIMITER.xcos deleted file mode 100755 index 3246f1c..0000000 --- a/blocks_xcos/RATELIMITER.xcos +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/READAU_f.xcos b/blocks_xcos/READAU_f.xcos deleted file mode 100755 index 187c3ac..0000000 --- a/blocks_xcos/READAU_f.xcos +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/READC_f.xcos b/blocks_xcos/READC_f.xcos deleted file mode 100755 index efc1ec7..0000000 --- a/blocks_xcos/READC_f.xcos +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/REGISTER.xcos b/blocks_xcos/REGISTER.xcos deleted file mode 100755 index 9fe8ec4..0000000 --- a/blocks_xcos/REGISTER.xcos +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/RELATIONALOP.xcos b/blocks_xcos/RELATIONALOP.xcos deleted file mode 100755 index 5b6e98c..0000000 --- a/blocks_xcos/RELATIONALOP.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/RELAY_f.xcos b/blocks_xcos/RELAY_f.xcos deleted file mode 100755 index d47fc92..0000000 --- a/blocks_xcos/RELAY_f.xcos +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/RFILE_f.xcos b/blocks_xcos/RFILE_f.xcos deleted file mode 100755 index dd332c8..0000000 --- a/blocks_xcos/RFILE_f.xcos +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/RICC.xcos b/blocks_xcos/RICC.xcos deleted file mode 100755 index 96f099a..0000000 --- a/blocks_xcos/RICC.xcos +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/ROOTCOEF.xcos b/blocks_xcos/ROOTCOEF.xcos deleted file mode 100755 index 2b758f1..0000000 --- a/blocks_xcos/ROOTCOEF.xcos +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Resistor.xcos b/blocks_xcos/Resistor.xcos deleted file mode 100755 index 7a6316d..0000000 --- a/blocks_xcos/Resistor.xcos +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SAMPHOLD_m.xcos b/blocks_xcos/SAMPHOLD_m.xcos deleted file mode 100755 index 2ade678..0000000 --- a/blocks_xcos/SAMPHOLD_m.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SATURATION.xcos b/blocks_xcos/SATURATION.xcos deleted file mode 100755 index 8875612..0000000 --- a/blocks_xcos/SATURATION.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SAWTOOTH_f.xcos b/blocks_xcos/SAWTOOTH_f.xcos deleted file mode 100755 index f896b58..0000000 --- a/blocks_xcos/SAWTOOTH_f.xcos +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SCALAR2VECTOR.xcos b/blocks_xcos/SCALAR2VECTOR.xcos deleted file mode 100755 index fa04f71..0000000 --- a/blocks_xcos/SCALAR2VECTOR.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SELECT_m.xcos b/blocks_xcos/SELECT_m.xcos deleted file mode 100755 index 900a228..0000000 --- a/blocks_xcos/SELECT_m.xcos +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SELF_SWITCH.xcos b/blocks_xcos/SELF_SWITCH.xcos deleted file mode 100755 index b169105..0000000 --- a/blocks_xcos/SELF_SWITCH.xcos +++ /dev/null @@ -1,946 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SHIFT.xcos b/blocks_xcos/SHIFT.xcos deleted file mode 100755 index a3db871..0000000 --- a/blocks_xcos/SHIFT.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SIGNUM.xcos b/blocks_xcos/SIGNUM.xcos deleted file mode 100755 index 05fe019..0000000 --- a/blocks_xcos/SIGNUM.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SINBLK_f.xcos b/blocks_xcos/SINBLK_f.xcos deleted file mode 100755 index fafb5ae..0000000 --- a/blocks_xcos/SINBLK_f.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SOM_f.xcos b/blocks_xcos/SOM_f.xcos deleted file mode 100755 index 06852e8..0000000 --- a/blocks_xcos/SOM_f.xcos +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SQRT.xcos b/blocks_xcos/SQRT.xcos deleted file mode 100755 index 05a31c2..0000000 --- a/blocks_xcos/SQRT.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SRFLIPFLOP.xcos b/blocks_xcos/SRFLIPFLOP.xcos deleted file mode 100755 index 099bc34..0000000 --- a/blocks_xcos/SRFLIPFLOP.xcos +++ /dev/null @@ -1,1681 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/STEP_FUNCTION.xcos b/blocks_xcos/STEP_FUNCTION.xcos deleted file mode 100755 index 049a3c9..0000000 --- a/blocks_xcos/STEP_FUNCTION.xcos +++ /dev/null @@ -1,1118 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SUBMAT.xcos b/blocks_xcos/SUBMAT.xcos deleted file mode 100755 index 67e00c5..0000000 --- a/blocks_xcos/SUBMAT.xcos +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SUMMATION.xcos b/blocks_xcos/SUMMATION.xcos deleted file mode 100755 index 3d966eb..0000000 --- a/blocks_xcos/SUMMATION.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SUM_f.xcos b/blocks_xcos/SUM_f.xcos deleted file mode 100755 index 3333c9d..0000000 --- a/blocks_xcos/SUM_f.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SUPER_f.xcos b/blocks_xcos/SUPER_f.xcos deleted file mode 100755 index 9cc0734..0000000 --- a/blocks_xcos/SUPER_f.xcos +++ /dev/null @@ -1,493 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SWITCH2_m.xcos b/blocks_xcos/SWITCH2_m.xcos deleted file mode 100755 index ad8c3ee..0000000 --- a/blocks_xcos/SWITCH2_m.xcos +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SWITCH_f.xcos b/blocks_xcos/SWITCH_f.xcos deleted file mode 100755 index 28c2409..0000000 --- a/blocks_xcos/SWITCH_f.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SampleCLK.xcos b/blocks_xcos/SampleCLK.xcos deleted file mode 100755 index 3365aae..0000000 --- a/blocks_xcos/SampleCLK.xcos +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Sigbuilder.xcos b/blocks_xcos/Sigbuilder.xcos deleted file mode 100755 index b618450..0000000 --- a/blocks_xcos/Sigbuilder.xcos +++ /dev/null @@ -1,992 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SineVoltage.xcos b/blocks_xcos/SineVoltage.xcos deleted file mode 100755 index 39edb97..0000000 --- a/blocks_xcos/SineVoltage.xcos +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/SourceP.xcos b/blocks_xcos/SourceP.xcos deleted file mode 100755 index de0932e..0000000 --- a/blocks_xcos/SourceP.xcos +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/Switch.xcos b/blocks_xcos/Switch.xcos deleted file mode 100755 index 8f1eebb..0000000 --- a/blocks_xcos/Switch.xcos +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/TANBLK_f.xcos b/blocks_xcos/TANBLK_f.xcos deleted file mode 100755 index 1d38569..0000000 --- a/blocks_xcos/TANBLK_f.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/TCLSS.xcos b/blocks_xcos/TCLSS.xcos deleted file mode 100755 index 6112f7e..0000000 --- a/blocks_xcos/TCLSS.xcos +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/TEXT_f.xcos b/blocks_xcos/TEXT_f.xcos deleted file mode 100755 index bda263d..0000000 --- a/blocks_xcos/TEXT_f.xcos +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/TIME_DELAY.xcos b/blocks_xcos/TIME_DELAY.xcos deleted file mode 100755 index f76c91a..0000000 --- a/blocks_xcos/TIME_DELAY.xcos +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/TIME_f.xcos b/blocks_xcos/TIME_f.xcos deleted file mode 100755 index 5ccba49..0000000 --- a/blocks_xcos/TIME_f.xcos +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/TKSCALE.xcos b/blocks_xcos/TKSCALE.xcos deleted file mode 100755 index e26401b..0000000 --- a/blocks_xcos/TKSCALE.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/TOWS_c.xcos b/blocks_xcos/TOWS_c.xcos deleted file mode 100755 index 50e5a80..0000000 --- a/blocks_xcos/TOWS_c.xcos +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/TRASH_f.xcos b/blocks_xcos/TRASH_f.xcos deleted file mode 100755 index 9089c92..0000000 --- a/blocks_xcos/TRASH_f.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/TrigFun.xcos b/blocks_xcos/TrigFun.xcos deleted file mode 100755 index b07db1c..0000000 --- a/blocks_xcos/TrigFun.xcos +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/VARIABLE_DELAY.xcos b/blocks_xcos/VARIABLE_DELAY.xcos deleted file mode 100755 index 1fc7a62..0000000 --- a/blocks_xcos/VARIABLE_DELAY.xcos +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/VVsourceAC.xcos b/blocks_xcos/VVsourceAC.xcos deleted file mode 100755 index ca01231..0000000 --- a/blocks_xcos/VVsourceAC.xcos +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/VanneReglante.xcos b/blocks_xcos/VanneReglante.xcos deleted file mode 100755 index 376e26b..0000000 --- a/blocks_xcos/VanneReglante.xcos +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/VariableResistor.xcos b/blocks_xcos/VariableResistor.xcos deleted file mode 100755 index 0ab3590..0000000 --- a/blocks_xcos/VariableResistor.xcos +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/VirtualCLK0.xcos b/blocks_xcos/VirtualCLK0.xcos deleted file mode 100755 index 0109a7b..0000000 --- a/blocks_xcos/VirtualCLK0.xcos +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/VoltageSensor.xcos b/blocks_xcos/VoltageSensor.xcos deleted file mode 100755 index 589c64d..0000000 --- a/blocks_xcos/VoltageSensor.xcos +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/VsourceAC.xcos b/blocks_xcos/VsourceAC.xcos deleted file mode 100755 index aa80c9f..0000000 --- a/blocks_xcos/VsourceAC.xcos +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/WFILE_f.xcos b/blocks_xcos/WFILE_f.xcos deleted file mode 100755 index 194b80e..0000000 --- a/blocks_xcos/WFILE_f.xcos +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/WRITEAU_f.xcos b/blocks_xcos/WRITEAU_f.xcos deleted file mode 100755 index 9cdac50..0000000 --- a/blocks_xcos/WRITEAU_f.xcos +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/WRITEC_f.xcos b/blocks_xcos/WRITEC_f.xcos deleted file mode 100755 index 8c51f74..0000000 --- a/blocks_xcos/WRITEC_f.xcos +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/ZCROSS_f.xcos b/blocks_xcos/ZCROSS_f.xcos deleted file mode 100755 index 038ca84..0000000 --- a/blocks_xcos/ZCROSS_f.xcos +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/c_block.xcos b/blocks_xcos/c_block.xcos deleted file mode 100755 index 4a4b5e0..0000000 --- a/blocks_xcos/c_block.xcos +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/blocks_xcos/fortran_block.xcos b/blocks_xcos/fortran_block.xcos deleted file mode 100755 index 0bc4378..0000000 --- a/blocks_xcos/fortran_block.xcos +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/freq_div.xcos b/blocks_xcos/freq_div.xcos deleted file mode 100755 index 0786de2..0000000 --- a/blocks_xcos/freq_div.xcos +++ /dev/null @@ -1,1165 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/generic_block3.xcos b/blocks_xcos/generic_block3.xcos deleted file mode 100755 index 8261839..0000000 --- a/blocks_xcos/generic_block3.xcos +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/blocks_xcos/scifunc_block_m.xcos b/blocks_xcos/scifunc_block_m.xcos deleted file mode 100755 index dad27ff..0000000 --- a/blocks_xcos/scifunc_block_m.xcos +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/combined.js b/combined.js index ccecc33..e309e8f 100644 --- a/combined.js +++ b/combined.js @@ -1473,6 +1473,25 @@ function CONST_m() { this.x.graphics.exprs = new ScilabString([sci2exp(this.c)]); return new BasicBlock(this.x); } + CONST_m.prototype.internal = function CONST_m() { + this.c = [1]; + var model = new scicos_model(); + model.sim = list(new ScilabString(["cstblk4"]), new ScilabDouble([4])); + model.in = new ScilabDouble(); + model.out = new ScilabDouble([this.c.length]); + model.in2 = new ScilabDouble(); + model.out2 = new ScilabDouble([this.c.length]); + model.rpar = new ScilabDouble(this.c); + model.opar = list(); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false, false]); + + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"CONST_m\",sz(1),sz(2));"]); + var exprs = new ScilabString([sci2exp(this.c)]); + var block = new standard_define(new ScilabDouble([80, 80]), model, exprs, gr_i); // 1 -> 80 + block.graphics.style = new ScilabString(["CONST_m"]); + return block; + } CONST_m.prototype.define = function CONST_m() { this.c = [1]; var model = new scicos_model(); @@ -9428,6 +9447,36 @@ function SELECT_m() { } } +function SELF_SWITCH() { + + SELF_SWITCH.prototype.define = function SELF_SWITCH() { + this.stateOpen = true; + + this.x = scicos_block(); + this.x.gui = new ScilabString(["SELF_SWITCH"]); + this.x.graphics.sz = new ScilabDouble([2, 2]); + this.x.graphics.gr_i = new ScilabDouble(); + this.x.graphics.pin = new ScilabDouble([0]); + this.x.graphics.pout = new ScilabDouble([0]); + this.x.model.sim = new ScilabString(["csuper"]); + this.x.model.in = new ScilabDouble([1]); + this.x.model.out = new ScilabDouble([1]); + this.x.model.blocktype = new ScilabString(["h"]); + this.x.model.dep_ut = new ScilabBoolean([false, false]); + this.x.model.rpar = genSwitchInnerDiagram(this.stateOpen); + this.x.model.opar = list(new ScilabBoolean([this.stateOpen])); + this.x.graphics.in_implicit = new ScilabString(["E"]); + this.x.graphics.in_style = new ScilabString([""]); + this.x.graphics.out_implicit = new ScilabString(["E"]); + this.x.graphics.out_style = new ScilabString([""]); + this.x.graphics.style = new ScilabString(["SELF_SWITCH;SELF_SWITCH_OFF"]); + return new BasicBlock(this.x); + } + + SELF_SWITCH.prototype.details = function SELF_SWITCH() { + return this.x; + } +} function SHIFT() { SHIFT.prototype.define = function SHIFT() { @@ -10644,6 +10693,27 @@ function SWITCH_f() { this.x = new standard_define(new ScilabDouble([2, 2]), model, exprs, gr_i); return new BasicBlock(this.x); } + + SWITCH_f.prototype.internal = function SWITCH_f() { + this.i0 = 0; + this.in1 = [[-1],[-1]]; + this.nin = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["switchn"]),new ScilabDouble([2])); + model.in=new ScilabDouble(...this.in1); + model.out = new ScilabDouble([-1]); + model.ipar=new ScilabDouble([this.i0]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,true]); + + var exprs = new ScilabString([this.nin],[this.i0+1]); + + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SWITCH_f\",sz(1),sz(2));"]); + var block=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return block; + } SWITCH_f.prototype.details = function SWITCH_f() { return this.x; diff --git a/data_structures/ABS_VALUE.js b/data_structures/ABS_VALUE.js deleted file mode 100644 index ef569e9..0000000 --- a/data_structures/ABS_VALUE.js +++ /dev/null @@ -1,20 +0,0 @@ -function ABS_VALUE () { - - - var nu = -1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["absolute_value"]),new ScilabDouble([4])); - model.in1.push(new ScilabDouble([nu])); - model.out=new ScilabDouble([nu]); - model.nzcross=new ScilabDouble([nu]); - model.nmode=new ScilabDouble([nu]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [string([1])]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/AFFICH_m.js b/data_structures/AFFICH_m.js deleted file mode 100644 index ff0b180..0000000 --- a/data_structures/AFFICH_m.js +++ /dev/null @@ -1,33 +0,0 @@ -function AFFICH_m () { - - - var font = 1; - - var fontsize = 1; - - var colr = 1; - - var nt = 5; - - var nd = 1; - - var in1 = [1,1]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["affich2"]),new ScilabDouble([4])); - model.in1.push(in1(1,1)); - model.in2.push(in1(1,2)); - model.evtin = new ScilabDouble([1]); - model.dstate = new ScilabDouble([-1],[0],[0],[1],[1],[0],[zeros(in1(1,1)*in1(1,2),1)]); - model.ipar = new ScilabDouble([font],[fontsize],[colr],[1000],[nt],[nd],[in1(1,1)]); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - model.label = new ScilabString([""]); - - var exprs = [[,sci2exp([model.in1,model.in2])],[string(font)],[string(fontsize)],[string(colr)],[string(nt)],[string(nd)],[string(0),]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new AfficheBlock(this.x) -} diff --git a/data_structures/ANDBLK.js b/data_structures/ANDBLK.js deleted file mode 100644 index 6d88e54..0000000 --- a/data_structures/ANDBLK.js +++ /dev/null @@ -1,75 +0,0 @@ -function ANDBLK () { - - - var andlog = ANDLOG_f("define"); - andlog.graphics.orig = new ScilabDouble([194,133]); - andlog.graphics.sz = new ScilabDouble([60,60]); - andlog.graphics.flip = new ScilabBoolean([true]); - andlog.graphics.pout = new ScilabDouble([9]); - andlog.graphics.pein = new ScilabDouble([4],[11]); - - var input_port1 = CLKIN_f("define"); - input_port1.graphics.orig = new ScilabDouble([149,287]); - input_port1.graphics.sz = new ScilabDouble([20,20]); - input_port1.graphics.flip = new ScilabBoolean([true]); - input_port1.graphics.exprs = new ScilabString(["1"]); - input_port1.graphics.peout = new ScilabDouble([4]); - input_port1.model.ipar = new ScilabDouble([1]); - - var output_port = CLKOUT_f("define"); - output_port.graphics.orig = new ScilabDouble([450,83]); - output_port.graphics.sz = new ScilabDouble([20,20]); - output_port.graphics.flip = new ScilabBoolean([true]); - output_port.graphics.exprs = new ScilabString(["1"]); - output_port.graphics.pein = new ScilabDouble([8]); - output_port.model.ipar = new ScilabDouble([1]); - - var input_port2 = CLKIN_f("define"); - input_port2.graphics.orig = new ScilabDouble([141,330]); - input_port2.graphics.sz = new ScilabDouble([20,20]); - input_port2.graphics.flip = new ScilabBoolean([true]); - input_port2.graphics.exprs = new ScilabString(["2"]); - input_port2.graphics.peout = new ScilabDouble([6]); - input_port2.model.ipar = new ScilabDouble([2]); - - var ifthel = IFTHEL_f("define"); - ifthel.graphics.orig = new ScilabDouble([331,137]); - ifthel.graphics.sz = new ScilabDouble([60,60]); - ifthel.graphics.flip = new ScilabBoolean([true]); - ifthel.graphics.pin = new ScilabDouble([9]); - ifthel.graphics.pein = new ScilabDouble([12]); - ifthel.graphics.peout = new ScilabDouble([8],[0]); - - var split = CLKSPLIT_f("define"); - split.graphics.orig = new ScilabDouble([234],[275.78348]); - split.graphics.pein = new ScilabDouble([6]); - split.graphics.peout = new ScilabDouble([11],[12]); - - var diagram = scicos_diagram(); - diagram.objs.push(andlog); - diagram.objs.push(input_port1); - diagram.objs.push(output_port); - diagram.objs.push(scicos_link({xx: new ScilabDouble([169],[214],[214]),yy: new ScilabDouble([297],[297],[198.71]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1]),to: new ScilabDouble([1,1])})); - diagram.objs.push(input_port2); - diagram.objs.push(scicos_link({xx: new ScilabDouble([161],[234],[234]),yy: new ScilabDouble([340],[340],[275.78]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([5,1]),to: new ScilabDouble([10,1])})); - diagram.objs.push(ifthel); - diagram.objs.push(scicos_link({xx: new ScilabDouble([351],[351],[450]),yy: new ScilabDouble([131.29],[93],[93]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([7,1]),to: new ScilabDouble([3,1])})); - diagram.objs.push(scicos_link({xx: new ScilabDouble([262.57],[322.43]),yy: new ScilabDouble([163],[167]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1]),to: new ScilabDouble([7,1])})); - diagram.objs.push(split); - diagram.objs.push(scicos_link({xx: new ScilabDouble([234],[234]),yy: new ScilabDouble([275.78],[198.71]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([10,1]),to: new ScilabDouble([1,2])})); - diagram.objs.push(scicos_link({xx: new ScilabDouble([234],[361],[361]),yy: new ScilabDouble([275.78],[275.78],[202.71]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([10,2]),to: new ScilabDouble([7,1])})); - this.x=scicos_block(); - this.x.gui = new ScilabString(["ANDBLK"]); - this.x.graphics.sz = new ScilabDouble([2,2]); - this.x.graphics.gr_i = new ScilabDouble(); - this.x.graphics.pein = new ScilabDouble([0],[0]); - this.x.graphics.peout = new ScilabDouble([0]); - this.x.model.sim = new ScilabString(["csuper"]); - this.x.model.evtin = new ScilabDouble([1],[1]); - this.x.model.evtout = new ScilabDouble([1]); - this.x.model.blocktype = new ScilabString(["h"]); - this.x.model.firing = new ScilabBoolean([false]); - this.x.model.dep_ut = new ScilabBoolean([false,false]); - this.x.model.rpar=diagram; - return new BasicBlock(this.x) -} diff --git a/data_structures/ANDLOG_f.js b/data_structures/ANDLOG_f.js deleted file mode 100644 index b94c240..0000000 --- a/data_structures/ANDLOG_f.js +++ /dev/null @@ -1,15 +0,0 @@ -function ANDLOG_f () { - - - var model = scicos_model(); - model.sim = new ScilabString(["andlog"]); - model.out = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1],[1]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([false,false]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,3]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/AUTOMAT.js b/data_structures/AUTOMAT.js deleted file mode 100644 index 3ceda51..0000000 --- a/data_structures/AUTOMAT.js +++ /dev/null @@ -1,40 +0,0 @@ -function AUTOMAT () { - - - var NMode = 2; - - var Minitial = 1; - - var NX = 1; - - var X0 = [0.0]; - - var XP = [[1],[1]]; - - var C1 = [2]; - - var C2 = [1]; - - var exprs = [[string(NMode)],[string(Minitial)],[string(NX)],[sci2exp(X0)],[sci2exp(XP)],[sci2exp(C1)],[sci2exp(C2)]]; - - var ipar = [[NMode],[Minitial],[NX],[XP],[C1],[C2]]; - - var rpar = [X0]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["automat"]),new ScilabDouble([10004])); - model.in1 = new ScilabDouble([2*NX+1],[2*NX+1]); - model.out = new ScilabDouble([2],[2*NX]); - model.state=ones(2*NX,1); - model.nzcross = new ScilabDouble([1]); - model.blocktype = new ScilabString(["c"]); - model.evtout = new ScilabDouble([1]); - model.firing = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([false,true]); - model.ipar=ipar; - model.rpar=rpar; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/BACKLASH.js b/data_structures/BACKLASH.js deleted file mode 100644 index d407fd7..0000000 --- a/data_structures/BACKLASH.js +++ /dev/null @@ -1,18 +0,0 @@ -function BACKLASH () { - - - var exprs = ["0";"1";"1"]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["backlash"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.rpar = new ScilabDouble([0],[1]); - model.nzcross = new ScilabDouble([2]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/BARXY.js b/data_structures/BARXY.js deleted file mode 100644 index 5c3cb6a..0000000 --- a/data_structures/BARXY.js +++ /dev/null @@ -1,27 +0,0 @@ -function BARXY () { - - - var model = scicos_model(); - - var xmin = -15; - - var xmax = 15; - - var ymin = -15; - - var ymax = 15; - model.sim=list(new ScilabString(["BARXY_sim"]),,new ScilabDouble([5])); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([true,false]); - model.in1 = new ScilabDouble([-1],[-1]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble(); - model.evtin = new ScilabDouble([1]); - model.rpar = new ScilabDouble([xmin,],[,xmax,],[,ymin,],[,ymax]); - model.ipar = new ScilabDouble([1]); - this.x=new standard_define(new ScilabDouble([2,2]),model,[],[]); - this.x.graphics.in_implicit = new ScilabString(["E",,"E"]); - this.x.graphics.out_implicit = new ScilabDouble(); - this.x.graphics.exprs = new ScilabString(["-15";"15";"-15";"15";"1"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/BIGSOM_f.js b/data_structures/BIGSOM_f.js deleted file mode 100644 index 69ce1d5..0000000 --- a/data_structures/BIGSOM_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function BIGSOM_f () { - - - var sgn = [[1],[1]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["sum"]),new ScilabDouble([2])); - model.in1 = new ScilabDouble([-1],[-1]); - model.out = new ScilabDouble([-1]); - model.rpar=new ScilabDouble([sgn]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = sci2exp(sgn); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,3]),model,,exprs,gr_i); - return new BigSom(this.x) -} diff --git a/data_structures/BITCLEAR.js b/data_structures/BITCLEAR.js deleted file mode 100644 index 3e7aa24..0000000 --- a/data_structures/BITCLEAR.js +++ /dev/null @@ -1,21 +0,0 @@ -function BITCLEAR () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["bit_clear_32"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.in2 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.intyp = new ScilabDouble([3]); - model.outtyp = new ScilabDouble([3]); - model.opar=list(new ScilabInteger([0])); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(3)],[sci2exp(0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/BITSET.js b/data_structures/BITSET.js deleted file mode 100644 index ed7bccf..0000000 --- a/data_structures/BITSET.js +++ /dev/null @@ -1,21 +0,0 @@ -function BITSET () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["bit_set_32"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.in2 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.intyp = new ScilabDouble([3]); - model.outtyp = new ScilabDouble([3]); - model.opar=list(new ScilabInteger([0])); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(3)],[sci2exp(0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/BOUNCE.js b/data_structures/BOUNCE.js deleted file mode 100644 index b2b8ec9..0000000 --- a/data_structures/BOUNCE.js +++ /dev/null @@ -1,17 +0,0 @@ -function BOUNCE () { - - - var n = 2; - - var k = 1],[ipar=[]; - - var for i = 1:n; - - var for j = i+1:n; - - var ipar(k) = i; - k=k+1; - ipar(k)=j; - k=k+1; - return new BasicBlock(this.x) -} diff --git a/data_structures/BOUNCEXY.js b/data_structures/BOUNCEXY.js deleted file mode 100644 index a0b3134..0000000 --- a/data_structures/BOUNCEXY.js +++ /dev/null @@ -1,43 +0,0 @@ -function BOUNCEXY () { - - - var win = -1; - - var imode = 1; - - var clrs = [[1],[2]]; - - var siz = [[1],[1]]; - - var xmin = -5; - - var xmax = 5; - - var ymin = 0; - - var ymax = 15; - - var model = scicos_model(); - model.sim=list(new ScilabString(["bouncexy"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1],[-1]); - model.in2 = new ScilabDouble([1],[1]); - model.intyp = new ScilabDouble([1],[1]); - model.evtin = new ScilabDouble([1]); - - var z = []; - - var for i = 1:size(clrs,"*"); - - var z(6*(i-1)+1) = 0; - - var z(6*(i-1)+2) = 0; - - var z(6*(i-1)+3) = 2*siz(i); - - var z(6*(i-1)+4) = 2*siz(i); - - var z(6*(i-1)+5) = 0.000; - - var z(6*(i-1)+6) = 64.0*360.000; - return new BasicBlock(this.x) -} diff --git a/data_structures/BPLATFORM.js b/data_structures/BPLATFORM.js deleted file mode 100644 index a7e7da4..0000000 --- a/data_structures/BPLATFORM.js +++ /dev/null @@ -1,32 +0,0 @@ -function BPLATFORM () { - - - var plen = 2; - - var csiz = 2; - - var phi = 0; - - var xmin = -5; - - var xmax = 5; - - var ymin = 0; - - var ymax = 15; - - var model = scicos_model(); - model.sim=list(new ScilabString(["bplatform2"]),new ScilabDouble([5])); - model.in1 = new ScilabDouble([1],[1]); - model.evtin = new ScilabDouble([1]); - model.dstate = new ScilabDouble([0]); - model.rpar = new ScilabDouble([plen],[csiz],[phi],[xmin],[xmax],[ymin],[ymax]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = string(model.rpar); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/Bache.js b/data_structures/Bache.js deleted file mode 100644 index d7d3c4c..0000000 --- a/data_structures/Bache.js +++ /dev/null @@ -1,50 +0,0 @@ -function Bache () { - - - var in1 = 2; - - var out = 3; - - var model = scicos_model(); - model.in1 = new ScilabDouble([-(1:in1)']); - model.out = new ScilabDouble([-(1:out)']); - - var Patm = 1.013E5; - - var A = 1; - - var ze1 = 40; - - var ze2 = 0; - - var zs1 = 40; - - var zs2 = 0; - - var z0 = 30; - - var T0 = 290; - - var p_rho = 0; - model.rpar = new ScilabDouble([Patm],[A],[ze1],[ze2],[zs1],[zs2],[z0],[T0],[p_rho]); - model.sim = new ScilabString(["Bache"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["Bache"]); - mo.inputs = new ScilabString(["Ce1" "Ce2"]); - mo.outputs = new ScilabString(["Cs1" "Cs2" "yNiveau"]); - mo.parameters=list(new ScilabString(["Patm";"A";"ze1";"ze2";"zs1";"zs2";"z0";"T0";"p_rho"]),[Patm],[A],[ze1],[ze2],[zs1],[zs2],[z0],[T0],[p_rho]); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - - var exprs = [[string(Patm)],[string(A)],[string(ze1)],[string(ze2)],[string(zs1)],[string(zs2)],[string(z0)],[string(T0)],[string(p_rho)]]; - - var gr_i = []; - this.x=standard_define([2,2],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I";"I"]); - this.x.graphics.out_implicit = new ScilabString(["I";"I";"E"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/CANIMXY.js b/data_structures/CANIMXY.js deleted file mode 100644 index 0d1c11c..0000000 --- a/data_structures/CANIMXY.js +++ /dev/null @@ -1,43 +0,0 @@ -function CANIMXY () { - - - var win = -1; - - var clrs = -4; - - var N = 2; - - var siz = 1; - - var wpos = [[-1],[-1]]; - - var wdim = [[-1],[-1]]; - - var xmin = -15; - - var xmax = 15; - - var ymin = -15; - - var ymax = +15; - - var nbr_curves = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["canimxy"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1],[1]); - model.in2 = new ScilabDouble([1],[1]); - model.intyp = new ScilabDouble([1],[1]); - model.evtin = new ScilabDouble([1]); - model.rpar = new ScilabDouble([xmin],[xmax],[ymin],[ymax]); - model.ipar = new ScilabDouble([win],[1],[N],[clrs],[siz],[0],[...wpos],[...wdim],[nbr_curves]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[string(nbr_curves);string(clrs);string(siz);string(win);"[]";"[]"],[string(xmin)],[string(xmax)],[string(ymin)],[string(ymax)],[string(N)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CANIMXY3D.js b/data_structures/CANIMXY3D.js deleted file mode 100644 index a1ec5f1..0000000 --- a/data_structures/CANIMXY3D.js +++ /dev/null @@ -1,43 +0,0 @@ -function CANIMXY3D () { - - - var win = -1; - - var N = 2; - - var clrs = [[1],[2],[3],[4],[5],[6],[7],[13]]; - - var siz = [[1],[1],[1],[1],[1],[1],[1],[1]]; - - var wpos = [[-1],[-1]]; - - var wdim = [[-1],[-1]]; - - var param3ds = [[50],[280]]; - - var vec_x = [[-15],[15]]; - - var vec_y = [[-15],[15]]; - - var vec_z = [[-15],[15]]; - - var nbr_curves = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["canimxy3d"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1],[1],[1]); - model.evtin = new ScilabDouble([1]); - model.in2 = new ScilabDouble([1],[1],[1]); - model.intyp = new ScilabDouble([1],[1],[1]); - model.rpar = new ScilabDouble([...colon_operator(vec_x,:)],[...vec_y],[vec_z(,)],[...param3ds]); - model.ipar = new ScilabDouble([win],[8],[N],[...colon_operator(clrs,:)],[...siz],[8],[wpos(,)],[...wdim],[nbr_curves]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[string(nbr_curves);strcat(string(clrs)," ");strcat(string(siz)," ");string(win);"[]";"[]";strcat(string(vec_x)," ");strcat(string(vec_y)," ");strcat(string(vec_z)," ");strcat(string(param3ds)," ")],[string(N)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CBLOCK.js b/data_structures/CBLOCK.js deleted file mode 100644 index 77eb431..0000000 --- a/data_structures/CBLOCK.js +++ /dev/null @@ -1,48 +0,0 @@ -function CBLOCK () { - - - var in1 = 1; - - var out = 1; - - var clkin = []; - - var clkout = []; - - var x0 = []; - - var z0 = []; - - var typ = "c"; - - var auto = []; - - var rpar = []; - - var ipar = []; - - var funam = "toto"; - - var ng = 0; - - var model = scicos_model(); - model.sim=list(new ScilabString([" "]),new ScilabDouble([2004])); - model.in1.push(new ScilabDouble([in1])); - model.out=new ScilabDouble([out]); - model.evtin=clkin; - model.evtout=clkout; - model.state=x0; - model.dstate=z0; - model.rpar=rpar; - model.ipar=ipar; - model.blocktype=new ScilabString([typ]); - model.firing=auto; - model.dep_ut = new ScilabBoolean([true,false]); - model.nzcross=new ScilabDouble([ng]); - - var label = list([funam,"n",sci2exp(in1),sci2exp(out),sci2exp(clkin),sci2exp(clkout),sci2exp(x0),sci2exp(0),sci2exp(z0),sci2exp(rpar),sci2exp(ipar),sci2exp(auto),"y","n"]',[]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CBLOCK4.js b/data_structures/CBLOCK4.js deleted file mode 100644 index c4cfa2c..0000000 --- a/data_structures/CBLOCK4.js +++ /dev/null @@ -1,39 +0,0 @@ -function CBLOCK4 () { - - - var funam = "toto"; - - var model = scicos_model(); - model.sim=list(new ScilabString([" "]),new ScilabDouble([2004])); - model.in1 = new ScilabDouble([1]); - model.in2 = new ScilabDouble([1]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = list([funam; - "n"; - sci2exp([model.in1 model.in2]); - sci2exp(model.intyp); - sci2exp([model.out model.out2]); - sci2exp(model.outtyp); - sci2exp(model.evtin); - sci2exp(model.evtout); - sci2exp(model.state); - sci2exp(model.dstate); - sci2exp(model.odstate); - sci2exp(model.rpar); - sci2exp(model.ipar); - sci2exp(model.opar); - sci2exp(model.nmode); - sci2exp(model.nzcross); - sci2exp(model.firing); - "y"; - "n"],[]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CCS.js b/data_structures/CCS.js deleted file mode 100644 index e405427..0000000 --- a/data_structures/CCS.js +++ /dev/null @@ -1,30 +0,0 @@ -function CCS () { - - - var ModelName = "CCS"; - - var PrametersValue = []; - - var ParametersName = []; - - var model = scicos_model(); - - var Typein = []; - - var Typeout = []; - - var MI = []; - - var MO = []; - - var P = [[2,50,1,0],[,70,98,2,0],[70,2,-2,0]]; - - var PortName = ["Iin";"p";"n"]; - - var for i = 1:size(P,"r"); - - var if P(i,3) = =1, then; - Typein = new ScilabDouble([Typein;,"E"]); - MI = new ScilabDouble([MI],[PortName(i)]); - return new BasicBlock(this.x) -} diff --git a/data_structures/CEVENTSCOPE.js b/data_structures/CEVENTSCOPE.js deleted file mode 100644 index 73a3b7e..0000000 --- a/data_structures/CEVENTSCOPE.js +++ /dev/null @@ -1,29 +0,0 @@ -function CEVENTSCOPE () { - - - var nclock = 1; - - var win = -1; - - var clrs = [[1],[3],[5],[7],[9],[11],[13],[15]]; - - var wdim = [[600],[400]]; - - var wpos = [[-1],[-1]]; - - var per = 30; - - var model = scicos_model(); - model.sim=list(new ScilabString(["cevscpe"]),new ScilabDouble([4])); - model.evtin = new ScilabDouble([1]); - model.rpar=new ScilabDouble([per]); - model.ipar = new ScilabDouble([win],[1],[...colon_operator(clrs,nclock)],[wpos(,)],[...wdim]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[sci2exp(nclock);strcat(sci2exp(clrs(nclock))," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(per)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CFSCOPE.js b/data_structures/CFSCOPE.js deleted file mode 100644 index 4a0c786..0000000 --- a/data_structures/CFSCOPE.js +++ /dev/null @@ -1,33 +0,0 @@ -function CFSCOPE () { - - - var win = -1; - - var wdim = [[600],[400]]; - - var wpos = [[-1],[-1]]; - - var clrs = [[1],[3],[5],[7],[9],[11],[13],[15]]; - - var N = 2; - - var ymin = -15; - - var ymax = +15; - - var per = 30; - - var model = scicos_model(); - model.sim=list(new ScilabString(["cfscope"]),new ScilabDouble([4])); - model.evtin = new ScilabDouble([1]); - model.rpar = new ScilabDouble([0],[ymin],[ymax],[per]); - model.ipar = new ScilabDouble([win],[1],[N],[clrs],[wpos],[wdim],[1],[1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[strcat(string(clrs)," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(ymin)],[string(ymax)],[string(per)],[string(N)],[string([1])]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CLINDUMMY_f.js b/data_structures/CLINDUMMY_f.js deleted file mode 100644 index 35ca987..0000000 --- a/data_structures/CLINDUMMY_f.js +++ /dev/null @@ -1,16 +0,0 @@ -function CLINDUMMY_f () { - - - var x0 = 0; - - var model = scicos_model(); - model.sim=list(new ScilabString(["cdummy"]),new ScilabDouble([4])); - model.state=new ScilabDouble([x0]); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([false,true]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CLKFROM.js b/data_structures/CLKFROM.js deleted file mode 100644 index baa40ec..0000000 --- a/data_structures/CLKFROM.js +++ /dev/null @@ -1,16 +0,0 @@ -function CLKFROM () { - - - var model = scicos_model(); - model.sim = new ScilabString(["clkfrom"]); - model.evtout = new ScilabDouble([1]); - model.opar=list("A"); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = "A"; - this.x=new standard_define(new ScilabDouble([2,1]),model,exprs," "); - this.x.graphics.id = new ScilabString(["From"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/CLKGOTO.js b/data_structures/CLKGOTO.js deleted file mode 100644 index eede81b..0000000 --- a/data_structures/CLKGOTO.js +++ /dev/null @@ -1,17 +0,0 @@ -function CLKGOTO () { - - - var model = scicos_model(); - model.sim = new ScilabString(["clkgoto"]); - model.evtin = new ScilabDouble([1]); - model.opar=list("A"); - model.ipar=int(1); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [["A"],[sci2exp(1)]]; - this.x=new standard_define(new ScilabDouble([2,1]),model,exprs," "); - this.x.graphics.id = new ScilabString(["Goto"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/CLKGotoTagVisibility.js b/data_structures/CLKGotoTagVisibility.js deleted file mode 100644 index 5a164cf..0000000 --- a/data_structures/CLKGotoTagVisibility.js +++ /dev/null @@ -1,23 +0,0 @@ -function CLKGotoTagVisibility () { - - - var model = scicos_model(); - model.sim = new ScilabString(["clkgototagvisibility"]); - model.in1 = new ScilabDouble(); - model.in2 = new ScilabDouble(); - model.out = new ScilabDouble(); - model.out2 = new ScilabDouble(); - model.evtin = new ScilabDouble(); - model.intyp = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.opar=list("A"); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabBoolean([false]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = "A"; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CLKINV_f.js b/data_structures/CLKINV_f.js deleted file mode 100644 index aa2d8dc..0000000 --- a/data_structures/CLKINV_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function CLKINV_f () { - - - var prt = 1; - - var model = scicos_model(); - model.sim = new ScilabString(["input"]); - model.evtout = new ScilabDouble([1]); - model.ipar=new ScilabDouble([prt]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = string(prt); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); - return new EventInBlock(this.x) -} diff --git a/data_structures/CLKOUTV_f.js b/data_structures/CLKOUTV_f.js deleted file mode 100644 index 32f4ec9..0000000 --- a/data_structures/CLKOUTV_f.js +++ /dev/null @@ -1,17 +0,0 @@ -function CLKOUTV_f () { - - - var prt = 1; - - var model = scicos_model(); - model.sim = new ScilabString(["output"]); - model.evtin = new ScilabDouble([1]); - model.ipar=new ScilabDouble([prt]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = string(prt); - this.x=new standard_define(new ScilabDouble([1,1]),model,exprs," "); - return new EventOutBlock(this.x) -} diff --git a/data_structures/CLKSOMV_f.js b/data_structures/CLKSOMV_f.js deleted file mode 100644 index 273ebc8..0000000 --- a/data_structures/CLKSOMV_f.js +++ /dev/null @@ -1,15 +0,0 @@ -function CLKSOMV_f () { - - - var model = scicos_model(); - model.sim = new ScilabString(["sum"]); - model.evtin = new ScilabDouble([1],[1],[1]); - model.evtout = new ScilabDouble([1]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([false,false]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); - return new RoundBlock(this.x) -} diff --git a/data_structures/CLOCK_c.js b/data_structures/CLOCK_c.js deleted file mode 100644 index 339191e..0000000 --- a/data_structures/CLOCK_c.js +++ /dev/null @@ -1,48 +0,0 @@ -function CLOCK_c () { - - - var evtdly = EVTDLY_c("define"); - evtdly.graphics.orig = new ScilabDouble([320,232]); - evtdly.graphics.sz = new ScilabDouble([40,40]); - evtdly.graphics.flip = new ScilabBoolean([true]); - evtdly.graphics.exprs = new ScilabString(["0.1";"0.1"]); - evtdly.graphics.pein = new ScilabDouble([6]); - evtdly.graphics.peout = new ScilabDouble([3]); - evtdly.model.rpar = new ScilabDouble([0.1],[0.1]); - evtdly.model.firing = new ScilabDouble([0.1]); - - var output_port = CLKOUT_f("define"); - output_port.graphics.orig = new ScilabDouble([399,162]); - output_port.graphics.sz = new ScilabDouble([20,20]); - output_port.graphics.flip = new ScilabBoolean([true]); - output_port.graphics.exprs = new ScilabString(["1"]); - output_port.graphics.pein = new ScilabDouble([5]); - output_port.model.ipar = new ScilabDouble([1]); - - var split = CLKSPLIT_f("define"); - split.graphics.orig = new ScilabDouble([380.71066],[172]); - split.graphics.pein = new ScilabDouble([3]); - split.graphics.peout = new ScilabDouble([5],[6]); - - var gr_i = []; - - var diagram = scicos_diagram(); - diagram.objs.push(output_port); - diagram.objs.push(evtdly); - diagram.objs.push(scicos_link({xx: new ScilabDouble([340],[340],[380.71]),yy: new ScilabDouble([226.29],[172],[172]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1]),to: new ScilabDouble([4,1])})); - diagram.objs.push(split); - diagram.objs.push(scicos_link({xx: new ScilabDouble([380.71],[399]),yy: new ScilabDouble([172],[172]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([4,1]),to: new ScilabDouble([1,1])})); - diagram.objs.push(scicos_link({xx: new ScilabDouble([380.71],[380.71],[340],[340]),yy: new ScilabDouble([172],[302],[302],[277.71]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([4,2]),to: new ScilabDouble([2,1])})); - this.x=scicos_block(); - this.x.gui = new ScilabString(["CLOCK_c"]); - this.x.graphics.sz = new ScilabDouble([2,2]); - this.x.graphics.gr_i=gr_i; - this.x.graphics.peout = new ScilabDouble([0]); - this.x.model.sim = new ScilabString(["csuper"]); - this.x.model.evtout = new ScilabDouble([1]); - this.x.model.blocktype = new ScilabString(["h"]); - this.x.model.firing = new ScilabBoolean([false]); - this.x.model.dep_ut = new ScilabBoolean([false,false]); - this.x.model.rpar=diagram; - return new BasicBlock(this.x) -} diff --git a/data_structures/CLR.js b/data_structures/CLR.js deleted file mode 100644 index d374d40..0000000 --- a/data_structures/CLR.js +++ /dev/null @@ -1,28 +0,0 @@ -function CLR () { - - - var x0 = 0; - - var A = -1; - - var B = 1; - - var C = 1; - - var D = 0; - - var exprs = ["1";"1+s"]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["csslti4"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.state=new ScilabDouble([x0]); - model.rpar = new ScilabDouble([...colon_operator(A,:)],[...B],[C(,)],[...D]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CLSS.js b/data_structures/CLSS.js deleted file mode 100644 index d97157a..0000000 --- a/data_structures/CLSS.js +++ /dev/null @@ -1,32 +0,0 @@ -function CLSS () { - - - var x0 = 0; - - var A = -1; - - var B = 1; - - var C = 1; - - var D = 0; - - var in1 = 1; - - var out = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["csslti4"]),new ScilabDouble([4])); - model.in1.push(new ScilabDouble([in1])); - model.out=new ScilabDouble([out]); - model.state=new ScilabDouble([x0]); - model.rpar = new ScilabDouble([...colon_operator(A,:)],[...B],[C(,)],[...D]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var exprs = [[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CMAT3D.js b/data_structures/CMAT3D.js deleted file mode 100644 index 0d2fd8d..0000000 --- a/data_structures/CMAT3D.js +++ /dev/null @@ -1,35 +0,0 @@ -function CMAT3D () { - - - var cmin = 0; - - var cmax = 100; - - var colormap = jetcolormap(25); - - var size_c = 25; - this.x = new ScilabDouble([-1]); - - var y = -1; - - var size_x = 1; - - var size_y = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["cmat3d"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.ipar = new ScilabDouble([cmin],[cmax],[size_c],[size_x],[size_y]); - model.rpar = new ScilabDouble([...colormap],[x],[y]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[strcat(string(x)," ");strcat(string(y)," ");string("jetcolormap(25)")],[string(cmin)],[string(cmax)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CMATVIEW.js b/data_structures/CMATVIEW.js deleted file mode 100644 index 3a03930..0000000 --- a/data_structures/CMATVIEW.js +++ /dev/null @@ -1,32 +0,0 @@ -function CMATVIEW () { - - - var cmin = 0; - - var cmax = 100; - - var size_c = 25; - - var colormap = jetcolormap(size_c); - - var alpha_c = 0.24; - - var beta_c = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["cmatview"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.ipar = new ScilabDouble([cmin],[cmax],[size_c]); - model.rpar = new ScilabDouble([alpha_c],[beta_c],[...colormap]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[string("jetcolormap(25)")],[string(cmin)],[string(cmax)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CMSCOPE.js b/data_structures/CMSCOPE.js deleted file mode 100644 index b4d2e3d..0000000 --- a/data_structures/CMSCOPE.js +++ /dev/null @@ -1,42 +0,0 @@ -function CMSCOPE () { - - - var win = -1; - - var in1 = [[1],[1]]; - - var wdim = [[-1],[-1]]; - - var wpos = [[-1],[-1]]; - - var clrs = [[1],[3],[5],[7],[9],[11],[13],[15]]; - - var N = 20; - - var ymin = [[-1],[-5]]; - - var ymax = [[1],[5]]; - - var per = [[30],[30]]; - - var yy = [[...transpose(ymin)],[...transpose(ymax)]]; - - var period = ...transpose(per); - - var model = scicos_model(); - model.sim=list(new ScilabString(["cmscope"]),new ScilabDouble([4])); - model.in1.push(new ScilabDouble([in1])); - model.in2 = new ScilabDouble([1],[1]); - model.intyp = new ScilabDouble([1],[1]); - model.evtin = new ScilabDouble([1]); - model.rpar = new ScilabDouble([0],[...period],[...yy]); - model.ipar = new ScilabDouble([win;...colon_operator(size,in1,"*")],[N],[...wpos],[...wdim],[...in1],[clrs(1,sum(in1))]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[strcat(string(in1)," ");strcat(string(clrs)," ");string(win);sci2exp([]);sci2exp([]);strcat(string(ymin)," ");strcat(string(ymax)," ");strcat(string(per)," ")],[string(N)],[string(0)],[emptystr()]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CONST.js b/data_structures/CONST.js deleted file mode 100644 index b34361e..0000000 --- a/data_structures/CONST.js +++ /dev/null @@ -1,19 +0,0 @@ -function CONST () { - - - var C = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["cstblk4"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble(); - model.out = new ScilabDouble([1]); - model.rpar=new ScilabDouble([C]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = strcat(sci2exp(C)); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CONSTRAINT2_c.js b/data_structures/CONSTRAINT2_c.js deleted file mode 100644 index d24d40c..0000000 --- a/data_structures/CONSTRAINT2_c.js +++ /dev/null @@ -1,24 +0,0 @@ -function CONSTRAINT2_c () { - - - var x0 = [0]; - - var xd0 = [0]; - - var id = [0]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["constraint_c"]),new ScilabDouble([10004])); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1],[1]); - model.state = new ScilabDouble([x0],[xd0]); - model.ipar=new ScilabDouble([id]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var exprs = list(strcat(sci2exp(x0)),strcat(sci2exp(xd0)),strcat(sci2exp(id))); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CONSTRAINT_c.js b/data_structures/CONSTRAINT_c.js deleted file mode 100644 index 567ec0f..0000000 --- a/data_structures/CONSTRAINT_c.js +++ /dev/null @@ -1,20 +0,0 @@ -function CONSTRAINT_c () { - - - var x0 = [[0],[0]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["constraint_c"]),new ScilabDouble([10004])); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.ipar = new ScilabDouble([0]); - model.state=new ScilabDouble([x0]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var exprs = "0"; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CONST_f.js b/data_structures/CONST_f.js deleted file mode 100644 index 1983ae4..0000000 --- a/data_structures/CONST_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function CONST_f () { - - - var C = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["cstblk"]),new ScilabDouble([1])); - model.in1 = new ScilabDouble(); - model.out = new ScilabDouble([1]); - model.rpar=new ScilabDouble([C]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = strcat(sci2exp(C)); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CONST_m.js b/data_structures/CONST_m.js deleted file mode 100644 index df53c9a..0000000 --- a/data_structures/CONST_m.js +++ /dev/null @@ -1,22 +0,0 @@ -function CONST_m () { - - - var C = [1]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["cstblk4"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble(); - model.out=size(C,1); - model.in2 = new ScilabDouble(); - model.out2.push(size(C,2)); - model.rpar=new ScilabDouble([C]); - model.opar=list(); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = sci2exp(C); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CONVERT.js b/data_structures/CONVERT.js deleted file mode 100644 index 2a467eb..0000000 --- a/data_structures/CONVERT.js +++ /dev/null @@ -1,24 +0,0 @@ -function CONVERT () { - - - var sgn = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["convert"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.out = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.out2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([3]); - model.rpar = new ScilabDouble(); - model.ipar=new ScilabDouble([sgn]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(1)],[sci2exp(3)],[sci2exp(0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/COSBLK_f.js b/data_structures/COSBLK_f.js deleted file mode 100644 index bcd2120..0000000 --- a/data_structures/COSBLK_f.js +++ /dev/null @@ -1,16 +0,0 @@ -function COSBLK_f () { - - - var in1 = 1; - - var model = scicos_model(); - model.sim = new ScilabString(["cosblk"]); - model.in1 = new ScilabDouble([-1]); - model.out = new ScilabDouble([-1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CSCOPE.js b/data_structures/CSCOPE.js deleted file mode 100644 index f67fec9..0000000 --- a/data_structures/CSCOPE.js +++ /dev/null @@ -1,35 +0,0 @@ -function CSCOPE () { - - - var win = -1; - - var wdim = [[600],[400]]; - - var wpos = [[-1],[-1]]; - - var clrs = [[1],[3],[5],[7],[9],[11],[13],[15]]; - - var N = 20; - - var ymin = -15; - - var ymax = +15; - - var per = 30; - - var model = scicos_model(); - model.sim=list(new ScilabString(["cscope"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.rpar = new ScilabDouble([0],[ymin],[ymax],[per]); - model.ipar = new ScilabDouble([win],[1],[N],[clrs],[wpos],[wdim]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[strcat(string(clrs)," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(ymin)],[string(ymax)],[string(per)],[string(N)],[string(0)'],[emptystr()]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CSCOPXY.js b/data_structures/CSCOPXY.js deleted file mode 100644 index 17808c5..0000000 --- a/data_structures/CSCOPXY.js +++ /dev/null @@ -1,40 +0,0 @@ -function CSCOPXY () { - - - var win = -1; - - var clrs = 4],[siz=1; - - var wdim = [[600],[400]]; - - var wpos = [[-1],[-1]]; - - var N = 2; - - var xmin = -15; - - var xmax = 15; - - var ymin = -15; - - var ymax = +15; - - var nbr_curves = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["cscopxy"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1],[1]); - model.in2 = new ScilabDouble([1],[1]); - model.intyp = new ScilabDouble([1],[1]); - model.evtin = new ScilabDouble([1]); - model.rpar = new ScilabDouble([xmin],[xmax],[ymin],[ymax]); - model.ipar = new ScilabDouble([win],[1],[N],[clrs],[siz],[1],[...wpos],[...wdim],[nbr_curves]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[string(nbr_curves)],[sci2exp(clrs)],[sci2exp(siz)],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(xmin)],[string(xmax)],[string(ymin)],[string(ymax)],[string(N)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CSCOPXY3D.js b/data_structures/CSCOPXY3D.js deleted file mode 100644 index 7a91623..0000000 --- a/data_structures/CSCOPXY3D.js +++ /dev/null @@ -1,42 +0,0 @@ -function CSCOPXY3D () { - - - var win = -1; - - var clrs = [[1],[2],[3],[4],[5],[6],[7],[13]]; - - var siz = [[1],[1],[1],[1],[1],[1],[1],[1]]; - - var wdim = [[600],[400]]; - - var wpos = [[-1],[-1]]; - - var N = 2; - - var param3ds = [[50],[280]]; - - var vec_x = [[-15],[15]]; - - var vec_y = [[-15],[15]]; - - var vec_z = [[-15],[15]]; - - var nbr_curves = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["cscopxy3d"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1],[1],[1]); - model.in2 = new ScilabDouble([1],[1],[1]); - model.intyp = new ScilabDouble([1],[1],[1]); - model.evtin = new ScilabDouble([1]); - model.rpar = new ScilabDouble([...colon_operator(vec_x,:)],[...vec_y],[vec_z(,)],[...param3ds]); - model.ipar = new ScilabDouble([win],[8],[N],[...colon_operator(clrs,:)],[...siz],[8],[wpos(,)],[...wdim],[nbr_curves]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[string(nbr_curves);strcat(string(clrs)," ");strcat(string(siz)," ");string(win);sci2exp([]);sci2exp(wdim);strcat(string(vec_x)," ");strcat(string(vec_y)," ");strcat(string(vec_z)," ");strcat(string(param3ds)," ")],[string(N)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CUMSUM.js b/data_structures/CUMSUM.js deleted file mode 100644 index 6c076cf..0000000 --- a/data_structures/CUMSUM.js +++ /dev/null @@ -1,31 +0,0 @@ -function CUMSUM () { - - - var model = scicos_model(); - - var function_name = "cumsum_m"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [[sci2exp(1)],[sci2exp(0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CURV_f.js b/data_structures/CURV_f.js deleted file mode 100644 index 49e00bf..0000000 --- a/data_structures/CURV_f.js +++ /dev/null @@ -1,28 +0,0 @@ -function CURV_f () { - - - var xx = [[0],[1],[2]]; - - var yy = [[-5],[5],[0]]; - - var rect = [0,-5,2,5]; - - var axisdata = [[2],[10],[2],[10]]; - - var ipar = [[size(xx,1)],[...axisdata]]; - - var rpar = [[xx],[yy],[...rect]]; - - var model = scicos_model(); - model.sim = new ScilabString(["intplt"]); - model.in1 = new ScilabDouble(); - model.out = new ScilabDouble([1]); - model.rpar = new ScilabDouble([xx],[yy],[...rect]); - model.ipar = new ScilabDouble([size(xx,1)],[...axisdata]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CVS.js b/data_structures/CVS.js deleted file mode 100644 index 5bfb5f9..0000000 --- a/data_structures/CVS.js +++ /dev/null @@ -1,30 +0,0 @@ -function CVS () { - - - var ModelName = "CVS"; - - var PrametersValue = []; - - var ParametersName = []; - - var model = scicos_model(); - - var Typein = []; - - var Typeout = []; - - var MI = []; - - var MO = []; - - var P = [[2,50,1,0],[,70,98,2,0],[70,2,-2,0]]; - - var PortName = ["vin";"p";"n"]; - - var for i = 1:size(P,"r"); - - var if P(i,3) = =1, then; - Typein = new ScilabDouble([Typein;,"E"]); - MI = new ScilabDouble([MI],[PortName(i)]); - return new BasicBlock(this.x) -} diff --git a/data_structures/Capacitor.js b/data_structures/Capacitor.js deleted file mode 100644 index c83bb8e..0000000 --- a/data_structures/Capacitor.js +++ /dev/null @@ -1,28 +0,0 @@ -function Capacitor () { - - - var model = scicos_model(); - - var C = 0.01,v=0; - model.rpar = new ScilabDouble([C],[v]); - model.sim = new ScilabString(["Capacitor"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["Capacitor"]); - mo.inputs = new ScilabString(["p"]); - mo.outputs = new ScilabString(["n"]); - mo.parameters=list(new ScilabString(["C"),new ScilabString(["v"]]),list(C,v),new ScilabDouble([0),new ScilabDouble([1]])); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - - var exprs = string([C],[v]); - - var gr_i = []; - this.x=standard_define([2,1.1],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/ConstantVoltage.js b/data_structures/ConstantVoltage.js deleted file mode 100644 index add8be1..0000000 --- a/data_structures/ConstantVoltage.js +++ /dev/null @@ -1,27 +0,0 @@ -function ConstantVoltage () { - - - var V = 0.01; - - var model = scicos_model(); - model.rpar=new ScilabDouble([V]); - model.in1 = new ScilabDouble([1],[model.out=1]); - model.sim = new ScilabString(["ConstantVoltage"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var mo = modelica(); - mo.model = new ScilabString(["ConstantVoltage"]); - mo.inputs = new ScilabString(["p"]); - mo.outputs = new ScilabString(["n"]); - mo.parameters=list(new ScilabString(["V"]),list(V)); - model.equations=mo; - - var exprs = string(V); - - var gr_i = []; - this.x=standard_define([1.5,1.1],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/Counter.js b/data_structures/Counter.js deleted file mode 100644 index 9fcff45..0000000 --- a/data_structures/Counter.js +++ /dev/null @@ -1,25 +0,0 @@ -function Counter () { - - - var minim = 0; - - var maxim = 2; - - var rule = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["counter"]),new ScilabDouble([4])); - model.evtin = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.dstate = new ScilabDouble([0]); - model.ipar = new ScilabDouble([rule],[maxim],[minim]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[string(minim)],[string(maxim)],[string(rule)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/CurrentSensor.js b/data_structures/CurrentSensor.js deleted file mode 100644 index 386fa14..0000000 --- a/data_structures/CurrentSensor.js +++ /dev/null @@ -1,24 +0,0 @@ -function CurrentSensor () { - - - var model = scicos_model(); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1],[,1]); - model.sim = new ScilabString(["CurrentSensor"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["CurrentSensor"]); - mo.inputs = new ScilabString(["p"]); - mo.outputs = new ScilabString(["n";"i"]); - model.equations=mo; - - var exprs = []; - - var gr_i = []; - this.x=standard_define([2,2],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I";"E"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/DEADBAND.js b/data_structures/DEADBAND.js deleted file mode 100644 index b5c34e3..0000000 --- a/data_structures/DEADBAND.js +++ /dev/null @@ -1,25 +0,0 @@ -function DEADBAND () { - - - var minp = -.5; - - var maxp = .5; - - var rpar = [[maxp],[minp]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["deadband"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.nzcross = new ScilabDouble([2]); - model.nmode = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.rpar=rpar; - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[string(maxp)],[string(minp)],[string(model.nmode)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DEBUG.js b/data_structures/DEBUG.js deleted file mode 100644 index 6d610ad..0000000 --- a/data_structures/DEBUG.js +++ /dev/null @@ -1,13 +0,0 @@ -function DEBUG () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["%debug_scicos"]),new ScilabDouble([99])); - model.blocktype = new ScilabString(["d"]); - - var exprs = list("","xcos_debug_gui(flag,block);"); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([8,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DELAYV_f.js b/data_structures/DELAYV_f.js deleted file mode 100644 index f262231..0000000 --- a/data_structures/DELAYV_f.js +++ /dev/null @@ -1,29 +0,0 @@ -function DELAYV_f () { - - - var nin = 1; - - var z0 = zeros(11,1); - - var zz0 = ...colon_operator(z0,1,$-1); - - var T = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["delayv"]),new ScilabDouble([1])); - model.in1 = new ScilabDouble([nin],[1]); - model.out=new ScilabDouble([nin]); - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1],[1]); - model.dstate=z0; - model.rpar=T/(size(zz0,"*")); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([0,-1]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[...colon_operator(string,nin);strcat(string(z0(1,$-1)),";")],[string(T)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DELAY_f.js b/data_structures/DELAY_f.js deleted file mode 100644 index 9f2ea31..0000000 --- a/data_structures/DELAY_f.js +++ /dev/null @@ -1,72 +0,0 @@ -function DELAY_f () { - - - var evtdly = EVTDLY_f("define"); - evtdly.graphics.orig = new ScilabDouble([243,296]); - evtdly.graphics.sz = new ScilabDouble([40,40]); - evtdly.graphics.flip = new ScilabBoolean([true]); - evtdly.graphics.exprs = new ScilabString(["0.1";"0"]); - evtdly.graphics.pein = new ScilabDouble([10]); - evtdly.graphics.peout = new ScilabDouble([7]); - evtdly.model.rpar = new ScilabDouble([0.1]); - evtdly.model.firing = new ScilabDouble([0]); - - var register = REGISTER_f("define"); - register.graphics.orig = new ScilabDouble([238,195]); - register.graphics.sz = new ScilabDouble([50,50]); - register.graphics.flip = new ScilabBoolean([true]); - register.graphics.exprs = new ScilabString(["0;0;0;0;0;0;0;0;0;0"]); - register.graphics.pin = new ScilabDouble([6]); - register.graphics.pout = new ScilabDouble([5]); - register.graphics.pein = new ScilabDouble([9]); - - var input_port = IN_f("define"); - input_port.graphics.orig = new ScilabDouble([92,210]); - input_port.graphics.sz = new ScilabDouble([20,20]); - input_port.graphics.flip = new ScilabBoolean([true]); - input_port.graphics.exprs = new ScilabString(["1";"1"]); - input_port.graphics.pout = new ScilabDouble([6]); - input_port.model.ipar = new ScilabDouble([1]); - - var output_port = OUT_f("define"); - output_port.graphics.orig = new ScilabDouble([440,210]); - output_port.graphics.sz = new ScilabDouble([20,20]); - output_port.graphics.flip = new ScilabBoolean([true]); - output_port.graphics.exprs = new ScilabString(["1";"1"]); - output_port.graphics.pin = new ScilabDouble([5]); - output_port.model.ipar = new ScilabDouble([1]); - - var split = CLKSPLIT_f("define"); - split.graphics.orig = new ScilabDouble([263],[271.2]); - split.graphics.pein = new ScilabDouble([7]); - split.graphics.peout = new ScilabDouble([9],[10]); - - var diagram = scicos_diagram(); - diagram.objs.push(input_port); - diagram.objs.push(output_port); - diagram.objs.push(register); - diagram.objs.push(evtdly); - diagram.objs.push(scicos_link({xx: new ScilabDouble([296.6],[440]),yy: new ScilabDouble([220],[220]),from: new ScilabDouble([3,1]),to: new ScilabDouble([2,1])})); - diagram.objs.push(scicos_link({xx: new ScilabDouble([112],[229.4]),yy: new ScilabDouble([220],[220]),from: new ScilabDouble([1,1]),to: new ScilabDouble([3,1])})); - diagram.objs.push(scicos_link({xx: new ScilabDouble([263],[263]),yy: new ScilabDouble([290.3],[271.2]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([4,1]),to: new ScilabDouble([8,1])})); - diagram.objs.push(split); - diagram.objs.push(scicos_link({xx: new ScilabDouble([263],[263]),yy: new ScilabDouble([271.2],[250.7]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([8,1]),to: new ScilabDouble([3,1])})); - diagram.objs.push(scicos_link({xx: new ScilabDouble([263],[308.6],[308.6],[263],[263]),yy: new ScilabDouble([271.2],[271.2],[367],[367],[341.7]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([8,2]),to: new ScilabDouble([4,1])})); - this.x=scicos_block(); - this.x.gui = new ScilabString(["DELAY_f"]); - this.x.graphics.sz = new ScilabDouble([2,2]); - this.x.graphics.gr_i = new ScilabDouble(); - this.x.graphics.pin = new ScilabDouble([0]); - this.x.graphics.pout = new ScilabDouble([0]); - this.x.model.sim = new ScilabString(["csuper"]); - this.x.model.in1 = new ScilabDouble([1]); - this.x.model.out = new ScilabDouble([1]); - this.x.model.blocktype = new ScilabString(["h"]); - this.x.model.dep_ut = new ScilabBoolean([false,false]); - this.x.model.rpar=diagram; - this.x.graphics.in_implicit = new ScilabString(["E"]); - this.x.graphics.in_style = new ScilabString([""]); - this.x.graphics.out_implicit = new ScilabString(["E"]); - this.x.graphics.out_style = new ScilabString([""]); - return new BasicBlock(this.x) -} diff --git a/data_structures/DEMUX.js b/data_structures/DEMUX.js deleted file mode 100644 index 083b3ec..0000000 --- a/data_structures/DEMUX.js +++ /dev/null @@ -1,20 +0,0 @@ -function DEMUX () { - - - var out = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["multiplex"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([0]); - model.out=-...transpose([1:out]); - model.ipar=new ScilabDouble([out]); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = string(out); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([.5,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DEMUX_f.js b/data_structures/DEMUX_f.js deleted file mode 100644 index 161b4a1..0000000 --- a/data_structures/DEMUX_f.js +++ /dev/null @@ -1,20 +0,0 @@ -function DEMUX_f () { - - - var out = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["demux"]),new ScilabDouble([1])); - model.in1 = new ScilabDouble([0]); - model.out=-...transpose([1:out]); - model.ipar=new ScilabDouble([out]); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = string(out); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([.5,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DERIV.js b/data_structures/DERIV.js deleted file mode 100644 index 12f3503..0000000 --- a/data_structures/DERIV.js +++ /dev/null @@ -1,16 +0,0 @@ -function DERIV () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["deriv"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.out = new ScilabDouble([-1]); - model.blocktype = new ScilabString(["x"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = []; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DFLIPFLOP.js b/data_structures/DFLIPFLOP.js deleted file mode 100644 index ef30761..0000000 --- a/data_structures/DFLIPFLOP.js +++ /dev/null @@ -1,97 +0,0 @@ -function DFLIPFLOP () { - - - var scs_m = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["DFLIPFLOP"],tol=[0.0001,0.000001,1.000E-10,100001,0,0],tf=100000,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); - scs_m.objs.push(scicos_block(gui="CONST_m",graphics=scicos_graphics(orig=[109.62561,263.44465],sz=[20;20],flip=%t,theta=0,exprs="int8(0)",pin=[],pout=6,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(new ScilabInteger([0])),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[239.98293,378.2166],sz=[60,60],flip=%t,theta=0,exprs=["1";"1"],pin=29,pout=[],pein=22,peout=[16;44],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=1,intyp=-1,out=[],out2=[],outtyp=1,evtin=1,evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=1,nmode=1,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="LOGICAL_OP",graphics=scicos_graphics(orig=[152.88902,260.24498],sz=[60,40],flip=%t,theta=0,exprs=["2";"1";"5";"0"],pin=[11;39],pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit=["E";"E"],out_implicit="E"),model=scicos_model(sim=list("logicalop_i8",4),in1=[-1;-1],in2=[-2;-2],intyp=[5;5],out=-1,out2=-2,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[1;0],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="SAMPHOLD_m",graphics=scicos_graphics(orig=[233.72156,260.24498],sz=[40,40],flip=%t,theta=0,exprs="5",pin=5,pout=33,pein=42,peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("samphold4_m",4),in1=-1,in2=-2,intyp=5,out=-1,out2=-2,outtyp=5,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([221.46044),yy: new ScilabDouble([280.24498),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([4,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([138.19704),yy: new ScilabDouble([273.44465),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([38,1,1])})); - scs_m.objs.push(scicos_block(gui="LOGICAL_OP",graphics=scicos_graphics(orig=[373.24106,309.46812],sz=[60,40],flip=%t,theta=0,exprs=["1";"5";"5";"0"],pin=36,pout=13,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("logicalop_i8",4),in1=-1,in2=-2,intyp=5,out=-1,out2=-2,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[5;0],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[199.48466,398.2166],sz=[20,20],flip=%t,theta=0,exprs="3",pin=[],pout=9,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=3,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([219.48466),yy: new ScilabDouble([408.2166),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([8,1,0]),to: new ScilabDouble([28,1,1])})); - scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[104.31759,276.91165],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=11,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([124.31759),yy: new ScilabDouble([286.91165),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([10,1,0]),to: new ScilabDouble([3,1,1])})); - scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[457.40928,320.20131],sz=[20,20],flip=%t,theta=0,exprs="2",pin=13,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([441.81249),yy: new ScilabDouble([329.46812),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([7,1,0]),to: new ScilabDouble([12,1,1])})); - scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[376.4669,270.83282],sz=[20,20],flip=%t,theta=0,exprs="1",pin=37,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - - var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title="Untitled",tol=[0.0001,0.000001,1.000E-10,100001,0,0],tf=100000,context=[],void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); - scs_m_1.objs.push(scicos_block(gui="ANDLOG_f",graphics=scicos_graphics(orig=[194,133],sz=[60,60],flip=%t,theta=0,exprs=[],pin=[],pout=9,pein=[4;11],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="andlog",in1=[],in2=[],intyp=1,out=1,out2=[],outtyp=1,evtin=[1;1],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_block(gui="CLKIN_f",graphics=scicos_graphics(orig=[149,287],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=[],peout=4,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=-1,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_block(gui="CLKOUT_f",graphics=scicos_graphics(orig=[450,83],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=8,peout=[],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="output",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([169),yy: new ScilabDouble([297),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1]),to: new ScilabDouble([1,1])})); - scs_m_1.objs.push(scicos_block(gui="CLKIN_f",graphics=scicos_graphics(orig=[141,330],sz=[20,20],flip=%t,theta=0,exprs="2",pin=[],pout=[],pein=[],peout=6,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="d",firing=-1,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([161),yy: new ScilabDouble([340),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([5,1]),to: new ScilabDouble([10,1])})); - scs_m_1.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[331,137],sz=[60,60],flip=%t,theta=0,exprs=["1";"1"],pin=9,pout=[],pein=12,peout=[8;0],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=1,intyp=-1,out=[],out2=[],outtyp=1,evtin=1,evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=1,nmode=1,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([351),yy: new ScilabDouble([131.29),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([7,1]),to: new ScilabDouble([3,1])})); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([262.57),yy: new ScilabDouble([163),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1]),to: new ScilabDouble([7,1])})); - scs_m_1.objs.push(scicos_block(gui="CLKSPLIT_f",graphics=scicos_graphics(orig=[234;275.78348],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=[],pout=[],pein=6,peout=[11;12],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="split",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[%f,%f,%f],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([234),yy: new ScilabDouble([275.78),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([10,1]),to: new ScilabDouble([1,2])})); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([234),yy: new ScilabDouble([275.78),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([10,2]),to: new ScilabDouble([7,1])})); - scs_m.objs.push(scicos_block(gui="ANDBLK",graphics=scicos_graphics(orig=[233.73039,318.74407],sz=[40,40],flip=%t,theta=0,exprs=[],pin=[],pout=[],pein=[19;16],peout=17,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[1;1],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=%f,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([259.98293),yy: new ScilabDouble([372.50232),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([15,2,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([253.73039),yy: new ScilabDouble([313.02978),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([15,1,0]),to: new ScilabDouble([41,1,1])})); - scs_m_1.push(tlist(new ScilabString([600,450,0,0,600,450]),props=scicos_params(wpar=,Title=,tol=,tf=30,context=" ",void1=,options=tlist(,list(%t,new ScilabDouble([33)]),,,list(,),),void2=,void3=,doc=list()))); - scs_m_1.objs.push(scicos_block(gui="EDGETRIGGER",graphics=scicos_graphics(orig=[288.58631,257.1131],sz=[60,40],flip=%t,theta=0,exprs="1",pin=5,pout=3,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("edgetrig",4),in1=1,in2=[],intyp=1,out=1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=0,odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=1,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[388.28869,247.1131],sz=[60,60],flip=%t,theta=0,exprs=["0";"0"],pin=3,pout=[],pein=[],peout=[7;0],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=[],intyp=1,out=[],out2=1,outtyp=[],evtin=[],evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([357.15774),yy: new ScilabDouble([277.1131),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([2,1,1])})); - scs_m_1.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[240.01488,267.1131],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=-1,out=-1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([260.01488),yy: new ScilabDouble([277.1131),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([4,1,0]),to: new ScilabDouble([1,1,1])})); - scs_m_1.objs.push(scicos_block(gui="CLKOUTV_f",graphics=scicos_graphics(orig=[398.28869,181.39881],sz=[20,30],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=7,peout=[],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="output",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([408.28869),yy: new ScilabDouble([241.39881),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([6,1,1])})); - scs_m.objs.push(scicos_block(gui="EDGE_TRIGGER",graphics=scicos_graphics(orig=[133.90637,385.342],sz=[60,40],flip=%t,theta=0,exprs=[],pin=26,pout=[],pein=[],peout=19,gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="csuper",in1=-1,in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([163.90637),yy: new ScilabDouble([379.62771),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([18,1,0]),to: new ScilabDouble([15,1,1])})); - scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[79.594811,395.47647],sz=[20,20],flip=%t,theta=0,exprs="2",pin=[],pout=23,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.push(tlist(new ScilabString([600,450,0,0,600,450]),props=scicos_params(wpar=,Title=,tol=,tf=30,context=" ",void1=,options=tlist(,list(%t,new ScilabDouble([33)]),,,list(,),),void2=,void3=,doc=list()))); - scs_m_1.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[150.65045,143.82208],sz=[60,60],flip=%t,theta=0,exprs=["0";"0"],pin=6,pout=[],pein=[],peout=[3;4],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_block(gui="CLKSOMV_f",graphics=scicos_graphics(orig=[169.82143,96.146231],sz=[16.666667,16.666667],flip=%t,theta=0,exprs=[],pin=[],pout=[],pein=[3;4;0],peout=8,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="sum",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[1;1;1],evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=-1,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([170.65045),yy: new ScilabDouble([138.10779),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([2,1,1])})); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([190.65045),yy: new ScilabDouble([138.10779),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([1,2,0]),to: new ScilabDouble([2,2,1])})); - scs_m_1.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[102.07902,163.82208],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=6,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=-1,out=-1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([122.07902),yy: new ScilabDouble([173.82208),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([5,1,0]),to: new ScilabDouble([1,1,1])})); - scs_m_1.objs.push(scicos_block(gui="CLKOUTV_f",graphics=scicos_graphics(orig=[168.15476,38.527183],sz=[20,30],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=8,peout=[],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="output",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([178.15476),yy: new ScilabDouble([98.527183),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([7,1,1])})); - scs_m.objs.push(scicos_block(gui="Extract_Activation",graphics=scicos_graphics(orig=[239.82193,456.57677],sz=[60,40],flip=%t,theta=0,exprs=[],pin=31,pout=[],pein=[],peout=22,gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="csuper",in1=-1,in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([269.82193),yy: new ScilabDouble([450.86248),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([21,1,0]),to: new ScilabDouble([2,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([99.594811),yy: new ScilabDouble([405.47647),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([20,1,0]),to: new ScilabDouble([25,1,1])})); - scs_m.objs.push(scicos_block(gui="SUM_f",graphics=scicos_graphics(orig=[200.5252,469.13173],sz=[16.666667,16.666667],flip=%t,theta=0,exprs=[],pin=[27;0;30],pout=31,pein=[],peout=[],gr_i=[],id="",in_implicit=["E";"E";"E"],out_implicit="E"),model=scicos_model(sim=list("plusblk",2),in1=[-1;-1;-1],in2=[],intyp=1,out=-1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[110.25582;405.42077],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=23,pout=[26;27],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([110.25582),yy: new ScilabDouble([405.42077),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([25,1,0]),to: new ScilabDouble([18,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([110.25582),yy: new ScilabDouble([405.42077),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([25,2,0]),to: new ScilabDouble([24,1,1])})); - scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[222.54128;408.2166],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=9,pout=[29;30],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([222.54128),yy: new ScilabDouble([408.2166),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([28,1,0]),to: new ScilabDouble([2,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([222.54128),yy: new ScilabDouble([408.2166),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([28,2,0]),to: new ScilabDouble([24,3,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([219.57282),yy: new ScilabDouble([477.46506),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([24,1,0]),to: new ScilabDouble([21,1,1])})); - scs_m.objs.push(scicos_block(gui="SELECT_m",graphics=scicos_graphics(orig=[298.86371,253.57321],sz=[40,40],flip=%t,theta=0,exprs=["5";"2";"1"],pin=[33;40],pout=34,pein=[43;44],peout=[],gr_i=[],id="",in_implicit=["E";"E"],out_implicit="E"),model=scicos_model(sim=list("selector_m",4),in1=[-1;-1],in2=[-2;-2],intyp=[5;5],out=-1,out2=-2,outtyp=5,evtin=[1;1],evtout=[],state=[],dstate=1,odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([282.29299),yy: new ScilabDouble([280.24498),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([4,1,0]),to: new ScilabDouble([32,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([347.43514),yy: new ScilabDouble([273.57321),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([32,1,0]),to: new ScilabDouble([35,1,1])})); - scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[357.57328,280.83282],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=34,pout=[36;37],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([357.57328),yy: new ScilabDouble([280.83282),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([35,1,0]),to: new ScilabDouble([7,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([357.57328),yy: new ScilabDouble([280.83282),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([35,2,0]),to: new ScilabDouble([14,1,1])})); - scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[140.34523;273.49157],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=6,pout=[39;40],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([140.34523),yy: new ScilabDouble([273.49157),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([38,1,0]),to: new ScilabDouble([3,2,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([140.34523),yy: new ScilabDouble([273.49157),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([38,2,0]),to: new ScilabDouble([32,2,1])})); - scs_m.objs.push(scicos_block(gui="CLKSPLIT_f",graphics=scicos_graphics(orig=[253.72572;309.29537],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=[],pout=[],pein=17,peout=[42;43],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="split",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[%f,%f,%f],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([253.72572),yy: new ScilabDouble([309.29537),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([41,1,0]),to: new ScilabDouble([4,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([253.72572),yy: new ScilabDouble([309.29537),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([41,2,0]),to: new ScilabDouble([32,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([279.98293),yy: new ScilabDouble([372.50232),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,2,0]),to: new ScilabDouble([32,2,1])})); - - var model = scicos_model(); - model.sim = new ScilabString(["csuper"]); - model.in1 = new ScilabDouble([1],[1],[1]); - model.in2 = new ScilabDouble([1],[1],[1]); - model.out = new ScilabDouble([1],[1]); - model.out2 = new ScilabDouble([1],[1]); - model.intyp = new ScilabDouble([5,1,1]); - model.outtyp = new ScilabDouble([5,5]); - model.blocktype = new ScilabString(["h"]); - model.firing = new ScilabBoolean([false]); - model.dep_ut = new ScilabBoolean([true,false]); - model.rpar=scs_m; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,3]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DIFF_f.js b/data_structures/DIFF_f.js deleted file mode 100644 index 18b0711..0000000 --- a/data_structures/DIFF_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function DIFF_f () { - - - var x0 = [[0],[0]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["diffblk"]),new ScilabDouble([10001])); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.state=new ScilabDouble([x0]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var exprs = [[strcat(sci2exp(x0(1)))],[strcat(sci2exp(x0(2)))]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DLATCH.js b/data_structures/DLATCH.js deleted file mode 100644 index f2d9e89..0000000 --- a/data_structures/DLATCH.js +++ /dev/null @@ -1,41 +0,0 @@ -function DLATCH () { - - - var scs_m = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["DLATCH"],tol=[0.0001,0.000001,1.000E-10,100001,0,0],tf=100000,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); - scs_m.objs.push(scicos_block(gui="CONST_m",graphics=scicos_graphics(orig=[109.62561,263.44465],sz=[20;20],flip=%t,theta=0,exprs="int8(0)",pin=[],pout=7,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(new ScilabInteger([0])),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[233.37693,320.30536],sz=[60,60],flip=%t,theta=0,exprs=["0";"1"],pin=13,pout=[],pein=[],peout=[6;0],gr_i=list(["txt=[''If,in>0'';'','';'',then, , else'']";"xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'');"],8),id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=1,intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=1,nmode=1,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="LOGICAL_OP",graphics=scicos_graphics(orig=[152.88902,260.24498],sz=[60,40],flip=%t,theta=0,exprs=["2";"1";"5";"0"],pin=[15;7],pout=5,pein=[],peout=[],gr_i=list("xstringb(orig(1),orig(2),[''Logical,Op,'';OPER],sz(1),sz(2),''fill'');",8),id="",in_implicit=["E";"E"],out_implicit="E"),model=scicos_model(sim=list("logicalop_i8",4),in1=[-1;-1],in2=[-2;-2],intyp=[5;5],out=-1,out2=-2,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[1;0],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="SAMPHOLD_m",graphics=scicos_graphics(orig=[233.72156,260.24498],sz=[40,40],flip=%t,theta=0,exprs="5",pin=5,pout=9,pein=6,peout=[],gr_i=list("xstringb(orig(1),orig(2),''S/H'',sz(1),sz(2),''fill'')",8),id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("samphold4_m",4),in1=-1,in2=-2,intyp=5,out=-1,out2=-2,outtyp=5,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([221.46044),yy: new ScilabDouble([280.24498),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([4,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([253.37693),yy: new ScilabDouble([314.59108),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([4,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([138.19704),yy: new ScilabDouble([273.44465),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([3,2,1])})); - scs_m.objs.push(scicos_block(gui="LOGICAL_OP",graphics=scicos_graphics(orig=[317.46698,309.46812],sz=[60,40],flip=%t,theta=0,exprs=["1";"5";"5";"0"],pin=11,pout=17,pein=[],peout=[],gr_i=list("xstringb(orig(1),orig(2),[''Logical,Op,'';OPER],sz(1),sz(2),''fill'');",8),id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("logicalop_i8",4),in1=-1,in2=-2,intyp=5,out=-1,out2=-2,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[5;0],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([282.29299),yy: new ScilabDouble([280.24498),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([4,1,0]),to: new ScilabDouble([10,1,1])})); - scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[305.09603,280.83282],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=9,pout=[11;19],pein=[],peout=[],gr_i=list([],8),id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([305.09603),yy: new ScilabDouble([280.83282),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([10,1,0]),to: new ScilabDouble([8,1,1])})); - scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[184.8055,340.30536],sz=[20,20],flip=%t,theta=0,exprs="2",pin=[],pout=13,pein=[],peout=[],gr_i=list(" ",8),id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([204.8055),yy: new ScilabDouble([350.30536),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([12,1,0]),to: new ScilabDouble([2,1,1])})); - scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[104.31759,276.91165],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=15,pein=[],peout=[],gr_i=list(" ",8),id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([124.31759),yy: new ScilabDouble([286.91165),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([14,1,0]),to: new ScilabDouble([3,1,1])})); - scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[406.03841,319.46812],sz=[20,20],flip=%t,theta=0,exprs="2",pin=17,pout=[],pein=[],peout=[],gr_i=list(" ",8),id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([386.03841),yy: new ScilabDouble([329.46812),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([8,1,0]),to: new ScilabDouble([16,1,1])})); - scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[325.09603,270.83282],sz=[20,20],flip=%t,theta=0,exprs="1",pin=19,pout=[],pein=[],peout=[],gr_i=list(" ",8),id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([305.09603),yy: new ScilabDouble([280.83282),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([10,2,0]),to: new ScilabDouble([18,1,1])})); - - var model = scicos_model(); - model.sim = new ScilabString(["csuper"]); - model.in1 = new ScilabDouble([1],[1]); - model.in2 = new ScilabDouble([1],[1]); - model.out = new ScilabDouble([1],[1]); - model.out2 = new ScilabDouble([1],[1]); - model.intyp = new ScilabDouble([5,-1]); - model.outtyp = new ScilabDouble([5,5]); - model.blocktype = new ScilabString(["h"]); - model.firing = new ScilabBoolean([false]); - model.dep_ut = new ScilabBoolean([true,false]); - model.rpar=scs_m; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,3]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DLR.js b/data_structures/DLR.js deleted file mode 100644 index a42f9d9..0000000 --- a/data_structures/DLR.js +++ /dev/null @@ -1,29 +0,0 @@ -function DLR () { - - - var x0 = 0; - - var A = -1; - - var B = 1; - - var C = 1; - - var D = 0; - - var exprs = ["1";"1+z"]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["dsslti4"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.dstate=...x0; - model.rpar = new ScilabDouble([...colon_operator(A,:)],[...B],[C(,)],[...D]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DLRADAPT_f.js b/data_structures/DLRADAPT_f.js deleted file mode 100644 index 08e7047..0000000 --- a/data_structures/DLRADAPT_f.js +++ /dev/null @@ -1,33 +0,0 @@ -function DLRADAPT_f () { - - - var p = [[0],[1]]; - - var rn = []; - - var rd = [[0.2+0.8*%i,0.2-0.8*%i],[0.3+0.7*%i,0.3-0.7*%i]]; - - var g = [[1],[1]]; - - var last_u = []; - - var last_y = [[0],[0]]; - - var model = scicos_model(); - model.sim = new ScilabString(["dlradp"]); - model.in1 = new ScilabDouble([1],[1]); - model.out = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.dstate = new ScilabDouble([last_u],[last_y]); - model.rpar = new ScilabDouble([...colon_operator(p,:)],[real(...rn)],[imag(...rn)],[real(...rd)],[imag(rd(,))],[...g]); - model.ipar = new ScilabDouble([0],[2],[2]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(p)],[sci2exp(rn)],[sci2exp(rd,0)],[sci2exp(g)],[sci2exp(last_u)],[sci2exp(last_y)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DLSS.js b/data_structures/DLSS.js deleted file mode 100644 index e946ae2..0000000 --- a/data_structures/DLSS.js +++ /dev/null @@ -1,29 +0,0 @@ -function DLSS () { - - - var x0 = 0; - - var A = -1; - - var B = 1; - - var C = 1; - - var D = 0; - - var model = scicos_model(); - model.sim=list(new ScilabString(["dsslti4"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.dstate=...x0; - model.rpar = new ScilabDouble([...colon_operator(A,:)],[...B],[C(,)],[...D]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DOLLAR.js b/data_structures/DOLLAR.js deleted file mode 100644 index b88da24..0000000 --- a/data_structures/DOLLAR.js +++ /dev/null @@ -1,24 +0,0 @@ -function DOLLAR () { - - - var z = 0; - - var inh = 0; - - var in1 = 1; - - var exprs = string([z],[inh]); - - var model = scicos_model(); - model.sim=list(new ScilabString(["dollar4"]),new ScilabDouble([4])); - model.in1.push(new ScilabDouble([in1])); - model.out=new ScilabDouble([in1]); - model.evtin = new ScilabDouble([1-inh]); - model.dstate=new ScilabDouble([z]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DOLLAR_f.js b/data_structures/DOLLAR_f.js deleted file mode 100644 index 19d03d4..0000000 --- a/data_structures/DOLLAR_f.js +++ /dev/null @@ -1,24 +0,0 @@ -function DOLLAR_f () { - - - var z = 0; - - var inh = 0; - - var in1 = 1; - - var exprs = string([z],[inh]); - - var model = scicos_model(); - model.sim = new ScilabString(["dollar"]); - model.in1.push(new ScilabDouble([in1])); - model.out=new ScilabDouble([in1]); - model.evtin = new ScilabDouble([1-inh]); - model.dstate=new ScilabDouble([z]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/DOLLAR_m.js b/data_structures/DOLLAR_m.js deleted file mode 100644 index 155f35b..0000000 --- a/data_structures/DOLLAR_m.js +++ /dev/null @@ -1,24 +0,0 @@ -function DOLLAR_m () { - - - var z = 0; - - var inh = 0; - - var in1 = 1; - - var exprs = string([z],[inh]); - - var model = scicos_model(); - model.sim=list(new ScilabString(["dollar4"]),new ScilabDouble([4])); - model.in1.push(new ScilabDouble([in1])); - model.out=new ScilabDouble([in1]); - model.evtin = new ScilabDouble([1-inh]); - model.dstate=new ScilabDouble([z]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/Diode.js b/data_structures/Diode.js deleted file mode 100644 index 3c2d979..0000000 --- a/data_structures/Diode.js +++ /dev/null @@ -1,34 +0,0 @@ -function Diode () { - - - var Ids = 1.e-6; - - var Vt = 0.04; - - var Maxexp = 15; - - var R = 1.e8; - - var model = scicos_model(); - model.rpar = new ScilabDouble([Ids],[Vt],[Maxexp],[R]); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.sim = new ScilabString(["Diode"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["Diode"]); - mo.inputs = new ScilabString(["p"]); - mo.outputs = new ScilabString(["n"]); - mo.parameters=list(new ScilabString(["Ids"),new ScilabString(["Vt"]),new ScilabString(["Maxexp"]),new ScilabString(["R"]]),list(Ids,Vt,Maxexp,R)); - model.equations=mo; - - var exprs = string([Ids],[Vt],[Maxexp],[R]); - - var gr_i = []; - this.x=standard_define([2,1],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/EDGE_TRIGGER.js b/data_structures/EDGE_TRIGGER.js deleted file mode 100644 index 0ca790b..0000000 --- a/data_structures/EDGE_TRIGGER.js +++ /dev/null @@ -1,87 +0,0 @@ -function EDGE_TRIGGER () { - - - var scs_m_1 = scicos_diagram(); - scs_m_1.objs.push(EDGETRIGGER("define")); - scs_m_1.objs.push(IFTHEL_f("define")); - scs_m_1.objs.push(IN_f("define")); - scs_m_1.objs.push(CLKOUTV_f("define")); - scs_m_1.objs.push(scicos_link({})); - scs_m_1.objs.push(scicos_link({})); - scs_m_1.objs.push(scicos_link({})); - - var blk = scs_m_1.objs(1); - - var graphics = blk.graphics; - - var model = blk.model; - graphics.orig = new ScilabDouble([60,0]); - graphics.sz = new ScilabDouble([60,40]); - graphics.exprs = new ScilabString(["0"]); - model.ipar = new ScilabDouble([0]); - graphics.pin = new ScilabDouble([5]); - graphics.pout = new ScilabDouble([6]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - blk=scs_m_1.objs(2); - graphics=blk.graphics; - model=blk.model; - graphics.orig = new ScilabDouble([160,0]); - graphics.sz = new ScilabDouble([60,40]); - graphics.exprs = new ScilabString(["0";"0"]); - model.evtin = new ScilabDouble(); - model.nzcross = new ScilabDouble([0]); - model.nmode = new ScilabDouble([0]); - graphics.pin = new ScilabDouble([6]); - graphics.peout = new ScilabDouble([7],[0]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - blk=scs_m_1.objs(3); - graphics=blk.graphics; - model=blk.model; - graphics.orig = new ScilabDouble([0,10]); - graphics.sz = new ScilabDouble([20,20]); - graphics.exprs = new ScilabString(["1"]); - model.ipar = new ScilabDouble([1]); - graphics.pout = new ScilabDouble([5]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - blk=scs_m_1.objs(4); - graphics=blk.graphics; - model=blk.model; - graphics.orig = new ScilabDouble([170,-60]); - graphics.sz = new ScilabDouble([20,20]); - graphics.exprs = new ScilabString(["1"]); - model.ipar = new ScilabDouble([1]); - graphics.pein = new ScilabDouble([7]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - - var lnk = scs_m_1.objs(5); - lnk.from = new ScilabDouble([3,1,0]); - lnk.to = new ScilabDouble([1,1,1]); - scs_m_1.objs.push(lnk); - lnk=scs_m_1.objs(6); - lnk.from = new ScilabDouble([1,1,0]); - lnk.to = new ScilabDouble([2,1,1]); - scs_m_1.objs.push(lnk); - lnk=scs_m_1.objs(7); - lnk.ct = new ScilabDouble([5,-1]); - lnk.from = new ScilabDouble([2,1,0]); - lnk.to = new ScilabDouble([4,1,1]); - scs_m_1.objs.push(lnk); - clear blk lnk - model=scicos_model(); - model.sim = new ScilabString(["csuper"]); - model.in1 = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1]); - model.rpar=scs_m_1; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/ENDBLK.js b/data_structures/ENDBLK.js deleted file mode 100644 index cc253ef..0000000 --- a/data_structures/ENDBLK.js +++ /dev/null @@ -1,13 +0,0 @@ -function ENDBLK () { - - - var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[-159.096,811.104,-121.216,617.984,1323,1008,331,284,630,480,0,7,1.4],Title="ENDBLK",tol=[0.0001,0.000001,1.000E-10,100001,0,0],tf=100000,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); - scs_m_1.objs.push(scicos_block(gui="END_c",graphics=scicos_graphics(orig=[272.104,249.11733],sz=[40,40],flip=%t,theta=0,exprs="1.000E+08",pin=[],pout=[],pein=2,peout=2,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim=list("scicosexit",4),in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=1.000E+08,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([292.104),yy: new ScilabDouble([243.40305),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([1,1,1])})); - - var model = scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/END_c.js b/data_structures/END_c.js deleted file mode 100644 index 027d6ca..0000000 --- a/data_structures/END_c.js +++ /dev/null @@ -1,19 +0,0 @@ -function END_c () { - - - var tf = 100000000; - - var model = scicos_model(); - model.sim=list(new ScilabString(["scicosexit"]),new ScilabDouble([4])); - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1]); - model.firing=new ScilabDouble([tf]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = string(tf); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/ESELECT_f.js b/data_structures/ESELECT_f.js deleted file mode 100644 index 7831538..0000000 --- a/data_structures/ESELECT_f.js +++ /dev/null @@ -1,24 +0,0 @@ -function ESELECT_f () { - - - var out = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["eselect"]),new ScilabDouble([-2])); - model.in1 = new ScilabDouble([1]); - model.in2 = new ScilabDouble([1]); - model.intyp = new ScilabDouble([-1]); - model.evtin = new ScilabDouble([1]); - model.evtout=ones(out,1); - model.blocktype = new ScilabString(["l"]); - model.firing=-ones(out,1); - model.dep_ut = new ScilabBoolean([true,false]); - model.nmode = new ScilabDouble([0]); - model.nzcross = new ScilabDouble([0]); - - var gr_i = []; - - var exprs = [[string(out)],[string(1)],[string(model.nmode)]]; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/EVTDLY_c.js b/data_structures/EVTDLY_c.js deleted file mode 100644 index 7ada20f..0000000 --- a/data_structures/EVTDLY_c.js +++ /dev/null @@ -1,22 +0,0 @@ -function EVTDLY_c () { - - - var dt = 0.1; - - var ff = 0.0; - - var model = scicos_model(); - model.sim=list(new ScilabString(["evtdly4"]),new ScilabDouble([4])); - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1]); - model.rpar = new ScilabDouble([dt],[ff]); - model.blocktype = new ScilabString(["d"]); - model.firing=new ScilabDouble([ff]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[string(dt)],[sci2exp(ff)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/EVTGEN_f.js b/data_structures/EVTGEN_f.js deleted file mode 100644 index dc7754e..0000000 --- a/data_structures/EVTGEN_f.js +++ /dev/null @@ -1,18 +0,0 @@ -function EVTGEN_f () { - - - var tt = 0; - - var model = scicos_model(); - model.sim = new ScilabString(["trash"]); - model.evtout = new ScilabDouble([1]); - model.blocktype = new ScilabString(["d"]); - model.firing=new ScilabDouble([tt]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = string(tt); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/EVTVARDLY.js b/data_structures/EVTVARDLY.js deleted file mode 100644 index 075c318..0000000 --- a/data_structures/EVTVARDLY.js +++ /dev/null @@ -1,19 +0,0 @@ -function EVTVARDLY () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["evtvardly"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([-1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = string(model.firing); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/EXPBLK_m.js b/data_structures/EXPBLK_m.js deleted file mode 100644 index 7cfd9af..0000000 --- a/data_structures/EXPBLK_m.js +++ /dev/null @@ -1,25 +0,0 @@ -function EXPBLK_m () { - - - var in1 = 1; - - var a = %e; - - var model = scicos_model(); - model.sim=list(new ScilabString(["expblk_m"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.rpar=new ScilabBoolean([a]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = ["%e"]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/EXPRESSION.js b/data_structures/EXPRESSION.js deleted file mode 100644 index aad864c..0000000 --- a/data_structures/EXPRESSION.js +++ /dev/null @@ -1,28 +0,0 @@ -function EXPRESSION () { - - - var in1 = [[1],[1]]; - - var out = 1; - - var txt = "(u1>0)*sin(u2)^2"; - deff("%foo(u1,u2)",txt) - - var [%ok1,ipar,rpar,nz] = compile_expr(%foo); - - var model = scicos_model(); - model.sim=list(new ScilabString(["evaluate_expr"]),new ScilabDouble([4])); - model.in1.push(new ScilabDouble([in1])); - model.out=new ScilabDouble([out]); - model.rpar=rpar; - model.ipar=ipar; - model.nzcross=nz; - model.nmode=nz; - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [string(size(in1,"*"));txt;"1"]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([5,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/EXTRACT.js b/data_structures/EXTRACT.js deleted file mode 100644 index 71f82b7..0000000 --- a/data_structures/EXTRACT.js +++ /dev/null @@ -1,31 +0,0 @@ -function EXTRACT () { - - - var model = scicos_model(); - - var function_name = "extract"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble([1,1,1,1]); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [[sci2exp(1)],[sci2exp([1])],[sci2exp([1])]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/EXTRACTBITS.js b/data_structures/EXTRACTBITS.js deleted file mode 100644 index a7e621b..0000000 --- a/data_structures/EXTRACTBITS.js +++ /dev/null @@ -1,23 +0,0 @@ -function EXTRACTBITS () { - - - var numb = []; - - var model = scicos_model(); - model.sim=list(new ScilabString(["extract_bit_32_UH0"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.in2 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.intyp = new ScilabDouble([3]); - model.outtyp = new ScilabDouble([3]); - model.ipar = new ScilabDouble([0,numb]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(3)],[sci2exp(1)],[sci2exp(0)],[sci2exp(0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/EXTRACTOR.js b/data_structures/EXTRACTOR.js deleted file mode 100644 index fe8472d..0000000 --- a/data_structures/EXTRACTOR.js +++ /dev/null @@ -1,19 +0,0 @@ -function EXTRACTOR () { - - - var ind = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["extractor"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.out = new ScilabDouble([1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - model.ipar=new ScilabDouble([ind]); - - var exprs = [sci2exp(ind)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/EXTTRI.js b/data_structures/EXTTRI.js deleted file mode 100644 index 5702134..0000000 --- a/data_structures/EXTTRI.js +++ /dev/null @@ -1,31 +0,0 @@ -function EXTTRI () { - - - var model = scicos_model(); - - var function_name = "extrilz"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [[sci2exp(1)],[sci2exp(1)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/Extract_Activation.js b/data_structures/Extract_Activation.js deleted file mode 100644 index ed98bf4..0000000 --- a/data_structures/Extract_Activation.js +++ /dev/null @@ -1,92 +0,0 @@ -function Extract_Activation () { - - - var scs_m_1 = scicos_diagram(); - scs_m_1.objs.push(IFTHEL_f("define")); - scs_m_1.objs.push(CLKSOMV_f("define")); - scs_m_1.objs.push(IN_f("define")); - scs_m_1.objs.push(CLKOUTV_f("define")); - scs_m_1.objs.push(scicos_link({})); - scs_m_1.objs.push(scicos_link({})); - scs_m_1.objs.push(scicos_link({})); - scs_m_1.objs.push(scicos_link({})); - - var blk = scs_m_1.objs(1); - - var graphics = blk.graphics; - - var model = blk.model; - graphics.orig = new ScilabDouble([80,0]); - graphics.sz = new ScilabDouble([60,40]); - graphics.exprs = new ScilabString(["0";"0"]); - model.evtin = new ScilabDouble(); - model.nzcross = new ScilabDouble([0]); - model.nmode = new ScilabDouble([0]); - graphics.pin = new ScilabDouble([7]); - graphics.peout = new ScilabDouble([5],[6]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - blk=scs_m_1.objs(2); - graphics=blk.graphics; - model=blk.model; - graphics.orig = new ScilabDouble([80,-80]); - graphics.sz = new ScilabDouble([80,40]); - graphics.pein = new ScilabDouble([5],[6]); - graphics.peout = new ScilabDouble([8]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - blk=scs_m_1.objs(3); - graphics=blk.graphics; - model=blk.model; - graphics.orig = new ScilabDouble([0,10]); - graphics.sz = new ScilabDouble([20,20]); - graphics.exprs = new ScilabString(["1"]); - model.ipar = new ScilabDouble([1]); - graphics.pout = new ScilabDouble([7]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - blk=scs_m_1.objs(4); - graphics=blk.graphics; - model=blk.model; - graphics.orig = new ScilabDouble([110,-140]); - graphics.sz = new ScilabDouble([20,20]); - graphics.exprs = new ScilabString(["1"]); - model.ipar = new ScilabDouble([1]); - graphics.pein = new ScilabDouble([8]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - - var lnk = scs_m_1.objs(5); - lnk.ct = new ScilabDouble([5,-1]); - lnk.from = new ScilabDouble([1,1,0]); - lnk.to = new ScilabDouble([2,1,1]); - scs_m_1.objs.push(lnk); - lnk=scs_m_1.objs(6); - lnk.ct = new ScilabDouble([5,-1]); - lnk.from = new ScilabDouble([1,2,0]); - lnk.to = new ScilabDouble([2,2,1]); - scs_m_1.objs.push(lnk); - lnk=scs_m_1.objs(7); - lnk.from = new ScilabDouble([3,1,0]); - lnk.to = new ScilabDouble([1,1,1]); - scs_m_1.objs.push(lnk); - lnk=scs_m_1.objs(8); - lnk.ct = new ScilabDouble([5,-1]); - lnk.from = new ScilabDouble([2,1,0]); - lnk.to = new ScilabDouble([4,1,1]); - scs_m_1.objs.push(lnk); - clear blk lnk - model=scicos_model(); - model.sim = new ScilabString(["csuper"]); - model.in1 = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1]); - model.rpar=scs_m_1; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/FROM.js b/data_structures/FROM.js deleted file mode 100644 index 5a5a591..0000000 --- a/data_structures/FROM.js +++ /dev/null @@ -1,23 +0,0 @@ -function FROM () { - - - var model = scicos_model(); - model.sim = new ScilabString(["from"]); - model.in1 = new ScilabDouble(); - model.in2 = new ScilabDouble(); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([-1]); - model.ipar = new ScilabDouble(); - model.opar=list("A"); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = ["A"]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,1]),model,exprs,gr_i); - this.x.graphics.id = new ScilabString(["From"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/FROMMO.js b/data_structures/FROMMO.js deleted file mode 100644 index e8573de..0000000 --- a/data_structures/FROMMO.js +++ /dev/null @@ -1,27 +0,0 @@ -function FROMMO () { - - - var model = scicos_model(); - model.sim = new ScilabString(["frommo"]); - model.in1 = new ScilabDouble(); - model.in2 = new ScilabDouble(); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([-1]); - model.ipar = new ScilabDouble(); - model.opar=list("A"); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var mo = modelica(); - mo.model = new ScilabString(["frommo"]); - mo.outputs = new ScilabString(["n"]); - - var exprs = ["A"]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,1]),model,exprs,gr_i); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/FROMWSB.js b/data_structures/FROMWSB.js deleted file mode 100644 index a610e91..0000000 --- a/data_structures/FROMWSB.js +++ /dev/null @@ -1,15 +0,0 @@ -function FROMWSB () { - - - var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[-159.096,811.104,-121.216,617.984,1323,1008,331,284,630,480,1426,231,1.4],Title="FROMWSB",tol=[0.0001,0.000001,1.000D-10,100001,0,0],tf=100000,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); - scs_m_1.objs.push(scicos_block(gui="FROMWS_c",graphics=scicos_graphics(orig=[260.37067,261.584],sz=[70,40],flip=%t,theta=0,exprs=["V";"1";"1";"0"],pin=[],pout=4,pein=2,peout=2,gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("fromws_c",4),in1=[],in2=[],intyp=1,out=-1,out2=-2,outtyp=-1,evtin=1,evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=[1;-31;1;1;0],opar=list(),blocktype="d",firing=0,dep_ut=[%f,%t],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([295.37067),yy: new ScilabDouble([255.86971),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([1,1,1])})); - scs_m_1.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[358.9421,271.584],sz=[20,20],flip=%t,theta=0,exprs="1",pin=4,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=-2,intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([338.9421),yy: new ScilabDouble([281.584),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([3,1,1])})); - - var model = scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([5,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/Flowmeter.js b/data_structures/Flowmeter.js deleted file mode 100644 index b17778b..0000000 --- a/data_structures/Flowmeter.js +++ /dev/null @@ -1,30 +0,0 @@ -function Flowmeter () { - - - var ModelName = "Flowmeter"; - - var PrametersValue = 1; - - var ParametersName = "Qini"; - - var model = scicos_model(); - - var Typein = []; - - var Typeout = []; - - var MI = []; - - var MO = []; - - var P = [[50,105,-1,90],[0,10,2,0],[101,10,-2,0]]; - - var PortName = ["Mesure";"C1";"C2"]; - - var for i = 1:size(P,"r"); - - var if P(i,3) = =1, then; - Typein = new ScilabDouble([Typein;,"E"]); - MI = new ScilabDouble([MI],[PortName(i)]); - return new BasicBlock(this.x) -} diff --git a/data_structures/GAINBLK.js b/data_structures/GAINBLK.js deleted file mode 100644 index c16da52..0000000 --- a/data_structures/GAINBLK.js +++ /dev/null @@ -1,25 +0,0 @@ -function GAINBLK () { - - - var gain = 1; - - var in1 = -1],[out=-1; - - var in2 = -2],[out2=-2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["gainblk"]),new ScilabDouble([4])); - model.in1.push(new ScilabDouble([in1])); - model.out=out; - model.in2.push(new ScilabDouble([in2])); - model.out2.push(out2); - model.rpar=new ScilabDouble([gain]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [strcat(sci2exp(gain))]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/GAINBLK_f.js b/data_structures/GAINBLK_f.js deleted file mode 100644 index bb31112..0000000 --- a/data_structures/GAINBLK_f.js +++ /dev/null @@ -1,21 +0,0 @@ -function GAINBLK_f () { - - - var gain = 1; - - var in1 = 1],[out=1; - - var model = scicos_model(); - model.sim = new ScilabString(["gain"]); - model.in1.push(new ScilabDouble([in1])); - model.out=out; - model.rpar=new ScilabDouble([gain]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [strcat(sci2exp(gain))]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/GAIN_f.js b/data_structures/GAIN_f.js deleted file mode 100644 index 0b78d54..0000000 --- a/data_structures/GAIN_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function GAIN_f () { - - - var gain = 1],[in1=1],[out=1; - - var model = scicos_model(); - model.sim = new ScilabString(["gain"]); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.rpar=new ScilabDouble([gain]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[strcat(sci2exp(gain))],[strcat(sci2exp(in1))],[strcat(sci2exp(out))]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/GENERAL_f.js b/data_structures/GENERAL_f.js deleted file mode 100644 index 1db91b0..0000000 --- a/data_structures/GENERAL_f.js +++ /dev/null @@ -1,25 +0,0 @@ -function GENERAL_f () { - - - var rpar = [[0],[0],[0],[0]]; - - var in1 = 1; - - var out = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["zcross"]),new ScilabDouble([1])); - model.nzcross=new ScilabDouble([in1]); - model.in1.push(new ScilabDouble([in1])); - model.evtout=ones(out,1); - model.rpar = new ScilabDouble([0],[0],[0],[0]); - model.blocktype = new ScilabString(["z"]); - model.firing=-ones(out,1); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[strcat(sci2exp(in1))],[strcat(sci2exp(out))]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/GENSIN_f.js b/data_structures/GENSIN_f.js deleted file mode 100644 index 13638df..0000000 --- a/data_structures/GENSIN_f.js +++ /dev/null @@ -1,21 +0,0 @@ -function GENSIN_f () { - - - var rpar = [[1],[1],[0]]; - - var model = scicos_model(); - model.sim = new ScilabString(["gensin"]); - model.in1 = new ScilabDouble(); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.rpar = new ScilabDouble([1],[1],[0]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var exprs = [[string(rpar(1))],[string(rpar(2))],[string(rpar(3))]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/GENSQR_f.js b/data_structures/GENSQR_f.js deleted file mode 100644 index e4d52e1..0000000 --- a/data_structures/GENSQR_f.js +++ /dev/null @@ -1,21 +0,0 @@ -function GENSQR_f () { - - - var Amplitude = 1; - - var model = scicos_model(); - model.sim = new ScilabString(["gensqr"]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.dstate=new ScilabDouble([Amplitude]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = string(Amplitude); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/GOTO.js b/data_structures/GOTO.js deleted file mode 100644 index 9c0c19b..0000000 --- a/data_structures/GOTO.js +++ /dev/null @@ -1,23 +0,0 @@ -function GOTO () { - - - var model = scicos_model(); - model.sim = new ScilabString(["goto"]); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([-1]); - model.out = new ScilabDouble(); - model.out2 = new ScilabDouble(); - model.outtyp = new ScilabDouble([1]); - model.ipar=int(1); - model.opar=list("A"); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [["A"],[sci2exp(1)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,1]),model,exprs,gr_i); - this.x.graphics.id = new ScilabString(["Goto"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/GOTOMO.js b/data_structures/GOTOMO.js deleted file mode 100644 index 70a1907..0000000 --- a/data_structures/GOTOMO.js +++ /dev/null @@ -1,27 +0,0 @@ -function GOTOMO () { - - - var model = scicos_model(); - model.sim = new ScilabString(["gotomo"]); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble(); - model.out = new ScilabDouble(); - model.out2 = new ScilabDouble(); - model.outtyp = new ScilabDouble([1]); - model.ipar=int(1); - model.opar=list("A"); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var mo = modelica(); - mo.model = new ScilabString(["gotomo"]); - mo.inputs = new ScilabString(["p"]); - - var exprs = [["A"],[sci2exp(1)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,1]),model,exprs,gr_i); - this.x.graphics.in_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/GotoTagVisibility.js b/data_structures/GotoTagVisibility.js deleted file mode 100644 index 27c4d72..0000000 --- a/data_structures/GotoTagVisibility.js +++ /dev/null @@ -1,23 +0,0 @@ -function GotoTagVisibility () { - - - var model = scicos_model(); - model.sim = new ScilabString(["gototagvisibility"]); - model.in1 = new ScilabDouble(); - model.in2 = new ScilabDouble(); - model.out = new ScilabDouble(); - model.out2 = new ScilabDouble(); - model.evtin = new ScilabDouble(); - model.intyp = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.opar=list("A"); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabBoolean([false]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = "A"; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/GotoTagVisibilityMO.js b/data_structures/GotoTagVisibilityMO.js deleted file mode 100644 index 8ede428..0000000 --- a/data_structures/GotoTagVisibilityMO.js +++ /dev/null @@ -1,23 +0,0 @@ -function GotoTagVisibilityMO () { - - - var model = scicos_model(); - model.sim = new ScilabString(["gototagvisibilitymo"]); - model.in1 = new ScilabDouble(); - model.in2 = new ScilabDouble(); - model.out = new ScilabDouble(); - model.out2 = new ScilabDouble(); - model.evtin = new ScilabDouble(); - model.intyp = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.opar=list("A"); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabBoolean([false]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = "A"; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/Ground.js b/data_structures/Ground.js deleted file mode 100644 index 53c0d1a..0000000 --- a/data_structures/Ground.js +++ /dev/null @@ -1,23 +0,0 @@ -function Ground () { - - - var model = scicos_model(); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble(); - model.sim = new ScilabString(["Ground"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["Ground"]); - mo.inputs = new ScilabString(["p"]); - model.equations=mo; - - var exprs = ""; - - var gr_i = []; - this.x=standard_define([1,1],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new GroundBlock(this.x) -} diff --git a/data_structures/Gyrator.js b/data_structures/Gyrator.js deleted file mode 100644 index 6e9b7a9..0000000 --- a/data_structures/Gyrator.js +++ /dev/null @@ -1,30 +0,0 @@ -function Gyrator () { - - - var ModelName = "Gyrator"; - - var PrametersValue = [[1],[1]]; - - var ParametersName = ["G1";"G2"]; - - var model = scicos_model(); - - var Typein = []; - - var Typeout = []; - - var MI = []; - - var MO = []; - - var P = [[2.5,90,2,0],[2.5,10,2,0],[97.5,90,-2,0],[97.5,10,-2,0]]; - - var PortName = ["p1";"n1";"p2";"n2"]; - - var for i = 1:size(P,"r"); - - var if P(i,3) = =1, then; - Typein = new ScilabDouble([Typein;,"E"]); - MI = new ScilabDouble([MI],[PortName(i)]); - return new BasicBlock(this.x) -} diff --git a/data_structures/HALT_f.js b/data_structures/HALT_f.js deleted file mode 100644 index 7199f8c..0000000 --- a/data_structures/HALT_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function HALT_f () { - - - var n = 0; - - var model = scicos_model(); - model.sim = new ScilabString(["hltblk"]); - model.evtin = new ScilabDouble([1]); - model.dstate = new ScilabDouble([0]); - model.ipar = new ScilabDouble([0]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = string(n); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/HYSTHERESIS.js b/data_structures/HYSTHERESIS.js deleted file mode 100644 index 22f72d0..0000000 --- a/data_structures/HYSTHERESIS.js +++ /dev/null @@ -1,27 +0,0 @@ -function HYSTHERESIS () { - - - var in1 = 1; - - var ipar = [0]; - - var nzz = 2; - - var rpar = [[1],[0],[1],[0]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["hystheresis"]),new ScilabDouble([4])); - model.in1.push(new ScilabDouble([in1])); - model.out = new ScilabDouble([1]); - model.rpar=new ScilabDouble([rpar]); - model.nzcross=new ScilabDouble([nzz]); - model.nmode = new ScilabDouble([1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[string(rpar)],[string(sign(nzz))]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/IFTHEL_f.js b/data_structures/IFTHEL_f.js deleted file mode 100644 index 5830a9d..0000000 --- a/data_structures/IFTHEL_f.js +++ /dev/null @@ -1,22 +0,0 @@ -function IFTHEL_f () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["ifthel"]),new ScilabDouble([-1])); - model.in1 = new ScilabDouble([1]); - model.in2 = new ScilabDouble([1]); - model.intyp = new ScilabDouble([-1]); - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1],[1]); - model.blocktype = new ScilabString(["l"]); - model.firing = new ScilabDouble([-1,-1]); - model.dep_ut = new ScilabBoolean([true,false]); - model.nmode = new ScilabDouble([1]); - model.nzcross = new ScilabDouble([1]); - - var gr_i = []; - - var exprs = [[string(model.in1)],[string(model.nmode)]]; - this.x=new standard_define(new ScilabDouble([3,3]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/INIMPL_f.js b/data_structures/INIMPL_f.js deleted file mode 100644 index 968ebb3..0000000 --- a/data_structures/INIMPL_f.js +++ /dev/null @@ -1,25 +0,0 @@ -function INIMPL_f () { - - - var model = scicos_model(); - model.sim = new ScilabString(["inimpl"]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([1]); - model.ipar = new ScilabDouble([1]); - model.dep_ut = new ScilabBoolean([false,false]); - model.blocktype = new ScilabString(["c"]); - - var mo = modelica(); - mo.model = new ScilabString(["PORT"]); - mo.outputs = new ScilabString(["n"]); - model.equations=mo; - - var prt = 1; - - var exprs = "1"; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new ImplicitInBlock(this.x) -} diff --git a/data_structures/INTEGRAL_f.js b/data_structures/INTEGRAL_f.js deleted file mode 100644 index 70589f4..0000000 --- a/data_structures/INTEGRAL_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function INTEGRAL_f () { - - - var x0 = 0; - - var model = scicos_model(); - model.sim = new ScilabString(["integr"]); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.state=new ScilabDouble([x0]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var exprs = strcat(sci2exp(x0)); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/INTEGRAL_m.js b/data_structures/INTEGRAL_m.js deleted file mode 100644 index 1606b27..0000000 --- a/data_structures/INTEGRAL_m.js +++ /dev/null @@ -1,26 +0,0 @@ -function INTEGRAL_m () { - - - var maxp = 1; - - var minp = -1; - - var rpar = []; - - var model = scicos_model(); - model.state = new ScilabDouble([0]); - model.sim=list(new ScilabString(["integral_func"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.in2 = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.rpar=rpar; - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var exprs = string([0],[0],[0],[maxp],[minp]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/INTMUL.js b/data_structures/INTMUL.js deleted file mode 100644 index b741d3e..0000000 --- a/data_structures/INTMUL.js +++ /dev/null @@ -1,24 +0,0 @@ -function INTMUL () { - - - var sgn = 0; - - var model = scicos_model(); - model.sim=list(new ScilabString(["matmul_i32"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1],[-2]); - model.out = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2],[-3]); - model.out2 = new ScilabDouble([-3]); - model.intyp = new ScilabDouble([3,3]); - model.outtyp = new ScilabDouble([3]); - model.rpar = new ScilabDouble(); - model.ipar=new ScilabDouble([sgn]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(3)],[sci2exp(0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/INTRP2BLK_f.js b/data_structures/INTRP2BLK_f.js deleted file mode 100644 index a70bdec..0000000 --- a/data_structures/INTRP2BLK_f.js +++ /dev/null @@ -1,24 +0,0 @@ -function INTRP2BLK_f () { - - - var a = [[0],[1]]; - - var b = [[0],[1]]; - - var c = [[0,1],[1,2]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["intrp2"]),new ScilabDouble([1])); - model.in1 = new ScilabDouble([1],[1]); - model.out = new ScilabDouble([1]); - model.rpar = new ScilabDouble([a],[b],[...c]); - model.ipar = new ScilabDouble([2],[2]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[strcat(sci2exp(a))],[strcat(sci2exp(b))],[strcat(sci2exp(c,0))]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/INTRPLBLK_f.js b/data_structures/INTRPLBLK_f.js deleted file mode 100644 index 4cfc3f4..0000000 --- a/data_structures/INTRPLBLK_f.js +++ /dev/null @@ -1,21 +0,0 @@ -function INTRPLBLK_f () { - - - var a = [[0],[1]]; - - var b = [[0],[1]]; - - var model = scicos_model(); - model.sim = new ScilabString(["intrpl"]); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.rpar = new ScilabDouble([a],[b]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[strcat(sci2exp(a))],[strcat(sci2exp(b))]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/INVBLK.js b/data_structures/INVBLK.js deleted file mode 100644 index f99b5c7..0000000 --- a/data_structures/INVBLK.js +++ /dev/null @@ -1,18 +0,0 @@ -function INVBLK () { - - - var in1 = -1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["invblk4"]),new ScilabDouble([4])); - model.in1.push(new ScilabDouble([in1])); - model.out=new ScilabDouble([in1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = " "; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/IN_f.js b/data_structures/IN_f.js deleted file mode 100644 index 8b39f0b..0000000 --- a/data_structures/IN_f.js +++ /dev/null @@ -1,20 +0,0 @@ -function IN_f () { - - - var prt = 1; - - var model = scicos_model(); - model.sim = new ScilabString(["input"]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([-1]); - model.ipar=new ScilabDouble([prt]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = sci2exp(prt); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); - return new ExplicitInBlock(this.x) -} diff --git a/data_structures/ISELECT_m.js b/data_structures/ISELECT_m.js deleted file mode 100644 index 63322de..0000000 --- a/data_structures/ISELECT_m.js +++ /dev/null @@ -1,31 +0,0 @@ -function ISELECT_m () { - - - var z0 = 1; - - var nout = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["selector_m"]),new ScilabDouble([4])); - model.out = new ScilabDouble([-1],[-1]); - model.out2 = new ScilabDouble([-2],[-2]); - model.outtyp = new ScilabDouble([1]); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.firing = new ScilabDouble(); - model.evtin=ones(nout,1); - model.dstate=new ScilabDouble([z0]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(1)],[sci2exp(nout)],[sci2exp(z0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/IdealTransformer.js b/data_structures/IdealTransformer.js deleted file mode 100644 index 54d38f7..0000000 --- a/data_structures/IdealTransformer.js +++ /dev/null @@ -1,30 +0,0 @@ -function IdealTransformer () { - - - var ModelName = "IdealTransformer"; - - var PrametersValue = [1]; - - var ParametersName = ["N"]; - - var model = scicos_model(); - - var Typein = []; - - var Typeout = []; - - var MI = []; - - var MO = []; - - var P = [[2.5,90,2,0],[2.5,10,2,0],[97.5,90,-2,0],[97.5,10,-2,0]]; - - var PortName = ["p1";"n1";"p2";"n2"]; - - var for i = 1:size(P,"r"); - - var if P(i,3) = =1, then; - Typein = new ScilabDouble([Typein;,"E"]); - MI = new ScilabDouble([MI],[PortName(i)]); - return new BasicBlock(this.x) -} diff --git a/data_structures/Inductor.js b/data_structures/Inductor.js deleted file mode 100644 index 470b8db..0000000 --- a/data_structures/Inductor.js +++ /dev/null @@ -1,28 +0,0 @@ -function Inductor () { - - - var model = scicos_model(); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - - var L = 1.d-5; - model.rpar=new ScilabDouble([L]); - model.sim = new ScilabString(["Inductor"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["Inductor"]); - mo.inputs = new ScilabString(["p"]); - mo.outputs = new ScilabString(["n"]); - mo.parameters=list(new ScilabString(["L"]),list(L)); - model.equations=mo; - - var exprs = string(L); - - var gr_i = []; - this.x=standard_define([2,0.9],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/JKFLIPFLOP.js b/data_structures/JKFLIPFLOP.js deleted file mode 100644 index 7de61c4..0000000 --- a/data_structures/JKFLIPFLOP.js +++ /dev/null @@ -1,53 +0,0 @@ -function JKFLIPFLOP () { - - - var scs_m = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["JKFLIPFLOP"],tol=[0.0001;0.000001;1.000E-10;100001;0;0;0],tf=60,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); - scs_m.objs.push(scicos_block(gui="DOLLAR_m",graphics=scicos_graphics(orig=[299.96961,261.584],sz=[40,40],flip=%f,theta=0,exprs=["int8(0)";"1"],pin=7,pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("dollar4_m",4),in1=1,in2=1,intyp=5,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(new ScilabInteger([0])),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - - var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["EDGE_TRIGGER","./"],tol=[0.0001;0.000001;1.000E-10;100001;0;0;0],tf=30,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); - scs_m_1.objs.push(scicos_block(gui="EDGETRIGGER",graphics=scicos_graphics(orig=[288.58631,257.1131],sz=[60,40],flip=%t,theta=0,exprs="-1",pin=5,pout=3,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("edgetrig",4),in1=1,in2=[],intyp=1,out=1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=0,odstate=list(),rpar=[],ipar=-1,opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=1,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[388.28869,247.1131],sz=[60,60],flip=%t,theta=0,exprs=["0";"0"],pin=3,pout=[],pein=[],peout=[7;0],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=[],intyp=1,out=[],out2=1,outtyp=[],evtin=[],evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([357.15774),yy: new ScilabDouble([277.1131),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([2,1,1])})); - scs_m_1.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[240.01488,267.1131],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([260.01488),yy: new ScilabDouble([277.1131),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([4,1,0]),to: new ScilabDouble([1,1,1])})); - scs_m_1.objs.push(scicos_block(gui="CLKOUTV_f",graphics=scicos_graphics(orig=[398.28869,181.39881],sz=[20,30],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=7,peout=[],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="output",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([408.28869),yy: new ScilabDouble([241.39881),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([6,1,1])})); - scs_m.objs.push(scicos_block(gui="EDGE_TRIGGER",graphics=scicos_graphics(orig=[292.52452,323.54888],sz=[60,40],flip=%t,theta=0,exprs=[],pin=14,pout=[],pein=[],peout=8,gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="csuper",in1=-1,in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="LOGIC",graphics=scicos_graphics(orig=[302.79613,202.52782],sz=[40,40],flip=%t,theta=0,exprs=["[0;1;1;1;0;0;1;0]";"0"],pin=[5;16;18],pout=4,pein=8,peout=[],gr_i=[],id="",in_implicit=["E";"E";"E"],out_implicit="E"),model=scicos_model(sim=list("logic",4),in1=[1;1;1],in2=[1;1;1],intyp=[5;5;5],out=1,out2=1,outtyp=5,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(new ScilabInteger([[0;1;1;1;0;0;1;0]])),blocktype="c",firing=%f,dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([351.36756),yy: new ScilabDouble([222.52782),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([10,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([291.39818),yy: new ScilabDouble([281.584),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([3,1,1])})); - scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[368.82793,243.45067],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=11,pout=[7;20],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([368.82793),yy: new ScilabDouble([243.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([6,1,0]),to: new ScilabDouble([1,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([322.52452),yy: new ScilabDouble([317.8346),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([3,1,1])})); - scs_m.objs.push(scicos_block(gui="LOGICAL_OP",graphics=scicos_graphics(orig=[377.63217,159.25363],sz=[60,40],flip=%t,theta=0,exprs=["1";"5";"5";"0"],pin=12,pout=22,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("logicalop_i8",4),in1=-1,in2=-2,intyp=5,out=-1,out2=-2,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[5;0],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[368.82793;223.06473],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=4,pout=[11;12],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([368.82793),yy: new ScilabDouble([223.06473),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([10,1,0]),to: new ScilabDouble([6,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([368.82793),yy: new ScilabDouble([223.06473),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([10,2,0]),to: new ScilabDouble([9,1,1])})); - scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[243.95309,333.54888],sz=[20,20],flip=%t,theta=0,exprs="2",pin=[],pout=14,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([263.95309),yy: new ScilabDouble([343.54888),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([13,1,0]),to: new ScilabDouble([2,1,1])})); - scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[254.2247,212.52782],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=16,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([274.2247),yy: new ScilabDouble([222.52782),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([15,1,0]),to: new ScilabDouble([3,2,1])})); - scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[254.2247,202.52782],sz=[20,20],flip=%t,theta=0,exprs="3",pin=[],pout=18,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=3,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([274.2247),yy: new ScilabDouble([212.52782),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([17,1,0]),to: new ScilabDouble([3,3,1])})); - scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[388.82793,233.45067],sz=[20,20],flip=%t,theta=0,exprs="1",pin=20,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([368.82793),yy: new ScilabDouble([243.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([6,2,0]),to: new ScilabDouble([19,1,1])})); - scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[466.2036,169.25363],sz=[20,20],flip=%t,theta=0,exprs="2",pin=22,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([446.2036),yy: new ScilabDouble([179.25363),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([9,1,0]),to: new ScilabDouble([21,1,1])})); - - var model = scicos_model(); - model.sim = new ScilabString(["csuper"]); - model.in1 = new ScilabDouble([1],[1],[1]); - model.in2 = new ScilabDouble([1],[1],[1]); - model.out = new ScilabDouble([1],[1]); - model.out2 = new ScilabDouble([1],[1]); - model.intyp = new ScilabDouble([5,1,5]); - model.outtyp = new ScilabDouble([5,5]); - model.blocktype = new ScilabString(["h"]); - model.firing = new ScilabBoolean([false]); - model.dep_ut = new ScilabBoolean([true,false]); - model.rpar=scs_m; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,3]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/LOGBLK_f.js b/data_structures/LOGBLK_f.js deleted file mode 100644 index 728dc8a..0000000 --- a/data_structures/LOGBLK_f.js +++ /dev/null @@ -1,21 +0,0 @@ -function LOGBLK_f () { - - - var in1 = 1; - - var a = %e; - - var model = scicos_model(); - model.sim = new ScilabString(["logblk"]); - model.in1 = new ScilabDouble([-1]); - model.out = new ScilabDouble([-1]); - model.rpar=new ScilabBoolean([a]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = "%e"; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/LOGIC.js b/data_structures/LOGIC.js deleted file mode 100644 index 453ecae..0000000 --- a/data_structures/LOGIC.js +++ /dev/null @@ -1,25 +0,0 @@ -function LOGIC () { - - - var mat = [[0],[0],[0],[1]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["logic"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1],[1]); - model.in2 = new ScilabDouble([1],[1]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.intyp = new ScilabDouble([5,5]); - model.outtyp = new ScilabDouble([5]); - model.opar=list(new ScilabInteger([mat])); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabBoolean([false]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(mat)],[sci2exp(0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/LOGICAL_OP.js b/data_structures/LOGICAL_OP.js deleted file mode 100644 index 5c50e07..0000000 --- a/data_structures/LOGICAL_OP.js +++ /dev/null @@ -1,23 +0,0 @@ -function LOGICAL_OP () { - - - var in1 = [[-1],[-1]]; - - var ipar = [0]; - - var nin = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["logicalop"]),new ScilabDouble([4])); - model.in1.push(in1); - model.out = new ScilabDouble([-1]); - model.ipar=new ScilabDouble([ipar]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[string(nin)],[string(ipar)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/LOOKUP_f.js b/data_structures/LOOKUP_f.js deleted file mode 100644 index b31e361..0000000 --- a/data_structures/LOOKUP_f.js +++ /dev/null @@ -1,15 +0,0 @@ -function LOOKUP_f () { - - - var model = scicos_model(); - model.sim = new ScilabString(["lookup"]); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.rpar = new ScilabDouble([-2],[-1],[1],[2],[-1],[1],[-1],[1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATBKSL.js b/data_structures/MATBKSL.js deleted file mode 100644 index 94b0ede..0000000 --- a/data_structures/MATBKSL.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATBKSL () { - - - var model = scicos_model(); - - var function_name = "mat_bksl"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1],[-1]); - model.in2 = new ScilabDouble([-2],[-3]); - model.intyp = new ScilabDouble([1,1]); - model.out = new ScilabDouble([-2]); - model.out2 = new ScilabDouble([-3]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(1)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATCATH.js b/data_structures/MATCATH.js deleted file mode 100644 index 07beb4e..0000000 --- a/data_structures/MATCATH.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATCATH () { - - - var model = scicos_model(); - - var function_name = "mat_cath"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1],[-1]); - model.in2 = new ScilabDouble([-2],[-3]); - model.intyp = new ScilabDouble([1,1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([0]); - model.outtyp = new ScilabDouble([-1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(2)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,3]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATCATV.js b/data_structures/MATCATV.js deleted file mode 100644 index 4fd6959..0000000 --- a/data_structures/MATCATV.js +++ /dev/null @@ -1,33 +0,0 @@ -function MATCATV () { - - - var l1 = [[2],[2]]; - - var model = scicos_model(); - - var function_name = "mat_catv"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in2 = new ScilabDouble([-1],[-1]); - model.in1 = new ScilabDouble([-2],[-3]); - model.intyp = new ScilabDouble([-1,-1]); - model.out = new ScilabDouble([0]); - model.out2 = new ScilabDouble([-1]); - model.outtyp = new ScilabDouble([-1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(2)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,3]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATDET.js b/data_structures/MATDET.js deleted file mode 100644 index 8912194..0000000 --- a/data_structures/MATDET.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATDET () { - - - var model = scicos_model(); - - var function_name = "mat_det"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-1]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(1)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATDIAG.js b/data_structures/MATDIAG.js deleted file mode 100644 index 0bdf382..0000000 --- a/data_structures/MATDIAG.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATDIAG () { - - - var model = scicos_model(); - - var function_name = "mat_diag"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([1]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(1)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATDIV.js b/data_structures/MATDIV.js deleted file mode 100644 index 73f1f36..0000000 --- a/data_structures/MATDIV.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATDIV () { - - - var model = scicos_model(); - - var function_name = "mat_div"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1],[-2]); - model.in2 = new ScilabDouble([-3],[-3]); - model.intyp = new ScilabDouble([1,1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(1)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATEIG.js b/data_structures/MATEIG.js deleted file mode 100644 index c23df30..0000000 --- a/data_structures/MATEIG.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATEIG () { - - - var model = scicos_model(); - - var function_name = "mat_vps"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-1]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([2]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [[sci2exp(1)],[sci2exp(1)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATEXPM.js b/data_structures/MATEXPM.js deleted file mode 100644 index 70734bd..0000000 --- a/data_structures/MATEXPM.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATEXPM () { - - - var model = scicos_model(); - - var function_name = "mat_expm"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-1]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(1)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATINV.js b/data_structures/MATINV.js deleted file mode 100644 index 8b45697..0000000 --- a/data_structures/MATINV.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATINV () { - - - var model = scicos_model(); - - var function_name = "mat_inv"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-1]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(1)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATLU.js b/data_structures/MATLU.js deleted file mode 100644 index 6cc94e6..0000000 --- a/data_structures/MATLU.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATLU () { - - - var model = scicos_model(); - - var function_name = "mat_lu"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-1]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1],[-1]); - model.out2 = new ScilabDouble([-1],[-1]); - model.outtyp = new ScilabDouble([1,1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = sci2exp(1); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATMAGPHI.js b/data_structures/MATMAGPHI.js deleted file mode 100644 index c13d1dc..0000000 --- a/data_structures/MATMAGPHI.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATMAGPHI () { - - - var model = scicos_model(); - - var function_name = "matz_abs"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([2]); - model.out = new ScilabDouble([-1],[-1]); - model.out2 = new ScilabDouble([-2],[-2]); - model.outtyp = new ScilabDouble([1,1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(1)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATMUL.js b/data_structures/MATMUL.js deleted file mode 100644 index 42af695..0000000 --- a/data_structures/MATMUL.js +++ /dev/null @@ -1,18 +0,0 @@ -function MATMUL () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["matmul_m"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1],[-2]); - model.in2 = new ScilabDouble([-2],[-3]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-3]); - model.dep_ut = new ScilabBoolean([true,false]); - model.ipar = new ScilabDouble([1]); - - var label = [sci2exp(model.ipar)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATPINV.js b/data_structures/MATPINV.js deleted file mode 100644 index 27baace..0000000 --- a/data_structures/MATPINV.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATPINV () { - - - var model = scicos_model(); - - var function_name = "mat_pinv"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-2]); - model.out2 = new ScilabDouble([-1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(1)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATRESH.js b/data_structures/MATRESH.js deleted file mode 100644 index 53b1871..0000000 --- a/data_structures/MATRESH.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATRESH () { - - - var model = scicos_model(); - - var function_name = "mat_reshape"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [[sci2exp(1)],[sci2exp([1,1])],[sci2exp([1,1])]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATSING.js b/data_structures/MATSING.js deleted file mode 100644 index 7b1f072..0000000 --- a/data_structures/MATSING.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATSING () { - - - var model = scicos_model(); - - var function_name = "mat_sing"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [[sci2exp(1)],[sci2exp(1)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATSUM.js b/data_structures/MATSUM.js deleted file mode 100644 index 43f7b3b..0000000 --- a/data_structures/MATSUM.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATSUM () { - - - var model = scicos_model(); - - var function_name = "mat_sum"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [[sci2exp(1)],[sci2exp(0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATTRAN.js b/data_structures/MATTRAN.js deleted file mode 100644 index a3a0493..0000000 --- a/data_structures/MATTRAN.js +++ /dev/null @@ -1,17 +0,0 @@ -function MATTRAN () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["mattran_m"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.out = new ScilabDouble([-2]); - model.out2 = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(1)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATZCONJ.js b/data_structures/MATZCONJ.js deleted file mode 100644 index efb04cb..0000000 --- a/data_structures/MATZCONJ.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATZCONJ () { - - - var model = scicos_model(); - - var function_name = "matz_conj"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([2]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([2]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = []; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MATZREIM.js b/data_structures/MATZREIM.js deleted file mode 100644 index 327d303..0000000 --- a/data_structures/MATZREIM.js +++ /dev/null @@ -1,31 +0,0 @@ -function MATZREIM () { - - - var model = scicos_model(); - - var function_name = "matz_reim"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([2]); - model.out = new ScilabDouble([-1],[-1]); - model.out2 = new ScilabDouble([-2],[-2]); - model.outtyp = new ScilabDouble([1,1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = sci2exp(1); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MAXMIN.js b/data_structures/MAXMIN.js deleted file mode 100644 index 903a053..0000000 --- a/data_structures/MAXMIN.js +++ /dev/null @@ -1,18 +0,0 @@ -function MAXMIN () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["minmax"]),new ScilabDouble([4])); - model.out = new ScilabDouble([1]); - model.in1 = new ScilabDouble([-1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - model.ipar = new ScilabDouble([0]); - - var exprs = [string([2,1,1]')]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - this.x.graphics.style = new ScilabString(["MAXMIN;displayedLabel=MAX"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/MAX_f.js b/data_structures/MAX_f.js deleted file mode 100644 index 3623dc1..0000000 --- a/data_structures/MAX_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function MAX_f () { - - - var in1 = -1; - - var model = scicos_model(); - model.sim = new ScilabString(["maxblk"]); - model.in1.push(new ScilabDouble([in1])); - model.out = new ScilabDouble([1]); - model.dstate = new ScilabDouble([0],[0]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = " "; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MBLOCK.js b/data_structures/MBLOCK.js deleted file mode 100644 index ce63569..0000000 --- a/data_structures/MBLOCK.js +++ /dev/null @@ -1,30 +0,0 @@ -function MBLOCK () { - - - var in1 = ["u1"]; - - var intype = ["I"]; - - var out = ["y1";"y2"]; - - var outtype = ["I";"E"]; - - var param = ["R";"L"]; - - var paramv = list(0.1,.0001); - - var pprop = [[0],[0]]; - - var nameF = "generic"; - - var exprs = ...colon_operator(tlist,["MBLOCK","in","intype","out","outtype","param","paramv","pprop","nameF","funtxt"],sci2exp(...in1),sci2exp(...intype),sci2exp(...out),sci2exp(...outtype),sci2exp(...param),list(string(0.1),string(.0001)),sci2exp(pprop(,)),nameF,[]); - - var model = scicos_model(); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - model.rpar = new ScilabDouble(); - - var for i = 1:lstsize(paramv); - model.rpar = new ScilabDouble([model.rpar],[paramv(i)(:)]); - return new BasicBlock(this.x) -} diff --git a/data_structures/MCLOCK_f.js b/data_structures/MCLOCK_f.js deleted file mode 100644 index 0a94924..0000000 --- a/data_structures/MCLOCK_f.js +++ /dev/null @@ -1,81 +0,0 @@ -function MCLOCK_f () { - - - var nn = 2; - - var dt = 0.1; - - var exprs = [[string(dt)],[string(nn)]]; - - var mfclck = MFCLCK_f("define"); - mfclck.graphics.orig = new ScilabDouble([334,199]); - mfclck.graphics.sz = new ScilabDouble([40,40]); - mfclck.graphics.flip = new ScilabBoolean([true]); - mfclck.graphics.exprs=exprs; - mfclck.graphics.pein = new ScilabDouble([12]); - mfclck.graphics.peout = new ScilabDouble([4],[3]); - mfclck.model.rpar = new ScilabDouble([0.1]); - mfclck.model.ipar=new ScilabDouble([nn]); - mfclck.model.firing = new ScilabDouble([-1,0]); - - var clksom = CLKSOM_f("define"); - clksom.graphics.orig = new ScilabDouble([457,161]); - clksom.graphics.sz = new ScilabDouble([16.666667,16.666667]); - clksom.graphics.flip = new ScilabBoolean([true]); - clksom.graphics.exprs = new ScilabString(["0.1";"0.1"]); - clksom.graphics.pein = new ScilabDouble([4],[9],[0]); - clksom.graphics.peout = new ScilabDouble([5]); - - var output_port1 = CLKOUT_f("define"); - output_port1.graphics.orig = new ScilabDouble([509,261]); - output_port1.graphics.sz = new ScilabDouble([20,20]); - output_port1.graphics.flip = new ScilabBoolean([true]); - output_port1.graphics.exprs = new ScilabString(["1"]); - output_port1.graphics.pein = new ScilabDouble([10]); - output_port1.model.ipar = new ScilabDouble([1]); - - var output_port2 = CLKOUT_f("define"); - output_port2.graphics.orig = new ScilabDouble([509,142]); - output_port2.graphics.sz = new ScilabDouble([20,20]); - output_port2.graphics.flip = new ScilabBoolean([true]); - output_port2.graphics.exprs = new ScilabString(["2"]); - output_port2.graphics.pein = new ScilabDouble([13]); - output_port2.model.ipar = new ScilabDouble([2]); - - var split1 = CLKSPLIT_f("define"); - split1.graphics.orig = new ScilabDouble([411.92504],[169.33333]); - split1.graphics.pein = new ScilabDouble([3]); - split1.graphics.peout = new ScilabDouble([9],[10]); - - var split2 = CLKSPLIT_f("define"); - split2.graphics.orig = new ScilabDouble([482.45315],[169.33333]); - split2.graphics.pein = new ScilabDouble([5]); - split2.graphics.peout = new ScilabDouble([12],[13]); - - var gr_i = []; - - var diagram = scicos_diagram(); - diagram.objs.push(mfclck); - diagram.objs.push(clksom); - diagram.objs.push(scicos_link({xx: new ScilabDouble([360.7],[360.7],[411.9]),yy: new ScilabDouble([193.3],[169.3],[169.3]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([1,2]),to: new ScilabDouble([8,1])})); - diagram.objs.push(scicos_link({xx: new ScilabDouble([347.3],[347.3],[461.8],[461.8]),yy: new ScilabDouble([193.3],[155.5],[155.5],[161]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([1,1]),to: new ScilabDouble([2,1])})); - diagram.objs.push(scicos_link({xx: new ScilabDouble([468.9],[482.5]),yy: new ScilabDouble([169.3],[169.3]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([2,1]),to: new ScilabDouble([11,1])})); - diagram.objs.push(output_port1); - diagram.objs.push(output_port2); - diagram.objs.push(split1); - diagram.objs.push(scicos_link({xx: new ScilabDouble([411.9],[457]),yy: new ScilabDouble([169.3],[169.3]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([8,1]),to: new ScilabDouble([2,2])})); - diagram.objs.push(scicos_link({xx: new ScilabDouble([411.9],[411.9],[509]),yy: new ScilabDouble([169.3],[271],[271]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([8,2]),to: new ScilabDouble([6,1])})); - diagram.objs.push(split2); - diagram.objs.push(scicos_link({xx: new ScilabDouble([482.5],[489.6],[489.6],[354],[354]),yy: new ScilabDouble([169.3],[169.3],[338.3],[338.3],[244.7]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([11,1]),to: new ScilabDouble([1,1])})); - diagram.objs.push(scicos_link({xx: new ScilabDouble([482.4],[482.4],[509]),yy: new ScilabDouble([169.3],[152],[152]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([11,2]),to: new ScilabDouble([7,1])})); - this.x=scicos_block(); - this.x.gui = new ScilabString(["MCLOCK_f"]); - this.x.graphics.sz = new ScilabDouble([3,2]); - this.x.graphics.gr_i=gr_i; - this.x.model.sim = new ScilabString(["csuper"]); - this.x.model.evtout = new ScilabDouble([1],[1]); - this.x.model.blocktype = new ScilabString(["h"]); - this.x.model.rpar=diagram; - this.x.graphics.peout = new ScilabDouble([0],[0]); - return new BasicBlock(this.x) -} diff --git a/data_structures/MFCLCK_f.js b/data_structures/MFCLCK_f.js deleted file mode 100644 index e7124f9..0000000 --- a/data_structures/MFCLCK_f.js +++ /dev/null @@ -1,24 +0,0 @@ -function MFCLCK_f () { - - - var nn = 2; - - var dt = 0.1; - - var model = scicos_model(); - model.sim = new ScilabString(["mfclck"]); - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1],[1]); - model.dstate = new ScilabDouble([0]); - model.rpar=new ScilabDouble([dt]); - model.ipar=new ScilabDouble([nn]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([-1,0]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[string(dt)],[string(nn)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MIN_f.js b/data_structures/MIN_f.js deleted file mode 100644 index c71bfb9..0000000 --- a/data_structures/MIN_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function MIN_f () { - - - var in1 = -1; - - var model = scicos_model(); - model.sim = new ScilabString(["minblk"]); - model.in1.push(new ScilabDouble([in1])); - model.out = new ScilabDouble([1]); - model.dstate = new ScilabDouble([0],[0]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = sci2exp(in1); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MUX.js b/data_structures/MUX.js deleted file mode 100644 index 5481f69..0000000 --- a/data_structures/MUX.js +++ /dev/null @@ -1,19 +0,0 @@ -function MUX () { - - - var in1 = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["multiplex"]),new ScilabDouble([4])); - model.in1.push(-...transpose([1:in1])); - model.out = new ScilabDouble([0]); - model.ipar=new ScilabDouble([in1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = string(in1); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([.5,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/MUX_f.js b/data_structures/MUX_f.js deleted file mode 100644 index 05e2343..0000000 --- a/data_structures/MUX_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function MUX_f () { - - - var in1 = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["mux"]),new ScilabDouble([1])); - model.in1.push(-...transpose([1:in1])); - model.out = new ScilabDouble([0]); - model.ipar=new ScilabDouble([in1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = string(in1); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([0.5,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/M_SWITCH.js b/data_structures/M_SWITCH.js deleted file mode 100644 index e53c664..0000000 --- a/data_structures/M_SWITCH.js +++ /dev/null @@ -1,23 +0,0 @@ -function M_SWITCH () { - - - var in1 = [[1],[-1],[-1]]; - - var ipar = [[1],[3]]; - - var nin = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["mswitch"]),new ScilabDouble([4])); - model.in1.push(new ScilabDouble([in1])); - model.out = new ScilabDouble([-1]); - model.ipar=new ScilabDouble([ipar]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[string(nin)],[string(ipar)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2.5,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/M_freq.js b/data_structures/M_freq.js deleted file mode 100644 index 0ab9467..0000000 --- a/data_structures/M_freq.js +++ /dev/null @@ -1,19 +0,0 @@ -function M_freq () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["m_frequ"]),new ScilabDouble([4])); - model.evtout = new ScilabDouble([1],[1],[1]); - model.evtin = new ScilabDouble([1]); - model.rpar = new ScilabDouble(); - model.opar=list(new ScilabDouble([1),new ScilabDouble([1]),new ScilabDouble([0]]),new ScilabDouble([1),new ScilabDouble([1]),new ScilabDouble([1]]),new ScilabDouble([1),new ScilabDouble([3]),new ScilabDouble([2]]),new ScilabDouble([1]),new ScilabDouble([0]),new ScilabDouble([0])); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([0,-1,-1]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[sci2exp([1],[2])],[sci2exp([0],[0])]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/Modulo_Count.js b/data_structures/Modulo_Count.js deleted file mode 100644 index 62db6ad..0000000 --- a/data_structures/Modulo_Count.js +++ /dev/null @@ -1,22 +0,0 @@ -function Modulo_Count () { - - - var ini_c = 0; - - var base = 3; - - var model = scicos_model(); - model.sim=list(new ScilabString(["modulo_count"]),new ScilabDouble([4])); - model.evtin = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.dstate=new ScilabDouble([ini_c]); - model.ipar=new ScilabDouble([base]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[string(ini_c)],[string(base)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/NEGTOPOS_f.js b/data_structures/NEGTOPOS_f.js deleted file mode 100644 index e0e40d4..0000000 --- a/data_structures/NEGTOPOS_f.js +++ /dev/null @@ -1,17 +0,0 @@ -function NEGTOPOS_f () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["zcross"]),new ScilabDouble([1])); - model.nzcross = new ScilabDouble([1]); - model.in1 = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1]); - model.rpar = new ScilabDouble([-1],[-1],[0],[-1]); - model.blocktype = new ScilabString(["z"]); - model.firing = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([true,false]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/NMOS.js b/data_structures/NMOS.js deleted file mode 100644 index 350c46c..0000000 --- a/data_structures/NMOS.js +++ /dev/null @@ -1,43 +0,0 @@ -function NMOS () { - - - var model = scicos_model(); - - var W = 20.e-6; - - var L = 6.e-6; - - var Beta = 0.041e-3; - - var Vt = 0.8; - - var K2 = 1.144; - - var K5 = 0.7311; - - var dW = -2.5e-6; - - var dL = -1.5e-6; - - var RDS = 1.e+7; - model.sim = new ScilabString(["NMOS"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["NMOS"]); - mo.outputs = new ScilabString(["D";"B";"S"]); - mo.inputs = new ScilabString(["G"]); - mo.parameters=list(new ScilabString(["W";"L";"Beta";"Vt";"K2";"K5";"dW";"dL";"RDS"]),[W],[L],[Beta],[Vt],[K2],[K5],[dW],[dL],[RDS]); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - - var exprs = [[string(W)],[string(L)],[string(Beta)],[string(Vt)],[string(K2)],[string(K5)],[string(dW)],[string(dL)],[string(RDS)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I";"I";"I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/NPN.js b/data_structures/NPN.js deleted file mode 100644 index 843e410..0000000 --- a/data_structures/NPN.js +++ /dev/null @@ -1,30 +0,0 @@ -function NPN () { - - - var ModelName = "NPN"; - - var PrametersValue = [[50],[0.1],[0],[0.02],[1.200D-10],[5.000D-09],[1.000D-12],[4.000D-13],[5.000D-13],[0.8],[0.4],[0.8],[0.333],[1.000D-15],[1.000D-15],[0.02585],[40]]; - - var ParametersName = ["Bf";"Br";"Is";"Vak";"Tauf";"Taur";"Ccs";"Cje";"Cjc";"Phie";"Me";"Phic";"Mc";"Gbc";"Gbe";"Vt";"EMinMax"]; - - var model = scicos_model(); - - var Typein = []; - - var Typeout = []; - - var MI = []; - - var MO = []; - - var P = [[100,90,-2,0],[,0,50,2,0],[,100,10,-2,0]]; - - var PortName = ["C";"B";"E"]; - - var for i = 1:size(P,"r"); - - var if P(i,3) = =1, then; - Typein = new ScilabDouble([Typein;,"E"]); - MI = new ScilabDouble([MI],[PortName(i)]); - return new BasicBlock(this.x) -} diff --git a/data_structures/NRMSOM_f.js b/data_structures/NRMSOM_f.js deleted file mode 100644 index f13e210..0000000 --- a/data_structures/NRMSOM_f.js +++ /dev/null @@ -1,20 +0,0 @@ -function NRMSOM_f () { - - - var in1 = [[-1],[-1]]; - - var nin = 2; - - var model = scicos_model(); - model.sim = new ScilabString(["junk"]); - model.in1.push(in1); - model.out = new ScilabDouble([-1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [string(nin)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([.2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/OUTIMPL_f.js b/data_structures/OUTIMPL_f.js deleted file mode 100644 index 5d4ce64..0000000 --- a/data_structures/OUTIMPL_f.js +++ /dev/null @@ -1,25 +0,0 @@ -function OUTIMPL_f () { - - - var model = scicos_model(); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([1]); - - var prt = 1; - model.sim = new ScilabString(["outimpl"]); - model.ipar = new ScilabDouble([1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var mo = modelica(); - mo.model = new ScilabString(["PORT"]); - mo.inputs = new ScilabString(["n"]); - model.equations=mo; - - var exprs = "1"; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); - this.x.graphics.in_implicit = new ScilabString(["I"]); - return new ImplicitOutBlock(this.x) -} diff --git a/data_structures/OUT_f.js b/data_structures/OUT_f.js deleted file mode 100644 index 56eaea2..0000000 --- a/data_structures/OUT_f.js +++ /dev/null @@ -1,22 +0,0 @@ -function OUT_f () { - - - var n = -1; - - var prt = 1; - - var model = scicos_model(); - model.sim = new ScilabString(["output"]); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([-1]); - model.ipar=new ScilabDouble([prt]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = string(prt); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); - return new ExplicitOutBlock(this.x) -} diff --git a/data_structures/OpAmp.js b/data_structures/OpAmp.js deleted file mode 100644 index 120a0f6..0000000 --- a/data_structures/OpAmp.js +++ /dev/null @@ -1,30 +0,0 @@ -function OpAmp () { - - - var S = []; - - var Z = []; - - var model = scicos_model(); - model.sim = new ScilabString(["OpAmp"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model=model.sim; - mo.inputs = new ScilabString(["in_p";"in_n"]); - mo.outputs = new ScilabString(["out"]); - mo.parameters=list(S,Z); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - model.rpar=Z; - - var exprs = string(Z); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,5]),model,exprs,gr_i); - this.x.graphics.in_implicit = new ScilabString(["I";"I"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/PDE.js b/data_structures/PDE.js deleted file mode 100644 index 263c715..0000000 --- a/data_structures/PDE.js +++ /dev/null @@ -1,19 +0,0 @@ -function PDE () { - - - var model = scicos_model(); - model.state=zeros(10,1); - model.sim=list(new ScilabString(["PDE"]),new ScilabDouble([0])); - model.in1 = new ScilabDouble([1],[1],[1],[1],[1]); - model.out = new ScilabDouble([10],[0]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var params_pde = tlist(["paramspde";"a";"b";"txt_exp";"check_op1";"a1";"b1";"check_op2";"a2";"b2";"check_op3";"a3";"b3";"check_op4";"a4";"b4";"check_op5";"a5";"b5";"check_op6";"a6";"b6";"check_op7";"a7";"b7";"discr_cst";"discr_non_cst";"signe";"rad_automatique";"rad_manuel";"methode";"ord1";"ord2";"ord3";"degre";"nnode";"txt_pas";"CI";"dCI";"CLa";"CLa_exp";"CLb";"CLb_exp";"points"],"","","","0","","IN_EDP1(t)","0","","IN_EDP2(t)","0","","IN_EDP3(t)","0","","IN_EDP4(t)","0","","IN_EDP5(t)","0","","IN_EDP6(t)","0","","IN_EDP7(t)","0","0","0","0","0","0","","","","","","","","","0","IN_CL1(t)","0","IN_CL2(t)",""); - - var label = list(params_pde,[],""); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,3]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/PID.js b/data_structures/PID.js deleted file mode 100644 index e3dd59e..0000000 --- a/data_structures/PID.js +++ /dev/null @@ -1,43 +0,0 @@ -function PID () { - - - var scs_m = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["PID"],tol=[0.0001,0.000001,1.000E-10,100001,0,0],tf=100000,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); - scs_m.objs.push(scicos_block(gui="INTEGRAL_m",graphics=scicos_graphics(orig=[318.304,183.11733],sz=[40,40],flip=%t,theta=0,exprs=["0";"0";"0";"1";"-1"],pin=7,pout=9,pein=[],peout=[],gr_i=[],id="1/s",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("integral_func",4),in1=1,in2=1,intyp=1,out=1,out2=1,outtyp=1,evtin=[],evtout=[],state=0,dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%f,%t],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="SUMMATION",graphics=scicos_graphics(orig=[387.97067,172.85067],sz=[40,60],flip=%t,theta=0,exprs=["1";"[1;1;1]"],pin=[10;9;11],pout=19,pein=[],peout=[],gr_i=[],id="",in_implicit=["E";"E";"E"],out_implicit="E"),model=scicos_model(sim=list("summation",4),in1=[-1;-1;-1],in2=[-2;-2;-2],intyp=[1;1;1],out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[1;1;1],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="GAINBLK",graphics=scicos_graphics(orig=[321.23733,235.91733],sz=[40,40],flip=%t,theta=0,exprs="1",pin=17,pout=10,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("gainblk",4),in1=-1,in2=-2,intyp=1,out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=1,ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="DERIV",graphics=scicos_graphics(orig=[319.03733,135.45067],sz=[40,40],flip=%t,theta=0,exprs=[],pin=8,pout=11,pein=[],peout=[],gr_i=[],id="s",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("deriv",4),in1=-1,in2=-2,intyp=1,out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="x",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="GAINBLK",graphics=scicos_graphics(orig=[255.23733,183.11733],sz=[40,40],flip=%t,theta=0,exprs="1",pin=13,pout=7,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("gainblk",4),in1=-1,in2=-2,intyp=1,out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=1,ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_block(gui="GAINBLK",graphics=scicos_graphics(orig=[255.23733,135.45067],sz=[40,40],flip=%t,theta=0,exprs="1",pin=14,pout=8,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("gainblk",4),in1=-1,in2=-2,intyp=1,out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=1,ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([303.80876),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([5,1,0]),to: new ScilabDouble([1,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([303.80876),yy: new ScilabDouble([155.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([6,1,0]),to: new ScilabDouble([4,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([366.87543),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([2,2,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([369.80876),yy: new ScilabDouble([255.91733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([2,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([367.60876),yy: new ScilabDouble([155.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([4,1,0]),to: new ScilabDouble([2,3,1])})); - scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[234.704;203.11733],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=16,pout=[13;14],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([234.704),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([12,1,0]),to: new ScilabDouble([5,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([234.704),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([12,2,0]),to: new ScilabDouble([6,1,1])})); - scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[233.97067;203.11733],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=21,pout=[16;17],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([233.97067),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([15,1,0]),to: new ScilabDouble([12,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([233.97067),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([15,2,0]),to: new ScilabDouble([3,1,1])})); - scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[456.5421,192.85067],sz=[20,20],flip=%t,theta=0,exprs="1",pin=19,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([436.5421),yy: new ScilabDouble([202.85067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([18,1,1])})); - scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[193.97067,193.11733],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=21,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([213.97067),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([20,1,0]),to: new ScilabDouble([15,1,1])})); - - var model = scicos_model(); - model.sim = new ScilabString(["csuper"]); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.blocktype = new ScilabString(["h"]); - model.firing = new ScilabBoolean([false]); - model.dep_ut = new ScilabBoolean([false,false]); - model.rpar=scs_m; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/PMOS.js b/data_structures/PMOS.js deleted file mode 100644 index 5a9ff67..0000000 --- a/data_structures/PMOS.js +++ /dev/null @@ -1,43 +0,0 @@ -function PMOS () { - - - var model = scicos_model(); - - var W = 50.0e-6; - - var L = 6.0e-6; - - var Beta = 0.0105e-3; - - var Vt = -1; - - var K2 = 0.41; - - var K5 = 0.839; - - var dW = -2.5e-6; - - var dL = -2.1e-6; - - var RDS = 1.e+7; - model.sim = new ScilabString(["PMOS"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["PMOS"]); - mo.outputs = new ScilabString(["D";"B";"S"]); - mo.inputs = new ScilabString(["G"]); - mo.parameters=list(new ScilabString(["W";"L";"Beta";"Vt";"K2";"K5";"dW";"dL";"RDS"]),[W],[L],[Beta],[Vt],[K2],[K5],[dW],[dL],[RDS]); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - - var exprs = [[string(W)],[string(L)],[string(Beta)],[string(Vt)],[string(K2)],[string(K5)],[string(dW)],[string(dL)],[string(RDS)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I";"I";"I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/PNP.js b/data_structures/PNP.js deleted file mode 100644 index b9108e6..0000000 --- a/data_structures/PNP.js +++ /dev/null @@ -1,30 +0,0 @@ -function PNP () { - - - var ModelName = "PNP"; - - var PrametersValue = [[50],[0.1],[0],[0.02],[1.200D-10],[5.000D-09],[1.000D-12],[4.000D-13],[5.000D-13],[0.8],[0.4],[0.8],[0.333],[1.000D-15],[1.000D-15],[0.02585],[40]]; - - var ParametersName = ["Bf";"Br";"Is";"Vak";"Tauf";"Taur";"Ccs";"Cje";"Cjc";"Phie";"Me";"Phic";"Mc";"Gbc";"Gbe";"Vt";"EMinMax"]; - - var model = scicos_model(); - - var Typein = []; - - var Typeout = []; - - var MI = []; - - var MO = []; - - var P = [[100,90,-2,0],[0,50,2,0],[100,10,-2,0]]; - - var PortName = ["C";"B";"E"]; - - var for i = 1:size(P,"r"); - - var if P(i,3) = =1, then; - Typein = new ScilabDouble([Typein;,"E"]); - MI = new ScilabDouble([MI],[PortName(i)]); - return new BasicBlock(this.x) -} diff --git a/data_structures/POSTONEG_f.js b/data_structures/POSTONEG_f.js deleted file mode 100644 index 53c941b..0000000 --- a/data_structures/POSTONEG_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function POSTONEG_f () { - - - var rpar = [[-1],[-1],[-1],[0]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["zcross"]),new ScilabDouble([1])); - model.nzcross = new ScilabDouble([1]); - model.in1 = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1]); - model.rpar = new ScilabDouble([-1],[-1],[-1],[0]); - model.blocktype = new ScilabString(["z"]); - model.dep_ut = new ScilabBoolean([true,false]); - model.firing = new ScilabDouble([-1]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/POWBLK_f.js b/data_structures/POWBLK_f.js deleted file mode 100644 index fe907b7..0000000 --- a/data_structures/POWBLK_f.js +++ /dev/null @@ -1,21 +0,0 @@ -function POWBLK_f () { - - - var in1 = 1; - - var a = 1.5; - - var model = scicos_model(); - model.sim = new ScilabString(["powblk"]); - model.in1 = new ScilabDouble([-1]); - model.out = new ScilabDouble([-1]); - model.rpar=new ScilabDouble([a]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = string(a); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/PRODUCT.js b/data_structures/PRODUCT.js deleted file mode 100644 index 3fc6a08..0000000 --- a/data_structures/PRODUCT.js +++ /dev/null @@ -1,19 +0,0 @@ -function PRODUCT () { - - - var sgn = [[1],[-1]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["product"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1],[-1]); - model.out = new ScilabDouble([-1]); - model.ipar=new ScilabDouble([sgn]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = sci2exp(sgn); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,3]),model,,exprs,gr_i); - return new Product(this.x) -} diff --git a/data_structures/PROD_f.js b/data_structures/PROD_f.js deleted file mode 100644 index 5e1f69b..0000000 --- a/data_structures/PROD_f.js +++ /dev/null @@ -1,12 +0,0 @@ -function PROD_f () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["prod"]),new ScilabDouble([2])); - model.in1 = new ScilabDouble([-1],[-1]); - model.out = new ScilabDouble([-1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - this.x=new standard_define(new ScilabDouble([1,1]),model,[],[]); - return new RoundBlock(this.x) -} diff --git a/data_structures/PULSE_SC.js b/data_structures/PULSE_SC.js deleted file mode 100644 index ba73528..0000000 --- a/data_structures/PULSE_SC.js +++ /dev/null @@ -1,57 +0,0 @@ -function PULSE_SC () { - - - var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[-162.7581,435.54369,67.607292,416.67644,827,479,0,15,827,480,715,167,1.4],Title=["SuperBlock","/home/fady/Scicos_examples/"],tol=[0.0001;0.000001;1.000D-10;100001;0;0;0],tf=10,context=["E2=E+W/100*F"; - "if (W<0 | W>100) then error(''Width must be between 0 and 100'');end"; - - var "if (E2 > = F),then,error,(''Offset,must,be,lower,than,(frequency*(1-Width/100))'');,end"],void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); - scs_m_1.objs.push(scicos_block(gui="CONST_m",graphics=scicos_graphics(orig=[30.801202,158.91733],sz=[40,40],flip=%t,theta=0,exprs="A",pin=[],pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(1),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_block(gui="Ground_g",graphics=scicos_graphics(orig=[31.534535,215.384],sz=[40,40],flip=%t,theta=0,exprs=[],pin=[],pout=4,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(0),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_block(gui="SELECT_m",graphics=scicos_graphics(orig=[106.00652,186.09381],sz=[40,40],flip=%t,theta=0,exprs=["-1";"2";"1"],pin=[4;5],pout=11,pein=[9;8],peout=[],gr_i=[],id="",in_implicit=["E";"E"],out_implicit="E"),model=scicos_model(sim=list("selector_m",4),in1=[-1;-1],in2=[-2;-2],intyp=[-1;-1],out=-1,out2=-2,outtyp=-1,evtin=[1;1],evtout=[],state=[],dstate=1,odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([80.105964),yy: new ScilabDouble([235.384),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([3,1,1])})); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([79.372631),yy: new ScilabDouble([178.91733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([3,2,1])})); - scs_m_1.objs.push(scicos_block(gui="SampleCLK",graphics=scicos_graphics(orig=[82.349744,274.21741],sz=[60,40],flip=%t,theta=0,exprs=["F";"E2"],pin=[],pout=[],pein=[],peout=9,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="sampleclk",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=[1;0.4],ipar=[],opar=list(),blocktype="d",firing=-1,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_block(gui="SampleCLK",graphics=scicos_graphics(orig=[160.48879,274.21741],sz=[60,40],flip=%t,theta=0,exprs=["F";"E"],pin=[],pout=[],pein=[],peout=8,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="sampleclk",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=[1;0.1],ipar=[],opar=list(),blocktype="d",firing=-1,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([190.48879),yy: new ScilabDouble([274.21741),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([7,1,0]),to: new ScilabDouble([3,2,1])})); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([112.34974),yy: new ScilabDouble([274.21741),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([6,1,0]),to: new ScilabDouble([3,1,1])})); - scs_m_1.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[174.57795,196.09381],sz=[20,20],flip=%t,theta=0,exprs="1",pin=11,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=-2,intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([154.57795),yy: new ScilabDouble([206.09381),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([10,1,1])})); - - var model = scicos_model(); - model.sim = new ScilabString(["csuper"]); - model.in1 = new ScilabDouble(); - model.in2 = new ScilabDouble(); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([-1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.odstate=list(); - model.rpar=scs_m_1; - model.ipar = new ScilabDouble([1]); - model.opar=list(); - model.blocktype = new ScilabString(["h"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([false,false]); - model.label = new ScilabString([""]); - model.nzcross = new ScilabDouble([0]); - model.nmode = new ScilabDouble([0]); - model.equations=list(); - - var E = 0.1; - - var W = 30; - - var F = 1; - - var A = 1; - - var exprs = [sci2exp(E)sci2exp(W)sci2exp(F)sci2exp(A)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/PerteDP.js b/data_structures/PerteDP.js deleted file mode 100644 index b1b5616..0000000 --- a/data_structures/PerteDP.js +++ /dev/null @@ -1,40 +0,0 @@ -function PerteDP () { - - - var model = scicos_model(); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - - var L = 10; - - var D = 0.2; - - var lambda = 0.03; - - var z1 = 0; - - var z2 = 0; - - var p_rho = 0; - model.rpar = new ScilabDouble([L],[D],[lambda],[z1],[z2],[p_rho]); - model.sim = new ScilabString(["PerteDP"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["PerteDP"]); - mo.inputs = new ScilabString(["C1"]); - mo.outputs = new ScilabString(["C2"]); - mo.parameters=list(new ScilabString(["L";"D";"lambda";"z1";"z2";"p_rho"]),[L],[D],[lambda],[z1],[z2],[p_rho]); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - - var exprs = [[string(L)],[string(D)],[string(lambda)],[string(z1)],[string(z2)],[string(p_rho)]]; - - var gr_i = []; - this.x=standard_define([2,1],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/PotentialSensor.js b/data_structures/PotentialSensor.js deleted file mode 100644 index 1edfa55..0000000 --- a/data_structures/PotentialSensor.js +++ /dev/null @@ -1,23 +0,0 @@ -function PotentialSensor () { - - - var model = scicos_model(); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.rpar = new ScilabDouble(); - model.sim = new ScilabString(["PotentialSensor"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["PotentialSensor"]); - mo.inputs = new ScilabString(["p"]); - mo.outputs = new ScilabString(["v"]); - model.equations=mo; - - var gr_i = []; - this.x=standard_define([2,2],model,"",list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["E"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/PuitsP.js b/data_structures/PuitsP.js deleted file mode 100644 index 550acd9..0000000 --- a/data_structures/PuitsP.js +++ /dev/null @@ -1,31 +0,0 @@ -function PuitsP () { - - - var model = scicos_model(); - - var P0 = 100000; - - var T0 = 290; - - var H0 = 100000; - - var option_temperature = 1; - model.rpar = new ScilabDouble([P0],[T0],[H0],[option_temperature]); - model.sim = new ScilabString(["Puits"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["Puits"]); - mo.inputs = new ScilabString(["C"]); - mo.parameters=list(new ScilabString(["P0";"T0";"H0";"option_temperature"]),[P0],[T0],[H0],[option_temperature]); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - - var exprs = [[string(P0)],[string(T0)],[string(H0)],[string(option_temperature)]]; - - var gr_i = []; - this.x=standard_define([2.5,2],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/QUANT_f.js b/data_structures/QUANT_f.js deleted file mode 100644 index 02d0830..0000000 --- a/data_structures/QUANT_f.js +++ /dev/null @@ -1,22 +0,0 @@ -function QUANT_f () { - - - var pas = 0.1; - - var meth = 1; - - var model = scicos_model(); - model.sim = new ScilabString(["qzrnd"]); - model.in1 = new ScilabDouble([-1]); - model.out = new ScilabDouble([-1]); - model.rpar=new ScilabDouble([pas]); - model.ipar=new ScilabDouble([meth]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[string(pas)],[string(meth)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/RAMP.js b/data_structures/RAMP.js deleted file mode 100644 index 3ff9355..0000000 --- a/data_structures/RAMP.js +++ /dev/null @@ -1,27 +0,0 @@ -function RAMP () { - - - var slope = 0; - - var iout = 0; - - var stt = 0; - - var rpar = [[slope],[stt],[iout]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["ramp"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble(); - model.out = new ScilabDouble([1]); - model.rpar=rpar; - model.blocktype = new ScilabString(["c"]); - model.nmode = new ScilabDouble([1]); - model.nzcross = new ScilabDouble([1]); - model.dep_ut = new ScilabBoolean([false,true]); - - var exprs = [string(rpar)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/RAND_m.js b/data_structures/RAND_m.js deleted file mode 100644 index f017471..0000000 --- a/data_structures/RAND_m.js +++ /dev/null @@ -1,39 +0,0 @@ -function RAND_m () { - - - var a = 0; - - var b = 1; - - var dt = 0; - - var flag = 0; - - var function_name = "rndblk_m"; - - var funtyp = 4; - - var model = scicos_model(); - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble(); - model.in2 = new ScilabDouble(); - model.intyp = new ScilabDouble(); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble([int(rand()*(10^7-1))],[0*...a]); - model.rpar = new ScilabDouble([...a,...b]); - model.ipar=new ScilabDouble([flag]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[sci2exp(1)],[string(flag)],[sci2exp([a])],[sci2exp([b])],[sci2exp([model.dstate(1),int(rand()*(10^7-1))])]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/RATELIMITER.js b/data_structures/RATELIMITER.js deleted file mode 100644 index 3c859f8..0000000 --- a/data_structures/RATELIMITER.js +++ /dev/null @@ -1,23 +0,0 @@ -function RATELIMITER () { - - - var minp = -1; - - var maxp = 1; - - var rpar = [[maxp],[minp]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["ratelimiter"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.rpar=rpar; - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[string(maxp)],[string(minp)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3.5,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/READAU_f.js b/data_structures/READAU_f.js deleted file mode 100644 index a7ef985..0000000 --- a/data_structures/READAU_f.js +++ /dev/null @@ -1,40 +0,0 @@ -function READAU_f () { - - - var frmt = "uc,"; - - var fname = "test.au"; - - var lunit = 0; - - var N = 20; - - var M = 1; - - var tmask = []; - - var swap = 0; - - var offset = 1; - - var outmask = 1; - - var ievt = 0; - - var nout = size(outmask,"*"); - - var model = scicos_model(); - model.sim=list(new ScilabString(["readau"]),new ScilabDouble([2])); - model.out=nout; - model.evtin = new ScilabDouble([1]); - model.dstate = new ScilabDouble([1],[1],[lunit],[zeros(N*M,1)]); - model.ipar = new ScilabDouble([length(fname)],[_str2code(frmt)],[ievt],[N],[M],[swap],[offset],[_str2code(fname)],[tmask],[outmask]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[fname],[string(N)],[string(swap)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([5,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/READC_f.js b/data_structures/READC_f.js deleted file mode 100644 index cc406db..0000000 --- a/data_structures/READC_f.js +++ /dev/null @@ -1,46 +0,0 @@ -function READC_f () { - - - var frmt = "d, "; - - var fname = "foo"; - - var lunit = 0; - - var N = 20; - - var M = 1; - - var rpar = []; - - var tmask = 0; - - var swap = 0; - - var offset = 1; - - var outmask = 1; - - var ievt = 0; - - var nout = size(outmask,"*"); - - var ipar = [[,length(fname)],[,_str2code(frmt)],[,ievt],[,N],[,M],[,swap],[offset],[,_str2code(fname)],[,tmask],[,outmask,]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["readc"]),new ScilabDouble([2])); - model.out=nout; - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble(); - model.dstate = new ScilabDouble([1],[,1],[,lunit],[,zeros(N*M,1)]); - model.ipar = new ScilabDouble([,length(fname)],[,_str2code(frmt)],[,ievt],[,N],[,M],[,swap],[,offset],[_str2code(fname)],[,tmask],[,outmask,]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[,"[]"],[,sci2exp(outmask)],[,fname],[,frmt],[,string(M)],[,string(N)],[,string(offset)],[string(swap),]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/REGISTER.js b/data_structures/REGISTER.js deleted file mode 100644 index 6b9b247..0000000 --- a/data_structures/REGISTER.js +++ /dev/null @@ -1,20 +0,0 @@ -function REGISTER () { - - - var z0 = zeros(10,1); - - var model = scicos_model(); - model.sim=list(new ScilabString(["delay4"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.dstate=z0; - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = strcat(string(z0),,";"); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/RELATIONALOP.js b/data_structures/RELATIONALOP.js deleted file mode 100644 index 72fd81c..0000000 --- a/data_structures/RELATIONALOP.js +++ /dev/null @@ -1,22 +0,0 @@ -function RELATIONALOP () { - - - var ipar = [2]; - - var label = "<"; - - var model = scicos_model(); - model.sim=list(new ScilabString(["relationalop"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1],[1]); - model.out = new ScilabDouble([1]); - model.ipar=new ScilabDouble([ipar]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[string(ipar)],[string(0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - this.x.graphics.style = new ScilabString(["fontSize=13;fontStyle=1;displayedLabel="+label]); - return new BasicBlock(this.x) -} diff --git a/data_structures/RELAY_f.js b/data_structures/RELAY_f.js deleted file mode 100644 index 56000db..0000000 --- a/data_structures/RELAY_f.js +++ /dev/null @@ -1,25 +0,0 @@ -function RELAY_f () { - - - var i0 = 0; - - var in1 = [[-1],[-1]]; - - var nin = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["relay"]),new ScilabDouble([2])); - model.in1.push(in1); - model.out = new ScilabDouble([-1]); - model.evtin=ones(in1); - model.dstate=new ScilabDouble([i0]); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,true]); - - var exprs = [[string(nin)],[string(i0+1)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/RFILE_f.js b/data_structures/RFILE_f.js deleted file mode 100644 index 10fbc93..0000000 --- a/data_structures/RFILE_f.js +++ /dev/null @@ -1,40 +0,0 @@ -function RFILE_f () { - - - var out = 1; - - var nout = sum(out); - - var frmt = "(7(e10.3,1x))"; - - var fname = "foo"; - - var lunit = 0; - - var N = 2; - - var rpar = []; - - var tmask = 0; - - var outmask = 1; - - var ipar = [[,length(fname)],[length(frmt)],[0],[N],[,_str2code(fname)],[_str2code(frmt)],[,tmask],[outmask,]]; - - var dstate = [[1],[,1],[,lunit],[,zeros((nout)*N,,1)]]; - - var model = scicos_model(); - model.sim = new ScilabString(["readf"]); - model.out=nout; - model.evtin = new ScilabDouble([1]); - model.dstate=new ScilabDouble([dstate]); - model.ipar = new ScilabDouble([,length(fname)],[length(frmt)],[0],[N],[,_str2code(fname)],[_str2code(frmt)],[,tmask],[outmask,]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[sci2exp([])],[sci2exp(outmask)],[fname],[frmt],[string(N)],[sci2exp(out)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/RICC.js b/data_structures/RICC.js deleted file mode 100644 index 1eaf89b..0000000 --- a/data_structures/RICC.js +++ /dev/null @@ -1,31 +0,0 @@ -function RICC () { - - - var model = scicos_model(); - - var function_name = "ricc_m"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1],[-1],[-1]); - model.in2 = new ScilabDouble([-1],[-1],[-1]); - model.intyp = new ScilabDouble([1,1,1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble([1],[1]); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [[sci2exp(1)],[sci2exp(1)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/ROOTCOEF.js b/data_structures/ROOTCOEF.js deleted file mode 100644 index df1eaad..0000000 --- a/data_structures/ROOTCOEF.js +++ /dev/null @@ -1,31 +0,0 @@ -function ROOTCOEF () { - - - var model = scicos_model(); - - var function_name = "root_coef"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([1]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-2]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [[sci2exp(1)],[sci2exp(1)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/Resistor.js b/data_structures/Resistor.js deleted file mode 100644 index 10b72c3..0000000 --- a/data_structures/Resistor.js +++ /dev/null @@ -1,28 +0,0 @@ -function Resistor () { - - - var model = scicos_model(); - - var R = 0.01; - model.rpar=new ScilabDouble([R]); - model.sim = new ScilabString(["resistor"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["Resistor"]); - mo.inputs = new ScilabString(["p"]); - mo.outputs = new ScilabString(["n"]); - mo.parameters=list(new ScilabString(["R"]),list(R)); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - - var exprs = string(R); - - var gr_i = []; - this.x=standard_define([2,1],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/SAMPHOLD_m.js b/data_structures/SAMPHOLD_m.js deleted file mode 100644 index 0a52809..0000000 --- a/data_structures/SAMPHOLD_m.js +++ /dev/null @@ -1,21 +0,0 @@ -function SAMPHOLD_m () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["samphold4_m"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.evtin = new ScilabDouble([1]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(1)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SATURATION.js b/data_structures/SATURATION.js deleted file mode 100644 index 37a218a..0000000 --- a/data_structures/SATURATION.js +++ /dev/null @@ -1,25 +0,0 @@ -function SATURATION () { - - - var minp = -1; - - var maxp = 1; - - var rpar = [[maxp],[minp]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["satur"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([1]); - model.nzcross = new ScilabDouble([2]); - model.nmode = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.rpar=rpar; - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[string(maxp)],[string(minp)],[string(model.nmode)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SAWTOOTH_f.js b/data_structures/SAWTOOTH_f.js deleted file mode 100644 index fcbe8e6..0000000 --- a/data_structures/SAWTOOTH_f.js +++ /dev/null @@ -1,17 +0,0 @@ -function SAWTOOTH_f () { - - - var model = scicos_model(); - model.sim = new ScilabString(["sawtth"]); - model.out = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.dstate = new ScilabDouble([0]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var exprs = " "; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SCALAR2VECTOR.js b/data_structures/SCALAR2VECTOR.js deleted file mode 100644 index 67c696c..0000000 --- a/data_structures/SCALAR2VECTOR.js +++ /dev/null @@ -1,18 +0,0 @@ -function SCALAR2VECTOR () { - - - var nout = -1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["scalar2vector"]),new ScilabDouble([4])); - model.out=new ScilabDouble([nout]); - model.in1 = new ScilabDouble([1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [string([nout])]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SELECT_m.js b/data_structures/SELECT_m.js deleted file mode 100644 index e4970c8..0000000 --- a/data_structures/SELECT_m.js +++ /dev/null @@ -1,31 +0,0 @@ -function SELECT_m () { - - - var z0 = 1; - - var nin = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["selector_m"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1],[-1]); - model.in2 = new ScilabDouble([-2],[-2]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([1]); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble(); - model.firing = new ScilabDouble(); - model.evtin=ones(nin,1); - model.dstate=new ScilabDouble([z0]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(1)],[sci2exp(nin)],[sci2exp(z0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SELF_SWITCH.js b/data_structures/SELF_SWITCH.js deleted file mode 100644 index 0966f74..0000000 --- a/data_structures/SELF_SWITCH.js +++ /dev/null @@ -1,24 +0,0 @@ -function SELF_SWITCH () { - - - var stateOpen = %t; - this.x=scicos_block(); - this.x.gui = new ScilabString(["SELF_SWITCH"]); - this.x.graphics.sz = new ScilabDouble([2,2]); - this.x.graphics.gr_i = new ScilabDouble(); - this.x.graphics.pin = new ScilabDouble([0]); - this.x.graphics.pout = new ScilabDouble([0]); - this.x.model.sim = new ScilabString(["csuper"]); - this.x.model.in1 = new ScilabDouble([1]); - this.x.model.out = new ScilabDouble([1]); - this.x.model.blocktype = new ScilabString(["h"]); - this.x.model.dep_ut = new ScilabBoolean([false,false]); - this.x.model.rpar=genSwitchInnerDiagram(stateOpen); - this.x.model.opar=list(stateOpen); - this.x.graphics.in_implicit = new ScilabString(["E"]); - this.x.graphics.in_style = new ScilabString([""]); - this.x.graphics.out_implicit = new ScilabString(["E"]); - this.x.graphics.out_style = new ScilabString([""]); - this.x.graphics.style = new ScilabString(["SELF_SWITCH_OFF"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/SHIFT.js b/data_structures/SHIFT.js deleted file mode 100644 index 9d94041..0000000 --- a/data_structures/SHIFT.js +++ /dev/null @@ -1,26 +0,0 @@ -function SHIFT () { - - - var sgn = [[0],[0]]; - - var OPER = 0; - - var model = scicos_model(); - model.sim=list(new ScilabString(["shift_32_LA"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.out = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.out2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([3]); - model.outtyp = new ScilabDouble([3]); - model.rpar = new ScilabDouble(); - model.ipar=new ScilabDouble([sgn]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(3)],[sci2exp(0)],[sci2exp(0)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SIGNUM.js b/data_structures/SIGNUM.js deleted file mode 100644 index 39133f5..0000000 --- a/data_structures/SIGNUM.js +++ /dev/null @@ -1,20 +0,0 @@ -function SIGNUM () { - - - var nu = -1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["signum"]),new ScilabDouble([4])); - model.in1.push(new ScilabDouble([nu])); - model.out=new ScilabDouble([nu]); - model.nzcross=new ScilabDouble([nu]); - model.nmode=new ScilabDouble([nu]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [string([1])]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SINBLK_f.js b/data_structures/SINBLK_f.js deleted file mode 100644 index eda3ed0..0000000 --- a/data_structures/SINBLK_f.js +++ /dev/null @@ -1,16 +0,0 @@ -function SINBLK_f () { - - - var model = scicos_model(); - model.sim = new ScilabString(["sinblk"]); - model.in1 = new ScilabDouble([-1]); - model.out = new ScilabDouble([-1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = " "; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SOM_f.js b/data_structures/SOM_f.js deleted file mode 100644 index d17adbe..0000000 --- a/data_structures/SOM_f.js +++ /dev/null @@ -1,19 +0,0 @@ -function SOM_f () { - - - var sgn = [[1],[1],[1]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["sum"]),new ScilabDouble([2])); - model.in1 = new ScilabDouble([-1],[-1],[-1]); - model.out = new ScilabDouble([-1]); - model.rpar=new ScilabDouble([sgn]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(1)],[sci2exp(sgn)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SQRT.js b/data_structures/SQRT.js deleted file mode 100644 index 9988080..0000000 --- a/data_structures/SQRT.js +++ /dev/null @@ -1,19 +0,0 @@ -function SQRT () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["mat_sqrt"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [sci2exp(1)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SRFLIPFLOP.js b/data_structures/SRFLIPFLOP.js deleted file mode 100644 index ae291fd..0000000 --- a/data_structures/SRFLIPFLOP.js +++ /dev/null @@ -1,44 +0,0 @@ -function SRFLIPFLOP () { - - - var scs_m = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["SRFLIPFLOP"],tol=[0.0001;0.000001;1.000E-10;100001;0;0;0],tf=60,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); - scs_m.objs.push(scicos_block(gui="LOGIC",graphics=scicos_graphics(orig=[298.504,201.45067],sz=[40,40],flip=%t,theta=0,exprs=["[0,1;1,0;1,0;1,0;0,1;0,1;0,0;0,0]";"1"],pin=[4;10;12],pout=[3;8],pein=[],peout=[],gr_i=[],id="",in_implicit=["E";"E";"E"],out_implicit=["E";"E"]),model=scicos_model(sim=list("logic",4),in1=[1],[1],[1],in2=[1],[1],[1],intyp=[5],[5],[5],out=[1],[1],out2=[1],[1],outtyp=[5],[5],evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(int8([0,1); - 1,0; - 1,0; - 1,0; - 0,1; - 0,1; - 0,0; - - var 0,0])),blocktype = "c",firing=%f,dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list()); - scs_m.objs.push(scicos_block(gui="DOLLAR_m",graphics=scicos_graphics(orig=[299.23733,254.25067],sz=[40,40],flip=%f,theta=0,exprs=["int8(0)";"1"],pin=6,pout=4,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("dollar4_m",4),in1=1,in2=1,intyp=5,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(new ScilabInteger([0])),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([347.07543),yy: new ScilabDouble([228.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([5,1,1])})); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([290.6659),yy: new ScilabDouble([274.25067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([1,1,1])})); - scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[363.03733,248.584],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=3,pout=[6;14],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([363.03733),yy: new ScilabDouble([248.584),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([5,1,0]),to: new ScilabDouble([2,1,1])})); - scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[367.07543,204.784],sz=[20,20],flip=%t,theta=0,exprs="2",pin=8,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([347.07543),yy: new ScilabDouble([214.784),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,2,0]),to: new ScilabDouble([7,1,1])})); - scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[249.93257,211.45067],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=10,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([269.93257),yy: new ScilabDouble([221.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([9,1,0]),to: new ScilabDouble([1,2,1])})); - scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[249.93257,201.45067],sz=[20,20],flip=%t,theta=0,exprs="2",pin=[],pout=12,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([269.93257),yy: new ScilabDouble([211.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([11,1,0]),to: new ScilabDouble([1,3,1])})); - scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[383.03733,238.584],sz=[20,20],flip=%t,theta=0,exprs="1",pin=14,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m.objs.push(scicos_link({xx: new ScilabDouble([363.03733),yy: new ScilabDouble([248.584),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([5,2,0]),to: new ScilabDouble([13,1,1])})); - - var model = scicos_model(); - model.sim = new ScilabString(["csuper"]); - model.in1 = new ScilabDouble([1],[1]); - model.in2 = new ScilabDouble([1],[1]); - model.out = new ScilabDouble([1],[1]); - model.out2 = new ScilabDouble([1],[1]); - model.intyp = new ScilabDouble([5,5]); - model.outtyp = new ScilabDouble([5,5]); - model.blocktype = new ScilabString(["h"]); - model.firing = new ScilabBoolean([false]); - model.dep_ut = new ScilabBoolean([true,false]); - model.rpar=scs_m; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,3]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/STEP_FUNCTION.js b/data_structures/STEP_FUNCTION.js deleted file mode 100644 index 483a4c2..0000000 --- a/data_structures/STEP_FUNCTION.js +++ /dev/null @@ -1,57 +0,0 @@ -function STEP_FUNCTION () { - - - var scs_m_1 = scicos_diagram(); - scs_m_1.objs.push(STEP("define")); - scs_m_1.objs.push(OUT_f("define")); - scs_m_1.objs.push(scicos_link({})); - scs_m_1.objs.push(scicos_link({})); - - var blk = scs_m_1.objs(1); - - var graphics = blk.graphics; - - var model = blk.model; - graphics.orig = new ScilabDouble([0,0]); - graphics.sz = new ScilabDouble([40,40]); - graphics.pein = new ScilabDouble([4]); - graphics.peout = new ScilabDouble([4]); - graphics.pout = new ScilabDouble([3]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - blk=scs_m_1.objs(2); - graphics=blk.graphics; - model=blk.model; - graphics.orig = new ScilabDouble([80,10]); - graphics.sz = new ScilabDouble([20,20]); - graphics.exprs = new ScilabString(["1"]); - model.ipar = new ScilabDouble([1]); - graphics.pin = new ScilabDouble([3]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - - var lnk = scs_m_1.objs(3); - lnk.from = new ScilabDouble([1,1,0]); - lnk.to = new ScilabDouble([2,1,1]); - scs_m_1.objs.push(lnk); - lnk=scs_m_1.objs(4); - lnk.xx = new ScilabDouble([0,20, -20,-20,20,1]); - lnk.yy = new ScilabDouble([0,-20,-20, 60,60,1]); - lnk.ct = new ScilabDouble([5,-1]); - lnk.from = new ScilabDouble([1,1,0]); - lnk.to = new ScilabDouble([1,1,1]); - scs_m_1.objs.push(lnk); - clear blk lnk - model=scicos_model(); - model.sim = new ScilabString(["csuper"]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.rpar=scs_m_1; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SUBMAT.js b/data_structures/SUBMAT.js deleted file mode 100644 index b8cea53..0000000 --- a/data_structures/SUBMAT.js +++ /dev/null @@ -1,31 +0,0 @@ -function SUBMAT () { - - - var model = scicos_model(); - - var function_name = "submat"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble([1],[1],[1],[1]); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [[sci2exp(1)],[sci2exp(1)],[sci2exp(1)],[sci2exp(1)],[sci2exp(1)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2.5,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SUMMATION.js b/data_structures/SUMMATION.js deleted file mode 100644 index 4c7fe1b..0000000 --- a/data_structures/SUMMATION.js +++ /dev/null @@ -1,21 +0,0 @@ -function SUMMATION () { - - - var sgn = [[1],[-1]]; - - var model = scicos_model(); - model.sim=list(new ScilabString(["summation"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1],[-1]); - model.out = new ScilabDouble([-1]); - model.in2 = new ScilabDouble([-2],[-2]); - model.out2 = new ScilabDouble([-2]); - model.ipar=new ScilabDouble([sgn]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = sci2exp(sgn); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,3]),model,,exprs,gr_i); - return new Summation(this.x) -} diff --git a/data_structures/SUM_f.js b/data_structures/SUM_f.js deleted file mode 100644 index 2497a34..0000000 --- a/data_structures/SUM_f.js +++ /dev/null @@ -1,16 +0,0 @@ -function SUM_f () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["plusblk"]),new ScilabDouble([2])); - model.in1 = new ScilabDouble([-1],[-1],[-1]); - model.out = new ScilabDouble([-1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var gr_i = []; - - var exprs = []; - this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); - return new RoundBlock(this.x) -} diff --git a/data_structures/SUPER_f.js b/data_structures/SUPER_f.js deleted file mode 100644 index 5ed120a..0000000 --- a/data_structures/SUPER_f.js +++ /dev/null @@ -1,28 +0,0 @@ -function SUPER_f () { - - - var scs = scicos_diagram(); - scs.props.title = new ScilabString(["Super,Block"]); - - var in1 = IN_f("define"); - in1.graphics.orig = new ScilabDouble([40,,40]); - in1.graphics.sz = new ScilabDouble([20,,20]); - - var out = OUT_f("define"); - out.graphics.orig = new ScilabDouble([240,,40]); - out.graphics.sz = new ScilabDouble([20,,20]); - scs.objs.push(in1); - scs.objs.push(out); - - var model = scicos_model(); - model.sim = new ScilabString(["super"]); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.rpar=scs; - model.blocktype = new ScilabString(["h"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); - return new SuperBlock(this.x) -} diff --git a/data_structures/SWITCH2_m.js b/data_structures/SWITCH2_m.js deleted file mode 100644 index 4c1934a..0000000 --- a/data_structures/SWITCH2_m.js +++ /dev/null @@ -1,30 +0,0 @@ -function SWITCH2_m () { - - - var ipar = [0]; - - var nzz = 1; - - var rpar = 0; - - var model = scicos_model(); - model.sim=list(new ScilabString(["switch2_m"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1],[1],[-1]); - model.in2 = new ScilabDouble([-2],[1],[-2]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([-1]); - model.out2 = new ScilabDouble([-2]); - model.outtyp = new ScilabDouble([1]); - model.ipar=new ScilabDouble([ipar]); - model.rpar=new ScilabDouble([rpar]); - model.nzcross=new ScilabDouble([nzz]); - model.nmode = new ScilabDouble([1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(1)],[string(ipar)],[string(rpar)],[string(nzz)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SWITCH_f.js b/data_structures/SWITCH_f.js deleted file mode 100644 index f9a4f5e..0000000 --- a/data_structures/SWITCH_f.js +++ /dev/null @@ -1,24 +0,0 @@ -function SWITCH_f () { - - - var i0 = 0; - - var in1 = [[-1],[-1]]; - - var nin = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["switchn"]),new ScilabDouble([2])); - model.in1.push(in1); - model.out = new ScilabDouble([-1]); - model.ipar=new ScilabDouble([i0]); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,true]); - - var exprs = [[string(nin)],[string(i0+1)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SampleCLK.js b/data_structures/SampleCLK.js deleted file mode 100644 index 51bf28a..0000000 --- a/data_structures/SampleCLK.js +++ /dev/null @@ -1,15 +0,0 @@ -function SampleCLK () { - - - var model = scicos_model(); - model.sim = new ScilabString(["sampleclk"]); - model.evtout = new ScilabDouble([1]); - model.rpar = new ScilabDouble([1,0]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[sci2exp(1)],[sci2exp(0)]]; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs," "); - return new BasicBlock(this.x) -} diff --git a/data_structures/Sigbuilder.js b/data_structures/Sigbuilder.js deleted file mode 100644 index a4c176c..0000000 --- a/data_structures/Sigbuilder.js +++ /dev/null @@ -1,19 +0,0 @@ -function Sigbuilder () { - - - var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["Sigbuilder","./"],tol=[0.0001;0.000001;1.000D-10;100001;0;0;0],tf=100,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); - scs_m_1.objs.push(scicos_block(gui="CURVE_c",graphics=scicos_graphics(orig=[329.63473,606.18517],sz=[40,40],flip=%t,theta=0,exprs=["3";"[0,1,2]";"[10,20,-30]";"y";"n"],pin=[],pout=6,pein=4,peout=2,gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("curve_c",4),in1=[],in2=[],intyp=1,out=1,out2=[],outtyp=1,evtin=1,evtout=1,state=[],dstate=[],odstate=list(),rpar=[0;1;2;10;20;-30],ipar=[3;3;1],opar=list(),blocktype="c",firing=0,dep_ut=[%f,%t],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([349.63473),yy: new ScilabDouble([600.47089),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([3,1,1])})); - scs_m_1.objs.push(scicos_block(gui="CLKSPLIT_f",graphics=scicos_graphics(orig=[349.49528;565.10704],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=[],pout=[],pein=2,peout=[8;4],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="split",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[%f,%f,%f],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([349.49528),yy: new ScilabDouble([565.10704),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([3,2,0]),to: new ScilabDouble([1,1,1])})); - scs_m_1.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[398.20616,616.18517],sz=[20,20],flip=%t,theta=0,exprs="1",pin=6,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=-2,intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([378.20616),yy: new ScilabDouble([626.18517),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([5,1,1])})); - scs_m_1.objs.push(scicos_block(gui="CLKOUTV_f",graphics=scicos_graphics(orig=[339.49528,505.10704],sz=[20,30],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=8,peout=[],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="output",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); - scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([349.49528),yy: new ScilabDouble([565.10704),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([7,1,1])})); - - var model = scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/SineVoltage.js b/data_structures/SineVoltage.js deleted file mode 100644 index 99e8b10..0000000 --- a/data_structures/SineVoltage.js +++ /dev/null @@ -1,36 +0,0 @@ -function SineVoltage () { - - - var model = scicos_model(); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - - var V = 1; - - var ph = 0; - - var frq = 1; - - var offset = 0; - - var start = 0; - model.rpar = new ScilabDouble([V],[ph],[frq],[offset],[start]); - model.sim = new ScilabString(["SineVoltage"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["SineVoltage"]); - mo.inputs = new ScilabString(["p"]); - mo.outputs = new ScilabString(["n"]); - mo.parameters=list(new ScilabString(["V";"phase";"freqHz";"offset";"startTime"]),list(V,ph,frq,offset,start)); - model.equations=mo; - - var exprs = [[string(V)],[string(ph)],[string(frq)],[string(offset)],[string(start)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/SourceP.js b/data_structures/SourceP.js deleted file mode 100644 index fa2cd52..0000000 --- a/data_structures/SourceP.js +++ /dev/null @@ -1,33 +0,0 @@ -function SourceP () { - - - var model = scicos_model(); - - var P0 = 300000; - - var T0 = 290; - - var H0 = 100000; - - var option_temperature = 1; - model.rpar = new ScilabDouble([P0],[T0],[H0],[option_temperature]); - model.sim = new ScilabString(["Source"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["Source"]); - mo.inputs = new ScilabDouble(); - mo.outputs = new ScilabString(["C"]); - mo.parameters=list(new ScilabString(["P0";"T0";"H0";"option_temperature"]),[P0],[T0],[H0],[option_temperature]); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - - var exprs = [[string(P0)],[string(T0)],[string(H0)],[string(option_temperature)]]; - - var gr_i = []; - this.x=standard_define([2.5,2],model,exprs,list(gr_i,0)); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/Switch.js b/data_structures/Switch.js deleted file mode 100644 index 3b7d196..0000000 --- a/data_structures/Switch.js +++ /dev/null @@ -1,34 +0,0 @@ -function Switch () { - - - var model = scicos_model(); - - var Ron = 0.01; - - var Roff = 1e5; - - var S = ["Ron";"Roff"]; - - var Z = eval(S); - model.sim = new ScilabString(["Switch"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model=model.sim; - mo.inputs = new ScilabString(["p";"inp"]); - mo.outputs = new ScilabString(["n"]); - mo.parameters=list(S,Z); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - model.rpar=Z; - - var exprs = string(Z); - - var gr_i = []; - this.x=standard_define([2,2],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I";"E"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/TANBLK_f.js b/data_structures/TANBLK_f.js deleted file mode 100644 index e20343a..0000000 --- a/data_structures/TANBLK_f.js +++ /dev/null @@ -1,18 +0,0 @@ -function TANBLK_f () { - - - var in1 = -1; - - var model = scicos_model(); - model.sim = new ScilabString(["tanblk"]); - model.in1.push(new ScilabDouble([in1])); - model.out=new ScilabDouble([in1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = sci2exp(in1); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/TCLSS.js b/data_structures/TCLSS.js deleted file mode 100644 index f472447..0000000 --- a/data_structures/TCLSS.js +++ /dev/null @@ -1,27 +0,0 @@ -function TCLSS () { - - - var x0 = 0],[A=0],[B=1],[C=1],[D=0; - - var in1 = 1; - - var nx = size(x0,"*"); - - var out = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["tcslti4"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([in1],[nx]); - model.out=new ScilabDouble([out]); - model.evtin = new ScilabDouble([1]); - model.state=new ScilabDouble([x0]); - model.rpar = new ScilabDouble([...colon_operator(A,:)],[...B],[C(,)],[...D]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var exprs = [[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/TEXT_f.js b/data_structures/TEXT_f.js deleted file mode 100644 index 4ca293e..0000000 --- a/data_structures/TEXT_f.js +++ /dev/null @@ -1,21 +0,0 @@ -function TEXT_f () { - - - var font = 2; - - var siz = 1; - - var model = scicos_model(); - model.sim = new ScilabString(["text"]); - model.rpar = new ScilabString(["Text"]); - model.ipar = new ScilabDouble([font],[siz]); - - var exprs = [["Text"],[string(font)],[,string(siz)]]; - - var graphics = scicos_graphics(); - graphics.orig = new ScilabDouble([0,0]); - graphics.sz = new ScilabDouble([2,1]); - graphics.exprs=new ScilabString([exprs]); - this.x=mlist(new ScilabString(["Text","graphics","model","void","gui"]),graphics,model,new ScilabString([" "]),new ScilabString(["TEXT_f"])); - return new TextBlock(this.x) -} diff --git a/data_structures/TIME_DELAY.js b/data_structures/TIME_DELAY.js deleted file mode 100644 index 82a1e99..0000000 --- a/data_structures/TIME_DELAY.js +++ /dev/null @@ -1,26 +0,0 @@ -function TIME_DELAY () { - - - var nin = 1; - - var T = 1; - - var init = 0; - - var N = 1024; - - var model = scicos_model(); - model.sim=list(new ScilabString(["time_delay"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([nin]); - model.out=new ScilabDouble([nin]); - model.rpar = new ScilabDouble([T,init]); - model.ipar=new ScilabDouble([N]); - model.blocktype = new ScilabString(["x"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var exprs = [[string(T)],[string(init)],[string(N)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3.5,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/TIME_f.js b/data_structures/TIME_f.js deleted file mode 100644 index 69d4312..0000000 --- a/data_structures/TIME_f.js +++ /dev/null @@ -1,13 +0,0 @@ -function TIME_f () { - - - var model = scicos_model(); - model.sim = new ScilabString(["timblk"]); - model.out = new ScilabDouble([1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([false,true]); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/TKSCALE.js b/data_structures/TKSCALE.js deleted file mode 100644 index 5c7bd8e..0000000 --- a/data_structures/TKSCALE.js +++ /dev/null @@ -1,23 +0,0 @@ -function TKSCALE () { - - - var a = -10; - - var b = 10; - - var f = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["tkscaleblk"]),new ScilabDouble([5])); - model.out = new ScilabDouble([1]); - model.evtin = new ScilabDouble([1]); - model.rpar = new ScilabDouble([a],[b],[f]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[sci2exp(a)],[sci2exp(b)],[sci2exp(f)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/TOWS_c.js b/data_structures/TOWS_c.js deleted file mode 100644 index 6094f11..0000000 --- a/data_structures/TOWS_c.js +++ /dev/null @@ -1,31 +0,0 @@ -function TOWS_c () { - - - var nu = -1; - - var nz = 128; - - var varnam = "A"; - - var herit = 0; - - var model = scicos_model(); - model.sim=list(new ScilabString(["tows_c"]),,new ScilabDouble([4])); - model.in1 = new ScilabDouble([nu]); - model.in2 = new ScilabDouble([-2]); - model.intyp = new ScilabDouble([-1]); - model.out = new ScilabDouble(); - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble([nz],[,length(varnam)],[,ascii(varnam)']); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([false,false]); - - var gr_i = []; - - var exprs = [[string(nz)],[,string(varnam)],[,string(herit)]]; - this.x=new standard_define(new ScilabDouble([4,2]),,model,,exprs,,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/TRASH_f.js b/data_structures/TRASH_f.js deleted file mode 100644 index c9e4ac4..0000000 --- a/data_structures/TRASH_f.js +++ /dev/null @@ -1,18 +0,0 @@ -function TRASH_f () { - - - var in1 = -1; - - var model = scicos_model(); - model.sim = new ScilabString(["trash"]); - model.in1.push(new ScilabDouble([in1])); - model.evtin = new ScilabDouble([1]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = " "; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/TrigFun.js b/data_structures/TrigFun.js deleted file mode 100644 index 736a8c2..0000000 --- a/data_structures/TrigFun.js +++ /dev/null @@ -1,16 +0,0 @@ -function TrigFun () { - - - var model = scicos_model(); - model.sim=list(new ScilabString(["sin_blk"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([-1]); - model.out = new ScilabDouble([-1]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = "sin"; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/VARIABLE_DELAY.js b/data_structures/VARIABLE_DELAY.js deleted file mode 100644 index 81d29f1..0000000 --- a/data_structures/VARIABLE_DELAY.js +++ /dev/null @@ -1,26 +0,0 @@ -function VARIABLE_DELAY () { - - - var nin = 1; - - var T = 1; - - var init = 0; - - var N = 1024; - - var model = scicos_model(); - model.sim=list(new ScilabString(["variable_delay"]),new ScilabDouble([4])); - model.in1 = new ScilabDouble([nin],[1]); - model.out=new ScilabDouble([nin]); - model.rpar = new ScilabDouble([T,init]); - model.ipar=new ScilabDouble([N]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = [[string(T)],[string(init)],[string(N)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/VVsourceAC.js b/data_structures/VVsourceAC.js deleted file mode 100644 index 78dcc38..0000000 --- a/data_structures/VVsourceAC.js +++ /dev/null @@ -1,30 +0,0 @@ -function VVsourceAC () { - - - var model = scicos_model(); - model.in1 = new ScilabDouble([1],[1]); - model.out = new ScilabDouble([1]); - - var VA = 220; - - var FR = 50; - model.rpar = new ScilabDouble([FR]); - model.sim = new ScilabString(["VVsourceAC"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["VVsourceAC"]); - mo.inputs = new ScilabString(["p","VA"]); - mo.outputs = new ScilabString(["n"]); - mo.parameters=list(new ScilabString(["f"]),list(FR)); - model.equations=mo; - - var exprs = [string(FR)]; - - var gr_i = []; - this.x=standard_define([2,2],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I","E"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/VanneReglante.js b/data_structures/VanneReglante.js deleted file mode 100644 index 8e3dc25..0000000 --- a/data_structures/VanneReglante.js +++ /dev/null @@ -1,32 +0,0 @@ -function VanneReglante () { - - - var model = scicos_model(); - model.in1 = new ScilabDouble([1],[1]); - model.out = new ScilabDouble([1]); - - var Cvmax = 8005.42; - - var p_rho = 0; - model.rpar = new ScilabDouble([Cvmax],[p_rho]); - model.sim = new ScilabString(["VanneReglante"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["VanneReglante"]); - mo.inputs = new ScilabString(["C1" "Ouv"]); - mo.outputs = new ScilabString(["C2"]); - mo.parameters=list(new ScilabString(["Cvmax";"p_rho"]),[Cvmax],[p_rho]); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - - var exprs = [[string(Cvmax)],[string(p_rho)]]; - - var gr_i = []; - this.x=standard_define([2,2],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I";"E"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/VariableResistor.js b/data_structures/VariableResistor.js deleted file mode 100644 index bfb7914..0000000 --- a/data_structures/VariableResistor.js +++ /dev/null @@ -1,24 +0,0 @@ -function VariableResistor () { - - - var model = scicos_model(); - model.sim = new ScilabString(["VariableResistor"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["VariableResistor"]); - mo.inputs = new ScilabString(["p","R"]); - mo.outputs = new ScilabString(["n"]); - model.equations=mo; - model.in1.push(ones(size(mo.inputs,"*"),1)); - model.out=ones(size(mo.outputs,"*"),1); - - var exprs = []; - - var gr_i = []; - this.x=standard_define([2,2],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I","E"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/VirtualCLK0.js b/data_structures/VirtualCLK0.js deleted file mode 100644 index 82fa621..0000000 --- a/data_structures/VirtualCLK0.js +++ /dev/null @@ -1,16 +0,0 @@ -function VirtualCLK0 () { - - - var model = scicos_model(); - model.sim = new ScilabString(["vrtclk0"]); - model.evtin = new ScilabDouble([1]); - model.opar=list(); - model.ipar = new ScilabDouble(); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs," "); - return new BasicBlock(this.x) -} diff --git a/data_structures/VoltageSensor.js b/data_structures/VoltageSensor.js deleted file mode 100644 index 3eab08a..0000000 --- a/data_structures/VoltageSensor.js +++ /dev/null @@ -1,24 +0,0 @@ -function VoltageSensor () { - - - var model = scicos_model(); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1],[,1]); - model.sim = new ScilabString(["VoltageSensor"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["VoltageSensor"]); - mo.inputs = new ScilabString(["p"]); - mo.outputs = new ScilabString(["n";"v"]); - model.equations=mo; - - var exprs = []; - - var gr_i = []; - this.x=standard_define([2,2],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I";"E"]); - return new VoltageSensorBlock(this.x) -} diff --git a/data_structures/VsourceAC.js b/data_structures/VsourceAC.js deleted file mode 100644 index fa02afd..0000000 --- a/data_structures/VsourceAC.js +++ /dev/null @@ -1,30 +0,0 @@ -function VsourceAC () { - - - var model = scicos_model(); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - - var VA = 220; - - var FR = 50; - model.rpar = new ScilabDouble([VA],[FR]); - model.sim = new ScilabString(["VsourceAC"]); - model.blocktype = new ScilabString(["c"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var mo = modelica(); - mo.model = new ScilabString(["VsourceAC"]); - mo.inputs = new ScilabString(["p"]); - mo.outputs = new ScilabString(["n"]); - mo.parameters=list(new ScilabString(["VA";"f"]),list(VA,FR)); - model.equations=mo; - - var exprs = [[string(VA)],[string(FR)]]; - - var gr_i = []; - this.x=standard_define([2,2],model,exprs,list(gr_i,0)); - this.x.graphics.in_implicit = new ScilabString(["I"]); - this.x.graphics.out_implicit = new ScilabString(["I"]); - return new BasicBlock(this.x) -} diff --git a/data_structures/WFILE_f.js b/data_structures/WFILE_f.js deleted file mode 100644 index 7e9a4ed..0000000 --- a/data_structures/WFILE_f.js +++ /dev/null @@ -1,30 +0,0 @@ -function WFILE_f () { - - - var in1 = 1; - - var nin = sum(in1); - - var frmt = "(7(e10.3,1x))"; - - var fname = "foo"; - - var lunit = 0; - - var N = 2; - - var model = scicos_model(); - model.sim = new ScilabString(["writef"]); - model.in1.push(new ScilabDouble([in1])); - model.evtin = new ScilabDouble([1]); - model.dstate = new ScilabDouble([-1],[lunit],[zeros((nin+1)*N,1)]); - model.ipar = new ScilabDouble([length(fname)],[length(frmt)],[0],[N],[_str2code(fname)],[_str2code(frmt)]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(in1)],[fname],[frmt],[string(N)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/WRITEAU_f.js b/data_structures/WRITEAU_f.js deleted file mode 100644 index d831faf..0000000 --- a/data_structures/WRITEAU_f.js +++ /dev/null @@ -1,32 +0,0 @@ -function WRITEAU_f () { - - - var in1 = 1; - - var nin = sum(in1); - - var frmt = "uc,"; - - var fname = "/dev/audio"; - - var swap = 0; - - var lunit = 0; - - var N = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["writeau"]),new ScilabDouble([2])); - model.in1.push(new ScilabDouble([in1])); - model.evtin = new ScilabDouble([1]); - model.dstate = new ScilabDouble([-1],[lunit],[zeros((nin+1)*N,1)]); - model.ipar = new ScilabDouble([length(fname)],[_str2code(frmt)],[N],[swap],[_str2code(fname)]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [string(N)string(swap)]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/WRITEC_f.js b/data_structures/WRITEC_f.js deleted file mode 100644 index 3f8f785..0000000 --- a/data_structures/WRITEC_f.js +++ /dev/null @@ -1,32 +0,0 @@ -function WRITEC_f () { - - - var in1 = 1; - - var nin = sum(in1); - - var frmt = "c, "; - - var fname = "foo"; - - var swap = 0; - - var lunit = 0; - - var N = 2; - - var model = scicos_model(); - model.sim=list(new ScilabString(["writec"]),new ScilabDouble([2])); - model.in1.push(new ScilabDouble([in1])); - model.evtin = new ScilabDouble([1]); - model.dstate = new ScilabDouble([-1],[lunit],[zeros((nin+1)*N,1)]); - model.ipar = new ScilabDouble([length(fname)],[_str2code(frmt)],[N],[swap],[_str2code(fname)]); - model.blocktype = new ScilabString(["d"]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = [[sci2exp(in1)],[fname],[frmt],[string(N)string(swap)]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/ZCROSS_f.js b/data_structures/ZCROSS_f.js deleted file mode 100644 index de4b8d9..0000000 --- a/data_structures/ZCROSS_f.js +++ /dev/null @@ -1,23 +0,0 @@ -function ZCROSS_f () { - - - var rpar = [[-1],[-1],[0],[0]]; - - var in1 = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["zcross"]),new ScilabDouble([1])); - model.in1.push(new ScilabDouble([in1])); - model.nzcross=new ScilabDouble([in1]); - model.evtout = new ScilabDouble([1]); - model.rpar = new ScilabDouble([-1],[-1],[0],[0]); - model.blocktype = new ScilabString(["z"]); - model.firing = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = strcat(sci2exp(in1)); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/c_block.js b/data_structures/c_block.js deleted file mode 100644 index 97c9cae..0000000 --- a/data_structures/c_block.js +++ /dev/null @@ -1,43 +0,0 @@ -function c_block () { - - - var in1 = 1; - - var out = 1; - - var clkin = []; - - var clkout = []; - - var x0 = []; - - var z0 = []; - - var typ = "c"; - - var auto = []; - - var rpar = []; - - var funam = "toto"; - - var model = scicos_model(); - model.sim=list(new ScilabString([" "]),new ScilabDouble([2001])); - model.in1.push(new ScilabDouble([in1])); - model.out=new ScilabDouble([out]); - model.evtin=clkin; - model.evtout=clkout; - model.state=x0; - model.dstate=z0; - model.rpar=rpar; - model.ipar = new ScilabDouble([0]); - model.blocktype=new ScilabString([typ]); - model.firing=auto; - model.dep_ut = new ScilabBoolean([true,false]); - - var label = list([sci2exp(in1)],[sci2exp(out)],[ strcat(sci2exp(rpar))],[funam],list([])); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/fortran_block.js b/data_structures/fortran_block.js deleted file mode 100644 index 5abf2b0..0000000 --- a/data_structures/fortran_block.js +++ /dev/null @@ -1,25 +0,0 @@ -function fortran_block () { - - - var model = scicos_model(); - model.sim=list(new ScilabString([" "]),new ScilabDouble([1001])); - model.in1 = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.evtin = new ScilabDouble(); - model.evtout = new ScilabDouble(); - model.state = new ScilabDouble(); - model.dstate = new ScilabDouble(); - model.rpar = new ScilabDouble(); - model.ipar = new ScilabDouble([0]); - model.blocktype = new ScilabString(["c"]); - model.firing = new ScilabDouble(); - model.dep_ut = new ScilabBoolean([true,false]); - - var funam = "forty"; - - var label = list([sci2exp(model.in1)],[sci2exp(model.out)],[strcat(sci2exp(model.rpar))],[funam],list([])); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/freq_div.js b/data_structures/freq_div.js deleted file mode 100644 index 47bdf8a..0000000 --- a/data_structures/freq_div.js +++ /dev/null @@ -1,113 +0,0 @@ -function freq_div () { - - - var scs_m_1 = scicos_diagram(); - scs_m_1.objs.push(Modulo_Count("define")); - scs_m_1.objs.push(CLKINV_f("define")); - scs_m_1.objs.push(CLKOUTV_f("define")); - scs_m_1.objs.push(IFTHEL_f("define")); - scs_m_1.objs.push(CLKSPLIT_f("define")); - scs_m_1.objs.push(scicos_link({})); - scs_m_1.objs.push(scicos_link({})); - scs_m_1.objs.push(scicos_link({})); - scs_m_1.objs.push(scicos_link({})); - scs_m_1.objs.push(scicos_link({})); - - var blk = scs_m_1.objs(1); - - var graphics = blk.graphics; - - var model = blk.model; - graphics.orig = new ScilabDouble([0,-100]); - graphics.sz = new ScilabDouble([60,40]); - graphics.exprs = new ScilabString(["0";"3"]); - model.dstate = new ScilabDouble([3]); - model.ipar = new ScilabDouble([3]); - graphics.pout = new ScilabDouble([7]); - graphics.pein = new ScilabDouble([10]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - blk=scs_m_1.objs(2); - graphics=blk.graphics; - model=blk.model; - graphics.orig = new ScilabDouble([120,0]); - graphics.sz = new ScilabDouble([20,20]); - graphics.exprs = new ScilabString(["1"]); - model.ipar = new ScilabDouble([1]); - graphics.peout = new ScilabDouble([6]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - blk=scs_m_1.objs(3); - graphics=blk.graphics; - model=blk.model; - graphics.orig = new ScilabDouble([130,-160]); - graphics.sz = new ScilabDouble([20,20]); - graphics.exprs = new ScilabString(["1"]); - model.ipar = new ScilabDouble([1]); - graphics.pein = new ScilabDouble([8]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - blk=scs_m_1.objs(4); - graphics=blk.graphics; - model=blk.model; - graphics.orig = new ScilabDouble([100,-100]); - graphics.sz = new ScilabDouble([60,40]); - graphics.exprs = new ScilabString(["1";"0"]); - model.ipar = new ScilabDouble([1]); - graphics.pin = new ScilabDouble([7]); - graphics.pein = new ScilabDouble([9]); - graphics.peout = new ScilabDouble([0],[8]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - blk=scs_m_1.objs(5); - graphics=blk.graphics; - model=blk.model; - graphics.orig = new ScilabDouble([127,-33]); - graphics.sz = new ScilabDouble([7,7]); - graphics.pein = new ScilabDouble([6]); - graphics.peout = new ScilabDouble([9],[10]); - blk.graphics=graphics; - blk.model=model; - scs_m_1.objs.push(blk); - - var lnk = scs_m_1.objs(6); - lnk.ct = new ScilabDouble([5,-1]); - lnk.from = new ScilabDouble([2,1,0]); - lnk.to = new ScilabDouble([5,1,1]); - scs_m_1.objs.push(lnk); - lnk=scs_m_1.objs(7); - lnk.from = new ScilabDouble([1,1,0]); - lnk.to = new ScilabDouble([4,1,1]); - scs_m_1.objs.push(lnk); - lnk=scs_m_1.objs(8); - lnk.ct = new ScilabDouble([5,-1]); - lnk.from = new ScilabDouble([4,2,0]); - lnk.to = new ScilabDouble([3,1,1]); - scs_m_1.objs.push(lnk); - lnk=scs_m_1.objs(9); - lnk.ct = new ScilabDouble([5,-1]); - lnk.from = new ScilabDouble([5,1,0]); - lnk.to = new ScilabDouble([4,1,1]); - scs_m_1.objs.push(lnk); - lnk=scs_m_1.objs(10); - lnk.xx = new ScilabDouble([0,30,1]); - lnk.yy = new ScilabDouble([0,-30,1]); - lnk.ct = new ScilabDouble([5,-1]); - lnk.from = new ScilabDouble([5,2,0]); - lnk.to = new ScilabDouble([1,1,1]); - scs_m_1.objs.push(lnk); - clear blk lnk - model=scicos_model(); - model.sim = new ScilabString(["csuper"]); - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1]); - model.rpar=scs_m_1; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([3,2]),model,[],gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/generic_block3.js b/data_structures/generic_block3.js deleted file mode 100644 index 82804f0..0000000 --- a/data_structures/generic_block3.js +++ /dev/null @@ -1,23 +0,0 @@ -function generic_block3 () { - - - var model = scicos_model(); - - var function_name = "sinblk"; - - var funtyp = 4; - model.sim=list(function_name,funtyp); - model.in1 = new ScilabDouble([1]); - model.in2 = new ScilabDouble([1]); - model.intyp = new ScilabDouble([1]); - model.out = new ScilabDouble([1]); - model.out2 = new ScilabDouble([1]); - model.outtyp = new ScilabDouble([1]); - model.dep_ut = new ScilabBoolean([true,false]); - - var label = [[function_name;sci2exp(funtyp);sci2exp([model.in1,model.in2]);sci2exp(model.intyp);sci2exp([model.out,model.out2])sci2exp(model.outtyp);sci2exp(model.evtin);sci2exp(model.evtout);sci2exp(model.state);sci2exp(model.dstate);sci2exp(model.odstate);sci2exp(model.rpar);sci2exp(model.ipar);sci2exp(model.opar);sci2exp(model.nmode);sci2exp(model.nzcross);sci2exp(model.firing);"y";"n"]]; - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,label,gr_i); - return new BasicBlock(this.x) -} diff --git a/data_structures/scifunc_block_m.js b/data_structures/scifunc_block_m.js deleted file mode 100644 index 20d082c..0000000 --- a/data_structures/scifunc_block_m.js +++ /dev/null @@ -1,51 +0,0 @@ -function scifunc_block_m () { - - - var in1 = 1; - - var out = 1; - - var clkin = []; - - var clkout = []; - - var x0 = []; - - var z0 = []; - - var typ = "c"; - - var auto = []; - - var rpar = []; - - var it = 1; - - var model = scicos_model(); - model.sim=list(new ScilabString(["scifunc"]),new ScilabDouble([3])); - model.in1.push(new ScilabDouble([in1])); - model.in2.push(new ScilabDouble([in1])); - model.intyp=new ScilabDouble([it]); - model.out=new ScilabDouble([out]); - model.out2.push(new ScilabDouble([out])); - model.outtyp=new ScilabDouble([it]); - model.evtin=clkin; - model.evtout=clkout; - model.state=x0; - model.dstate=z0; - model.rpar=rpar; - model.ipar = new ScilabDouble([0]); - model.opar=list(); - model.blocktype=new ScilabString([typ]); - model.firing=auto; - model.dep_ut = new ScilabBoolean([true,false]); - - var exprs = list([sci2exp([in1,in1])],[sci2exp([out,out])],[sci2exp(clkin)],[sci2exp(clkout); - strcat(sci2exp(x0));strcat(sci2exp(z0)); - - var strcat(sci2exp(rpar));sci2exp(auto);sci2exp(0)],list("y1 = sin(u1)"," "," ","y1=sin(u1)"," "," "," ")); - - var gr_i = []; - this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); - return new BasicBlock(this.x) -} diff --git a/documentation/servet.md b/documentation/servet.md new file mode 100644 index 0000000..86cff6b --- /dev/null +++ b/documentation/servet.md @@ -0,0 +1,4 @@ + - Download apache-tomcat-xxx. + - Create a folder 'temp' in the tomcat directory. + - Paste the entire 'xcos-on-web' directory inside the '/path/to/tomcat/webapps' directory. + - Run the server and access using a web browser. \ No newline at end of file diff --git a/history/blocks_xcos/ABS_VALUE.xcos b/history/blocks_xcos/ABS_VALUE.xcos new file mode 100644 index 0000000..fe5db1d --- /dev/null +++ b/history/blocks_xcos/ABS_VALUE.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/AFFICH_m.xcos b/history/blocks_xcos/AFFICH_m.xcos new file mode 100644 index 0000000..f74c3ce --- /dev/null +++ b/history/blocks_xcos/AFFICH_m.xcos @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/ANDBLK.xcos b/history/blocks_xcos/ANDBLK.xcos new file mode 100644 index 0000000..9afb4ec --- /dev/null +++ b/history/blocks_xcos/ANDBLK.xcos @@ -0,0 +1,1355 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/ANDLOG_f.xcos b/history/blocks_xcos/ANDLOG_f.xcos new file mode 100644 index 0000000..5d1829a --- /dev/null +++ b/history/blocks_xcos/ANDLOG_f.xcos @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/AUTOMAT.xcos b/history/blocks_xcos/AUTOMAT.xcos new file mode 100644 index 0000000..1f9b45c --- /dev/null +++ b/history/blocks_xcos/AUTOMAT.xcos @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/BACKLASH.xcos b/history/blocks_xcos/BACKLASH.xcos new file mode 100644 index 0000000..9ae1e74 --- /dev/null +++ b/history/blocks_xcos/BACKLASH.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/BARXY.xcos b/history/blocks_xcos/BARXY.xcos new file mode 100644 index 0000000..8c6812f --- /dev/null +++ b/history/blocks_xcos/BARXY.xcos @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/BIGSOM_f.xcos b/history/blocks_xcos/BIGSOM_f.xcos new file mode 100644 index 0000000..714a7c2 --- /dev/null +++ b/history/blocks_xcos/BIGSOM_f.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/BITCLEAR.xcos b/history/blocks_xcos/BITCLEAR.xcos new file mode 100644 index 0000000..fec7a41 --- /dev/null +++ b/history/blocks_xcos/BITCLEAR.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/BITSET.xcos b/history/blocks_xcos/BITSET.xcos new file mode 100644 index 0000000..77867f1 --- /dev/null +++ b/history/blocks_xcos/BITSET.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/BOUNCE.xcos b/history/blocks_xcos/BOUNCE.xcos new file mode 100644 index 0000000..714ed25 --- /dev/null +++ b/history/blocks_xcos/BOUNCE.xcos @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/BOUNCEXY.xcos b/history/blocks_xcos/BOUNCEXY.xcos new file mode 100644 index 0000000..15ee007 --- /dev/null +++ b/history/blocks_xcos/BOUNCEXY.xcos @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/BPLATFORM.xcos b/history/blocks_xcos/BPLATFORM.xcos new file mode 100644 index 0000000..b690031 --- /dev/null +++ b/history/blocks_xcos/BPLATFORM.xcos @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Bache.xcos b/history/blocks_xcos/Bache.xcos new file mode 100644 index 0000000..ccfc2ac --- /dev/null +++ b/history/blocks_xcos/Bache.xcos @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CANIMXY.xcos b/history/blocks_xcos/CANIMXY.xcos new file mode 100644 index 0000000..d182992 --- /dev/null +++ b/history/blocks_xcos/CANIMXY.xcos @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CANIMXY3D.xcos b/history/blocks_xcos/CANIMXY3D.xcos new file mode 100644 index 0000000..7acd1bb --- /dev/null +++ b/history/blocks_xcos/CANIMXY3D.xcos @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CBLOCK.xcos b/history/blocks_xcos/CBLOCK.xcos new file mode 100644 index 0000000..bb2f3d1 --- /dev/null +++ b/history/blocks_xcos/CBLOCK.xcos @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CBLOCK4.xcos b/history/blocks_xcos/CBLOCK4.xcos new file mode 100644 index 0000000..c6a6805 --- /dev/null +++ b/history/blocks_xcos/CBLOCK4.xcos @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CCS.xcos b/history/blocks_xcos/CCS.xcos new file mode 100644 index 0000000..756db4e --- /dev/null +++ b/history/blocks_xcos/CCS.xcos @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CEVENTSCOPE.xcos b/history/blocks_xcos/CEVENTSCOPE.xcos new file mode 100644 index 0000000..00a65b7 --- /dev/null +++ b/history/blocks_xcos/CEVENTSCOPE.xcos @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CFSCOPE.xcos b/history/blocks_xcos/CFSCOPE.xcos new file mode 100644 index 0000000..48aebe4 --- /dev/null +++ b/history/blocks_xcos/CFSCOPE.xcos @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CLINDUMMY_f.xcos b/history/blocks_xcos/CLINDUMMY_f.xcos new file mode 100644 index 0000000..276e9d6 --- /dev/null +++ b/history/blocks_xcos/CLINDUMMY_f.xcos @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CLKFROM.xcos b/history/blocks_xcos/CLKFROM.xcos new file mode 100644 index 0000000..191d104 --- /dev/null +++ b/history/blocks_xcos/CLKFROM.xcos @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/history/blocks_xcos/CLKGOTO.xcos b/history/blocks_xcos/CLKGOTO.xcos new file mode 100644 index 0000000..2e9b622 --- /dev/null +++ b/history/blocks_xcos/CLKGOTO.xcos @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/history/blocks_xcos/CLKGotoTagVisibility.xcos b/history/blocks_xcos/CLKGotoTagVisibility.xcos new file mode 100644 index 0000000..be251d1 --- /dev/null +++ b/history/blocks_xcos/CLKGotoTagVisibility.xcos @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CLKINV_f.xcos b/history/blocks_xcos/CLKINV_f.xcos new file mode 100644 index 0000000..27db6b6 --- /dev/null +++ b/history/blocks_xcos/CLKINV_f.xcos @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CLKOUTV_f.xcos b/history/blocks_xcos/CLKOUTV_f.xcos new file mode 100644 index 0000000..0d1666c --- /dev/null +++ b/history/blocks_xcos/CLKOUTV_f.xcos @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CLKSOMV_f.xcos b/history/blocks_xcos/CLKSOMV_f.xcos new file mode 100644 index 0000000..4bdffa8 --- /dev/null +++ b/history/blocks_xcos/CLKSOMV_f.xcos @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CLOCK_c.xcos b/history/blocks_xcos/CLOCK_c.xcos new file mode 100644 index 0000000..aebd6c6 --- /dev/null +++ b/history/blocks_xcos/CLOCK_c.xcos @@ -0,0 +1,738 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CLR.xcos b/history/blocks_xcos/CLR.xcos new file mode 100644 index 0000000..b28e0a5 --- /dev/null +++ b/history/blocks_xcos/CLR.xcos @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CLSS.xcos b/history/blocks_xcos/CLSS.xcos new file mode 100644 index 0000000..b606d08 --- /dev/null +++ b/history/blocks_xcos/CLSS.xcos @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CMAT3D.xcos b/history/blocks_xcos/CMAT3D.xcos new file mode 100644 index 0000000..15fb657 --- /dev/null +++ b/history/blocks_xcos/CMAT3D.xcos @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CMATVIEW.xcos b/history/blocks_xcos/CMATVIEW.xcos new file mode 100644 index 0000000..5fbf0f1 --- /dev/null +++ b/history/blocks_xcos/CMATVIEW.xcos @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CMSCOPE.xcos b/history/blocks_xcos/CMSCOPE.xcos new file mode 100644 index 0000000..f9d6eba --- /dev/null +++ b/history/blocks_xcos/CMSCOPE.xcos @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CONST.xcos b/history/blocks_xcos/CONST.xcos new file mode 100644 index 0000000..c014c23 --- /dev/null +++ b/history/blocks_xcos/CONST.xcos @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CONSTRAINT2_c.xcos b/history/blocks_xcos/CONSTRAINT2_c.xcos new file mode 100644 index 0000000..9714445 --- /dev/null +++ b/history/blocks_xcos/CONSTRAINT2_c.xcos @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CONSTRAINT_c.xcos b/history/blocks_xcos/CONSTRAINT_c.xcos new file mode 100644 index 0000000..20e4158 --- /dev/null +++ b/history/blocks_xcos/CONSTRAINT_c.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CONST_f.xcos b/history/blocks_xcos/CONST_f.xcos new file mode 100644 index 0000000..1d98597 --- /dev/null +++ b/history/blocks_xcos/CONST_f.xcos @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CONST_m.xcos b/history/blocks_xcos/CONST_m.xcos new file mode 100644 index 0000000..5218346 --- /dev/null +++ b/history/blocks_xcos/CONST_m.xcos @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CONVERT.xcos b/history/blocks_xcos/CONVERT.xcos new file mode 100644 index 0000000..1700ce5 --- /dev/null +++ b/history/blocks_xcos/CONVERT.xcos @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/COSBLK_f.xcos b/history/blocks_xcos/COSBLK_f.xcos new file mode 100644 index 0000000..89a5b00 --- /dev/null +++ b/history/blocks_xcos/COSBLK_f.xcos @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CSCOPE.xcos b/history/blocks_xcos/CSCOPE.xcos new file mode 100644 index 0000000..92ef748 --- /dev/null +++ b/history/blocks_xcos/CSCOPE.xcos @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CSCOPXY.xcos b/history/blocks_xcos/CSCOPXY.xcos new file mode 100644 index 0000000..faf9c2c --- /dev/null +++ b/history/blocks_xcos/CSCOPXY.xcos @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CSCOPXY3D.xcos b/history/blocks_xcos/CSCOPXY3D.xcos new file mode 100644 index 0000000..d01bc08 --- /dev/null +++ b/history/blocks_xcos/CSCOPXY3D.xcos @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CUMSUM.xcos b/history/blocks_xcos/CUMSUM.xcos new file mode 100644 index 0000000..8bbada9 --- /dev/null +++ b/history/blocks_xcos/CUMSUM.xcos @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CURV_f.xcos b/history/blocks_xcos/CURV_f.xcos new file mode 100644 index 0000000..ecd0e3c --- /dev/null +++ b/history/blocks_xcos/CURV_f.xcos @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CVS.xcos b/history/blocks_xcos/CVS.xcos new file mode 100644 index 0000000..3a5275d --- /dev/null +++ b/history/blocks_xcos/CVS.xcos @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Capacitor.xcos b/history/blocks_xcos/Capacitor.xcos new file mode 100644 index 0000000..c9d5d23 --- /dev/null +++ b/history/blocks_xcos/Capacitor.xcos @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/ConstantVoltage.xcos b/history/blocks_xcos/ConstantVoltage.xcos new file mode 100644 index 0000000..0538708 --- /dev/null +++ b/history/blocks_xcos/ConstantVoltage.xcos @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Counter.xcos b/history/blocks_xcos/Counter.xcos new file mode 100644 index 0000000..020a6d9 --- /dev/null +++ b/history/blocks_xcos/Counter.xcos @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/CurrentSensor.xcos b/history/blocks_xcos/CurrentSensor.xcos new file mode 100644 index 0000000..990209b --- /dev/null +++ b/history/blocks_xcos/CurrentSensor.xcos @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DEADBAND.xcos b/history/blocks_xcos/DEADBAND.xcos new file mode 100644 index 0000000..c5ece68 --- /dev/null +++ b/history/blocks_xcos/DEADBAND.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DEBUG.xcos b/history/blocks_xcos/DEBUG.xcos new file mode 100644 index 0000000..980eb09 --- /dev/null +++ b/history/blocks_xcos/DEBUG.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DELAYV_f.xcos b/history/blocks_xcos/DELAYV_f.xcos new file mode 100644 index 0000000..33a51bf --- /dev/null +++ b/history/blocks_xcos/DELAYV_f.xcos @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DELAY_f.xcos b/history/blocks_xcos/DELAY_f.xcos new file mode 100644 index 0000000..dd2a33f --- /dev/null +++ b/history/blocks_xcos/DELAY_f.xcos @@ -0,0 +1,1182 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DEMUX.xcos b/history/blocks_xcos/DEMUX.xcos new file mode 100644 index 0000000..5afccae --- /dev/null +++ b/history/blocks_xcos/DEMUX.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DEMUX_f.xcos b/history/blocks_xcos/DEMUX_f.xcos new file mode 100644 index 0000000..002f17f --- /dev/null +++ b/history/blocks_xcos/DEMUX_f.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DERIV.xcos b/history/blocks_xcos/DERIV.xcos new file mode 100644 index 0000000..b00b937 --- /dev/null +++ b/history/blocks_xcos/DERIV.xcos @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DFLIPFLOP.xcos b/history/blocks_xcos/DFLIPFLOP.xcos new file mode 100644 index 0000000..9bdd370 --- /dev/null +++ b/history/blocks_xcos/DFLIPFLOP.xcos @@ -0,0 +1,7807 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DIFF_f.xcos b/history/blocks_xcos/DIFF_f.xcos new file mode 100644 index 0000000..c8c6665 --- /dev/null +++ b/history/blocks_xcos/DIFF_f.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DLATCH.xcos b/history/blocks_xcos/DLATCH.xcos new file mode 100644 index 0000000..3bf0ae0 --- /dev/null +++ b/history/blocks_xcos/DLATCH.xcos @@ -0,0 +1,2262 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DLR.xcos b/history/blocks_xcos/DLR.xcos new file mode 100644 index 0000000..fff2daf --- /dev/null +++ b/history/blocks_xcos/DLR.xcos @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DLRADAPT_f.xcos b/history/blocks_xcos/DLRADAPT_f.xcos new file mode 100644 index 0000000..e0f9379 --- /dev/null +++ b/history/blocks_xcos/DLRADAPT_f.xcos @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DLSS.xcos b/history/blocks_xcos/DLSS.xcos new file mode 100644 index 0000000..125fd5c --- /dev/null +++ b/history/blocks_xcos/DLSS.xcos @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DOLLAR.xcos b/history/blocks_xcos/DOLLAR.xcos new file mode 100644 index 0000000..0b73e0b --- /dev/null +++ b/history/blocks_xcos/DOLLAR.xcos @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DOLLAR_f.xcos b/history/blocks_xcos/DOLLAR_f.xcos new file mode 100644 index 0000000..eb62713 --- /dev/null +++ b/history/blocks_xcos/DOLLAR_f.xcos @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/DOLLAR_m.xcos b/history/blocks_xcos/DOLLAR_m.xcos new file mode 100644 index 0000000..caaea09 --- /dev/null +++ b/history/blocks_xcos/DOLLAR_m.xcos @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Diode.xcos b/history/blocks_xcos/Diode.xcos new file mode 100644 index 0000000..aebd811 --- /dev/null +++ b/history/blocks_xcos/Diode.xcos @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/EDGE_TRIGGER.xcos b/history/blocks_xcos/EDGE_TRIGGER.xcos new file mode 100644 index 0000000..d62b775 --- /dev/null +++ b/history/blocks_xcos/EDGE_TRIGGER.xcos @@ -0,0 +1,934 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/ENDBLK.xcos b/history/blocks_xcos/ENDBLK.xcos new file mode 100644 index 0000000..4f2afa8 --- /dev/null +++ b/history/blocks_xcos/ENDBLK.xcos @@ -0,0 +1,340 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/END_c.xcos b/history/blocks_xcos/END_c.xcos new file mode 100644 index 0000000..b190241 --- /dev/null +++ b/history/blocks_xcos/END_c.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/ESELECT_f.xcos b/history/blocks_xcos/ESELECT_f.xcos new file mode 100644 index 0000000..87a6b14 --- /dev/null +++ b/history/blocks_xcos/ESELECT_f.xcos @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/EVTDLY_c.xcos b/history/blocks_xcos/EVTDLY_c.xcos new file mode 100644 index 0000000..5e1ce59 --- /dev/null +++ b/history/blocks_xcos/EVTDLY_c.xcos @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/EVTGEN_f.xcos b/history/blocks_xcos/EVTGEN_f.xcos new file mode 100644 index 0000000..8392d4c --- /dev/null +++ b/history/blocks_xcos/EVTGEN_f.xcos @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/EVTVARDLY.xcos b/history/blocks_xcos/EVTVARDLY.xcos new file mode 100644 index 0000000..63f09fe --- /dev/null +++ b/history/blocks_xcos/EVTVARDLY.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/EXPBLK_m.xcos b/history/blocks_xcos/EXPBLK_m.xcos new file mode 100644 index 0000000..134ea3d --- /dev/null +++ b/history/blocks_xcos/EXPBLK_m.xcos @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/EXPRESSION.xcos b/history/blocks_xcos/EXPRESSION.xcos new file mode 100644 index 0000000..cee3743 --- /dev/null +++ b/history/blocks_xcos/EXPRESSION.xcos @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/EXTRACT.xcos b/history/blocks_xcos/EXTRACT.xcos new file mode 100644 index 0000000..2527ce7 --- /dev/null +++ b/history/blocks_xcos/EXTRACT.xcos @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/EXTRACTBITS.xcos b/history/blocks_xcos/EXTRACTBITS.xcos new file mode 100644 index 0000000..c8fdf4f --- /dev/null +++ b/history/blocks_xcos/EXTRACTBITS.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/EXTRACTOR.xcos b/history/blocks_xcos/EXTRACTOR.xcos new file mode 100644 index 0000000..e150a93 --- /dev/null +++ b/history/blocks_xcos/EXTRACTOR.xcos @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/EXTTRI.xcos b/history/blocks_xcos/EXTTRI.xcos new file mode 100644 index 0000000..70653ae --- /dev/null +++ b/history/blocks_xcos/EXTTRI.xcos @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Extract_Activation.xcos b/history/blocks_xcos/Extract_Activation.xcos new file mode 100644 index 0000000..0923ef1 --- /dev/null +++ b/history/blocks_xcos/Extract_Activation.xcos @@ -0,0 +1,950 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/FROM.xcos b/history/blocks_xcos/FROM.xcos new file mode 100644 index 0000000..daff6fe --- /dev/null +++ b/history/blocks_xcos/FROM.xcos @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/FROMMO.xcos b/history/blocks_xcos/FROMMO.xcos new file mode 100644 index 0000000..848d843 --- /dev/null +++ b/history/blocks_xcos/FROMMO.xcos @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/FROMWSB.xcos b/history/blocks_xcos/FROMWSB.xcos new file mode 100644 index 0000000..f391969 --- /dev/null +++ b/history/blocks_xcos/FROMWSB.xcos @@ -0,0 +1,571 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Flowmeter.xcos b/history/blocks_xcos/Flowmeter.xcos new file mode 100644 index 0000000..a9973ff --- /dev/null +++ b/history/blocks_xcos/Flowmeter.xcos @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/GAINBLK.xcos b/history/blocks_xcos/GAINBLK.xcos new file mode 100644 index 0000000..43f921b --- /dev/null +++ b/history/blocks_xcos/GAINBLK.xcos @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/GAINBLK_f.xcos b/history/blocks_xcos/GAINBLK_f.xcos new file mode 100644 index 0000000..c2817f8 --- /dev/null +++ b/history/blocks_xcos/GAINBLK_f.xcos @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/GAIN_f.xcos b/history/blocks_xcos/GAIN_f.xcos new file mode 100644 index 0000000..046ee69 --- /dev/null +++ b/history/blocks_xcos/GAIN_f.xcos @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/GENERAL_f.xcos b/history/blocks_xcos/GENERAL_f.xcos new file mode 100644 index 0000000..0221f32 --- /dev/null +++ b/history/blocks_xcos/GENERAL_f.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/GENSIN_f.xcos b/history/blocks_xcos/GENSIN_f.xcos new file mode 100644 index 0000000..b4ee5cb --- /dev/null +++ b/history/blocks_xcos/GENSIN_f.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/GENSQR_f.xcos b/history/blocks_xcos/GENSQR_f.xcos new file mode 100644 index 0000000..69ea76e --- /dev/null +++ b/history/blocks_xcos/GENSQR_f.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/GOTO.xcos b/history/blocks_xcos/GOTO.xcos new file mode 100644 index 0000000..a8f787c --- /dev/null +++ b/history/blocks_xcos/GOTO.xcos @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/GOTOMO.xcos b/history/blocks_xcos/GOTOMO.xcos new file mode 100644 index 0000000..c90c5f9 --- /dev/null +++ b/history/blocks_xcos/GOTOMO.xcos @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/GotoTagVisibility.xcos b/history/blocks_xcos/GotoTagVisibility.xcos new file mode 100644 index 0000000..d75ad16 --- /dev/null +++ b/history/blocks_xcos/GotoTagVisibility.xcos @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/GotoTagVisibilityMO.xcos b/history/blocks_xcos/GotoTagVisibilityMO.xcos new file mode 100644 index 0000000..6898ed6 --- /dev/null +++ b/history/blocks_xcos/GotoTagVisibilityMO.xcos @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Ground.xcos b/history/blocks_xcos/Ground.xcos new file mode 100644 index 0000000..1bc7586 --- /dev/null +++ b/history/blocks_xcos/Ground.xcos @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Gyrator.xcos b/history/blocks_xcos/Gyrator.xcos new file mode 100644 index 0000000..774909d --- /dev/null +++ b/history/blocks_xcos/Gyrator.xcos @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/HALT_f.xcos b/history/blocks_xcos/HALT_f.xcos new file mode 100644 index 0000000..1452cff --- /dev/null +++ b/history/blocks_xcos/HALT_f.xcos @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/HYSTHERESIS.xcos b/history/blocks_xcos/HYSTHERESIS.xcos new file mode 100644 index 0000000..8d30a89 --- /dev/null +++ b/history/blocks_xcos/HYSTHERESIS.xcos @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/IFTHEL_f.xcos b/history/blocks_xcos/IFTHEL_f.xcos new file mode 100644 index 0000000..894d211 --- /dev/null +++ b/history/blocks_xcos/IFTHEL_f.xcos @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/INIMPL_f.xcos b/history/blocks_xcos/INIMPL_f.xcos new file mode 100644 index 0000000..9e560c1 --- /dev/null +++ b/history/blocks_xcos/INIMPL_f.xcos @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/INTEGRAL_f.xcos b/history/blocks_xcos/INTEGRAL_f.xcos new file mode 100644 index 0000000..30bc24e --- /dev/null +++ b/history/blocks_xcos/INTEGRAL_f.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/INTEGRAL_m.xcos b/history/blocks_xcos/INTEGRAL_m.xcos new file mode 100644 index 0000000..7facf10 --- /dev/null +++ b/history/blocks_xcos/INTEGRAL_m.xcos @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/INTMUL.xcos b/history/blocks_xcos/INTMUL.xcos new file mode 100644 index 0000000..0bff20e --- /dev/null +++ b/history/blocks_xcos/INTMUL.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/INTRP2BLK_f.xcos b/history/blocks_xcos/INTRP2BLK_f.xcos new file mode 100644 index 0000000..f9242c2 --- /dev/null +++ b/history/blocks_xcos/INTRP2BLK_f.xcos @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/INTRPLBLK_f.xcos b/history/blocks_xcos/INTRPLBLK_f.xcos new file mode 100644 index 0000000..e7b1f49 --- /dev/null +++ b/history/blocks_xcos/INTRPLBLK_f.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/INVBLK.xcos b/history/blocks_xcos/INVBLK.xcos new file mode 100644 index 0000000..fc95e77 --- /dev/null +++ b/history/blocks_xcos/INVBLK.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/IN_f.xcos b/history/blocks_xcos/IN_f.xcos new file mode 100644 index 0000000..8373d82 --- /dev/null +++ b/history/blocks_xcos/IN_f.xcos @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/ISELECT_m.xcos b/history/blocks_xcos/ISELECT_m.xcos new file mode 100644 index 0000000..51aa0c8 --- /dev/null +++ b/history/blocks_xcos/ISELECT_m.xcos @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/IdealTransformer.xcos b/history/blocks_xcos/IdealTransformer.xcos new file mode 100644 index 0000000..01e17f1 --- /dev/null +++ b/history/blocks_xcos/IdealTransformer.xcos @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Inductor.xcos b/history/blocks_xcos/Inductor.xcos new file mode 100644 index 0000000..96a9d52 --- /dev/null +++ b/history/blocks_xcos/Inductor.xcos @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/JKFLIPFLOP.xcos b/history/blocks_xcos/JKFLIPFLOP.xcos new file mode 100644 index 0000000..54245ca --- /dev/null +++ b/history/blocks_xcos/JKFLIPFLOP.xcos @@ -0,0 +1,3446 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/LOGBLK_f.xcos b/history/blocks_xcos/LOGBLK_f.xcos new file mode 100644 index 0000000..ef2c3d2 --- /dev/null +++ b/history/blocks_xcos/LOGBLK_f.xcos @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/LOGIC.xcos b/history/blocks_xcos/LOGIC.xcos new file mode 100644 index 0000000..bc40ec5 --- /dev/null +++ b/history/blocks_xcos/LOGIC.xcos @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/LOGICAL_OP.xcos b/history/blocks_xcos/LOGICAL_OP.xcos new file mode 100644 index 0000000..76d9f8c --- /dev/null +++ b/history/blocks_xcos/LOGICAL_OP.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/LOOKUP_f.xcos b/history/blocks_xcos/LOOKUP_f.xcos new file mode 100644 index 0000000..57aa5ad --- /dev/null +++ b/history/blocks_xcos/LOOKUP_f.xcos @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATBKSL.xcos b/history/blocks_xcos/MATBKSL.xcos new file mode 100644 index 0000000..b081c81 --- /dev/null +++ b/history/blocks_xcos/MATBKSL.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATCATH.xcos b/history/blocks_xcos/MATCATH.xcos new file mode 100644 index 0000000..0cf49ef --- /dev/null +++ b/history/blocks_xcos/MATCATH.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATCATV.xcos b/history/blocks_xcos/MATCATV.xcos new file mode 100644 index 0000000..8e0a2ee --- /dev/null +++ b/history/blocks_xcos/MATCATV.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATDET.xcos b/history/blocks_xcos/MATDET.xcos new file mode 100644 index 0000000..447c8b6 --- /dev/null +++ b/history/blocks_xcos/MATDET.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATDIAG.xcos b/history/blocks_xcos/MATDIAG.xcos new file mode 100644 index 0000000..ce702af --- /dev/null +++ b/history/blocks_xcos/MATDIAG.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATDIV.xcos b/history/blocks_xcos/MATDIV.xcos new file mode 100644 index 0000000..f5f0186 --- /dev/null +++ b/history/blocks_xcos/MATDIV.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATEIG.xcos b/history/blocks_xcos/MATEIG.xcos new file mode 100644 index 0000000..21ab40d --- /dev/null +++ b/history/blocks_xcos/MATEIG.xcos @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATEXPM.xcos b/history/blocks_xcos/MATEXPM.xcos new file mode 100644 index 0000000..f03c205 --- /dev/null +++ b/history/blocks_xcos/MATEXPM.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATINV.xcos b/history/blocks_xcos/MATINV.xcos new file mode 100644 index 0000000..f6c6fa5 --- /dev/null +++ b/history/blocks_xcos/MATINV.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATLU.xcos b/history/blocks_xcos/MATLU.xcos new file mode 100644 index 0000000..5f1dc60 --- /dev/null +++ b/history/blocks_xcos/MATLU.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATMAGPHI.xcos b/history/blocks_xcos/MATMAGPHI.xcos new file mode 100644 index 0000000..62af843 --- /dev/null +++ b/history/blocks_xcos/MATMAGPHI.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATMUL.xcos b/history/blocks_xcos/MATMUL.xcos new file mode 100644 index 0000000..5f0b2eb --- /dev/null +++ b/history/blocks_xcos/MATMUL.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATPINV.xcos b/history/blocks_xcos/MATPINV.xcos new file mode 100644 index 0000000..c175efe --- /dev/null +++ b/history/blocks_xcos/MATPINV.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATRESH.xcos b/history/blocks_xcos/MATRESH.xcos new file mode 100644 index 0000000..0b51257 --- /dev/null +++ b/history/blocks_xcos/MATRESH.xcos @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATSING.xcos b/history/blocks_xcos/MATSING.xcos new file mode 100644 index 0000000..7dd786d --- /dev/null +++ b/history/blocks_xcos/MATSING.xcos @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATSUM.xcos b/history/blocks_xcos/MATSUM.xcos new file mode 100644 index 0000000..8d15b9c --- /dev/null +++ b/history/blocks_xcos/MATSUM.xcos @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATTRAN.xcos b/history/blocks_xcos/MATTRAN.xcos new file mode 100644 index 0000000..64e5df3 --- /dev/null +++ b/history/blocks_xcos/MATTRAN.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATZCONJ.xcos b/history/blocks_xcos/MATZCONJ.xcos new file mode 100644 index 0000000..b31006f --- /dev/null +++ b/history/blocks_xcos/MATZCONJ.xcos @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MATZREIM.xcos b/history/blocks_xcos/MATZREIM.xcos new file mode 100644 index 0000000..e984d49 --- /dev/null +++ b/history/blocks_xcos/MATZREIM.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MAXMIN.xcos b/history/blocks_xcos/MAXMIN.xcos new file mode 100644 index 0000000..3652677 --- /dev/null +++ b/history/blocks_xcos/MAXMIN.xcos @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MAX_f.xcos b/history/blocks_xcos/MAX_f.xcos new file mode 100644 index 0000000..d89b665 --- /dev/null +++ b/history/blocks_xcos/MAX_f.xcos @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MBLOCK.xcos b/history/blocks_xcos/MBLOCK.xcos new file mode 100644 index 0000000..651e9c7 --- /dev/null +++ b/history/blocks_xcos/MBLOCK.xcos @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MCLOCK_f.xcos b/history/blocks_xcos/MCLOCK_f.xcos new file mode 100644 index 0000000..9bc2366 --- /dev/null +++ b/history/blocks_xcos/MCLOCK_f.xcos @@ -0,0 +1,1389 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MFCLCK_f.xcos b/history/blocks_xcos/MFCLCK_f.xcos new file mode 100644 index 0000000..fb43aa1 --- /dev/null +++ b/history/blocks_xcos/MFCLCK_f.xcos @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MIN_f.xcos b/history/blocks_xcos/MIN_f.xcos new file mode 100644 index 0000000..5846c1e --- /dev/null +++ b/history/blocks_xcos/MIN_f.xcos @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MUX.xcos b/history/blocks_xcos/MUX.xcos new file mode 100644 index 0000000..396cf23 --- /dev/null +++ b/history/blocks_xcos/MUX.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/MUX_f.xcos b/history/blocks_xcos/MUX_f.xcos new file mode 100644 index 0000000..2bc295f --- /dev/null +++ b/history/blocks_xcos/MUX_f.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/M_SWITCH.xcos b/history/blocks_xcos/M_SWITCH.xcos new file mode 100644 index 0000000..c22349d --- /dev/null +++ b/history/blocks_xcos/M_SWITCH.xcos @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/M_freq.xcos b/history/blocks_xcos/M_freq.xcos new file mode 100644 index 0000000..f2d8368 --- /dev/null +++ b/history/blocks_xcos/M_freq.xcos @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Modulo_Count.xcos b/history/blocks_xcos/Modulo_Count.xcos new file mode 100644 index 0000000..5c99ee3 --- /dev/null +++ b/history/blocks_xcos/Modulo_Count.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/NEGTOPOS_f.xcos b/history/blocks_xcos/NEGTOPOS_f.xcos new file mode 100644 index 0000000..f8c5072 --- /dev/null +++ b/history/blocks_xcos/NEGTOPOS_f.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/NMOS.xcos b/history/blocks_xcos/NMOS.xcos new file mode 100644 index 0000000..0016973 --- /dev/null +++ b/history/blocks_xcos/NMOS.xcos @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/NPN.xcos b/history/blocks_xcos/NPN.xcos new file mode 100644 index 0000000..8b1b964 --- /dev/null +++ b/history/blocks_xcos/NPN.xcos @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/NRMSOM_f.xcos b/history/blocks_xcos/NRMSOM_f.xcos new file mode 100644 index 0000000..9ecaea3 --- /dev/null +++ b/history/blocks_xcos/NRMSOM_f.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/OUTIMPL_f.xcos b/history/blocks_xcos/OUTIMPL_f.xcos new file mode 100644 index 0000000..0a221a4 --- /dev/null +++ b/history/blocks_xcos/OUTIMPL_f.xcos @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/OUT_f.xcos b/history/blocks_xcos/OUT_f.xcos new file mode 100644 index 0000000..5190490 --- /dev/null +++ b/history/blocks_xcos/OUT_f.xcos @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/OpAmp.xcos b/history/blocks_xcos/OpAmp.xcos new file mode 100644 index 0000000..31de573 --- /dev/null +++ b/history/blocks_xcos/OpAmp.xcos @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/PDE.xcos b/history/blocks_xcos/PDE.xcos new file mode 100644 index 0000000..897a6ce --- /dev/null +++ b/history/blocks_xcos/PDE.xcos @@ -0,0 +1,244 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/PID.xcos b/history/blocks_xcos/PID.xcos new file mode 100644 index 0000000..c7cfc69 --- /dev/null +++ b/history/blocks_xcos/PID.xcos @@ -0,0 +1,2403 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/PMOS.xcos b/history/blocks_xcos/PMOS.xcos new file mode 100644 index 0000000..c7ba939 --- /dev/null +++ b/history/blocks_xcos/PMOS.xcos @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/PNP.xcos b/history/blocks_xcos/PNP.xcos new file mode 100644 index 0000000..4722414 --- /dev/null +++ b/history/blocks_xcos/PNP.xcos @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/POSTONEG_f.xcos b/history/blocks_xcos/POSTONEG_f.xcos new file mode 100644 index 0000000..415d258 --- /dev/null +++ b/history/blocks_xcos/POSTONEG_f.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/POWBLK_f.xcos b/history/blocks_xcos/POWBLK_f.xcos new file mode 100644 index 0000000..6d01b91 --- /dev/null +++ b/history/blocks_xcos/POWBLK_f.xcos @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/PRODUCT.xcos b/history/blocks_xcos/PRODUCT.xcos new file mode 100644 index 0000000..8bf5d1a --- /dev/null +++ b/history/blocks_xcos/PRODUCT.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/PROD_f.xcos b/history/blocks_xcos/PROD_f.xcos new file mode 100644 index 0000000..1d1c91e --- /dev/null +++ b/history/blocks_xcos/PROD_f.xcos @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/PULSE_SC.xcos b/history/blocks_xcos/PULSE_SC.xcos new file mode 100644 index 0000000..c3bf9ef --- /dev/null +++ b/history/blocks_xcos/PULSE_SC.xcos @@ -0,0 +1,1370 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/PerteDP.xcos b/history/blocks_xcos/PerteDP.xcos new file mode 100644 index 0000000..9ad675d --- /dev/null +++ b/history/blocks_xcos/PerteDP.xcos @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/PotentialSensor.xcos b/history/blocks_xcos/PotentialSensor.xcos new file mode 100644 index 0000000..1b07ac3 --- /dev/null +++ b/history/blocks_xcos/PotentialSensor.xcos @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/PuitsP.xcos b/history/blocks_xcos/PuitsP.xcos new file mode 100644 index 0000000..89d2b51 --- /dev/null +++ b/history/blocks_xcos/PuitsP.xcos @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/QUANT_f.xcos b/history/blocks_xcos/QUANT_f.xcos new file mode 100644 index 0000000..590cf48 --- /dev/null +++ b/history/blocks_xcos/QUANT_f.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/RAMP.xcos b/history/blocks_xcos/RAMP.xcos new file mode 100644 index 0000000..c79760c --- /dev/null +++ b/history/blocks_xcos/RAMP.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/RAND_m.xcos b/history/blocks_xcos/RAND_m.xcos new file mode 100644 index 0000000..85aee60 --- /dev/null +++ b/history/blocks_xcos/RAND_m.xcos @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/RATELIMITER.xcos b/history/blocks_xcos/RATELIMITER.xcos new file mode 100644 index 0000000..3246f1c --- /dev/null +++ b/history/blocks_xcos/RATELIMITER.xcos @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/READAU_f.xcos b/history/blocks_xcos/READAU_f.xcos new file mode 100644 index 0000000..187c3ac --- /dev/null +++ b/history/blocks_xcos/READAU_f.xcos @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/READC_f.xcos b/history/blocks_xcos/READC_f.xcos new file mode 100644 index 0000000..efc1ec7 --- /dev/null +++ b/history/blocks_xcos/READC_f.xcos @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/REGISTER.xcos b/history/blocks_xcos/REGISTER.xcos new file mode 100644 index 0000000..9fe8ec4 --- /dev/null +++ b/history/blocks_xcos/REGISTER.xcos @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/RELATIONALOP.xcos b/history/blocks_xcos/RELATIONALOP.xcos new file mode 100644 index 0000000..5b6e98c --- /dev/null +++ b/history/blocks_xcos/RELATIONALOP.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/RELAY_f.xcos b/history/blocks_xcos/RELAY_f.xcos new file mode 100644 index 0000000..d47fc92 --- /dev/null +++ b/history/blocks_xcos/RELAY_f.xcos @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/RFILE_f.xcos b/history/blocks_xcos/RFILE_f.xcos new file mode 100644 index 0000000..dd332c8 --- /dev/null +++ b/history/blocks_xcos/RFILE_f.xcos @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/RICC.xcos b/history/blocks_xcos/RICC.xcos new file mode 100644 index 0000000..96f099a --- /dev/null +++ b/history/blocks_xcos/RICC.xcos @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/ROOTCOEF.xcos b/history/blocks_xcos/ROOTCOEF.xcos new file mode 100644 index 0000000..2b758f1 --- /dev/null +++ b/history/blocks_xcos/ROOTCOEF.xcos @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Resistor.xcos b/history/blocks_xcos/Resistor.xcos new file mode 100644 index 0000000..7a6316d --- /dev/null +++ b/history/blocks_xcos/Resistor.xcos @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SAMPHOLD_m.xcos b/history/blocks_xcos/SAMPHOLD_m.xcos new file mode 100644 index 0000000..2ade678 --- /dev/null +++ b/history/blocks_xcos/SAMPHOLD_m.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SATURATION.xcos b/history/blocks_xcos/SATURATION.xcos new file mode 100644 index 0000000..8875612 --- /dev/null +++ b/history/blocks_xcos/SATURATION.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SAWTOOTH_f.xcos b/history/blocks_xcos/SAWTOOTH_f.xcos new file mode 100644 index 0000000..f896b58 --- /dev/null +++ b/history/blocks_xcos/SAWTOOTH_f.xcos @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SCALAR2VECTOR.xcos b/history/blocks_xcos/SCALAR2VECTOR.xcos new file mode 100644 index 0000000..fa04f71 --- /dev/null +++ b/history/blocks_xcos/SCALAR2VECTOR.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SELECT_m.xcos b/history/blocks_xcos/SELECT_m.xcos new file mode 100644 index 0000000..900a228 --- /dev/null +++ b/history/blocks_xcos/SELECT_m.xcos @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SELF_SWITCH.xcos b/history/blocks_xcos/SELF_SWITCH.xcos new file mode 100644 index 0000000..b169105 --- /dev/null +++ b/history/blocks_xcos/SELF_SWITCH.xcos @@ -0,0 +1,946 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SHIFT.xcos b/history/blocks_xcos/SHIFT.xcos new file mode 100644 index 0000000..a3db871 --- /dev/null +++ b/history/blocks_xcos/SHIFT.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SIGNUM.xcos b/history/blocks_xcos/SIGNUM.xcos new file mode 100644 index 0000000..05fe019 --- /dev/null +++ b/history/blocks_xcos/SIGNUM.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SINBLK_f.xcos b/history/blocks_xcos/SINBLK_f.xcos new file mode 100644 index 0000000..fafb5ae --- /dev/null +++ b/history/blocks_xcos/SINBLK_f.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SOM_f.xcos b/history/blocks_xcos/SOM_f.xcos new file mode 100644 index 0000000..06852e8 --- /dev/null +++ b/history/blocks_xcos/SOM_f.xcos @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SQRT.xcos b/history/blocks_xcos/SQRT.xcos new file mode 100644 index 0000000..05a31c2 --- /dev/null +++ b/history/blocks_xcos/SQRT.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SRFLIPFLOP.xcos b/history/blocks_xcos/SRFLIPFLOP.xcos new file mode 100644 index 0000000..099bc34 --- /dev/null +++ b/history/blocks_xcos/SRFLIPFLOP.xcos @@ -0,0 +1,1681 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/STEP_FUNCTION.xcos b/history/blocks_xcos/STEP_FUNCTION.xcos new file mode 100644 index 0000000..049a3c9 --- /dev/null +++ b/history/blocks_xcos/STEP_FUNCTION.xcos @@ -0,0 +1,1118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SUBMAT.xcos b/history/blocks_xcos/SUBMAT.xcos new file mode 100644 index 0000000..67e00c5 --- /dev/null +++ b/history/blocks_xcos/SUBMAT.xcos @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SUMMATION.xcos b/history/blocks_xcos/SUMMATION.xcos new file mode 100644 index 0000000..3d966eb --- /dev/null +++ b/history/blocks_xcos/SUMMATION.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SUM_f.xcos b/history/blocks_xcos/SUM_f.xcos new file mode 100644 index 0000000..3333c9d --- /dev/null +++ b/history/blocks_xcos/SUM_f.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SUPER_f.xcos b/history/blocks_xcos/SUPER_f.xcos new file mode 100644 index 0000000..9cc0734 --- /dev/null +++ b/history/blocks_xcos/SUPER_f.xcos @@ -0,0 +1,493 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SWITCH2_m.xcos b/history/blocks_xcos/SWITCH2_m.xcos new file mode 100644 index 0000000..ad8c3ee --- /dev/null +++ b/history/blocks_xcos/SWITCH2_m.xcos @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SWITCH_f.xcos b/history/blocks_xcos/SWITCH_f.xcos new file mode 100644 index 0000000..28c2409 --- /dev/null +++ b/history/blocks_xcos/SWITCH_f.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SampleCLK.xcos b/history/blocks_xcos/SampleCLK.xcos new file mode 100644 index 0000000..3365aae --- /dev/null +++ b/history/blocks_xcos/SampleCLK.xcos @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Sigbuilder.xcos b/history/blocks_xcos/Sigbuilder.xcos new file mode 100644 index 0000000..b618450 --- /dev/null +++ b/history/blocks_xcos/Sigbuilder.xcos @@ -0,0 +1,992 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SineVoltage.xcos b/history/blocks_xcos/SineVoltage.xcos new file mode 100644 index 0000000..39edb97 --- /dev/null +++ b/history/blocks_xcos/SineVoltage.xcos @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/SourceP.xcos b/history/blocks_xcos/SourceP.xcos new file mode 100644 index 0000000..de0932e --- /dev/null +++ b/history/blocks_xcos/SourceP.xcos @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/Switch.xcos b/history/blocks_xcos/Switch.xcos new file mode 100644 index 0000000..8f1eebb --- /dev/null +++ b/history/blocks_xcos/Switch.xcos @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/TANBLK_f.xcos b/history/blocks_xcos/TANBLK_f.xcos new file mode 100644 index 0000000..1d38569 --- /dev/null +++ b/history/blocks_xcos/TANBLK_f.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/TCLSS.xcos b/history/blocks_xcos/TCLSS.xcos new file mode 100644 index 0000000..6112f7e --- /dev/null +++ b/history/blocks_xcos/TCLSS.xcos @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/TEXT_f.xcos b/history/blocks_xcos/TEXT_f.xcos new file mode 100644 index 0000000..bda263d --- /dev/null +++ b/history/blocks_xcos/TEXT_f.xcos @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/TIME_DELAY.xcos b/history/blocks_xcos/TIME_DELAY.xcos new file mode 100644 index 0000000..f76c91a --- /dev/null +++ b/history/blocks_xcos/TIME_DELAY.xcos @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/TIME_f.xcos b/history/blocks_xcos/TIME_f.xcos new file mode 100644 index 0000000..5ccba49 --- /dev/null +++ b/history/blocks_xcos/TIME_f.xcos @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/TKSCALE.xcos b/history/blocks_xcos/TKSCALE.xcos new file mode 100644 index 0000000..e26401b --- /dev/null +++ b/history/blocks_xcos/TKSCALE.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/TOWS_c.xcos b/history/blocks_xcos/TOWS_c.xcos new file mode 100644 index 0000000..50e5a80 --- /dev/null +++ b/history/blocks_xcos/TOWS_c.xcos @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/TRASH_f.xcos b/history/blocks_xcos/TRASH_f.xcos new file mode 100644 index 0000000..9089c92 --- /dev/null +++ b/history/blocks_xcos/TRASH_f.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/TrigFun.xcos b/history/blocks_xcos/TrigFun.xcos new file mode 100644 index 0000000..b07db1c --- /dev/null +++ b/history/blocks_xcos/TrigFun.xcos @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/VARIABLE_DELAY.xcos b/history/blocks_xcos/VARIABLE_DELAY.xcos new file mode 100644 index 0000000..1fc7a62 --- /dev/null +++ b/history/blocks_xcos/VARIABLE_DELAY.xcos @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/VVsourceAC.xcos b/history/blocks_xcos/VVsourceAC.xcos new file mode 100644 index 0000000..ca01231 --- /dev/null +++ b/history/blocks_xcos/VVsourceAC.xcos @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/VanneReglante.xcos b/history/blocks_xcos/VanneReglante.xcos new file mode 100644 index 0000000..376e26b --- /dev/null +++ b/history/blocks_xcos/VanneReglante.xcos @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/VariableResistor.xcos b/history/blocks_xcos/VariableResistor.xcos new file mode 100644 index 0000000..0ab3590 --- /dev/null +++ b/history/blocks_xcos/VariableResistor.xcos @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/VirtualCLK0.xcos b/history/blocks_xcos/VirtualCLK0.xcos new file mode 100644 index 0000000..0109a7b --- /dev/null +++ b/history/blocks_xcos/VirtualCLK0.xcos @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/VoltageSensor.xcos b/history/blocks_xcos/VoltageSensor.xcos new file mode 100644 index 0000000..589c64d --- /dev/null +++ b/history/blocks_xcos/VoltageSensor.xcos @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/VsourceAC.xcos b/history/blocks_xcos/VsourceAC.xcos new file mode 100644 index 0000000..aa80c9f --- /dev/null +++ b/history/blocks_xcos/VsourceAC.xcos @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/WFILE_f.xcos b/history/blocks_xcos/WFILE_f.xcos new file mode 100644 index 0000000..194b80e --- /dev/null +++ b/history/blocks_xcos/WFILE_f.xcos @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/WRITEAU_f.xcos b/history/blocks_xcos/WRITEAU_f.xcos new file mode 100644 index 0000000..9cdac50 --- /dev/null +++ b/history/blocks_xcos/WRITEAU_f.xcos @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/WRITEC_f.xcos b/history/blocks_xcos/WRITEC_f.xcos new file mode 100644 index 0000000..8c51f74 --- /dev/null +++ b/history/blocks_xcos/WRITEC_f.xcos @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/ZCROSS_f.xcos b/history/blocks_xcos/ZCROSS_f.xcos new file mode 100644 index 0000000..038ca84 --- /dev/null +++ b/history/blocks_xcos/ZCROSS_f.xcos @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/c_block.xcos b/history/blocks_xcos/c_block.xcos new file mode 100644 index 0000000..4a4b5e0 --- /dev/null +++ b/history/blocks_xcos/c_block.xcos @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/history/blocks_xcos/fortran_block.xcos b/history/blocks_xcos/fortran_block.xcos new file mode 100644 index 0000000..0bc4378 --- /dev/null +++ b/history/blocks_xcos/fortran_block.xcos @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/freq_div.xcos b/history/blocks_xcos/freq_div.xcos new file mode 100644 index 0000000..0786de2 --- /dev/null +++ b/history/blocks_xcos/freq_div.xcos @@ -0,0 +1,1165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/generic_block3.xcos b/history/blocks_xcos/generic_block3.xcos new file mode 100644 index 0000000..8261839 --- /dev/null +++ b/history/blocks_xcos/generic_block3.xcos @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/blocks_xcos/scifunc_block_m.xcos b/history/blocks_xcos/scifunc_block_m.xcos new file mode 100644 index 0000000..dad27ff --- /dev/null +++ b/history/blocks_xcos/scifunc_block_m.xcos @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/history/data_structures/ABS_VALUE.js b/history/data_structures/ABS_VALUE.js new file mode 100644 index 0000000..ef569e9 --- /dev/null +++ b/history/data_structures/ABS_VALUE.js @@ -0,0 +1,20 @@ +function ABS_VALUE () { + + + var nu = -1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["absolute_value"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([nu])); + model.out=new ScilabDouble([nu]); + model.nzcross=new ScilabDouble([nu]); + model.nmode=new ScilabDouble([nu]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [string([1])]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/AFFICH_m.js b/history/data_structures/AFFICH_m.js new file mode 100644 index 0000000..ff0b180 --- /dev/null +++ b/history/data_structures/AFFICH_m.js @@ -0,0 +1,33 @@ +function AFFICH_m () { + + + var font = 1; + + var fontsize = 1; + + var colr = 1; + + var nt = 5; + + var nd = 1; + + var in1 = [1,1]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["affich2"]),new ScilabDouble([4])); + model.in1.push(in1(1,1)); + model.in2.push(in1(1,2)); + model.evtin = new ScilabDouble([1]); + model.dstate = new ScilabDouble([-1],[0],[0],[1],[1],[0],[zeros(in1(1,1)*in1(1,2),1)]); + model.ipar = new ScilabDouble([font],[fontsize],[colr],[1000],[nt],[nd],[in1(1,1)]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + model.label = new ScilabString([""]); + + var exprs = [[,sci2exp([model.in1,model.in2])],[string(font)],[string(fontsize)],[string(colr)],[string(nt)],[string(nd)],[string(0),]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new AfficheBlock(this.x) +} diff --git a/history/data_structures/ANDBLK.js b/history/data_structures/ANDBLK.js new file mode 100644 index 0000000..6d88e54 --- /dev/null +++ b/history/data_structures/ANDBLK.js @@ -0,0 +1,75 @@ +function ANDBLK () { + + + var andlog = ANDLOG_f("define"); + andlog.graphics.orig = new ScilabDouble([194,133]); + andlog.graphics.sz = new ScilabDouble([60,60]); + andlog.graphics.flip = new ScilabBoolean([true]); + andlog.graphics.pout = new ScilabDouble([9]); + andlog.graphics.pein = new ScilabDouble([4],[11]); + + var input_port1 = CLKIN_f("define"); + input_port1.graphics.orig = new ScilabDouble([149,287]); + input_port1.graphics.sz = new ScilabDouble([20,20]); + input_port1.graphics.flip = new ScilabBoolean([true]); + input_port1.graphics.exprs = new ScilabString(["1"]); + input_port1.graphics.peout = new ScilabDouble([4]); + input_port1.model.ipar = new ScilabDouble([1]); + + var output_port = CLKOUT_f("define"); + output_port.graphics.orig = new ScilabDouble([450,83]); + output_port.graphics.sz = new ScilabDouble([20,20]); + output_port.graphics.flip = new ScilabBoolean([true]); + output_port.graphics.exprs = new ScilabString(["1"]); + output_port.graphics.pein = new ScilabDouble([8]); + output_port.model.ipar = new ScilabDouble([1]); + + var input_port2 = CLKIN_f("define"); + input_port2.graphics.orig = new ScilabDouble([141,330]); + input_port2.graphics.sz = new ScilabDouble([20,20]); + input_port2.graphics.flip = new ScilabBoolean([true]); + input_port2.graphics.exprs = new ScilabString(["2"]); + input_port2.graphics.peout = new ScilabDouble([6]); + input_port2.model.ipar = new ScilabDouble([2]); + + var ifthel = IFTHEL_f("define"); + ifthel.graphics.orig = new ScilabDouble([331,137]); + ifthel.graphics.sz = new ScilabDouble([60,60]); + ifthel.graphics.flip = new ScilabBoolean([true]); + ifthel.graphics.pin = new ScilabDouble([9]); + ifthel.graphics.pein = new ScilabDouble([12]); + ifthel.graphics.peout = new ScilabDouble([8],[0]); + + var split = CLKSPLIT_f("define"); + split.graphics.orig = new ScilabDouble([234],[275.78348]); + split.graphics.pein = new ScilabDouble([6]); + split.graphics.peout = new ScilabDouble([11],[12]); + + var diagram = scicos_diagram(); + diagram.objs.push(andlog); + diagram.objs.push(input_port1); + diagram.objs.push(output_port); + diagram.objs.push(scicos_link({xx: new ScilabDouble([169],[214],[214]),yy: new ScilabDouble([297],[297],[198.71]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1]),to: new ScilabDouble([1,1])})); + diagram.objs.push(input_port2); + diagram.objs.push(scicos_link({xx: new ScilabDouble([161],[234],[234]),yy: new ScilabDouble([340],[340],[275.78]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([5,1]),to: new ScilabDouble([10,1])})); + diagram.objs.push(ifthel); + diagram.objs.push(scicos_link({xx: new ScilabDouble([351],[351],[450]),yy: new ScilabDouble([131.29],[93],[93]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([7,1]),to: new ScilabDouble([3,1])})); + diagram.objs.push(scicos_link({xx: new ScilabDouble([262.57],[322.43]),yy: new ScilabDouble([163],[167]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1]),to: new ScilabDouble([7,1])})); + diagram.objs.push(split); + diagram.objs.push(scicos_link({xx: new ScilabDouble([234],[234]),yy: new ScilabDouble([275.78],[198.71]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([10,1]),to: new ScilabDouble([1,2])})); + diagram.objs.push(scicos_link({xx: new ScilabDouble([234],[361],[361]),yy: new ScilabDouble([275.78],[275.78],[202.71]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([10,2]),to: new ScilabDouble([7,1])})); + this.x=scicos_block(); + this.x.gui = new ScilabString(["ANDBLK"]); + this.x.graphics.sz = new ScilabDouble([2,2]); + this.x.graphics.gr_i = new ScilabDouble(); + this.x.graphics.pein = new ScilabDouble([0],[0]); + this.x.graphics.peout = new ScilabDouble([0]); + this.x.model.sim = new ScilabString(["csuper"]); + this.x.model.evtin = new ScilabDouble([1],[1]); + this.x.model.evtout = new ScilabDouble([1]); + this.x.model.blocktype = new ScilabString(["h"]); + this.x.model.firing = new ScilabBoolean([false]); + this.x.model.dep_ut = new ScilabBoolean([false,false]); + this.x.model.rpar=diagram; + return new BasicBlock(this.x) +} diff --git a/history/data_structures/ANDLOG_f.js b/history/data_structures/ANDLOG_f.js new file mode 100644 index 0000000..b94c240 --- /dev/null +++ b/history/data_structures/ANDLOG_f.js @@ -0,0 +1,15 @@ +function ANDLOG_f () { + + + var model = scicos_model(); + model.sim = new ScilabString(["andlog"]); + model.out = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1],[1]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([false,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,3]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/AUTOMAT.js b/history/data_structures/AUTOMAT.js new file mode 100644 index 0000000..3ceda51 --- /dev/null +++ b/history/data_structures/AUTOMAT.js @@ -0,0 +1,40 @@ +function AUTOMAT () { + + + var NMode = 2; + + var Minitial = 1; + + var NX = 1; + + var X0 = [0.0]; + + var XP = [[1],[1]]; + + var C1 = [2]; + + var C2 = [1]; + + var exprs = [[string(NMode)],[string(Minitial)],[string(NX)],[sci2exp(X0)],[sci2exp(XP)],[sci2exp(C1)],[sci2exp(C2)]]; + + var ipar = [[NMode],[Minitial],[NX],[XP],[C1],[C2]]; + + var rpar = [X0]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["automat"]),new ScilabDouble([10004])); + model.in1 = new ScilabDouble([2*NX+1],[2*NX+1]); + model.out = new ScilabDouble([2],[2*NX]); + model.state=ones(2*NX,1); + model.nzcross = new ScilabDouble([1]); + model.blocktype = new ScilabString(["c"]); + model.evtout = new ScilabDouble([1]); + model.firing = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([false,true]); + model.ipar=ipar; + model.rpar=rpar; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/BACKLASH.js b/history/data_structures/BACKLASH.js new file mode 100644 index 0000000..d407fd7 --- /dev/null +++ b/history/data_structures/BACKLASH.js @@ -0,0 +1,18 @@ +function BACKLASH () { + + + var exprs = ["0";"1";"1"]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["backlash"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.rpar = new ScilabDouble([0],[1]); + model.nzcross = new ScilabDouble([2]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/BARXY.js b/history/data_structures/BARXY.js new file mode 100644 index 0000000..5c3cb6a --- /dev/null +++ b/history/data_structures/BARXY.js @@ -0,0 +1,27 @@ +function BARXY () { + + + var model = scicos_model(); + + var xmin = -15; + + var xmax = 15; + + var ymin = -15; + + var ymax = 15; + model.sim=list(new ScilabString(["BARXY_sim"]),,new ScilabDouble([5])); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([true,false]); + model.in1 = new ScilabDouble([-1],[-1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble(); + model.evtin = new ScilabDouble([1]); + model.rpar = new ScilabDouble([xmin,],[,xmax,],[,ymin,],[,ymax]); + model.ipar = new ScilabDouble([1]); + this.x=new standard_define(new ScilabDouble([2,2]),model,[],[]); + this.x.graphics.in_implicit = new ScilabString(["E",,"E"]); + this.x.graphics.out_implicit = new ScilabDouble(); + this.x.graphics.exprs = new ScilabString(["-15";"15";"-15";"15";"1"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/BIGSOM_f.js b/history/data_structures/BIGSOM_f.js new file mode 100644 index 0000000..69ce1d5 --- /dev/null +++ b/history/data_structures/BIGSOM_f.js @@ -0,0 +1,19 @@ +function BIGSOM_f () { + + + var sgn = [[1],[1]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["sum"]),new ScilabDouble([2])); + model.in1 = new ScilabDouble([-1],[-1]); + model.out = new ScilabDouble([-1]); + model.rpar=new ScilabDouble([sgn]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = sci2exp(sgn); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,3]),model,,exprs,gr_i); + return new BigSom(this.x) +} diff --git a/history/data_structures/BITCLEAR.js b/history/data_structures/BITCLEAR.js new file mode 100644 index 0000000..3e7aa24 --- /dev/null +++ b/history/data_structures/BITCLEAR.js @@ -0,0 +1,21 @@ +function BITCLEAR () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["bit_clear_32"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.in2 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.intyp = new ScilabDouble([3]); + model.outtyp = new ScilabDouble([3]); + model.opar=list(new ScilabInteger([0])); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(3)],[sci2exp(0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/BITSET.js b/history/data_structures/BITSET.js new file mode 100644 index 0000000..ed7bccf --- /dev/null +++ b/history/data_structures/BITSET.js @@ -0,0 +1,21 @@ +function BITSET () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["bit_set_32"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.in2 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.intyp = new ScilabDouble([3]); + model.outtyp = new ScilabDouble([3]); + model.opar=list(new ScilabInteger([0])); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(3)],[sci2exp(0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/BOUNCE.js b/history/data_structures/BOUNCE.js new file mode 100644 index 0000000..b2b8ec9 --- /dev/null +++ b/history/data_structures/BOUNCE.js @@ -0,0 +1,17 @@ +function BOUNCE () { + + + var n = 2; + + var k = 1],[ipar=[]; + + var for i = 1:n; + + var for j = i+1:n; + + var ipar(k) = i; + k=k+1; + ipar(k)=j; + k=k+1; + return new BasicBlock(this.x) +} diff --git a/history/data_structures/BOUNCEXY.js b/history/data_structures/BOUNCEXY.js new file mode 100644 index 0000000..a0b3134 --- /dev/null +++ b/history/data_structures/BOUNCEXY.js @@ -0,0 +1,43 @@ +function BOUNCEXY () { + + + var win = -1; + + var imode = 1; + + var clrs = [[1],[2]]; + + var siz = [[1],[1]]; + + var xmin = -5; + + var xmax = 5; + + var ymin = 0; + + var ymax = 15; + + var model = scicos_model(); + model.sim=list(new ScilabString(["bouncexy"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1],[-1]); + model.in2 = new ScilabDouble([1],[1]); + model.intyp = new ScilabDouble([1],[1]); + model.evtin = new ScilabDouble([1]); + + var z = []; + + var for i = 1:size(clrs,"*"); + + var z(6*(i-1)+1) = 0; + + var z(6*(i-1)+2) = 0; + + var z(6*(i-1)+3) = 2*siz(i); + + var z(6*(i-1)+4) = 2*siz(i); + + var z(6*(i-1)+5) = 0.000; + + var z(6*(i-1)+6) = 64.0*360.000; + return new BasicBlock(this.x) +} diff --git a/history/data_structures/BPLATFORM.js b/history/data_structures/BPLATFORM.js new file mode 100644 index 0000000..a7e7da4 --- /dev/null +++ b/history/data_structures/BPLATFORM.js @@ -0,0 +1,32 @@ +function BPLATFORM () { + + + var plen = 2; + + var csiz = 2; + + var phi = 0; + + var xmin = -5; + + var xmax = 5; + + var ymin = 0; + + var ymax = 15; + + var model = scicos_model(); + model.sim=list(new ScilabString(["bplatform2"]),new ScilabDouble([5])); + model.in1 = new ScilabDouble([1],[1]); + model.evtin = new ScilabDouble([1]); + model.dstate = new ScilabDouble([0]); + model.rpar = new ScilabDouble([plen],[csiz],[phi],[xmin],[xmax],[ymin],[ymax]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = string(model.rpar); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Bache.js b/history/data_structures/Bache.js new file mode 100644 index 0000000..d7d3c4c --- /dev/null +++ b/history/data_structures/Bache.js @@ -0,0 +1,50 @@ +function Bache () { + + + var in1 = 2; + + var out = 3; + + var model = scicos_model(); + model.in1 = new ScilabDouble([-(1:in1)']); + model.out = new ScilabDouble([-(1:out)']); + + var Patm = 1.013E5; + + var A = 1; + + var ze1 = 40; + + var ze2 = 0; + + var zs1 = 40; + + var zs2 = 0; + + var z0 = 30; + + var T0 = 290; + + var p_rho = 0; + model.rpar = new ScilabDouble([Patm],[A],[ze1],[ze2],[zs1],[zs2],[z0],[T0],[p_rho]); + model.sim = new ScilabString(["Bache"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["Bache"]); + mo.inputs = new ScilabString(["Ce1" "Ce2"]); + mo.outputs = new ScilabString(["Cs1" "Cs2" "yNiveau"]); + mo.parameters=list(new ScilabString(["Patm";"A";"ze1";"ze2";"zs1";"zs2";"z0";"T0";"p_rho"]),[Patm],[A],[ze1],[ze2],[zs1],[zs2],[z0],[T0],[p_rho]); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + model.out=ones(size(mo.outputs,"*"),1); + + var exprs = [[string(Patm)],[string(A)],[string(ze1)],[string(ze2)],[string(zs1)],[string(zs2)],[string(z0)],[string(T0)],[string(p_rho)]]; + + var gr_i = []; + this.x=standard_define([2,2],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I";"I"]); + this.x.graphics.out_implicit = new ScilabString(["I";"I";"E"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CANIMXY.js b/history/data_structures/CANIMXY.js new file mode 100644 index 0000000..0d1c11c --- /dev/null +++ b/history/data_structures/CANIMXY.js @@ -0,0 +1,43 @@ +function CANIMXY () { + + + var win = -1; + + var clrs = -4; + + var N = 2; + + var siz = 1; + + var wpos = [[-1],[-1]]; + + var wdim = [[-1],[-1]]; + + var xmin = -15; + + var xmax = 15; + + var ymin = -15; + + var ymax = +15; + + var nbr_curves = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["canimxy"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1],[1]); + model.in2 = new ScilabDouble([1],[1]); + model.intyp = new ScilabDouble([1],[1]); + model.evtin = new ScilabDouble([1]); + model.rpar = new ScilabDouble([xmin],[xmax],[ymin],[ymax]); + model.ipar = new ScilabDouble([win],[1],[N],[clrs],[siz],[0],[...wpos],[...wdim],[nbr_curves]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[string(nbr_curves);string(clrs);string(siz);string(win);"[]";"[]"],[string(xmin)],[string(xmax)],[string(ymin)],[string(ymax)],[string(N)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CANIMXY3D.js b/history/data_structures/CANIMXY3D.js new file mode 100644 index 0000000..a1ec5f1 --- /dev/null +++ b/history/data_structures/CANIMXY3D.js @@ -0,0 +1,43 @@ +function CANIMXY3D () { + + + var win = -1; + + var N = 2; + + var clrs = [[1],[2],[3],[4],[5],[6],[7],[13]]; + + var siz = [[1],[1],[1],[1],[1],[1],[1],[1]]; + + var wpos = [[-1],[-1]]; + + var wdim = [[-1],[-1]]; + + var param3ds = [[50],[280]]; + + var vec_x = [[-15],[15]]; + + var vec_y = [[-15],[15]]; + + var vec_z = [[-15],[15]]; + + var nbr_curves = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["canimxy3d"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1],[1],[1]); + model.evtin = new ScilabDouble([1]); + model.in2 = new ScilabDouble([1],[1],[1]); + model.intyp = new ScilabDouble([1],[1],[1]); + model.rpar = new ScilabDouble([...colon_operator(vec_x,:)],[...vec_y],[vec_z(,)],[...param3ds]); + model.ipar = new ScilabDouble([win],[8],[N],[...colon_operator(clrs,:)],[...siz],[8],[wpos(,)],[...wdim],[nbr_curves]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[string(nbr_curves);strcat(string(clrs)," ");strcat(string(siz)," ");string(win);"[]";"[]";strcat(string(vec_x)," ");strcat(string(vec_y)," ");strcat(string(vec_z)," ");strcat(string(param3ds)," ")],[string(N)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CBLOCK.js b/history/data_structures/CBLOCK.js new file mode 100644 index 0000000..77eb431 --- /dev/null +++ b/history/data_structures/CBLOCK.js @@ -0,0 +1,48 @@ +function CBLOCK () { + + + var in1 = 1; + + var out = 1; + + var clkin = []; + + var clkout = []; + + var x0 = []; + + var z0 = []; + + var typ = "c"; + + var auto = []; + + var rpar = []; + + var ipar = []; + + var funam = "toto"; + + var ng = 0; + + var model = scicos_model(); + model.sim=list(new ScilabString([" "]),new ScilabDouble([2004])); + model.in1.push(new ScilabDouble([in1])); + model.out=new ScilabDouble([out]); + model.evtin=clkin; + model.evtout=clkout; + model.state=x0; + model.dstate=z0; + model.rpar=rpar; + model.ipar=ipar; + model.blocktype=new ScilabString([typ]); + model.firing=auto; + model.dep_ut = new ScilabBoolean([true,false]); + model.nzcross=new ScilabDouble([ng]); + + var label = list([funam,"n",sci2exp(in1),sci2exp(out),sci2exp(clkin),sci2exp(clkout),sci2exp(x0),sci2exp(0),sci2exp(z0),sci2exp(rpar),sci2exp(ipar),sci2exp(auto),"y","n"]',[]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CBLOCK4.js b/history/data_structures/CBLOCK4.js new file mode 100644 index 0000000..c4cfa2c --- /dev/null +++ b/history/data_structures/CBLOCK4.js @@ -0,0 +1,39 @@ +function CBLOCK4 () { + + + var funam = "toto"; + + var model = scicos_model(); + model.sim=list(new ScilabString([" "]),new ScilabDouble([2004])); + model.in1 = new ScilabDouble([1]); + model.in2 = new ScilabDouble([1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = list([funam; + "n"; + sci2exp([model.in1 model.in2]); + sci2exp(model.intyp); + sci2exp([model.out model.out2]); + sci2exp(model.outtyp); + sci2exp(model.evtin); + sci2exp(model.evtout); + sci2exp(model.state); + sci2exp(model.dstate); + sci2exp(model.odstate); + sci2exp(model.rpar); + sci2exp(model.ipar); + sci2exp(model.opar); + sci2exp(model.nmode); + sci2exp(model.nzcross); + sci2exp(model.firing); + "y"; + "n"],[]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CCS.js b/history/data_structures/CCS.js new file mode 100644 index 0000000..e405427 --- /dev/null +++ b/history/data_structures/CCS.js @@ -0,0 +1,30 @@ +function CCS () { + + + var ModelName = "CCS"; + + var PrametersValue = []; + + var ParametersName = []; + + var model = scicos_model(); + + var Typein = []; + + var Typeout = []; + + var MI = []; + + var MO = []; + + var P = [[2,50,1,0],[,70,98,2,0],[70,2,-2,0]]; + + var PortName = ["Iin";"p";"n"]; + + var for i = 1:size(P,"r"); + + var if P(i,3) = =1, then; + Typein = new ScilabDouble([Typein;,"E"]); + MI = new ScilabDouble([MI],[PortName(i)]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CEVENTSCOPE.js b/history/data_structures/CEVENTSCOPE.js new file mode 100644 index 0000000..73a3b7e --- /dev/null +++ b/history/data_structures/CEVENTSCOPE.js @@ -0,0 +1,29 @@ +function CEVENTSCOPE () { + + + var nclock = 1; + + var win = -1; + + var clrs = [[1],[3],[5],[7],[9],[11],[13],[15]]; + + var wdim = [[600],[400]]; + + var wpos = [[-1],[-1]]; + + var per = 30; + + var model = scicos_model(); + model.sim=list(new ScilabString(["cevscpe"]),new ScilabDouble([4])); + model.evtin = new ScilabDouble([1]); + model.rpar=new ScilabDouble([per]); + model.ipar = new ScilabDouble([win],[1],[...colon_operator(clrs,nclock)],[wpos(,)],[...wdim]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[sci2exp(nclock);strcat(sci2exp(clrs(nclock))," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(per)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CFSCOPE.js b/history/data_structures/CFSCOPE.js new file mode 100644 index 0000000..4a0c786 --- /dev/null +++ b/history/data_structures/CFSCOPE.js @@ -0,0 +1,33 @@ +function CFSCOPE () { + + + var win = -1; + + var wdim = [[600],[400]]; + + var wpos = [[-1],[-1]]; + + var clrs = [[1],[3],[5],[7],[9],[11],[13],[15]]; + + var N = 2; + + var ymin = -15; + + var ymax = +15; + + var per = 30; + + var model = scicos_model(); + model.sim=list(new ScilabString(["cfscope"]),new ScilabDouble([4])); + model.evtin = new ScilabDouble([1]); + model.rpar = new ScilabDouble([0],[ymin],[ymax],[per]); + model.ipar = new ScilabDouble([win],[1],[N],[clrs],[wpos],[wdim],[1],[1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[strcat(string(clrs)," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(ymin)],[string(ymax)],[string(per)],[string(N)],[string([1])]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CLINDUMMY_f.js b/history/data_structures/CLINDUMMY_f.js new file mode 100644 index 0000000..35ca987 --- /dev/null +++ b/history/data_structures/CLINDUMMY_f.js @@ -0,0 +1,16 @@ +function CLINDUMMY_f () { + + + var x0 = 0; + + var model = scicos_model(); + model.sim=list(new ScilabString(["cdummy"]),new ScilabDouble([4])); + model.state=new ScilabDouble([x0]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([false,true]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CLKFROM.js b/history/data_structures/CLKFROM.js new file mode 100644 index 0000000..baa40ec --- /dev/null +++ b/history/data_structures/CLKFROM.js @@ -0,0 +1,16 @@ +function CLKFROM () { + + + var model = scicos_model(); + model.sim = new ScilabString(["clkfrom"]); + model.evtout = new ScilabDouble([1]); + model.opar=list("A"); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = "A"; + this.x=new standard_define(new ScilabDouble([2,1]),model,exprs," "); + this.x.graphics.id = new ScilabString(["From"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CLKGOTO.js b/history/data_structures/CLKGOTO.js new file mode 100644 index 0000000..eede81b --- /dev/null +++ b/history/data_structures/CLKGOTO.js @@ -0,0 +1,17 @@ +function CLKGOTO () { + + + var model = scicos_model(); + model.sim = new ScilabString(["clkgoto"]); + model.evtin = new ScilabDouble([1]); + model.opar=list("A"); + model.ipar=int(1); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [["A"],[sci2exp(1)]]; + this.x=new standard_define(new ScilabDouble([2,1]),model,exprs," "); + this.x.graphics.id = new ScilabString(["Goto"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CLKGotoTagVisibility.js b/history/data_structures/CLKGotoTagVisibility.js new file mode 100644 index 0000000..5a164cf --- /dev/null +++ b/history/data_structures/CLKGotoTagVisibility.js @@ -0,0 +1,23 @@ +function CLKGotoTagVisibility () { + + + var model = scicos_model(); + model.sim = new ScilabString(["clkgototagvisibility"]); + model.in1 = new ScilabDouble(); + model.in2 = new ScilabDouble(); + model.out = new ScilabDouble(); + model.out2 = new ScilabDouble(); + model.evtin = new ScilabDouble(); + model.intyp = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.opar=list("A"); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabBoolean([false]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = "A"; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CLKINV_f.js b/history/data_structures/CLKINV_f.js new file mode 100644 index 0000000..aa2d8dc --- /dev/null +++ b/history/data_structures/CLKINV_f.js @@ -0,0 +1,19 @@ +function CLKINV_f () { + + + var prt = 1; + + var model = scicos_model(); + model.sim = new ScilabString(["input"]); + model.evtout = new ScilabDouble([1]); + model.ipar=new ScilabDouble([prt]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = string(prt); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); + return new EventInBlock(this.x) +} diff --git a/history/data_structures/CLKOUTV_f.js b/history/data_structures/CLKOUTV_f.js new file mode 100644 index 0000000..32f4ec9 --- /dev/null +++ b/history/data_structures/CLKOUTV_f.js @@ -0,0 +1,17 @@ +function CLKOUTV_f () { + + + var prt = 1; + + var model = scicos_model(); + model.sim = new ScilabString(["output"]); + model.evtin = new ScilabDouble([1]); + model.ipar=new ScilabDouble([prt]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = string(prt); + this.x=new standard_define(new ScilabDouble([1,1]),model,exprs," "); + return new EventOutBlock(this.x) +} diff --git a/history/data_structures/CLKSOMV_f.js b/history/data_structures/CLKSOMV_f.js new file mode 100644 index 0000000..273ebc8 --- /dev/null +++ b/history/data_structures/CLKSOMV_f.js @@ -0,0 +1,15 @@ +function CLKSOMV_f () { + + + var model = scicos_model(); + model.sim = new ScilabString(["sum"]); + model.evtin = new ScilabDouble([1],[1],[1]); + model.evtout = new ScilabDouble([1]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([false,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); + return new RoundBlock(this.x) +} diff --git a/history/data_structures/CLOCK_c.js b/history/data_structures/CLOCK_c.js new file mode 100644 index 0000000..339191e --- /dev/null +++ b/history/data_structures/CLOCK_c.js @@ -0,0 +1,48 @@ +function CLOCK_c () { + + + var evtdly = EVTDLY_c("define"); + evtdly.graphics.orig = new ScilabDouble([320,232]); + evtdly.graphics.sz = new ScilabDouble([40,40]); + evtdly.graphics.flip = new ScilabBoolean([true]); + evtdly.graphics.exprs = new ScilabString(["0.1";"0.1"]); + evtdly.graphics.pein = new ScilabDouble([6]); + evtdly.graphics.peout = new ScilabDouble([3]); + evtdly.model.rpar = new ScilabDouble([0.1],[0.1]); + evtdly.model.firing = new ScilabDouble([0.1]); + + var output_port = CLKOUT_f("define"); + output_port.graphics.orig = new ScilabDouble([399,162]); + output_port.graphics.sz = new ScilabDouble([20,20]); + output_port.graphics.flip = new ScilabBoolean([true]); + output_port.graphics.exprs = new ScilabString(["1"]); + output_port.graphics.pein = new ScilabDouble([5]); + output_port.model.ipar = new ScilabDouble([1]); + + var split = CLKSPLIT_f("define"); + split.graphics.orig = new ScilabDouble([380.71066],[172]); + split.graphics.pein = new ScilabDouble([3]); + split.graphics.peout = new ScilabDouble([5],[6]); + + var gr_i = []; + + var diagram = scicos_diagram(); + diagram.objs.push(output_port); + diagram.objs.push(evtdly); + diagram.objs.push(scicos_link({xx: new ScilabDouble([340],[340],[380.71]),yy: new ScilabDouble([226.29],[172],[172]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1]),to: new ScilabDouble([4,1])})); + diagram.objs.push(split); + diagram.objs.push(scicos_link({xx: new ScilabDouble([380.71],[399]),yy: new ScilabDouble([172],[172]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([4,1]),to: new ScilabDouble([1,1])})); + diagram.objs.push(scicos_link({xx: new ScilabDouble([380.71],[380.71],[340],[340]),yy: new ScilabDouble([172],[302],[302],[277.71]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([4,2]),to: new ScilabDouble([2,1])})); + this.x=scicos_block(); + this.x.gui = new ScilabString(["CLOCK_c"]); + this.x.graphics.sz = new ScilabDouble([2,2]); + this.x.graphics.gr_i=gr_i; + this.x.graphics.peout = new ScilabDouble([0]); + this.x.model.sim = new ScilabString(["csuper"]); + this.x.model.evtout = new ScilabDouble([1]); + this.x.model.blocktype = new ScilabString(["h"]); + this.x.model.firing = new ScilabBoolean([false]); + this.x.model.dep_ut = new ScilabBoolean([false,false]); + this.x.model.rpar=diagram; + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CLR.js b/history/data_structures/CLR.js new file mode 100644 index 0000000..d374d40 --- /dev/null +++ b/history/data_structures/CLR.js @@ -0,0 +1,28 @@ +function CLR () { + + + var x0 = 0; + + var A = -1; + + var B = 1; + + var C = 1; + + var D = 0; + + var exprs = ["1";"1+s"]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["csslti4"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.state=new ScilabDouble([x0]); + model.rpar = new ScilabDouble([...colon_operator(A,:)],[...B],[C(,)],[...D]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CLSS.js b/history/data_structures/CLSS.js new file mode 100644 index 0000000..d97157a --- /dev/null +++ b/history/data_structures/CLSS.js @@ -0,0 +1,32 @@ +function CLSS () { + + + var x0 = 0; + + var A = -1; + + var B = 1; + + var C = 1; + + var D = 0; + + var in1 = 1; + + var out = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["csslti4"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([in1])); + model.out=new ScilabDouble([out]); + model.state=new ScilabDouble([x0]); + model.rpar = new ScilabDouble([...colon_operator(A,:)],[...B],[C(,)],[...D]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var exprs = [[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CMAT3D.js b/history/data_structures/CMAT3D.js new file mode 100644 index 0000000..0d2fd8d --- /dev/null +++ b/history/data_structures/CMAT3D.js @@ -0,0 +1,35 @@ +function CMAT3D () { + + + var cmin = 0; + + var cmax = 100; + + var colormap = jetcolormap(25); + + var size_c = 25; + this.x = new ScilabDouble([-1]); + + var y = -1; + + var size_x = 1; + + var size_y = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["cmat3d"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.ipar = new ScilabDouble([cmin],[cmax],[size_c],[size_x],[size_y]); + model.rpar = new ScilabDouble([...colormap],[x],[y]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[strcat(string(x)," ");strcat(string(y)," ");string("jetcolormap(25)")],[string(cmin)],[string(cmax)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CMATVIEW.js b/history/data_structures/CMATVIEW.js new file mode 100644 index 0000000..3a03930 --- /dev/null +++ b/history/data_structures/CMATVIEW.js @@ -0,0 +1,32 @@ +function CMATVIEW () { + + + var cmin = 0; + + var cmax = 100; + + var size_c = 25; + + var colormap = jetcolormap(size_c); + + var alpha_c = 0.24; + + var beta_c = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["cmatview"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.ipar = new ScilabDouble([cmin],[cmax],[size_c]); + model.rpar = new ScilabDouble([alpha_c],[beta_c],[...colormap]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[string("jetcolormap(25)")],[string(cmin)],[string(cmax)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CMSCOPE.js b/history/data_structures/CMSCOPE.js new file mode 100644 index 0000000..b4d2e3d --- /dev/null +++ b/history/data_structures/CMSCOPE.js @@ -0,0 +1,42 @@ +function CMSCOPE () { + + + var win = -1; + + var in1 = [[1],[1]]; + + var wdim = [[-1],[-1]]; + + var wpos = [[-1],[-1]]; + + var clrs = [[1],[3],[5],[7],[9],[11],[13],[15]]; + + var N = 20; + + var ymin = [[-1],[-5]]; + + var ymax = [[1],[5]]; + + var per = [[30],[30]]; + + var yy = [[...transpose(ymin)],[...transpose(ymax)]]; + + var period = ...transpose(per); + + var model = scicos_model(); + model.sim=list(new ScilabString(["cmscope"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([in1])); + model.in2 = new ScilabDouble([1],[1]); + model.intyp = new ScilabDouble([1],[1]); + model.evtin = new ScilabDouble([1]); + model.rpar = new ScilabDouble([0],[...period],[...yy]); + model.ipar = new ScilabDouble([win;...colon_operator(size,in1,"*")],[N],[...wpos],[...wdim],[...in1],[clrs(1,sum(in1))]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[strcat(string(in1)," ");strcat(string(clrs)," ");string(win);sci2exp([]);sci2exp([]);strcat(string(ymin)," ");strcat(string(ymax)," ");strcat(string(per)," ")],[string(N)],[string(0)],[emptystr()]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CONST.js b/history/data_structures/CONST.js new file mode 100644 index 0000000..b34361e --- /dev/null +++ b/history/data_structures/CONST.js @@ -0,0 +1,19 @@ +function CONST () { + + + var C = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["cstblk4"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble(); + model.out = new ScilabDouble([1]); + model.rpar=new ScilabDouble([C]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = strcat(sci2exp(C)); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CONSTRAINT2_c.js b/history/data_structures/CONSTRAINT2_c.js new file mode 100644 index 0000000..d24d40c --- /dev/null +++ b/history/data_structures/CONSTRAINT2_c.js @@ -0,0 +1,24 @@ +function CONSTRAINT2_c () { + + + var x0 = [0]; + + var xd0 = [0]; + + var id = [0]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["constraint_c"]),new ScilabDouble([10004])); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1],[1]); + model.state = new ScilabDouble([x0],[xd0]); + model.ipar=new ScilabDouble([id]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var exprs = list(strcat(sci2exp(x0)),strcat(sci2exp(xd0)),strcat(sci2exp(id))); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CONSTRAINT_c.js b/history/data_structures/CONSTRAINT_c.js new file mode 100644 index 0000000..567ec0f --- /dev/null +++ b/history/data_structures/CONSTRAINT_c.js @@ -0,0 +1,20 @@ +function CONSTRAINT_c () { + + + var x0 = [[0],[0]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["constraint_c"]),new ScilabDouble([10004])); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.ipar = new ScilabDouble([0]); + model.state=new ScilabDouble([x0]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var exprs = "0"; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CONST_f.js b/history/data_structures/CONST_f.js new file mode 100644 index 0000000..1983ae4 --- /dev/null +++ b/history/data_structures/CONST_f.js @@ -0,0 +1,19 @@ +function CONST_f () { + + + var C = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["cstblk"]),new ScilabDouble([1])); + model.in1 = new ScilabDouble(); + model.out = new ScilabDouble([1]); + model.rpar=new ScilabDouble([C]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = strcat(sci2exp(C)); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CONST_m.js b/history/data_structures/CONST_m.js new file mode 100644 index 0000000..df53c9a --- /dev/null +++ b/history/data_structures/CONST_m.js @@ -0,0 +1,22 @@ +function CONST_m () { + + + var C = [1]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["cstblk4"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble(); + model.out=size(C,1); + model.in2 = new ScilabDouble(); + model.out2.push(size(C,2)); + model.rpar=new ScilabDouble([C]); + model.opar=list(); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = sci2exp(C); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CONVERT.js b/history/data_structures/CONVERT.js new file mode 100644 index 0000000..2a467eb --- /dev/null +++ b/history/data_structures/CONVERT.js @@ -0,0 +1,24 @@ +function CONVERT () { + + + var sgn = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["convert"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.out = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.out2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([3]); + model.rpar = new ScilabDouble(); + model.ipar=new ScilabDouble([sgn]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(1)],[sci2exp(3)],[sci2exp(0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/COSBLK_f.js b/history/data_structures/COSBLK_f.js new file mode 100644 index 0000000..bcd2120 --- /dev/null +++ b/history/data_structures/COSBLK_f.js @@ -0,0 +1,16 @@ +function COSBLK_f () { + + + var in1 = 1; + + var model = scicos_model(); + model.sim = new ScilabString(["cosblk"]); + model.in1 = new ScilabDouble([-1]); + model.out = new ScilabDouble([-1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CSCOPE.js b/history/data_structures/CSCOPE.js new file mode 100644 index 0000000..f67fec9 --- /dev/null +++ b/history/data_structures/CSCOPE.js @@ -0,0 +1,35 @@ +function CSCOPE () { + + + var win = -1; + + var wdim = [[600],[400]]; + + var wpos = [[-1],[-1]]; + + var clrs = [[1],[3],[5],[7],[9],[11],[13],[15]]; + + var N = 20; + + var ymin = -15; + + var ymax = +15; + + var per = 30; + + var model = scicos_model(); + model.sim=list(new ScilabString(["cscope"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.rpar = new ScilabDouble([0],[ymin],[ymax],[per]); + model.ipar = new ScilabDouble([win],[1],[N],[clrs],[wpos],[wdim]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[strcat(string(clrs)," ")],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(ymin)],[string(ymax)],[string(per)],[string(N)],[string(0)'],[emptystr()]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CSCOPXY.js b/history/data_structures/CSCOPXY.js new file mode 100644 index 0000000..17808c5 --- /dev/null +++ b/history/data_structures/CSCOPXY.js @@ -0,0 +1,40 @@ +function CSCOPXY () { + + + var win = -1; + + var clrs = 4],[siz=1; + + var wdim = [[600],[400]]; + + var wpos = [[-1],[-1]]; + + var N = 2; + + var xmin = -15; + + var xmax = 15; + + var ymin = -15; + + var ymax = +15; + + var nbr_curves = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["cscopxy"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1],[1]); + model.in2 = new ScilabDouble([1],[1]); + model.intyp = new ScilabDouble([1],[1]); + model.evtin = new ScilabDouble([1]); + model.rpar = new ScilabDouble([xmin],[xmax],[ymin],[ymax]); + model.ipar = new ScilabDouble([win],[1],[N],[clrs],[siz],[1],[...wpos],[...wdim],[nbr_curves]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[string(nbr_curves)],[sci2exp(clrs)],[sci2exp(siz)],[string(win)],[sci2exp([])],[sci2exp(wdim)],[string(xmin)],[string(xmax)],[string(ymin)],[string(ymax)],[string(N)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CSCOPXY3D.js b/history/data_structures/CSCOPXY3D.js new file mode 100644 index 0000000..7a91623 --- /dev/null +++ b/history/data_structures/CSCOPXY3D.js @@ -0,0 +1,42 @@ +function CSCOPXY3D () { + + + var win = -1; + + var clrs = [[1],[2],[3],[4],[5],[6],[7],[13]]; + + var siz = [[1],[1],[1],[1],[1],[1],[1],[1]]; + + var wdim = [[600],[400]]; + + var wpos = [[-1],[-1]]; + + var N = 2; + + var param3ds = [[50],[280]]; + + var vec_x = [[-15],[15]]; + + var vec_y = [[-15],[15]]; + + var vec_z = [[-15],[15]]; + + var nbr_curves = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["cscopxy3d"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1],[1],[1]); + model.in2 = new ScilabDouble([1],[1],[1]); + model.intyp = new ScilabDouble([1],[1],[1]); + model.evtin = new ScilabDouble([1]); + model.rpar = new ScilabDouble([...colon_operator(vec_x,:)],[...vec_y],[vec_z(,)],[...param3ds]); + model.ipar = new ScilabDouble([win],[8],[N],[...colon_operator(clrs,:)],[...siz],[8],[wpos(,)],[...wdim],[nbr_curves]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[string(nbr_curves);strcat(string(clrs)," ");strcat(string(siz)," ");string(win);sci2exp([]);sci2exp(wdim);strcat(string(vec_x)," ");strcat(string(vec_y)," ");strcat(string(vec_z)," ");strcat(string(param3ds)," ")],[string(N)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CUMSUM.js b/history/data_structures/CUMSUM.js new file mode 100644 index 0000000..6c076cf --- /dev/null +++ b/history/data_structures/CUMSUM.js @@ -0,0 +1,31 @@ +function CUMSUM () { + + + var model = scicos_model(); + + var function_name = "cumsum_m"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [[sci2exp(1)],[sci2exp(0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CURV_f.js b/history/data_structures/CURV_f.js new file mode 100644 index 0000000..49e00bf --- /dev/null +++ b/history/data_structures/CURV_f.js @@ -0,0 +1,28 @@ +function CURV_f () { + + + var xx = [[0],[1],[2]]; + + var yy = [[-5],[5],[0]]; + + var rect = [0,-5,2,5]; + + var axisdata = [[2],[10],[2],[10]]; + + var ipar = [[size(xx,1)],[...axisdata]]; + + var rpar = [[xx],[yy],[...rect]]; + + var model = scicos_model(); + model.sim = new ScilabString(["intplt"]); + model.in1 = new ScilabDouble(); + model.out = new ScilabDouble([1]); + model.rpar = new ScilabDouble([xx],[yy],[...rect]); + model.ipar = new ScilabDouble([size(xx,1)],[...axisdata]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CVS.js b/history/data_structures/CVS.js new file mode 100644 index 0000000..5bfb5f9 --- /dev/null +++ b/history/data_structures/CVS.js @@ -0,0 +1,30 @@ +function CVS () { + + + var ModelName = "CVS"; + + var PrametersValue = []; + + var ParametersName = []; + + var model = scicos_model(); + + var Typein = []; + + var Typeout = []; + + var MI = []; + + var MO = []; + + var P = [[2,50,1,0],[,70,98,2,0],[70,2,-2,0]]; + + var PortName = ["vin";"p";"n"]; + + var for i = 1:size(P,"r"); + + var if P(i,3) = =1, then; + Typein = new ScilabDouble([Typein;,"E"]); + MI = new ScilabDouble([MI],[PortName(i)]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Capacitor.js b/history/data_structures/Capacitor.js new file mode 100644 index 0000000..c83bb8e --- /dev/null +++ b/history/data_structures/Capacitor.js @@ -0,0 +1,28 @@ +function Capacitor () { + + + var model = scicos_model(); + + var C = 0.01,v=0; + model.rpar = new ScilabDouble([C],[v]); + model.sim = new ScilabString(["Capacitor"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["Capacitor"]); + mo.inputs = new ScilabString(["p"]); + mo.outputs = new ScilabString(["n"]); + mo.parameters=list(new ScilabString(["C"),new ScilabString(["v"]]),list(C,v),new ScilabDouble([0),new ScilabDouble([1]])); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + model.out=ones(size(mo.outputs,"*"),1); + + var exprs = string([C],[v]); + + var gr_i = []; + this.x=standard_define([2,1.1],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/ConstantVoltage.js b/history/data_structures/ConstantVoltage.js new file mode 100644 index 0000000..add8be1 --- /dev/null +++ b/history/data_structures/ConstantVoltage.js @@ -0,0 +1,27 @@ +function ConstantVoltage () { + + + var V = 0.01; + + var model = scicos_model(); + model.rpar=new ScilabDouble([V]); + model.in1 = new ScilabDouble([1],[model.out=1]); + model.sim = new ScilabString(["ConstantVoltage"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var mo = modelica(); + mo.model = new ScilabString(["ConstantVoltage"]); + mo.inputs = new ScilabString(["p"]); + mo.outputs = new ScilabString(["n"]); + mo.parameters=list(new ScilabString(["V"]),list(V)); + model.equations=mo; + + var exprs = string(V); + + var gr_i = []; + this.x=standard_define([1.5,1.1],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Counter.js b/history/data_structures/Counter.js new file mode 100644 index 0000000..9fcff45 --- /dev/null +++ b/history/data_structures/Counter.js @@ -0,0 +1,25 @@ +function Counter () { + + + var minim = 0; + + var maxim = 2; + + var rule = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["counter"]),new ScilabDouble([4])); + model.evtin = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.dstate = new ScilabDouble([0]); + model.ipar = new ScilabDouble([rule],[maxim],[minim]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[string(minim)],[string(maxim)],[string(rule)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/CurrentSensor.js b/history/data_structures/CurrentSensor.js new file mode 100644 index 0000000..386fa14 --- /dev/null +++ b/history/data_structures/CurrentSensor.js @@ -0,0 +1,24 @@ +function CurrentSensor () { + + + var model = scicos_model(); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1],[,1]); + model.sim = new ScilabString(["CurrentSensor"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["CurrentSensor"]); + mo.inputs = new ScilabString(["p"]); + mo.outputs = new ScilabString(["n";"i"]); + model.equations=mo; + + var exprs = []; + + var gr_i = []; + this.x=standard_define([2,2],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I";"E"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DEADBAND.js b/history/data_structures/DEADBAND.js new file mode 100644 index 0000000..b5c34e3 --- /dev/null +++ b/history/data_structures/DEADBAND.js @@ -0,0 +1,25 @@ +function DEADBAND () { + + + var minp = -.5; + + var maxp = .5; + + var rpar = [[maxp],[minp]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["deadband"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.nzcross = new ScilabDouble([2]); + model.nmode = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.rpar=rpar; + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[string(maxp)],[string(minp)],[string(model.nmode)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DEBUG.js b/history/data_structures/DEBUG.js new file mode 100644 index 0000000..6d610ad --- /dev/null +++ b/history/data_structures/DEBUG.js @@ -0,0 +1,13 @@ +function DEBUG () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["%debug_scicos"]),new ScilabDouble([99])); + model.blocktype = new ScilabString(["d"]); + + var exprs = list("","xcos_debug_gui(flag,block);"); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([8,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DELAYV_f.js b/history/data_structures/DELAYV_f.js new file mode 100644 index 0000000..f262231 --- /dev/null +++ b/history/data_structures/DELAYV_f.js @@ -0,0 +1,29 @@ +function DELAYV_f () { + + + var nin = 1; + + var z0 = zeros(11,1); + + var zz0 = ...colon_operator(z0,1,$-1); + + var T = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["delayv"]),new ScilabDouble([1])); + model.in1 = new ScilabDouble([nin],[1]); + model.out=new ScilabDouble([nin]); + model.evtin = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1],[1]); + model.dstate=z0; + model.rpar=T/(size(zz0,"*")); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([0,-1]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[...colon_operator(string,nin);strcat(string(z0(1,$-1)),";")],[string(T)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DELAY_f.js b/history/data_structures/DELAY_f.js new file mode 100644 index 0000000..9f2ea31 --- /dev/null +++ b/history/data_structures/DELAY_f.js @@ -0,0 +1,72 @@ +function DELAY_f () { + + + var evtdly = EVTDLY_f("define"); + evtdly.graphics.orig = new ScilabDouble([243,296]); + evtdly.graphics.sz = new ScilabDouble([40,40]); + evtdly.graphics.flip = new ScilabBoolean([true]); + evtdly.graphics.exprs = new ScilabString(["0.1";"0"]); + evtdly.graphics.pein = new ScilabDouble([10]); + evtdly.graphics.peout = new ScilabDouble([7]); + evtdly.model.rpar = new ScilabDouble([0.1]); + evtdly.model.firing = new ScilabDouble([0]); + + var register = REGISTER_f("define"); + register.graphics.orig = new ScilabDouble([238,195]); + register.graphics.sz = new ScilabDouble([50,50]); + register.graphics.flip = new ScilabBoolean([true]); + register.graphics.exprs = new ScilabString(["0;0;0;0;0;0;0;0;0;0"]); + register.graphics.pin = new ScilabDouble([6]); + register.graphics.pout = new ScilabDouble([5]); + register.graphics.pein = new ScilabDouble([9]); + + var input_port = IN_f("define"); + input_port.graphics.orig = new ScilabDouble([92,210]); + input_port.graphics.sz = new ScilabDouble([20,20]); + input_port.graphics.flip = new ScilabBoolean([true]); + input_port.graphics.exprs = new ScilabString(["1";"1"]); + input_port.graphics.pout = new ScilabDouble([6]); + input_port.model.ipar = new ScilabDouble([1]); + + var output_port = OUT_f("define"); + output_port.graphics.orig = new ScilabDouble([440,210]); + output_port.graphics.sz = new ScilabDouble([20,20]); + output_port.graphics.flip = new ScilabBoolean([true]); + output_port.graphics.exprs = new ScilabString(["1";"1"]); + output_port.graphics.pin = new ScilabDouble([5]); + output_port.model.ipar = new ScilabDouble([1]); + + var split = CLKSPLIT_f("define"); + split.graphics.orig = new ScilabDouble([263],[271.2]); + split.graphics.pein = new ScilabDouble([7]); + split.graphics.peout = new ScilabDouble([9],[10]); + + var diagram = scicos_diagram(); + diagram.objs.push(input_port); + diagram.objs.push(output_port); + diagram.objs.push(register); + diagram.objs.push(evtdly); + diagram.objs.push(scicos_link({xx: new ScilabDouble([296.6],[440]),yy: new ScilabDouble([220],[220]),from: new ScilabDouble([3,1]),to: new ScilabDouble([2,1])})); + diagram.objs.push(scicos_link({xx: new ScilabDouble([112],[229.4]),yy: new ScilabDouble([220],[220]),from: new ScilabDouble([1,1]),to: new ScilabDouble([3,1])})); + diagram.objs.push(scicos_link({xx: new ScilabDouble([263],[263]),yy: new ScilabDouble([290.3],[271.2]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([4,1]),to: new ScilabDouble([8,1])})); + diagram.objs.push(split); + diagram.objs.push(scicos_link({xx: new ScilabDouble([263],[263]),yy: new ScilabDouble([271.2],[250.7]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([8,1]),to: new ScilabDouble([3,1])})); + diagram.objs.push(scicos_link({xx: new ScilabDouble([263],[308.6],[308.6],[263],[263]),yy: new ScilabDouble([271.2],[271.2],[367],[367],[341.7]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([8,2]),to: new ScilabDouble([4,1])})); + this.x=scicos_block(); + this.x.gui = new ScilabString(["DELAY_f"]); + this.x.graphics.sz = new ScilabDouble([2,2]); + this.x.graphics.gr_i = new ScilabDouble(); + this.x.graphics.pin = new ScilabDouble([0]); + this.x.graphics.pout = new ScilabDouble([0]); + this.x.model.sim = new ScilabString(["csuper"]); + this.x.model.in1 = new ScilabDouble([1]); + this.x.model.out = new ScilabDouble([1]); + this.x.model.blocktype = new ScilabString(["h"]); + this.x.model.dep_ut = new ScilabBoolean([false,false]); + this.x.model.rpar=diagram; + this.x.graphics.in_implicit = new ScilabString(["E"]); + this.x.graphics.in_style = new ScilabString([""]); + this.x.graphics.out_implicit = new ScilabString(["E"]); + this.x.graphics.out_style = new ScilabString([""]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DEMUX.js b/history/data_structures/DEMUX.js new file mode 100644 index 0000000..083b3ec --- /dev/null +++ b/history/data_structures/DEMUX.js @@ -0,0 +1,20 @@ +function DEMUX () { + + + var out = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["multiplex"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([0]); + model.out=-...transpose([1:out]); + model.ipar=new ScilabDouble([out]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = string(out); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([.5,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DEMUX_f.js b/history/data_structures/DEMUX_f.js new file mode 100644 index 0000000..161b4a1 --- /dev/null +++ b/history/data_structures/DEMUX_f.js @@ -0,0 +1,20 @@ +function DEMUX_f () { + + + var out = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["demux"]),new ScilabDouble([1])); + model.in1 = new ScilabDouble([0]); + model.out=-...transpose([1:out]); + model.ipar=new ScilabDouble([out]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = string(out); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([.5,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DERIV.js b/history/data_structures/DERIV.js new file mode 100644 index 0000000..12f3503 --- /dev/null +++ b/history/data_structures/DERIV.js @@ -0,0 +1,16 @@ +function DERIV () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["deriv"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.out = new ScilabDouble([-1]); + model.blocktype = new ScilabString(["x"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = []; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DFLIPFLOP.js b/history/data_structures/DFLIPFLOP.js new file mode 100644 index 0000000..ef30761 --- /dev/null +++ b/history/data_structures/DFLIPFLOP.js @@ -0,0 +1,97 @@ +function DFLIPFLOP () { + + + var scs_m = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["DFLIPFLOP"],tol=[0.0001,0.000001,1.000E-10,100001,0,0],tf=100000,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); + scs_m.objs.push(scicos_block(gui="CONST_m",graphics=scicos_graphics(orig=[109.62561,263.44465],sz=[20;20],flip=%t,theta=0,exprs="int8(0)",pin=[],pout=6,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(new ScilabInteger([0])),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[239.98293,378.2166],sz=[60,60],flip=%t,theta=0,exprs=["1";"1"],pin=29,pout=[],pein=22,peout=[16;44],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=1,intyp=-1,out=[],out2=[],outtyp=1,evtin=1,evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=1,nmode=1,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="LOGICAL_OP",graphics=scicos_graphics(orig=[152.88902,260.24498],sz=[60,40],flip=%t,theta=0,exprs=["2";"1";"5";"0"],pin=[11;39],pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit=["E";"E"],out_implicit="E"),model=scicos_model(sim=list("logicalop_i8",4),in1=[-1;-1],in2=[-2;-2],intyp=[5;5],out=-1,out2=-2,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[1;0],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="SAMPHOLD_m",graphics=scicos_graphics(orig=[233.72156,260.24498],sz=[40,40],flip=%t,theta=0,exprs="5",pin=5,pout=33,pein=42,peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("samphold4_m",4),in1=-1,in2=-2,intyp=5,out=-1,out2=-2,outtyp=5,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([221.46044),yy: new ScilabDouble([280.24498),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([4,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([138.19704),yy: new ScilabDouble([273.44465),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([38,1,1])})); + scs_m.objs.push(scicos_block(gui="LOGICAL_OP",graphics=scicos_graphics(orig=[373.24106,309.46812],sz=[60,40],flip=%t,theta=0,exprs=["1";"5";"5";"0"],pin=36,pout=13,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("logicalop_i8",4),in1=-1,in2=-2,intyp=5,out=-1,out2=-2,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[5;0],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[199.48466,398.2166],sz=[20,20],flip=%t,theta=0,exprs="3",pin=[],pout=9,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=3,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([219.48466),yy: new ScilabDouble([408.2166),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([8,1,0]),to: new ScilabDouble([28,1,1])})); + scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[104.31759,276.91165],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=11,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([124.31759),yy: new ScilabDouble([286.91165),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([10,1,0]),to: new ScilabDouble([3,1,1])})); + scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[457.40928,320.20131],sz=[20,20],flip=%t,theta=0,exprs="2",pin=13,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([441.81249),yy: new ScilabDouble([329.46812),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([7,1,0]),to: new ScilabDouble([12,1,1])})); + scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[376.4669,270.83282],sz=[20,20],flip=%t,theta=0,exprs="1",pin=37,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + + var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title="Untitled",tol=[0.0001,0.000001,1.000E-10,100001,0,0],tf=100000,context=[],void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); + scs_m_1.objs.push(scicos_block(gui="ANDLOG_f",graphics=scicos_graphics(orig=[194,133],sz=[60,60],flip=%t,theta=0,exprs=[],pin=[],pout=9,pein=[4;11],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="andlog",in1=[],in2=[],intyp=1,out=1,out2=[],outtyp=1,evtin=[1;1],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_block(gui="CLKIN_f",graphics=scicos_graphics(orig=[149,287],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=[],peout=4,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=-1,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_block(gui="CLKOUT_f",graphics=scicos_graphics(orig=[450,83],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=8,peout=[],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="output",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([169),yy: new ScilabDouble([297),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1]),to: new ScilabDouble([1,1])})); + scs_m_1.objs.push(scicos_block(gui="CLKIN_f",graphics=scicos_graphics(orig=[141,330],sz=[20,20],flip=%t,theta=0,exprs="2",pin=[],pout=[],pein=[],peout=6,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="d",firing=-1,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([161),yy: new ScilabDouble([340),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([5,1]),to: new ScilabDouble([10,1])})); + scs_m_1.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[331,137],sz=[60,60],flip=%t,theta=0,exprs=["1";"1"],pin=9,pout=[],pein=12,peout=[8;0],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=1,intyp=-1,out=[],out2=[],outtyp=1,evtin=1,evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=1,nmode=1,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([351),yy: new ScilabDouble([131.29),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([7,1]),to: new ScilabDouble([3,1])})); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([262.57),yy: new ScilabDouble([163),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1]),to: new ScilabDouble([7,1])})); + scs_m_1.objs.push(scicos_block(gui="CLKSPLIT_f",graphics=scicos_graphics(orig=[234;275.78348],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=[],pout=[],pein=6,peout=[11;12],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="split",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[%f,%f,%f],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([234),yy: new ScilabDouble([275.78),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([10,1]),to: new ScilabDouble([1,2])})); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([234),yy: new ScilabDouble([275.78),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([10,2]),to: new ScilabDouble([7,1])})); + scs_m.objs.push(scicos_block(gui="ANDBLK",graphics=scicos_graphics(orig=[233.73039,318.74407],sz=[40,40],flip=%t,theta=0,exprs=[],pin=[],pout=[],pein=[19;16],peout=17,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[1;1],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=%f,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([259.98293),yy: new ScilabDouble([372.50232),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([15,2,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([253.73039),yy: new ScilabDouble([313.02978),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([15,1,0]),to: new ScilabDouble([41,1,1])})); + scs_m_1.push(tlist(new ScilabString([600,450,0,0,600,450]),props=scicos_params(wpar=,Title=,tol=,tf=30,context=" ",void1=,options=tlist(,list(%t,new ScilabDouble([33)]),,,list(,),),void2=,void3=,doc=list()))); + scs_m_1.objs.push(scicos_block(gui="EDGETRIGGER",graphics=scicos_graphics(orig=[288.58631,257.1131],sz=[60,40],flip=%t,theta=0,exprs="1",pin=5,pout=3,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("edgetrig",4),in1=1,in2=[],intyp=1,out=1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=0,odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=1,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[388.28869,247.1131],sz=[60,60],flip=%t,theta=0,exprs=["0";"0"],pin=3,pout=[],pein=[],peout=[7;0],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=[],intyp=1,out=[],out2=1,outtyp=[],evtin=[],evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([357.15774),yy: new ScilabDouble([277.1131),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([2,1,1])})); + scs_m_1.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[240.01488,267.1131],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=-1,out=-1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([260.01488),yy: new ScilabDouble([277.1131),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([4,1,0]),to: new ScilabDouble([1,1,1])})); + scs_m_1.objs.push(scicos_block(gui="CLKOUTV_f",graphics=scicos_graphics(orig=[398.28869,181.39881],sz=[20,30],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=7,peout=[],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="output",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([408.28869),yy: new ScilabDouble([241.39881),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([6,1,1])})); + scs_m.objs.push(scicos_block(gui="EDGE_TRIGGER",graphics=scicos_graphics(orig=[133.90637,385.342],sz=[60,40],flip=%t,theta=0,exprs=[],pin=26,pout=[],pein=[],peout=19,gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="csuper",in1=-1,in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([163.90637),yy: new ScilabDouble([379.62771),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([18,1,0]),to: new ScilabDouble([15,1,1])})); + scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[79.594811,395.47647],sz=[20,20],flip=%t,theta=0,exprs="2",pin=[],pout=23,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.push(tlist(new ScilabString([600,450,0,0,600,450]),props=scicos_params(wpar=,Title=,tol=,tf=30,context=" ",void1=,options=tlist(,list(%t,new ScilabDouble([33)]),,,list(,),),void2=,void3=,doc=list()))); + scs_m_1.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[150.65045,143.82208],sz=[60,60],flip=%t,theta=0,exprs=["0";"0"],pin=6,pout=[],pein=[],peout=[3;4],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_block(gui="CLKSOMV_f",graphics=scicos_graphics(orig=[169.82143,96.146231],sz=[16.666667,16.666667],flip=%t,theta=0,exprs=[],pin=[],pout=[],pein=[3;4;0],peout=8,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="sum",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[1;1;1],evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=-1,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([170.65045),yy: new ScilabDouble([138.10779),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([2,1,1])})); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([190.65045),yy: new ScilabDouble([138.10779),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([1,2,0]),to: new ScilabDouble([2,2,1])})); + scs_m_1.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[102.07902,163.82208],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=6,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=-1,out=-1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([122.07902),yy: new ScilabDouble([173.82208),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([5,1,0]),to: new ScilabDouble([1,1,1])})); + scs_m_1.objs.push(scicos_block(gui="CLKOUTV_f",graphics=scicos_graphics(orig=[168.15476,38.527183],sz=[20,30],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=8,peout=[],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="output",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([178.15476),yy: new ScilabDouble([98.527183),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([7,1,1])})); + scs_m.objs.push(scicos_block(gui="Extract_Activation",graphics=scicos_graphics(orig=[239.82193,456.57677],sz=[60,40],flip=%t,theta=0,exprs=[],pin=31,pout=[],pein=[],peout=22,gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="csuper",in1=-1,in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([269.82193),yy: new ScilabDouble([450.86248),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([21,1,0]),to: new ScilabDouble([2,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([99.594811),yy: new ScilabDouble([405.47647),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([20,1,0]),to: new ScilabDouble([25,1,1])})); + scs_m.objs.push(scicos_block(gui="SUM_f",graphics=scicos_graphics(orig=[200.5252,469.13173],sz=[16.666667,16.666667],flip=%t,theta=0,exprs=[],pin=[27;0;30],pout=31,pein=[],peout=[],gr_i=[],id="",in_implicit=["E";"E";"E"],out_implicit="E"),model=scicos_model(sim=list("plusblk",2),in1=[-1;-1;-1],in2=[],intyp=1,out=-1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[110.25582;405.42077],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=23,pout=[26;27],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([110.25582),yy: new ScilabDouble([405.42077),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([25,1,0]),to: new ScilabDouble([18,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([110.25582),yy: new ScilabDouble([405.42077),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([25,2,0]),to: new ScilabDouble([24,1,1])})); + scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[222.54128;408.2166],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=9,pout=[29;30],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([222.54128),yy: new ScilabDouble([408.2166),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([28,1,0]),to: new ScilabDouble([2,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([222.54128),yy: new ScilabDouble([408.2166),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([28,2,0]),to: new ScilabDouble([24,3,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([219.57282),yy: new ScilabDouble([477.46506),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([24,1,0]),to: new ScilabDouble([21,1,1])})); + scs_m.objs.push(scicos_block(gui="SELECT_m",graphics=scicos_graphics(orig=[298.86371,253.57321],sz=[40,40],flip=%t,theta=0,exprs=["5";"2";"1"],pin=[33;40],pout=34,pein=[43;44],peout=[],gr_i=[],id="",in_implicit=["E";"E"],out_implicit="E"),model=scicos_model(sim=list("selector_m",4),in1=[-1;-1],in2=[-2;-2],intyp=[5;5],out=-1,out2=-2,outtyp=5,evtin=[1;1],evtout=[],state=[],dstate=1,odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([282.29299),yy: new ScilabDouble([280.24498),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([4,1,0]),to: new ScilabDouble([32,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([347.43514),yy: new ScilabDouble([273.57321),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([32,1,0]),to: new ScilabDouble([35,1,1])})); + scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[357.57328,280.83282],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=34,pout=[36;37],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([357.57328),yy: new ScilabDouble([280.83282),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([35,1,0]),to: new ScilabDouble([7,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([357.57328),yy: new ScilabDouble([280.83282),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([35,2,0]),to: new ScilabDouble([14,1,1])})); + scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[140.34523;273.49157],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=6,pout=[39;40],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([140.34523),yy: new ScilabDouble([273.49157),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([38,1,0]),to: new ScilabDouble([3,2,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([140.34523),yy: new ScilabDouble([273.49157),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([38,2,0]),to: new ScilabDouble([32,2,1])})); + scs_m.objs.push(scicos_block(gui="CLKSPLIT_f",graphics=scicos_graphics(orig=[253.72572;309.29537],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=[],pout=[],pein=17,peout=[42;43],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="split",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[%f,%f,%f],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([253.72572),yy: new ScilabDouble([309.29537),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([41,1,0]),to: new ScilabDouble([4,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([253.72572),yy: new ScilabDouble([309.29537),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([41,2,0]),to: new ScilabDouble([32,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([279.98293),yy: new ScilabDouble([372.50232),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,2,0]),to: new ScilabDouble([32,2,1])})); + + var model = scicos_model(); + model.sim = new ScilabString(["csuper"]); + model.in1 = new ScilabDouble([1],[1],[1]); + model.in2 = new ScilabDouble([1],[1],[1]); + model.out = new ScilabDouble([1],[1]); + model.out2 = new ScilabDouble([1],[1]); + model.intyp = new ScilabDouble([5,1,1]); + model.outtyp = new ScilabDouble([5,5]); + model.blocktype = new ScilabString(["h"]); + model.firing = new ScilabBoolean([false]); + model.dep_ut = new ScilabBoolean([true,false]); + model.rpar=scs_m; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,3]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DIFF_f.js b/history/data_structures/DIFF_f.js new file mode 100644 index 0000000..18b0711 --- /dev/null +++ b/history/data_structures/DIFF_f.js @@ -0,0 +1,19 @@ +function DIFF_f () { + + + var x0 = [[0],[0]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["diffblk"]),new ScilabDouble([10001])); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.state=new ScilabDouble([x0]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var exprs = [[strcat(sci2exp(x0(1)))],[strcat(sci2exp(x0(2)))]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DLATCH.js b/history/data_structures/DLATCH.js new file mode 100644 index 0000000..f2d9e89 --- /dev/null +++ b/history/data_structures/DLATCH.js @@ -0,0 +1,41 @@ +function DLATCH () { + + + var scs_m = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["DLATCH"],tol=[0.0001,0.000001,1.000E-10,100001,0,0],tf=100000,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); + scs_m.objs.push(scicos_block(gui="CONST_m",graphics=scicos_graphics(orig=[109.62561,263.44465],sz=[20;20],flip=%t,theta=0,exprs="int8(0)",pin=[],pout=7,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(new ScilabInteger([0])),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[233.37693,320.30536],sz=[60,60],flip=%t,theta=0,exprs=["0";"1"],pin=13,pout=[],pein=[],peout=[6;0],gr_i=list(["txt=[''If,in>0'';'','';'',then, , else'']";"xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'');"],8),id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=1,intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=1,nmode=1,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="LOGICAL_OP",graphics=scicos_graphics(orig=[152.88902,260.24498],sz=[60,40],flip=%t,theta=0,exprs=["2";"1";"5";"0"],pin=[15;7],pout=5,pein=[],peout=[],gr_i=list("xstringb(orig(1),orig(2),[''Logical,Op,'';OPER],sz(1),sz(2),''fill'');",8),id="",in_implicit=["E";"E"],out_implicit="E"),model=scicos_model(sim=list("logicalop_i8",4),in1=[-1;-1],in2=[-2;-2],intyp=[5;5],out=-1,out2=-2,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[1;0],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="SAMPHOLD_m",graphics=scicos_graphics(orig=[233.72156,260.24498],sz=[40,40],flip=%t,theta=0,exprs="5",pin=5,pout=9,pein=6,peout=[],gr_i=list("xstringb(orig(1),orig(2),''S/H'',sz(1),sz(2),''fill'')",8),id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("samphold4_m",4),in1=-1,in2=-2,intyp=5,out=-1,out2=-2,outtyp=5,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([221.46044),yy: new ScilabDouble([280.24498),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([4,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([253.37693),yy: new ScilabDouble([314.59108),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([4,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([138.19704),yy: new ScilabDouble([273.44465),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([3,2,1])})); + scs_m.objs.push(scicos_block(gui="LOGICAL_OP",graphics=scicos_graphics(orig=[317.46698,309.46812],sz=[60,40],flip=%t,theta=0,exprs=["1";"5";"5";"0"],pin=11,pout=17,pein=[],peout=[],gr_i=list("xstringb(orig(1),orig(2),[''Logical,Op,'';OPER],sz(1),sz(2),''fill'');",8),id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("logicalop_i8",4),in1=-1,in2=-2,intyp=5,out=-1,out2=-2,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[5;0],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([282.29299),yy: new ScilabDouble([280.24498),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([4,1,0]),to: new ScilabDouble([10,1,1])})); + scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[305.09603,280.83282],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=9,pout=[11;19],pein=[],peout=[],gr_i=list([],8),id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([305.09603),yy: new ScilabDouble([280.83282),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([10,1,0]),to: new ScilabDouble([8,1,1])})); + scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[184.8055,340.30536],sz=[20,20],flip=%t,theta=0,exprs="2",pin=[],pout=13,pein=[],peout=[],gr_i=list(" ",8),id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([204.8055),yy: new ScilabDouble([350.30536),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([12,1,0]),to: new ScilabDouble([2,1,1])})); + scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[104.31759,276.91165],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=15,pein=[],peout=[],gr_i=list(" ",8),id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([124.31759),yy: new ScilabDouble([286.91165),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([14,1,0]),to: new ScilabDouble([3,1,1])})); + scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[406.03841,319.46812],sz=[20,20],flip=%t,theta=0,exprs="2",pin=17,pout=[],pein=[],peout=[],gr_i=list(" ",8),id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([386.03841),yy: new ScilabDouble([329.46812),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([8,1,0]),to: new ScilabDouble([16,1,1])})); + scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[325.09603,270.83282],sz=[20,20],flip=%t,theta=0,exprs="1",pin=19,pout=[],pein=[],peout=[],gr_i=list(" ",8),id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([305.09603),yy: new ScilabDouble([280.83282),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([10,2,0]),to: new ScilabDouble([18,1,1])})); + + var model = scicos_model(); + model.sim = new ScilabString(["csuper"]); + model.in1 = new ScilabDouble([1],[1]); + model.in2 = new ScilabDouble([1],[1]); + model.out = new ScilabDouble([1],[1]); + model.out2 = new ScilabDouble([1],[1]); + model.intyp = new ScilabDouble([5,-1]); + model.outtyp = new ScilabDouble([5,5]); + model.blocktype = new ScilabString(["h"]); + model.firing = new ScilabBoolean([false]); + model.dep_ut = new ScilabBoolean([true,false]); + model.rpar=scs_m; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,3]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DLR.js b/history/data_structures/DLR.js new file mode 100644 index 0000000..a42f9d9 --- /dev/null +++ b/history/data_structures/DLR.js @@ -0,0 +1,29 @@ +function DLR () { + + + var x0 = 0; + + var A = -1; + + var B = 1; + + var C = 1; + + var D = 0; + + var exprs = ["1";"1+z"]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["dsslti4"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.dstate=...x0; + model.rpar = new ScilabDouble([...colon_operator(A,:)],[...B],[C(,)],[...D]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DLRADAPT_f.js b/history/data_structures/DLRADAPT_f.js new file mode 100644 index 0000000..08e7047 --- /dev/null +++ b/history/data_structures/DLRADAPT_f.js @@ -0,0 +1,33 @@ +function DLRADAPT_f () { + + + var p = [[0],[1]]; + + var rn = []; + + var rd = [[0.2+0.8*%i,0.2-0.8*%i],[0.3+0.7*%i,0.3-0.7*%i]]; + + var g = [[1],[1]]; + + var last_u = []; + + var last_y = [[0],[0]]; + + var model = scicos_model(); + model.sim = new ScilabString(["dlradp"]); + model.in1 = new ScilabDouble([1],[1]); + model.out = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.dstate = new ScilabDouble([last_u],[last_y]); + model.rpar = new ScilabDouble([...colon_operator(p,:)],[real(...rn)],[imag(...rn)],[real(...rd)],[imag(rd(,))],[...g]); + model.ipar = new ScilabDouble([0],[2],[2]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(p)],[sci2exp(rn)],[sci2exp(rd,0)],[sci2exp(g)],[sci2exp(last_u)],[sci2exp(last_y)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DLSS.js b/history/data_structures/DLSS.js new file mode 100644 index 0000000..e946ae2 --- /dev/null +++ b/history/data_structures/DLSS.js @@ -0,0 +1,29 @@ +function DLSS () { + + + var x0 = 0; + + var A = -1; + + var B = 1; + + var C = 1; + + var D = 0; + + var model = scicos_model(); + model.sim=list(new ScilabString(["dsslti4"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.dstate=...x0; + model.rpar = new ScilabDouble([...colon_operator(A,:)],[...B],[C(,)],[...D]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DOLLAR.js b/history/data_structures/DOLLAR.js new file mode 100644 index 0000000..b88da24 --- /dev/null +++ b/history/data_structures/DOLLAR.js @@ -0,0 +1,24 @@ +function DOLLAR () { + + + var z = 0; + + var inh = 0; + + var in1 = 1; + + var exprs = string([z],[inh]); + + var model = scicos_model(); + model.sim=list(new ScilabString(["dollar4"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([in1])); + model.out=new ScilabDouble([in1]); + model.evtin = new ScilabDouble([1-inh]); + model.dstate=new ScilabDouble([z]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DOLLAR_f.js b/history/data_structures/DOLLAR_f.js new file mode 100644 index 0000000..19d03d4 --- /dev/null +++ b/history/data_structures/DOLLAR_f.js @@ -0,0 +1,24 @@ +function DOLLAR_f () { + + + var z = 0; + + var inh = 0; + + var in1 = 1; + + var exprs = string([z],[inh]); + + var model = scicos_model(); + model.sim = new ScilabString(["dollar"]); + model.in1.push(new ScilabDouble([in1])); + model.out=new ScilabDouble([in1]); + model.evtin = new ScilabDouble([1-inh]); + model.dstate=new ScilabDouble([z]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/DOLLAR_m.js b/history/data_structures/DOLLAR_m.js new file mode 100644 index 0000000..155f35b --- /dev/null +++ b/history/data_structures/DOLLAR_m.js @@ -0,0 +1,24 @@ +function DOLLAR_m () { + + + var z = 0; + + var inh = 0; + + var in1 = 1; + + var exprs = string([z],[inh]); + + var model = scicos_model(); + model.sim=list(new ScilabString(["dollar4"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([in1])); + model.out=new ScilabDouble([in1]); + model.evtin = new ScilabDouble([1-inh]); + model.dstate=new ScilabDouble([z]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Diode.js b/history/data_structures/Diode.js new file mode 100644 index 0000000..3c2d979 --- /dev/null +++ b/history/data_structures/Diode.js @@ -0,0 +1,34 @@ +function Diode () { + + + var Ids = 1.e-6; + + var Vt = 0.04; + + var Maxexp = 15; + + var R = 1.e8; + + var model = scicos_model(); + model.rpar = new ScilabDouble([Ids],[Vt],[Maxexp],[R]); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.sim = new ScilabString(["Diode"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["Diode"]); + mo.inputs = new ScilabString(["p"]); + mo.outputs = new ScilabString(["n"]); + mo.parameters=list(new ScilabString(["Ids"),new ScilabString(["Vt"]),new ScilabString(["Maxexp"]),new ScilabString(["R"]]),list(Ids,Vt,Maxexp,R)); + model.equations=mo; + + var exprs = string([Ids],[Vt],[Maxexp],[R]); + + var gr_i = []; + this.x=standard_define([2,1],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/EDGE_TRIGGER.js b/history/data_structures/EDGE_TRIGGER.js new file mode 100644 index 0000000..0ca790b --- /dev/null +++ b/history/data_structures/EDGE_TRIGGER.js @@ -0,0 +1,87 @@ +function EDGE_TRIGGER () { + + + var scs_m_1 = scicos_diagram(); + scs_m_1.objs.push(EDGETRIGGER("define")); + scs_m_1.objs.push(IFTHEL_f("define")); + scs_m_1.objs.push(IN_f("define")); + scs_m_1.objs.push(CLKOUTV_f("define")); + scs_m_1.objs.push(scicos_link({})); + scs_m_1.objs.push(scicos_link({})); + scs_m_1.objs.push(scicos_link({})); + + var blk = scs_m_1.objs(1); + + var graphics = blk.graphics; + + var model = blk.model; + graphics.orig = new ScilabDouble([60,0]); + graphics.sz = new ScilabDouble([60,40]); + graphics.exprs = new ScilabString(["0"]); + model.ipar = new ScilabDouble([0]); + graphics.pin = new ScilabDouble([5]); + graphics.pout = new ScilabDouble([6]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + blk=scs_m_1.objs(2); + graphics=blk.graphics; + model=blk.model; + graphics.orig = new ScilabDouble([160,0]); + graphics.sz = new ScilabDouble([60,40]); + graphics.exprs = new ScilabString(["0";"0"]); + model.evtin = new ScilabDouble(); + model.nzcross = new ScilabDouble([0]); + model.nmode = new ScilabDouble([0]); + graphics.pin = new ScilabDouble([6]); + graphics.peout = new ScilabDouble([7],[0]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + blk=scs_m_1.objs(3); + graphics=blk.graphics; + model=blk.model; + graphics.orig = new ScilabDouble([0,10]); + graphics.sz = new ScilabDouble([20,20]); + graphics.exprs = new ScilabString(["1"]); + model.ipar = new ScilabDouble([1]); + graphics.pout = new ScilabDouble([5]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + blk=scs_m_1.objs(4); + graphics=blk.graphics; + model=blk.model; + graphics.orig = new ScilabDouble([170,-60]); + graphics.sz = new ScilabDouble([20,20]); + graphics.exprs = new ScilabString(["1"]); + model.ipar = new ScilabDouble([1]); + graphics.pein = new ScilabDouble([7]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + + var lnk = scs_m_1.objs(5); + lnk.from = new ScilabDouble([3,1,0]); + lnk.to = new ScilabDouble([1,1,1]); + scs_m_1.objs.push(lnk); + lnk=scs_m_1.objs(6); + lnk.from = new ScilabDouble([1,1,0]); + lnk.to = new ScilabDouble([2,1,1]); + scs_m_1.objs.push(lnk); + lnk=scs_m_1.objs(7); + lnk.ct = new ScilabDouble([5,-1]); + lnk.from = new ScilabDouble([2,1,0]); + lnk.to = new ScilabDouble([4,1,1]); + scs_m_1.objs.push(lnk); + clear blk lnk + model=scicos_model(); + model.sim = new ScilabString(["csuper"]); + model.in1 = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1]); + model.rpar=scs_m_1; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/ENDBLK.js b/history/data_structures/ENDBLK.js new file mode 100644 index 0000000..cc253ef --- /dev/null +++ b/history/data_structures/ENDBLK.js @@ -0,0 +1,13 @@ +function ENDBLK () { + + + var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[-159.096,811.104,-121.216,617.984,1323,1008,331,284,630,480,0,7,1.4],Title="ENDBLK",tol=[0.0001,0.000001,1.000E-10,100001,0,0],tf=100000,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); + scs_m_1.objs.push(scicos_block(gui="END_c",graphics=scicos_graphics(orig=[272.104,249.11733],sz=[40,40],flip=%t,theta=0,exprs="1.000E+08",pin=[],pout=[],pein=2,peout=2,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim=list("scicosexit",4),in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=1.000E+08,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([292.104),yy: new ScilabDouble([243.40305),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([1,1,1])})); + + var model = scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/END_c.js b/history/data_structures/END_c.js new file mode 100644 index 0000000..027d6ca --- /dev/null +++ b/history/data_structures/END_c.js @@ -0,0 +1,19 @@ +function END_c () { + + + var tf = 100000000; + + var model = scicos_model(); + model.sim=list(new ScilabString(["scicosexit"]),new ScilabDouble([4])); + model.evtin = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1]); + model.firing=new ScilabDouble([tf]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = string(tf); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/ESELECT_f.js b/history/data_structures/ESELECT_f.js new file mode 100644 index 0000000..7831538 --- /dev/null +++ b/history/data_structures/ESELECT_f.js @@ -0,0 +1,24 @@ +function ESELECT_f () { + + + var out = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["eselect"]),new ScilabDouble([-2])); + model.in1 = new ScilabDouble([1]); + model.in2 = new ScilabDouble([1]); + model.intyp = new ScilabDouble([-1]); + model.evtin = new ScilabDouble([1]); + model.evtout=ones(out,1); + model.blocktype = new ScilabString(["l"]); + model.firing=-ones(out,1); + model.dep_ut = new ScilabBoolean([true,false]); + model.nmode = new ScilabDouble([0]); + model.nzcross = new ScilabDouble([0]); + + var gr_i = []; + + var exprs = [[string(out)],[string(1)],[string(model.nmode)]]; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/EVTDLY_c.js b/history/data_structures/EVTDLY_c.js new file mode 100644 index 0000000..7ada20f --- /dev/null +++ b/history/data_structures/EVTDLY_c.js @@ -0,0 +1,22 @@ +function EVTDLY_c () { + + + var dt = 0.1; + + var ff = 0.0; + + var model = scicos_model(); + model.sim=list(new ScilabString(["evtdly4"]),new ScilabDouble([4])); + model.evtin = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1]); + model.rpar = new ScilabDouble([dt],[ff]); + model.blocktype = new ScilabString(["d"]); + model.firing=new ScilabDouble([ff]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[string(dt)],[sci2exp(ff)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/EVTGEN_f.js b/history/data_structures/EVTGEN_f.js new file mode 100644 index 0000000..dc7754e --- /dev/null +++ b/history/data_structures/EVTGEN_f.js @@ -0,0 +1,18 @@ +function EVTGEN_f () { + + + var tt = 0; + + var model = scicos_model(); + model.sim = new ScilabString(["trash"]); + model.evtout = new ScilabDouble([1]); + model.blocktype = new ScilabString(["d"]); + model.firing=new ScilabDouble([tt]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = string(tt); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/EVTVARDLY.js b/history/data_structures/EVTVARDLY.js new file mode 100644 index 0000000..075c318 --- /dev/null +++ b/history/data_structures/EVTVARDLY.js @@ -0,0 +1,19 @@ +function EVTVARDLY () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["evtvardly"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([-1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = string(model.firing); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/EXPBLK_m.js b/history/data_structures/EXPBLK_m.js new file mode 100644 index 0000000..7cfd9af --- /dev/null +++ b/history/data_structures/EXPBLK_m.js @@ -0,0 +1,25 @@ +function EXPBLK_m () { + + + var in1 = 1; + + var a = %e; + + var model = scicos_model(); + model.sim=list(new ScilabString(["expblk_m"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.rpar=new ScilabBoolean([a]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = ["%e"]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/EXPRESSION.js b/history/data_structures/EXPRESSION.js new file mode 100644 index 0000000..aad864c --- /dev/null +++ b/history/data_structures/EXPRESSION.js @@ -0,0 +1,28 @@ +function EXPRESSION () { + + + var in1 = [[1],[1]]; + + var out = 1; + + var txt = "(u1>0)*sin(u2)^2"; + deff("%foo(u1,u2)",txt) + + var [%ok1,ipar,rpar,nz] = compile_expr(%foo); + + var model = scicos_model(); + model.sim=list(new ScilabString(["evaluate_expr"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([in1])); + model.out=new ScilabDouble([out]); + model.rpar=rpar; + model.ipar=ipar; + model.nzcross=nz; + model.nmode=nz; + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [string(size(in1,"*"));txt;"1"]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([5,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/EXTRACT.js b/history/data_structures/EXTRACT.js new file mode 100644 index 0000000..71f82b7 --- /dev/null +++ b/history/data_structures/EXTRACT.js @@ -0,0 +1,31 @@ +function EXTRACT () { + + + var model = scicos_model(); + + var function_name = "extract"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble([1,1,1,1]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [[sci2exp(1)],[sci2exp([1])],[sci2exp([1])]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/EXTRACTBITS.js b/history/data_structures/EXTRACTBITS.js new file mode 100644 index 0000000..a7e621b --- /dev/null +++ b/history/data_structures/EXTRACTBITS.js @@ -0,0 +1,23 @@ +function EXTRACTBITS () { + + + var numb = []; + + var model = scicos_model(); + model.sim=list(new ScilabString(["extract_bit_32_UH0"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.in2 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.intyp = new ScilabDouble([3]); + model.outtyp = new ScilabDouble([3]); + model.ipar = new ScilabDouble([0,numb]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(3)],[sci2exp(1)],[sci2exp(0)],[sci2exp(0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/EXTRACTOR.js b/history/data_structures/EXTRACTOR.js new file mode 100644 index 0000000..fe8472d --- /dev/null +++ b/history/data_structures/EXTRACTOR.js @@ -0,0 +1,19 @@ +function EXTRACTOR () { + + + var ind = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["extractor"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.out = new ScilabDouble([1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + model.ipar=new ScilabDouble([ind]); + + var exprs = [sci2exp(ind)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/EXTTRI.js b/history/data_structures/EXTTRI.js new file mode 100644 index 0000000..5702134 --- /dev/null +++ b/history/data_structures/EXTTRI.js @@ -0,0 +1,31 @@ +function EXTTRI () { + + + var model = scicos_model(); + + var function_name = "extrilz"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [[sci2exp(1)],[sci2exp(1)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Extract_Activation.js b/history/data_structures/Extract_Activation.js new file mode 100644 index 0000000..ed98bf4 --- /dev/null +++ b/history/data_structures/Extract_Activation.js @@ -0,0 +1,92 @@ +function Extract_Activation () { + + + var scs_m_1 = scicos_diagram(); + scs_m_1.objs.push(IFTHEL_f("define")); + scs_m_1.objs.push(CLKSOMV_f("define")); + scs_m_1.objs.push(IN_f("define")); + scs_m_1.objs.push(CLKOUTV_f("define")); + scs_m_1.objs.push(scicos_link({})); + scs_m_1.objs.push(scicos_link({})); + scs_m_1.objs.push(scicos_link({})); + scs_m_1.objs.push(scicos_link({})); + + var blk = scs_m_1.objs(1); + + var graphics = blk.graphics; + + var model = blk.model; + graphics.orig = new ScilabDouble([80,0]); + graphics.sz = new ScilabDouble([60,40]); + graphics.exprs = new ScilabString(["0";"0"]); + model.evtin = new ScilabDouble(); + model.nzcross = new ScilabDouble([0]); + model.nmode = new ScilabDouble([0]); + graphics.pin = new ScilabDouble([7]); + graphics.peout = new ScilabDouble([5],[6]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + blk=scs_m_1.objs(2); + graphics=blk.graphics; + model=blk.model; + graphics.orig = new ScilabDouble([80,-80]); + graphics.sz = new ScilabDouble([80,40]); + graphics.pein = new ScilabDouble([5],[6]); + graphics.peout = new ScilabDouble([8]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + blk=scs_m_1.objs(3); + graphics=blk.graphics; + model=blk.model; + graphics.orig = new ScilabDouble([0,10]); + graphics.sz = new ScilabDouble([20,20]); + graphics.exprs = new ScilabString(["1"]); + model.ipar = new ScilabDouble([1]); + graphics.pout = new ScilabDouble([7]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + blk=scs_m_1.objs(4); + graphics=blk.graphics; + model=blk.model; + graphics.orig = new ScilabDouble([110,-140]); + graphics.sz = new ScilabDouble([20,20]); + graphics.exprs = new ScilabString(["1"]); + model.ipar = new ScilabDouble([1]); + graphics.pein = new ScilabDouble([8]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + + var lnk = scs_m_1.objs(5); + lnk.ct = new ScilabDouble([5,-1]); + lnk.from = new ScilabDouble([1,1,0]); + lnk.to = new ScilabDouble([2,1,1]); + scs_m_1.objs.push(lnk); + lnk=scs_m_1.objs(6); + lnk.ct = new ScilabDouble([5,-1]); + lnk.from = new ScilabDouble([1,2,0]); + lnk.to = new ScilabDouble([2,2,1]); + scs_m_1.objs.push(lnk); + lnk=scs_m_1.objs(7); + lnk.from = new ScilabDouble([3,1,0]); + lnk.to = new ScilabDouble([1,1,1]); + scs_m_1.objs.push(lnk); + lnk=scs_m_1.objs(8); + lnk.ct = new ScilabDouble([5,-1]); + lnk.from = new ScilabDouble([2,1,0]); + lnk.to = new ScilabDouble([4,1,1]); + scs_m_1.objs.push(lnk); + clear blk lnk + model=scicos_model(); + model.sim = new ScilabString(["csuper"]); + model.in1 = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1]); + model.rpar=scs_m_1; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/FROM.js b/history/data_structures/FROM.js new file mode 100644 index 0000000..5a5a591 --- /dev/null +++ b/history/data_structures/FROM.js @@ -0,0 +1,23 @@ +function FROM () { + + + var model = scicos_model(); + model.sim = new ScilabString(["from"]); + model.in1 = new ScilabDouble(); + model.in2 = new ScilabDouble(); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([-1]); + model.ipar = new ScilabDouble(); + model.opar=list("A"); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = ["A"]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,1]),model,exprs,gr_i); + this.x.graphics.id = new ScilabString(["From"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/FROMMO.js b/history/data_structures/FROMMO.js new file mode 100644 index 0000000..e8573de --- /dev/null +++ b/history/data_structures/FROMMO.js @@ -0,0 +1,27 @@ +function FROMMO () { + + + var model = scicos_model(); + model.sim = new ScilabString(["frommo"]); + model.in1 = new ScilabDouble(); + model.in2 = new ScilabDouble(); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([-1]); + model.ipar = new ScilabDouble(); + model.opar=list("A"); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var mo = modelica(); + mo.model = new ScilabString(["frommo"]); + mo.outputs = new ScilabString(["n"]); + + var exprs = ["A"]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,1]),model,exprs,gr_i); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/FROMWSB.js b/history/data_structures/FROMWSB.js new file mode 100644 index 0000000..a610e91 --- /dev/null +++ b/history/data_structures/FROMWSB.js @@ -0,0 +1,15 @@ +function FROMWSB () { + + + var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[-159.096,811.104,-121.216,617.984,1323,1008,331,284,630,480,1426,231,1.4],Title="FROMWSB",tol=[0.0001,0.000001,1.000D-10,100001,0,0],tf=100000,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); + scs_m_1.objs.push(scicos_block(gui="FROMWS_c",graphics=scicos_graphics(orig=[260.37067,261.584],sz=[70,40],flip=%t,theta=0,exprs=["V";"1";"1";"0"],pin=[],pout=4,pein=2,peout=2,gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("fromws_c",4),in1=[],in2=[],intyp=1,out=-1,out2=-2,outtyp=-1,evtin=1,evtout=1,state=[],dstate=[],odstate=list(),rpar=[],ipar=[1;-31;1;1;0],opar=list(),blocktype="d",firing=0,dep_ut=[%f,%t],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([295.37067),yy: new ScilabDouble([255.86971),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([1,1,1])})); + scs_m_1.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[358.9421,271.584],sz=[20,20],flip=%t,theta=0,exprs="1",pin=4,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=-2,intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([338.9421),yy: new ScilabDouble([281.584),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([3,1,1])})); + + var model = scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([5,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Flowmeter.js b/history/data_structures/Flowmeter.js new file mode 100644 index 0000000..b17778b --- /dev/null +++ b/history/data_structures/Flowmeter.js @@ -0,0 +1,30 @@ +function Flowmeter () { + + + var ModelName = "Flowmeter"; + + var PrametersValue = 1; + + var ParametersName = "Qini"; + + var model = scicos_model(); + + var Typein = []; + + var Typeout = []; + + var MI = []; + + var MO = []; + + var P = [[50,105,-1,90],[0,10,2,0],[101,10,-2,0]]; + + var PortName = ["Mesure";"C1";"C2"]; + + var for i = 1:size(P,"r"); + + var if P(i,3) = =1, then; + Typein = new ScilabDouble([Typein;,"E"]); + MI = new ScilabDouble([MI],[PortName(i)]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/GAINBLK.js b/history/data_structures/GAINBLK.js new file mode 100644 index 0000000..c16da52 --- /dev/null +++ b/history/data_structures/GAINBLK.js @@ -0,0 +1,25 @@ +function GAINBLK () { + + + var gain = 1; + + var in1 = -1],[out=-1; + + var in2 = -2],[out2=-2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["gainblk"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([in1])); + model.out=out; + model.in2.push(new ScilabDouble([in2])); + model.out2.push(out2); + model.rpar=new ScilabDouble([gain]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [strcat(sci2exp(gain))]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/GAINBLK_f.js b/history/data_structures/GAINBLK_f.js new file mode 100644 index 0000000..bb31112 --- /dev/null +++ b/history/data_structures/GAINBLK_f.js @@ -0,0 +1,21 @@ +function GAINBLK_f () { + + + var gain = 1; + + var in1 = 1],[out=1; + + var model = scicos_model(); + model.sim = new ScilabString(["gain"]); + model.in1.push(new ScilabDouble([in1])); + model.out=out; + model.rpar=new ScilabDouble([gain]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [strcat(sci2exp(gain))]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/GAIN_f.js b/history/data_structures/GAIN_f.js new file mode 100644 index 0000000..0b78d54 --- /dev/null +++ b/history/data_structures/GAIN_f.js @@ -0,0 +1,19 @@ +function GAIN_f () { + + + var gain = 1],[in1=1],[out=1; + + var model = scicos_model(); + model.sim = new ScilabString(["gain"]); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.rpar=new ScilabDouble([gain]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[strcat(sci2exp(gain))],[strcat(sci2exp(in1))],[strcat(sci2exp(out))]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/GENERAL_f.js b/history/data_structures/GENERAL_f.js new file mode 100644 index 0000000..1db91b0 --- /dev/null +++ b/history/data_structures/GENERAL_f.js @@ -0,0 +1,25 @@ +function GENERAL_f () { + + + var rpar = [[0],[0],[0],[0]]; + + var in1 = 1; + + var out = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["zcross"]),new ScilabDouble([1])); + model.nzcross=new ScilabDouble([in1]); + model.in1.push(new ScilabDouble([in1])); + model.evtout=ones(out,1); + model.rpar = new ScilabDouble([0],[0],[0],[0]); + model.blocktype = new ScilabString(["z"]); + model.firing=-ones(out,1); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[strcat(sci2exp(in1))],[strcat(sci2exp(out))]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/GENSIN_f.js b/history/data_structures/GENSIN_f.js new file mode 100644 index 0000000..13638df --- /dev/null +++ b/history/data_structures/GENSIN_f.js @@ -0,0 +1,21 @@ +function GENSIN_f () { + + + var rpar = [[1],[1],[0]]; + + var model = scicos_model(); + model.sim = new ScilabString(["gensin"]); + model.in1 = new ScilabDouble(); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.rpar = new ScilabDouble([1],[1],[0]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var exprs = [[string(rpar(1))],[string(rpar(2))],[string(rpar(3))]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/GENSQR_f.js b/history/data_structures/GENSQR_f.js new file mode 100644 index 0000000..e4d52e1 --- /dev/null +++ b/history/data_structures/GENSQR_f.js @@ -0,0 +1,21 @@ +function GENSQR_f () { + + + var Amplitude = 1; + + var model = scicos_model(); + model.sim = new ScilabString(["gensqr"]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.dstate=new ScilabDouble([Amplitude]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = string(Amplitude); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/GOTO.js b/history/data_structures/GOTO.js new file mode 100644 index 0000000..9c0c19b --- /dev/null +++ b/history/data_structures/GOTO.js @@ -0,0 +1,23 @@ +function GOTO () { + + + var model = scicos_model(); + model.sim = new ScilabString(["goto"]); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([-1]); + model.out = new ScilabDouble(); + model.out2 = new ScilabDouble(); + model.outtyp = new ScilabDouble([1]); + model.ipar=int(1); + model.opar=list("A"); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [["A"],[sci2exp(1)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,1]),model,exprs,gr_i); + this.x.graphics.id = new ScilabString(["Goto"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/GOTOMO.js b/history/data_structures/GOTOMO.js new file mode 100644 index 0000000..70a1907 --- /dev/null +++ b/history/data_structures/GOTOMO.js @@ -0,0 +1,27 @@ +function GOTOMO () { + + + var model = scicos_model(); + model.sim = new ScilabString(["gotomo"]); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble(); + model.out = new ScilabDouble(); + model.out2 = new ScilabDouble(); + model.outtyp = new ScilabDouble([1]); + model.ipar=int(1); + model.opar=list("A"); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var mo = modelica(); + mo.model = new ScilabString(["gotomo"]); + mo.inputs = new ScilabString(["p"]); + + var exprs = [["A"],[sci2exp(1)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,1]),model,exprs,gr_i); + this.x.graphics.in_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/GotoTagVisibility.js b/history/data_structures/GotoTagVisibility.js new file mode 100644 index 0000000..27c4d72 --- /dev/null +++ b/history/data_structures/GotoTagVisibility.js @@ -0,0 +1,23 @@ +function GotoTagVisibility () { + + + var model = scicos_model(); + model.sim = new ScilabString(["gototagvisibility"]); + model.in1 = new ScilabDouble(); + model.in2 = new ScilabDouble(); + model.out = new ScilabDouble(); + model.out2 = new ScilabDouble(); + model.evtin = new ScilabDouble(); + model.intyp = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.opar=list("A"); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabBoolean([false]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = "A"; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/GotoTagVisibilityMO.js b/history/data_structures/GotoTagVisibilityMO.js new file mode 100644 index 0000000..8ede428 --- /dev/null +++ b/history/data_structures/GotoTagVisibilityMO.js @@ -0,0 +1,23 @@ +function GotoTagVisibilityMO () { + + + var model = scicos_model(); + model.sim = new ScilabString(["gototagvisibilitymo"]); + model.in1 = new ScilabDouble(); + model.in2 = new ScilabDouble(); + model.out = new ScilabDouble(); + model.out2 = new ScilabDouble(); + model.evtin = new ScilabDouble(); + model.intyp = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.opar=list("A"); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabBoolean([false]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = "A"; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Ground.js b/history/data_structures/Ground.js new file mode 100644 index 0000000..53c0d1a --- /dev/null +++ b/history/data_structures/Ground.js @@ -0,0 +1,23 @@ +function Ground () { + + + var model = scicos_model(); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble(); + model.sim = new ScilabString(["Ground"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["Ground"]); + mo.inputs = new ScilabString(["p"]); + model.equations=mo; + + var exprs = ""; + + var gr_i = []; + this.x=standard_define([1,1],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new GroundBlock(this.x) +} diff --git a/history/data_structures/Gyrator.js b/history/data_structures/Gyrator.js new file mode 100644 index 0000000..6e9b7a9 --- /dev/null +++ b/history/data_structures/Gyrator.js @@ -0,0 +1,30 @@ +function Gyrator () { + + + var ModelName = "Gyrator"; + + var PrametersValue = [[1],[1]]; + + var ParametersName = ["G1";"G2"]; + + var model = scicos_model(); + + var Typein = []; + + var Typeout = []; + + var MI = []; + + var MO = []; + + var P = [[2.5,90,2,0],[2.5,10,2,0],[97.5,90,-2,0],[97.5,10,-2,0]]; + + var PortName = ["p1";"n1";"p2";"n2"]; + + var for i = 1:size(P,"r"); + + var if P(i,3) = =1, then; + Typein = new ScilabDouble([Typein;,"E"]); + MI = new ScilabDouble([MI],[PortName(i)]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/HALT_f.js b/history/data_structures/HALT_f.js new file mode 100644 index 0000000..7199f8c --- /dev/null +++ b/history/data_structures/HALT_f.js @@ -0,0 +1,19 @@ +function HALT_f () { + + + var n = 0; + + var model = scicos_model(); + model.sim = new ScilabString(["hltblk"]); + model.evtin = new ScilabDouble([1]); + model.dstate = new ScilabDouble([0]); + model.ipar = new ScilabDouble([0]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = string(n); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/HYSTHERESIS.js b/history/data_structures/HYSTHERESIS.js new file mode 100644 index 0000000..22f72d0 --- /dev/null +++ b/history/data_structures/HYSTHERESIS.js @@ -0,0 +1,27 @@ +function HYSTHERESIS () { + + + var in1 = 1; + + var ipar = [0]; + + var nzz = 2; + + var rpar = [[1],[0],[1],[0]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["hystheresis"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([in1])); + model.out = new ScilabDouble([1]); + model.rpar=new ScilabDouble([rpar]); + model.nzcross=new ScilabDouble([nzz]); + model.nmode = new ScilabDouble([1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[string(rpar)],[string(sign(nzz))]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/IFTHEL_f.js b/history/data_structures/IFTHEL_f.js new file mode 100644 index 0000000..5830a9d --- /dev/null +++ b/history/data_structures/IFTHEL_f.js @@ -0,0 +1,22 @@ +function IFTHEL_f () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["ifthel"]),new ScilabDouble([-1])); + model.in1 = new ScilabDouble([1]); + model.in2 = new ScilabDouble([1]); + model.intyp = new ScilabDouble([-1]); + model.evtin = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1],[1]); + model.blocktype = new ScilabString(["l"]); + model.firing = new ScilabDouble([-1,-1]); + model.dep_ut = new ScilabBoolean([true,false]); + model.nmode = new ScilabDouble([1]); + model.nzcross = new ScilabDouble([1]); + + var gr_i = []; + + var exprs = [[string(model.in1)],[string(model.nmode)]]; + this.x=new standard_define(new ScilabDouble([3,3]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/INIMPL_f.js b/history/data_structures/INIMPL_f.js new file mode 100644 index 0000000..968ebb3 --- /dev/null +++ b/history/data_structures/INIMPL_f.js @@ -0,0 +1,25 @@ +function INIMPL_f () { + + + var model = scicos_model(); + model.sim = new ScilabString(["inimpl"]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([1]); + model.ipar = new ScilabDouble([1]); + model.dep_ut = new ScilabBoolean([false,false]); + model.blocktype = new ScilabString(["c"]); + + var mo = modelica(); + mo.model = new ScilabString(["PORT"]); + mo.outputs = new ScilabString(["n"]); + model.equations=mo; + + var prt = 1; + + var exprs = "1"; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new ImplicitInBlock(this.x) +} diff --git a/history/data_structures/INTEGRAL_f.js b/history/data_structures/INTEGRAL_f.js new file mode 100644 index 0000000..70589f4 --- /dev/null +++ b/history/data_structures/INTEGRAL_f.js @@ -0,0 +1,19 @@ +function INTEGRAL_f () { + + + var x0 = 0; + + var model = scicos_model(); + model.sim = new ScilabString(["integr"]); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.state=new ScilabDouble([x0]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var exprs = strcat(sci2exp(x0)); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/INTEGRAL_m.js b/history/data_structures/INTEGRAL_m.js new file mode 100644 index 0000000..1606b27 --- /dev/null +++ b/history/data_structures/INTEGRAL_m.js @@ -0,0 +1,26 @@ +function INTEGRAL_m () { + + + var maxp = 1; + + var minp = -1; + + var rpar = []; + + var model = scicos_model(); + model.state = new ScilabDouble([0]); + model.sim=list(new ScilabString(["integral_func"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.in2 = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.rpar=rpar; + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var exprs = string([0],[0],[0],[maxp],[minp]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/INTMUL.js b/history/data_structures/INTMUL.js new file mode 100644 index 0000000..b741d3e --- /dev/null +++ b/history/data_structures/INTMUL.js @@ -0,0 +1,24 @@ +function INTMUL () { + + + var sgn = 0; + + var model = scicos_model(); + model.sim=list(new ScilabString(["matmul_i32"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1],[-2]); + model.out = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2],[-3]); + model.out2 = new ScilabDouble([-3]); + model.intyp = new ScilabDouble([3,3]); + model.outtyp = new ScilabDouble([3]); + model.rpar = new ScilabDouble(); + model.ipar=new ScilabDouble([sgn]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(3)],[sci2exp(0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/INTRP2BLK_f.js b/history/data_structures/INTRP2BLK_f.js new file mode 100644 index 0000000..a70bdec --- /dev/null +++ b/history/data_structures/INTRP2BLK_f.js @@ -0,0 +1,24 @@ +function INTRP2BLK_f () { + + + var a = [[0],[1]]; + + var b = [[0],[1]]; + + var c = [[0,1],[1,2]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["intrp2"]),new ScilabDouble([1])); + model.in1 = new ScilabDouble([1],[1]); + model.out = new ScilabDouble([1]); + model.rpar = new ScilabDouble([a],[b],[...c]); + model.ipar = new ScilabDouble([2],[2]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[strcat(sci2exp(a))],[strcat(sci2exp(b))],[strcat(sci2exp(c,0))]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/INTRPLBLK_f.js b/history/data_structures/INTRPLBLK_f.js new file mode 100644 index 0000000..4cfc3f4 --- /dev/null +++ b/history/data_structures/INTRPLBLK_f.js @@ -0,0 +1,21 @@ +function INTRPLBLK_f () { + + + var a = [[0],[1]]; + + var b = [[0],[1]]; + + var model = scicos_model(); + model.sim = new ScilabString(["intrpl"]); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.rpar = new ScilabDouble([a],[b]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[strcat(sci2exp(a))],[strcat(sci2exp(b))]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/INVBLK.js b/history/data_structures/INVBLK.js new file mode 100644 index 0000000..f99b5c7 --- /dev/null +++ b/history/data_structures/INVBLK.js @@ -0,0 +1,18 @@ +function INVBLK () { + + + var in1 = -1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["invblk4"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([in1])); + model.out=new ScilabDouble([in1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = " "; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/IN_f.js b/history/data_structures/IN_f.js new file mode 100644 index 0000000..8b39f0b --- /dev/null +++ b/history/data_structures/IN_f.js @@ -0,0 +1,20 @@ +function IN_f () { + + + var prt = 1; + + var model = scicos_model(); + model.sim = new ScilabString(["input"]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([-1]); + model.ipar=new ScilabDouble([prt]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = sci2exp(prt); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); + return new ExplicitInBlock(this.x) +} diff --git a/history/data_structures/ISELECT_m.js b/history/data_structures/ISELECT_m.js new file mode 100644 index 0000000..63322de --- /dev/null +++ b/history/data_structures/ISELECT_m.js @@ -0,0 +1,31 @@ +function ISELECT_m () { + + + var z0 = 1; + + var nout = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["selector_m"]),new ScilabDouble([4])); + model.out = new ScilabDouble([-1],[-1]); + model.out2 = new ScilabDouble([-2],[-2]); + model.outtyp = new ScilabDouble([1]); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.firing = new ScilabDouble(); + model.evtin=ones(nout,1); + model.dstate=new ScilabDouble([z0]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(1)],[sci2exp(nout)],[sci2exp(z0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/IdealTransformer.js b/history/data_structures/IdealTransformer.js new file mode 100644 index 0000000..54d38f7 --- /dev/null +++ b/history/data_structures/IdealTransformer.js @@ -0,0 +1,30 @@ +function IdealTransformer () { + + + var ModelName = "IdealTransformer"; + + var PrametersValue = [1]; + + var ParametersName = ["N"]; + + var model = scicos_model(); + + var Typein = []; + + var Typeout = []; + + var MI = []; + + var MO = []; + + var P = [[2.5,90,2,0],[2.5,10,2,0],[97.5,90,-2,0],[97.5,10,-2,0]]; + + var PortName = ["p1";"n1";"p2";"n2"]; + + var for i = 1:size(P,"r"); + + var if P(i,3) = =1, then; + Typein = new ScilabDouble([Typein;,"E"]); + MI = new ScilabDouble([MI],[PortName(i)]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Inductor.js b/history/data_structures/Inductor.js new file mode 100644 index 0000000..470b8db --- /dev/null +++ b/history/data_structures/Inductor.js @@ -0,0 +1,28 @@ +function Inductor () { + + + var model = scicos_model(); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + + var L = 1.d-5; + model.rpar=new ScilabDouble([L]); + model.sim = new ScilabString(["Inductor"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["Inductor"]); + mo.inputs = new ScilabString(["p"]); + mo.outputs = new ScilabString(["n"]); + mo.parameters=list(new ScilabString(["L"]),list(L)); + model.equations=mo; + + var exprs = string(L); + + var gr_i = []; + this.x=standard_define([2,0.9],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/JKFLIPFLOP.js b/history/data_structures/JKFLIPFLOP.js new file mode 100644 index 0000000..7de61c4 --- /dev/null +++ b/history/data_structures/JKFLIPFLOP.js @@ -0,0 +1,53 @@ +function JKFLIPFLOP () { + + + var scs_m = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["JKFLIPFLOP"],tol=[0.0001;0.000001;1.000E-10;100001;0;0;0],tf=60,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); + scs_m.objs.push(scicos_block(gui="DOLLAR_m",graphics=scicos_graphics(orig=[299.96961,261.584],sz=[40,40],flip=%f,theta=0,exprs=["int8(0)";"1"],pin=7,pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("dollar4_m",4),in1=1,in2=1,intyp=5,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(new ScilabInteger([0])),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + + var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["EDGE_TRIGGER","./"],tol=[0.0001;0.000001;1.000E-10;100001;0;0;0],tf=30,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); + scs_m_1.objs.push(scicos_block(gui="EDGETRIGGER",graphics=scicos_graphics(orig=[288.58631,257.1131],sz=[60,40],flip=%t,theta=0,exprs="-1",pin=5,pout=3,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("edgetrig",4),in1=1,in2=[],intyp=1,out=1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=0,odstate=list(),rpar=[],ipar=-1,opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=1,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_block(gui="IFTHEL_f",graphics=scicos_graphics(orig=[388.28869,247.1131],sz=[60,60],flip=%t,theta=0,exprs=["0";"0"],pin=3,pout=[],pein=[],peout=[7;0],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim=list("ifthel",-1),in1=1,in2=[],intyp=1,out=[],out2=1,outtyp=[],evtin=[],evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="l",firing=[-1,-1],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([357.15774),yy: new ScilabDouble([277.1131),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([2,1,1])})); + scs_m_1.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[240.01488,267.1131],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([260.01488),yy: new ScilabDouble([277.1131),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([4,1,0]),to: new ScilabDouble([1,1,1])})); + scs_m_1.objs.push(scicos_block(gui="CLKOUTV_f",graphics=scicos_graphics(orig=[398.28869,181.39881],sz=[20,30],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=7,peout=[],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="output",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([408.28869),yy: new ScilabDouble([241.39881),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([6,1,1])})); + scs_m.objs.push(scicos_block(gui="EDGE_TRIGGER",graphics=scicos_graphics(orig=[292.52452,323.54888],sz=[60,40],flip=%t,theta=0,exprs=[],pin=14,pout=[],pein=[],peout=8,gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="csuper",in1=-1,in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="LOGIC",graphics=scicos_graphics(orig=[302.79613,202.52782],sz=[40,40],flip=%t,theta=0,exprs=["[0;1;1;1;0;0;1;0]";"0"],pin=[5;16;18],pout=4,pein=8,peout=[],gr_i=[],id="",in_implicit=["E";"E";"E"],out_implicit="E"),model=scicos_model(sim=list("logic",4),in1=[1;1;1],in2=[1;1;1],intyp=[5;5;5],out=1,out2=1,outtyp=5,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(new ScilabInteger([[0;1;1;1;0;0;1;0]])),blocktype="c",firing=%f,dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([351.36756),yy: new ScilabDouble([222.52782),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([10,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([291.39818),yy: new ScilabDouble([281.584),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([3,1,1])})); + scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[368.82793,243.45067],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=11,pout=[7;20],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([368.82793),yy: new ScilabDouble([243.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([6,1,0]),to: new ScilabDouble([1,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([322.52452),yy: new ScilabDouble([317.8346),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([3,1,1])})); + scs_m.objs.push(scicos_block(gui="LOGICAL_OP",graphics=scicos_graphics(orig=[377.63217,159.25363],sz=[60,40],flip=%t,theta=0,exprs=["1";"5";"5";"0"],pin=12,pout=22,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("logicalop_i8",4),in1=-1,in2=-2,intyp=5,out=-1,out2=-2,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[5;0],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[368.82793;223.06473],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=4,pout=[11;12],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([368.82793),yy: new ScilabDouble([223.06473),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([10,1,0]),to: new ScilabDouble([6,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([368.82793),yy: new ScilabDouble([223.06473),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([10,2,0]),to: new ScilabDouble([9,1,1])})); + scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[243.95309,333.54888],sz=[20,20],flip=%t,theta=0,exprs="2",pin=[],pout=14,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([263.95309),yy: new ScilabDouble([343.54888),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([13,1,0]),to: new ScilabDouble([2,1,1])})); + scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[254.2247,212.52782],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=16,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([274.2247),yy: new ScilabDouble([222.52782),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([15,1,0]),to: new ScilabDouble([3,2,1])})); + scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[254.2247,202.52782],sz=[20,20],flip=%t,theta=0,exprs="3",pin=[],pout=18,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=3,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([274.2247),yy: new ScilabDouble([212.52782),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([17,1,0]),to: new ScilabDouble([3,3,1])})); + scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[388.82793,233.45067],sz=[20,20],flip=%t,theta=0,exprs="1",pin=20,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([368.82793),yy: new ScilabDouble([243.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([6,2,0]),to: new ScilabDouble([19,1,1])})); + scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[466.2036,169.25363],sz=[20,20],flip=%t,theta=0,exprs="2",pin=22,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([446.2036),yy: new ScilabDouble([179.25363),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([9,1,0]),to: new ScilabDouble([21,1,1])})); + + var model = scicos_model(); + model.sim = new ScilabString(["csuper"]); + model.in1 = new ScilabDouble([1],[1],[1]); + model.in2 = new ScilabDouble([1],[1],[1]); + model.out = new ScilabDouble([1],[1]); + model.out2 = new ScilabDouble([1],[1]); + model.intyp = new ScilabDouble([5,1,5]); + model.outtyp = new ScilabDouble([5,5]); + model.blocktype = new ScilabString(["h"]); + model.firing = new ScilabBoolean([false]); + model.dep_ut = new ScilabBoolean([true,false]); + model.rpar=scs_m; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,3]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/LOGBLK_f.js b/history/data_structures/LOGBLK_f.js new file mode 100644 index 0000000..728dc8a --- /dev/null +++ b/history/data_structures/LOGBLK_f.js @@ -0,0 +1,21 @@ +function LOGBLK_f () { + + + var in1 = 1; + + var a = %e; + + var model = scicos_model(); + model.sim = new ScilabString(["logblk"]); + model.in1 = new ScilabDouble([-1]); + model.out = new ScilabDouble([-1]); + model.rpar=new ScilabBoolean([a]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = "%e"; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/LOGIC.js b/history/data_structures/LOGIC.js new file mode 100644 index 0000000..453ecae --- /dev/null +++ b/history/data_structures/LOGIC.js @@ -0,0 +1,25 @@ +function LOGIC () { + + + var mat = [[0],[0],[0],[1]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["logic"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1],[1]); + model.in2 = new ScilabDouble([1],[1]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.intyp = new ScilabDouble([5,5]); + model.outtyp = new ScilabDouble([5]); + model.opar=list(new ScilabInteger([mat])); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabBoolean([false]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(mat)],[sci2exp(0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/LOGICAL_OP.js b/history/data_structures/LOGICAL_OP.js new file mode 100644 index 0000000..5c50e07 --- /dev/null +++ b/history/data_structures/LOGICAL_OP.js @@ -0,0 +1,23 @@ +function LOGICAL_OP () { + + + var in1 = [[-1],[-1]]; + + var ipar = [0]; + + var nin = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["logicalop"]),new ScilabDouble([4])); + model.in1.push(in1); + model.out = new ScilabDouble([-1]); + model.ipar=new ScilabDouble([ipar]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[string(nin)],[string(ipar)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/LOOKUP_f.js b/history/data_structures/LOOKUP_f.js new file mode 100644 index 0000000..b31e361 --- /dev/null +++ b/history/data_structures/LOOKUP_f.js @@ -0,0 +1,15 @@ +function LOOKUP_f () { + + + var model = scicos_model(); + model.sim = new ScilabString(["lookup"]); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.rpar = new ScilabDouble([-2],[-1],[1],[2],[-1],[1],[-1],[1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATBKSL.js b/history/data_structures/MATBKSL.js new file mode 100644 index 0000000..94b0ede --- /dev/null +++ b/history/data_structures/MATBKSL.js @@ -0,0 +1,31 @@ +function MATBKSL () { + + + var model = scicos_model(); + + var function_name = "mat_bksl"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1],[-1]); + model.in2 = new ScilabDouble([-2],[-3]); + model.intyp = new ScilabDouble([1,1]); + model.out = new ScilabDouble([-2]); + model.out2 = new ScilabDouble([-3]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(1)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATCATH.js b/history/data_structures/MATCATH.js new file mode 100644 index 0000000..07beb4e --- /dev/null +++ b/history/data_structures/MATCATH.js @@ -0,0 +1,31 @@ +function MATCATH () { + + + var model = scicos_model(); + + var function_name = "mat_cath"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1],[-1]); + model.in2 = new ScilabDouble([-2],[-3]); + model.intyp = new ScilabDouble([1,1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([0]); + model.outtyp = new ScilabDouble([-1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(2)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,3]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATCATV.js b/history/data_structures/MATCATV.js new file mode 100644 index 0000000..4fd6959 --- /dev/null +++ b/history/data_structures/MATCATV.js @@ -0,0 +1,33 @@ +function MATCATV () { + + + var l1 = [[2],[2]]; + + var model = scicos_model(); + + var function_name = "mat_catv"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in2 = new ScilabDouble([-1],[-1]); + model.in1 = new ScilabDouble([-2],[-3]); + model.intyp = new ScilabDouble([-1,-1]); + model.out = new ScilabDouble([0]); + model.out2 = new ScilabDouble([-1]); + model.outtyp = new ScilabDouble([-1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(2)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,3]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATDET.js b/history/data_structures/MATDET.js new file mode 100644 index 0000000..8912194 --- /dev/null +++ b/history/data_structures/MATDET.js @@ -0,0 +1,31 @@ +function MATDET () { + + + var model = scicos_model(); + + var function_name = "mat_det"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(1)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATDIAG.js b/history/data_structures/MATDIAG.js new file mode 100644 index 0000000..0bdf382 --- /dev/null +++ b/history/data_structures/MATDIAG.js @@ -0,0 +1,31 @@ +function MATDIAG () { + + + var model = scicos_model(); + + var function_name = "mat_diag"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(1)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATDIV.js b/history/data_structures/MATDIV.js new file mode 100644 index 0000000..73f1f36 --- /dev/null +++ b/history/data_structures/MATDIV.js @@ -0,0 +1,31 @@ +function MATDIV () { + + + var model = scicos_model(); + + var function_name = "mat_div"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1],[-2]); + model.in2 = new ScilabDouble([-3],[-3]); + model.intyp = new ScilabDouble([1,1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(1)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATEIG.js b/history/data_structures/MATEIG.js new file mode 100644 index 0000000..c23df30 --- /dev/null +++ b/history/data_structures/MATEIG.js @@ -0,0 +1,31 @@ +function MATEIG () { + + + var model = scicos_model(); + + var function_name = "mat_vps"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([2]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [[sci2exp(1)],[sci2exp(1)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATEXPM.js b/history/data_structures/MATEXPM.js new file mode 100644 index 0000000..70734bd --- /dev/null +++ b/history/data_structures/MATEXPM.js @@ -0,0 +1,31 @@ +function MATEXPM () { + + + var model = scicos_model(); + + var function_name = "mat_expm"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(1)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATINV.js b/history/data_structures/MATINV.js new file mode 100644 index 0000000..8b45697 --- /dev/null +++ b/history/data_structures/MATINV.js @@ -0,0 +1,31 @@ +function MATINV () { + + + var model = scicos_model(); + + var function_name = "mat_inv"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(1)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATLU.js b/history/data_structures/MATLU.js new file mode 100644 index 0000000..6cc94e6 --- /dev/null +++ b/history/data_structures/MATLU.js @@ -0,0 +1,31 @@ +function MATLU () { + + + var model = scicos_model(); + + var function_name = "mat_lu"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1],[-1]); + model.out2 = new ScilabDouble([-1],[-1]); + model.outtyp = new ScilabDouble([1,1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = sci2exp(1); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATMAGPHI.js b/history/data_structures/MATMAGPHI.js new file mode 100644 index 0000000..c13d1dc --- /dev/null +++ b/history/data_structures/MATMAGPHI.js @@ -0,0 +1,31 @@ +function MATMAGPHI () { + + + var model = scicos_model(); + + var function_name = "matz_abs"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([2]); + model.out = new ScilabDouble([-1],[-1]); + model.out2 = new ScilabDouble([-2],[-2]); + model.outtyp = new ScilabDouble([1,1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(1)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATMUL.js b/history/data_structures/MATMUL.js new file mode 100644 index 0000000..42af695 --- /dev/null +++ b/history/data_structures/MATMUL.js @@ -0,0 +1,18 @@ +function MATMUL () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["matmul_m"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1],[-2]); + model.in2 = new ScilabDouble([-2],[-3]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-3]); + model.dep_ut = new ScilabBoolean([true,false]); + model.ipar = new ScilabDouble([1]); + + var label = [sci2exp(model.ipar)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATPINV.js b/history/data_structures/MATPINV.js new file mode 100644 index 0000000..27baace --- /dev/null +++ b/history/data_structures/MATPINV.js @@ -0,0 +1,31 @@ +function MATPINV () { + + + var model = scicos_model(); + + var function_name = "mat_pinv"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-2]); + model.out2 = new ScilabDouble([-1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(1)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATRESH.js b/history/data_structures/MATRESH.js new file mode 100644 index 0000000..53b1871 --- /dev/null +++ b/history/data_structures/MATRESH.js @@ -0,0 +1,31 @@ +function MATRESH () { + + + var model = scicos_model(); + + var function_name = "mat_reshape"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [[sci2exp(1)],[sci2exp([1,1])],[sci2exp([1,1])]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATSING.js b/history/data_structures/MATSING.js new file mode 100644 index 0000000..7b1f072 --- /dev/null +++ b/history/data_structures/MATSING.js @@ -0,0 +1,31 @@ +function MATSING () { + + + var model = scicos_model(); + + var function_name = "mat_sing"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [[sci2exp(1)],[sci2exp(1)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATSUM.js b/history/data_structures/MATSUM.js new file mode 100644 index 0000000..43f7b3b --- /dev/null +++ b/history/data_structures/MATSUM.js @@ -0,0 +1,31 @@ +function MATSUM () { + + + var model = scicos_model(); + + var function_name = "mat_sum"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [[sci2exp(1)],[sci2exp(0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATTRAN.js b/history/data_structures/MATTRAN.js new file mode 100644 index 0000000..a3a0493 --- /dev/null +++ b/history/data_structures/MATTRAN.js @@ -0,0 +1,17 @@ +function MATTRAN () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["mattran_m"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.out = new ScilabDouble([-2]); + model.out2 = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(1)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATZCONJ.js b/history/data_structures/MATZCONJ.js new file mode 100644 index 0000000..efb04cb --- /dev/null +++ b/history/data_structures/MATZCONJ.js @@ -0,0 +1,31 @@ +function MATZCONJ () { + + + var model = scicos_model(); + + var function_name = "matz_conj"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([2]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([2]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = []; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MATZREIM.js b/history/data_structures/MATZREIM.js new file mode 100644 index 0000000..327d303 --- /dev/null +++ b/history/data_structures/MATZREIM.js @@ -0,0 +1,31 @@ +function MATZREIM () { + + + var model = scicos_model(); + + var function_name = "matz_reim"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([2]); + model.out = new ScilabDouble([-1],[-1]); + model.out2 = new ScilabDouble([-2],[-2]); + model.outtyp = new ScilabDouble([1,1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = sci2exp(1); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MAXMIN.js b/history/data_structures/MAXMIN.js new file mode 100644 index 0000000..903a053 --- /dev/null +++ b/history/data_structures/MAXMIN.js @@ -0,0 +1,18 @@ +function MAXMIN () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["minmax"]),new ScilabDouble([4])); + model.out = new ScilabDouble([1]); + model.in1 = new ScilabDouble([-1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + model.ipar = new ScilabDouble([0]); + + var exprs = [string([2,1,1]')]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + this.x.graphics.style = new ScilabString(["MAXMIN;displayedLabel=MAX"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MAX_f.js b/history/data_structures/MAX_f.js new file mode 100644 index 0000000..3623dc1 --- /dev/null +++ b/history/data_structures/MAX_f.js @@ -0,0 +1,19 @@ +function MAX_f () { + + + var in1 = -1; + + var model = scicos_model(); + model.sim = new ScilabString(["maxblk"]); + model.in1.push(new ScilabDouble([in1])); + model.out = new ScilabDouble([1]); + model.dstate = new ScilabDouble([0],[0]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = " "; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MBLOCK.js b/history/data_structures/MBLOCK.js new file mode 100644 index 0000000..ce63569 --- /dev/null +++ b/history/data_structures/MBLOCK.js @@ -0,0 +1,30 @@ +function MBLOCK () { + + + var in1 = ["u1"]; + + var intype = ["I"]; + + var out = ["y1";"y2"]; + + var outtype = ["I";"E"]; + + var param = ["R";"L"]; + + var paramv = list(0.1,.0001); + + var pprop = [[0],[0]]; + + var nameF = "generic"; + + var exprs = ...colon_operator(tlist,["MBLOCK","in","intype","out","outtype","param","paramv","pprop","nameF","funtxt"],sci2exp(...in1),sci2exp(...intype),sci2exp(...out),sci2exp(...outtype),sci2exp(...param),list(string(0.1),string(.0001)),sci2exp(pprop(,)),nameF,[]); + + var model = scicos_model(); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + model.rpar = new ScilabDouble(); + + var for i = 1:lstsize(paramv); + model.rpar = new ScilabDouble([model.rpar],[paramv(i)(:)]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MCLOCK_f.js b/history/data_structures/MCLOCK_f.js new file mode 100644 index 0000000..0a94924 --- /dev/null +++ b/history/data_structures/MCLOCK_f.js @@ -0,0 +1,81 @@ +function MCLOCK_f () { + + + var nn = 2; + + var dt = 0.1; + + var exprs = [[string(dt)],[string(nn)]]; + + var mfclck = MFCLCK_f("define"); + mfclck.graphics.orig = new ScilabDouble([334,199]); + mfclck.graphics.sz = new ScilabDouble([40,40]); + mfclck.graphics.flip = new ScilabBoolean([true]); + mfclck.graphics.exprs=exprs; + mfclck.graphics.pein = new ScilabDouble([12]); + mfclck.graphics.peout = new ScilabDouble([4],[3]); + mfclck.model.rpar = new ScilabDouble([0.1]); + mfclck.model.ipar=new ScilabDouble([nn]); + mfclck.model.firing = new ScilabDouble([-1,0]); + + var clksom = CLKSOM_f("define"); + clksom.graphics.orig = new ScilabDouble([457,161]); + clksom.graphics.sz = new ScilabDouble([16.666667,16.666667]); + clksom.graphics.flip = new ScilabBoolean([true]); + clksom.graphics.exprs = new ScilabString(["0.1";"0.1"]); + clksom.graphics.pein = new ScilabDouble([4],[9],[0]); + clksom.graphics.peout = new ScilabDouble([5]); + + var output_port1 = CLKOUT_f("define"); + output_port1.graphics.orig = new ScilabDouble([509,261]); + output_port1.graphics.sz = new ScilabDouble([20,20]); + output_port1.graphics.flip = new ScilabBoolean([true]); + output_port1.graphics.exprs = new ScilabString(["1"]); + output_port1.graphics.pein = new ScilabDouble([10]); + output_port1.model.ipar = new ScilabDouble([1]); + + var output_port2 = CLKOUT_f("define"); + output_port2.graphics.orig = new ScilabDouble([509,142]); + output_port2.graphics.sz = new ScilabDouble([20,20]); + output_port2.graphics.flip = new ScilabBoolean([true]); + output_port2.graphics.exprs = new ScilabString(["2"]); + output_port2.graphics.pein = new ScilabDouble([13]); + output_port2.model.ipar = new ScilabDouble([2]); + + var split1 = CLKSPLIT_f("define"); + split1.graphics.orig = new ScilabDouble([411.92504],[169.33333]); + split1.graphics.pein = new ScilabDouble([3]); + split1.graphics.peout = new ScilabDouble([9],[10]); + + var split2 = CLKSPLIT_f("define"); + split2.graphics.orig = new ScilabDouble([482.45315],[169.33333]); + split2.graphics.pein = new ScilabDouble([5]); + split2.graphics.peout = new ScilabDouble([12],[13]); + + var gr_i = []; + + var diagram = scicos_diagram(); + diagram.objs.push(mfclck); + diagram.objs.push(clksom); + diagram.objs.push(scicos_link({xx: new ScilabDouble([360.7],[360.7],[411.9]),yy: new ScilabDouble([193.3],[169.3],[169.3]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([1,2]),to: new ScilabDouble([8,1])})); + diagram.objs.push(scicos_link({xx: new ScilabDouble([347.3],[347.3],[461.8],[461.8]),yy: new ScilabDouble([193.3],[155.5],[155.5],[161]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([1,1]),to: new ScilabDouble([2,1])})); + diagram.objs.push(scicos_link({xx: new ScilabDouble([468.9],[482.5]),yy: new ScilabDouble([169.3],[169.3]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([2,1]),to: new ScilabDouble([11,1])})); + diagram.objs.push(output_port1); + diagram.objs.push(output_port2); + diagram.objs.push(split1); + diagram.objs.push(scicos_link({xx: new ScilabDouble([411.9],[457]),yy: new ScilabDouble([169.3],[169.3]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([8,1]),to: new ScilabDouble([2,2])})); + diagram.objs.push(scicos_link({xx: new ScilabDouble([411.9],[411.9],[509]),yy: new ScilabDouble([169.3],[271],[271]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([8,2]),to: new ScilabDouble([6,1])})); + diagram.objs.push(split2); + diagram.objs.push(scicos_link({xx: new ScilabDouble([482.5],[489.6],[489.6],[354],[354]),yy: new ScilabDouble([169.3],[169.3],[338.3],[338.3],[244.7]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([11,1]),to: new ScilabDouble([1,1])})); + diagram.objs.push(scicos_link({xx: new ScilabDouble([482.4],[482.4],[509]),yy: new ScilabDouble([169.3],[152],[152]),ct: new ScilabDouble([10,-1]),from: new ScilabDouble([11,2]),to: new ScilabDouble([7,1])})); + this.x=scicos_block(); + this.x.gui = new ScilabString(["MCLOCK_f"]); + this.x.graphics.sz = new ScilabDouble([3,2]); + this.x.graphics.gr_i=gr_i; + this.x.model.sim = new ScilabString(["csuper"]); + this.x.model.evtout = new ScilabDouble([1],[1]); + this.x.model.blocktype = new ScilabString(["h"]); + this.x.model.rpar=diagram; + this.x.graphics.peout = new ScilabDouble([0],[0]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MFCLCK_f.js b/history/data_structures/MFCLCK_f.js new file mode 100644 index 0000000..e7124f9 --- /dev/null +++ b/history/data_structures/MFCLCK_f.js @@ -0,0 +1,24 @@ +function MFCLCK_f () { + + + var nn = 2; + + var dt = 0.1; + + var model = scicos_model(); + model.sim = new ScilabString(["mfclck"]); + model.evtin = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1],[1]); + model.dstate = new ScilabDouble([0]); + model.rpar=new ScilabDouble([dt]); + model.ipar=new ScilabDouble([nn]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([-1,0]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[string(dt)],[string(nn)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MIN_f.js b/history/data_structures/MIN_f.js new file mode 100644 index 0000000..c71bfb9 --- /dev/null +++ b/history/data_structures/MIN_f.js @@ -0,0 +1,19 @@ +function MIN_f () { + + + var in1 = -1; + + var model = scicos_model(); + model.sim = new ScilabString(["minblk"]); + model.in1.push(new ScilabDouble([in1])); + model.out = new ScilabDouble([1]); + model.dstate = new ScilabDouble([0],[0]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = sci2exp(in1); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MUX.js b/history/data_structures/MUX.js new file mode 100644 index 0000000..5481f69 --- /dev/null +++ b/history/data_structures/MUX.js @@ -0,0 +1,19 @@ +function MUX () { + + + var in1 = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["multiplex"]),new ScilabDouble([4])); + model.in1.push(-...transpose([1:in1])); + model.out = new ScilabDouble([0]); + model.ipar=new ScilabDouble([in1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = string(in1); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([.5,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/MUX_f.js b/history/data_structures/MUX_f.js new file mode 100644 index 0000000..05e2343 --- /dev/null +++ b/history/data_structures/MUX_f.js @@ -0,0 +1,19 @@ +function MUX_f () { + + + var in1 = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["mux"]),new ScilabDouble([1])); + model.in1.push(-...transpose([1:in1])); + model.out = new ScilabDouble([0]); + model.ipar=new ScilabDouble([in1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = string(in1); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([0.5,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/M_SWITCH.js b/history/data_structures/M_SWITCH.js new file mode 100644 index 0000000..e53c664 --- /dev/null +++ b/history/data_structures/M_SWITCH.js @@ -0,0 +1,23 @@ +function M_SWITCH () { + + + var in1 = [[1],[-1],[-1]]; + + var ipar = [[1],[3]]; + + var nin = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["mswitch"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([in1])); + model.out = new ScilabDouble([-1]); + model.ipar=new ScilabDouble([ipar]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[string(nin)],[string(ipar)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2.5,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/M_freq.js b/history/data_structures/M_freq.js new file mode 100644 index 0000000..0ab9467 --- /dev/null +++ b/history/data_structures/M_freq.js @@ -0,0 +1,19 @@ +function M_freq () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["m_frequ"]),new ScilabDouble([4])); + model.evtout = new ScilabDouble([1],[1],[1]); + model.evtin = new ScilabDouble([1]); + model.rpar = new ScilabDouble(); + model.opar=list(new ScilabDouble([1),new ScilabDouble([1]),new ScilabDouble([0]]),new ScilabDouble([1),new ScilabDouble([1]),new ScilabDouble([1]]),new ScilabDouble([1),new ScilabDouble([3]),new ScilabDouble([2]]),new ScilabDouble([1]),new ScilabDouble([0]),new ScilabDouble([0])); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([0,-1,-1]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[sci2exp([1],[2])],[sci2exp([0],[0])]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Modulo_Count.js b/history/data_structures/Modulo_Count.js new file mode 100644 index 0000000..62db6ad --- /dev/null +++ b/history/data_structures/Modulo_Count.js @@ -0,0 +1,22 @@ +function Modulo_Count () { + + + var ini_c = 0; + + var base = 3; + + var model = scicos_model(); + model.sim=list(new ScilabString(["modulo_count"]),new ScilabDouble([4])); + model.evtin = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.dstate=new ScilabDouble([ini_c]); + model.ipar=new ScilabDouble([base]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[string(ini_c)],[string(base)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/NEGTOPOS_f.js b/history/data_structures/NEGTOPOS_f.js new file mode 100644 index 0000000..e0e40d4 --- /dev/null +++ b/history/data_structures/NEGTOPOS_f.js @@ -0,0 +1,17 @@ +function NEGTOPOS_f () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["zcross"]),new ScilabDouble([1])); + model.nzcross = new ScilabDouble([1]); + model.in1 = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1]); + model.rpar = new ScilabDouble([-1],[-1],[0],[-1]); + model.blocktype = new ScilabString(["z"]); + model.firing = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([true,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/NMOS.js b/history/data_structures/NMOS.js new file mode 100644 index 0000000..350c46c --- /dev/null +++ b/history/data_structures/NMOS.js @@ -0,0 +1,43 @@ +function NMOS () { + + + var model = scicos_model(); + + var W = 20.e-6; + + var L = 6.e-6; + + var Beta = 0.041e-3; + + var Vt = 0.8; + + var K2 = 1.144; + + var K5 = 0.7311; + + var dW = -2.5e-6; + + var dL = -1.5e-6; + + var RDS = 1.e+7; + model.sim = new ScilabString(["NMOS"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["NMOS"]); + mo.outputs = new ScilabString(["D";"B";"S"]); + mo.inputs = new ScilabString(["G"]); + mo.parameters=list(new ScilabString(["W";"L";"Beta";"Vt";"K2";"K5";"dW";"dL";"RDS"]),[W],[L],[Beta],[Vt],[K2],[K5],[dW],[dL],[RDS]); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + model.out=ones(size(mo.outputs,"*"),1); + + var exprs = [[string(W)],[string(L)],[string(Beta)],[string(Vt)],[string(K2)],[string(K5)],[string(dW)],[string(dL)],[string(RDS)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I";"I";"I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/NPN.js b/history/data_structures/NPN.js new file mode 100644 index 0000000..843e410 --- /dev/null +++ b/history/data_structures/NPN.js @@ -0,0 +1,30 @@ +function NPN () { + + + var ModelName = "NPN"; + + var PrametersValue = [[50],[0.1],[0],[0.02],[1.200D-10],[5.000D-09],[1.000D-12],[4.000D-13],[5.000D-13],[0.8],[0.4],[0.8],[0.333],[1.000D-15],[1.000D-15],[0.02585],[40]]; + + var ParametersName = ["Bf";"Br";"Is";"Vak";"Tauf";"Taur";"Ccs";"Cje";"Cjc";"Phie";"Me";"Phic";"Mc";"Gbc";"Gbe";"Vt";"EMinMax"]; + + var model = scicos_model(); + + var Typein = []; + + var Typeout = []; + + var MI = []; + + var MO = []; + + var P = [[100,90,-2,0],[,0,50,2,0],[,100,10,-2,0]]; + + var PortName = ["C";"B";"E"]; + + var for i = 1:size(P,"r"); + + var if P(i,3) = =1, then; + Typein = new ScilabDouble([Typein;,"E"]); + MI = new ScilabDouble([MI],[PortName(i)]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/NRMSOM_f.js b/history/data_structures/NRMSOM_f.js new file mode 100644 index 0000000..f13e210 --- /dev/null +++ b/history/data_structures/NRMSOM_f.js @@ -0,0 +1,20 @@ +function NRMSOM_f () { + + + var in1 = [[-1],[-1]]; + + var nin = 2; + + var model = scicos_model(); + model.sim = new ScilabString(["junk"]); + model.in1.push(in1); + model.out = new ScilabDouble([-1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [string(nin)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([.2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/OUTIMPL_f.js b/history/data_structures/OUTIMPL_f.js new file mode 100644 index 0000000..5d4ce64 --- /dev/null +++ b/history/data_structures/OUTIMPL_f.js @@ -0,0 +1,25 @@ +function OUTIMPL_f () { + + + var model = scicos_model(); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([1]); + + var prt = 1; + model.sim = new ScilabString(["outimpl"]); + model.ipar = new ScilabDouble([1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var mo = modelica(); + mo.model = new ScilabString(["PORT"]); + mo.inputs = new ScilabString(["n"]); + model.equations=mo; + + var exprs = "1"; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); + this.x.graphics.in_implicit = new ScilabString(["I"]); + return new ImplicitOutBlock(this.x) +} diff --git a/history/data_structures/OUT_f.js b/history/data_structures/OUT_f.js new file mode 100644 index 0000000..56eaea2 --- /dev/null +++ b/history/data_structures/OUT_f.js @@ -0,0 +1,22 @@ +function OUT_f () { + + + var n = -1; + + var prt = 1; + + var model = scicos_model(); + model.sim = new ScilabString(["output"]); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([-1]); + model.ipar=new ScilabDouble([prt]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = string(prt); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); + return new ExplicitOutBlock(this.x) +} diff --git a/history/data_structures/OpAmp.js b/history/data_structures/OpAmp.js new file mode 100644 index 0000000..120a0f6 --- /dev/null +++ b/history/data_structures/OpAmp.js @@ -0,0 +1,30 @@ +function OpAmp () { + + + var S = []; + + var Z = []; + + var model = scicos_model(); + model.sim = new ScilabString(["OpAmp"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model=model.sim; + mo.inputs = new ScilabString(["in_p";"in_n"]); + mo.outputs = new ScilabString(["out"]); + mo.parameters=list(S,Z); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + model.out=ones(size(mo.outputs,"*"),1); + model.rpar=Z; + + var exprs = string(Z); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,5]),model,exprs,gr_i); + this.x.graphics.in_implicit = new ScilabString(["I";"I"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/PDE.js b/history/data_structures/PDE.js new file mode 100644 index 0000000..263c715 --- /dev/null +++ b/history/data_structures/PDE.js @@ -0,0 +1,19 @@ +function PDE () { + + + var model = scicos_model(); + model.state=zeros(10,1); + model.sim=list(new ScilabString(["PDE"]),new ScilabDouble([0])); + model.in1 = new ScilabDouble([1],[1],[1],[1],[1]); + model.out = new ScilabDouble([10],[0]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var params_pde = tlist(["paramspde";"a";"b";"txt_exp";"check_op1";"a1";"b1";"check_op2";"a2";"b2";"check_op3";"a3";"b3";"check_op4";"a4";"b4";"check_op5";"a5";"b5";"check_op6";"a6";"b6";"check_op7";"a7";"b7";"discr_cst";"discr_non_cst";"signe";"rad_automatique";"rad_manuel";"methode";"ord1";"ord2";"ord3";"degre";"nnode";"txt_pas";"CI";"dCI";"CLa";"CLa_exp";"CLb";"CLb_exp";"points"],"","","","0","","IN_EDP1(t)","0","","IN_EDP2(t)","0","","IN_EDP3(t)","0","","IN_EDP4(t)","0","","IN_EDP5(t)","0","","IN_EDP6(t)","0","","IN_EDP7(t)","0","0","0","0","0","0","","","","","","","","","0","IN_CL1(t)","0","IN_CL2(t)",""); + + var label = list(params_pde,[],""); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,3]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/PID.js b/history/data_structures/PID.js new file mode 100644 index 0000000..e3dd59e --- /dev/null +++ b/history/data_structures/PID.js @@ -0,0 +1,43 @@ +function PID () { + + + var scs_m = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["PID"],tol=[0.0001,0.000001,1.000E-10,100001,0,0],tf=100000,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); + scs_m.objs.push(scicos_block(gui="INTEGRAL_m",graphics=scicos_graphics(orig=[318.304,183.11733],sz=[40,40],flip=%t,theta=0,exprs=["0";"0";"0";"1";"-1"],pin=7,pout=9,pein=[],peout=[],gr_i=[],id="1/s",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("integral_func",4),in1=1,in2=1,intyp=1,out=1,out2=1,outtyp=1,evtin=[],evtout=[],state=0,dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%f,%t],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="SUMMATION",graphics=scicos_graphics(orig=[387.97067,172.85067],sz=[40,60],flip=%t,theta=0,exprs=["1";"[1;1;1]"],pin=[10;9;11],pout=19,pein=[],peout=[],gr_i=[],id="",in_implicit=["E";"E";"E"],out_implicit="E"),model=scicos_model(sim=list("summation",4),in1=[-1;-1;-1],in2=[-2;-2;-2],intyp=[1;1;1],out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[1;1;1],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="GAINBLK",graphics=scicos_graphics(orig=[321.23733,235.91733],sz=[40,40],flip=%t,theta=0,exprs="1",pin=17,pout=10,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("gainblk",4),in1=-1,in2=-2,intyp=1,out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=1,ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="DERIV",graphics=scicos_graphics(orig=[319.03733,135.45067],sz=[40,40],flip=%t,theta=0,exprs=[],pin=8,pout=11,pein=[],peout=[],gr_i=[],id="s",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("deriv",4),in1=-1,in2=-2,intyp=1,out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="x",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="GAINBLK",graphics=scicos_graphics(orig=[255.23733,183.11733],sz=[40,40],flip=%t,theta=0,exprs="1",pin=13,pout=7,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("gainblk",4),in1=-1,in2=-2,intyp=1,out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=1,ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_block(gui="GAINBLK",graphics=scicos_graphics(orig=[255.23733,135.45067],sz=[40,40],flip=%t,theta=0,exprs="1",pin=14,pout=8,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("gainblk",4),in1=-1,in2=-2,intyp=1,out=-1,out2=-2,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=1,ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([303.80876),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([5,1,0]),to: new ScilabDouble([1,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([303.80876),yy: new ScilabDouble([155.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([6,1,0]),to: new ScilabDouble([4,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([366.87543),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([2,2,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([369.80876),yy: new ScilabDouble([255.91733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([2,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([367.60876),yy: new ScilabDouble([155.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([4,1,0]),to: new ScilabDouble([2,3,1])})); + scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[234.704;203.11733],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=16,pout=[13;14],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([234.704),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([12,1,0]),to: new ScilabDouble([5,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([234.704),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([12,2,0]),to: new ScilabDouble([6,1,1])})); + scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[233.97067;203.11733],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=21,pout=[16;17],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([233.97067),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([15,1,0]),to: new ScilabDouble([12,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([233.97067),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([15,2,0]),to: new ScilabDouble([3,1,1])})); + scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[456.5421,192.85067],sz=[20,20],flip=%t,theta=0,exprs="1",pin=19,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([436.5421),yy: new ScilabDouble([202.85067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([18,1,1])})); + scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[193.97067,193.11733],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=21,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([213.97067),yy: new ScilabDouble([203.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([20,1,0]),to: new ScilabDouble([15,1,1])})); + + var model = scicos_model(); + model.sim = new ScilabString(["csuper"]); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.blocktype = new ScilabString(["h"]); + model.firing = new ScilabBoolean([false]); + model.dep_ut = new ScilabBoolean([false,false]); + model.rpar=scs_m; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/PMOS.js b/history/data_structures/PMOS.js new file mode 100644 index 0000000..5a9ff67 --- /dev/null +++ b/history/data_structures/PMOS.js @@ -0,0 +1,43 @@ +function PMOS () { + + + var model = scicos_model(); + + var W = 50.0e-6; + + var L = 6.0e-6; + + var Beta = 0.0105e-3; + + var Vt = -1; + + var K2 = 0.41; + + var K5 = 0.839; + + var dW = -2.5e-6; + + var dL = -2.1e-6; + + var RDS = 1.e+7; + model.sim = new ScilabString(["PMOS"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["PMOS"]); + mo.outputs = new ScilabString(["D";"B";"S"]); + mo.inputs = new ScilabString(["G"]); + mo.parameters=list(new ScilabString(["W";"L";"Beta";"Vt";"K2";"K5";"dW";"dL";"RDS"]),[W],[L],[Beta],[Vt],[K2],[K5],[dW],[dL],[RDS]); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + model.out=ones(size(mo.outputs,"*"),1); + + var exprs = [[string(W)],[string(L)],[string(Beta)],[string(Vt)],[string(K2)],[string(K5)],[string(dW)],[string(dL)],[string(RDS)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I";"I";"I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/PNP.js b/history/data_structures/PNP.js new file mode 100644 index 0000000..b9108e6 --- /dev/null +++ b/history/data_structures/PNP.js @@ -0,0 +1,30 @@ +function PNP () { + + + var ModelName = "PNP"; + + var PrametersValue = [[50],[0.1],[0],[0.02],[1.200D-10],[5.000D-09],[1.000D-12],[4.000D-13],[5.000D-13],[0.8],[0.4],[0.8],[0.333],[1.000D-15],[1.000D-15],[0.02585],[40]]; + + var ParametersName = ["Bf";"Br";"Is";"Vak";"Tauf";"Taur";"Ccs";"Cje";"Cjc";"Phie";"Me";"Phic";"Mc";"Gbc";"Gbe";"Vt";"EMinMax"]; + + var model = scicos_model(); + + var Typein = []; + + var Typeout = []; + + var MI = []; + + var MO = []; + + var P = [[100,90,-2,0],[0,50,2,0],[100,10,-2,0]]; + + var PortName = ["C";"B";"E"]; + + var for i = 1:size(P,"r"); + + var if P(i,3) = =1, then; + Typein = new ScilabDouble([Typein;,"E"]); + MI = new ScilabDouble([MI],[PortName(i)]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/POSTONEG_f.js b/history/data_structures/POSTONEG_f.js new file mode 100644 index 0000000..53c941b --- /dev/null +++ b/history/data_structures/POSTONEG_f.js @@ -0,0 +1,19 @@ +function POSTONEG_f () { + + + var rpar = [[-1],[-1],[-1],[0]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["zcross"]),new ScilabDouble([1])); + model.nzcross = new ScilabDouble([1]); + model.in1 = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1]); + model.rpar = new ScilabDouble([-1],[-1],[-1],[0]); + model.blocktype = new ScilabString(["z"]); + model.dep_ut = new ScilabBoolean([true,false]); + model.firing = new ScilabDouble([-1]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/POWBLK_f.js b/history/data_structures/POWBLK_f.js new file mode 100644 index 0000000..fe907b7 --- /dev/null +++ b/history/data_structures/POWBLK_f.js @@ -0,0 +1,21 @@ +function POWBLK_f () { + + + var in1 = 1; + + var a = 1.5; + + var model = scicos_model(); + model.sim = new ScilabString(["powblk"]); + model.in1 = new ScilabDouble([-1]); + model.out = new ScilabDouble([-1]); + model.rpar=new ScilabDouble([a]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = string(a); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/PRODUCT.js b/history/data_structures/PRODUCT.js new file mode 100644 index 0000000..3fc6a08 --- /dev/null +++ b/history/data_structures/PRODUCT.js @@ -0,0 +1,19 @@ +function PRODUCT () { + + + var sgn = [[1],[-1]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["product"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1],[-1]); + model.out = new ScilabDouble([-1]); + model.ipar=new ScilabDouble([sgn]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = sci2exp(sgn); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,3]),model,,exprs,gr_i); + return new Product(this.x) +} diff --git a/history/data_structures/PROD_f.js b/history/data_structures/PROD_f.js new file mode 100644 index 0000000..5e1f69b --- /dev/null +++ b/history/data_structures/PROD_f.js @@ -0,0 +1,12 @@ +function PROD_f () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["prod"]),new ScilabDouble([2])); + model.in1 = new ScilabDouble([-1],[-1]); + model.out = new ScilabDouble([-1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + this.x=new standard_define(new ScilabDouble([1,1]),model,[],[]); + return new RoundBlock(this.x) +} diff --git a/history/data_structures/PULSE_SC.js b/history/data_structures/PULSE_SC.js new file mode 100644 index 0000000..ba73528 --- /dev/null +++ b/history/data_structures/PULSE_SC.js @@ -0,0 +1,57 @@ +function PULSE_SC () { + + + var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[-162.7581,435.54369,67.607292,416.67644,827,479,0,15,827,480,715,167,1.4],Title=["SuperBlock","/home/fady/Scicos_examples/"],tol=[0.0001;0.000001;1.000D-10;100001;0;0;0],tf=10,context=["E2=E+W/100*F"; + "if (W<0 | W>100) then error(''Width must be between 0 and 100'');end"; + + var "if (E2 > = F),then,error,(''Offset,must,be,lower,than,(frequency*(1-Width/100))'');,end"],void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); + scs_m_1.objs.push(scicos_block(gui="CONST_m",graphics=scicos_graphics(orig=[30.801202,158.91733],sz=[40,40],flip=%t,theta=0,exprs="A",pin=[],pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(1),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_block(gui="Ground_g",graphics=scicos_graphics(orig=[31.534535,215.384],sz=[40,40],flip=%t,theta=0,exprs=[],pin=[],pout=4,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(0),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_block(gui="SELECT_m",graphics=scicos_graphics(orig=[106.00652,186.09381],sz=[40,40],flip=%t,theta=0,exprs=["-1";"2";"1"],pin=[4;5],pout=11,pein=[9;8],peout=[],gr_i=[],id="",in_implicit=["E";"E"],out_implicit="E"),model=scicos_model(sim=list("selector_m",4),in1=[-1;-1],in2=[-2;-2],intyp=[-1;-1],out=-1,out2=-2,outtyp=-1,evtin=[1;1],evtout=[],state=[],dstate=1,odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([80.105964),yy: new ScilabDouble([235.384),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([3,1,1])})); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([79.372631),yy: new ScilabDouble([178.91733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([3,2,1])})); + scs_m_1.objs.push(scicos_block(gui="SampleCLK",graphics=scicos_graphics(orig=[82.349744,274.21741],sz=[60,40],flip=%t,theta=0,exprs=["F";"E2"],pin=[],pout=[],pein=[],peout=9,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="sampleclk",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=[1;0.4],ipar=[],opar=list(),blocktype="d",firing=-1,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_block(gui="SampleCLK",graphics=scicos_graphics(orig=[160.48879,274.21741],sz=[60,40],flip=%t,theta=0,exprs=["F";"E"],pin=[],pout=[],pein=[],peout=8,gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="sampleclk",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=[1;0.1],ipar=[],opar=list(),blocktype="d",firing=-1,dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([190.48879),yy: new ScilabDouble([274.21741),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([7,1,0]),to: new ScilabDouble([3,2,1])})); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([112.34974),yy: new ScilabDouble([274.21741),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([6,1,0]),to: new ScilabDouble([3,1,1])})); + scs_m_1.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[174.57795,196.09381],sz=[20,20],flip=%t,theta=0,exprs="1",pin=11,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=-2,intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([154.57795),yy: new ScilabDouble([206.09381),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([10,1,1])})); + + var model = scicos_model(); + model.sim = new ScilabString(["csuper"]); + model.in1 = new ScilabDouble(); + model.in2 = new ScilabDouble(); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([-1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.odstate=list(); + model.rpar=scs_m_1; + model.ipar = new ScilabDouble([1]); + model.opar=list(); + model.blocktype = new ScilabString(["h"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([false,false]); + model.label = new ScilabString([""]); + model.nzcross = new ScilabDouble([0]); + model.nmode = new ScilabDouble([0]); + model.equations=list(); + + var E = 0.1; + + var W = 30; + + var F = 1; + + var A = 1; + + var exprs = [sci2exp(E)sci2exp(W)sci2exp(F)sci2exp(A)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/PerteDP.js b/history/data_structures/PerteDP.js new file mode 100644 index 0000000..b1b5616 --- /dev/null +++ b/history/data_structures/PerteDP.js @@ -0,0 +1,40 @@ +function PerteDP () { + + + var model = scicos_model(); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + + var L = 10; + + var D = 0.2; + + var lambda = 0.03; + + var z1 = 0; + + var z2 = 0; + + var p_rho = 0; + model.rpar = new ScilabDouble([L],[D],[lambda],[z1],[z2],[p_rho]); + model.sim = new ScilabString(["PerteDP"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["PerteDP"]); + mo.inputs = new ScilabString(["C1"]); + mo.outputs = new ScilabString(["C2"]); + mo.parameters=list(new ScilabString(["L";"D";"lambda";"z1";"z2";"p_rho"]),[L],[D],[lambda],[z1],[z2],[p_rho]); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + model.out=ones(size(mo.outputs,"*"),1); + + var exprs = [[string(L)],[string(D)],[string(lambda)],[string(z1)],[string(z2)],[string(p_rho)]]; + + var gr_i = []; + this.x=standard_define([2,1],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/PotentialSensor.js b/history/data_structures/PotentialSensor.js new file mode 100644 index 0000000..1edfa55 --- /dev/null +++ b/history/data_structures/PotentialSensor.js @@ -0,0 +1,23 @@ +function PotentialSensor () { + + + var model = scicos_model(); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.rpar = new ScilabDouble(); + model.sim = new ScilabString(["PotentialSensor"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["PotentialSensor"]); + mo.inputs = new ScilabString(["p"]); + mo.outputs = new ScilabString(["v"]); + model.equations=mo; + + var gr_i = []; + this.x=standard_define([2,2],model,"",list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["E"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/PuitsP.js b/history/data_structures/PuitsP.js new file mode 100644 index 0000000..550acd9 --- /dev/null +++ b/history/data_structures/PuitsP.js @@ -0,0 +1,31 @@ +function PuitsP () { + + + var model = scicos_model(); + + var P0 = 100000; + + var T0 = 290; + + var H0 = 100000; + + var option_temperature = 1; + model.rpar = new ScilabDouble([P0],[T0],[H0],[option_temperature]); + model.sim = new ScilabString(["Puits"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["Puits"]); + mo.inputs = new ScilabString(["C"]); + mo.parameters=list(new ScilabString(["P0";"T0";"H0";"option_temperature"]),[P0],[T0],[H0],[option_temperature]); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + + var exprs = [[string(P0)],[string(T0)],[string(H0)],[string(option_temperature)]]; + + var gr_i = []; + this.x=standard_define([2.5,2],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/QUANT_f.js b/history/data_structures/QUANT_f.js new file mode 100644 index 0000000..02d0830 --- /dev/null +++ b/history/data_structures/QUANT_f.js @@ -0,0 +1,22 @@ +function QUANT_f () { + + + var pas = 0.1; + + var meth = 1; + + var model = scicos_model(); + model.sim = new ScilabString(["qzrnd"]); + model.in1 = new ScilabDouble([-1]); + model.out = new ScilabDouble([-1]); + model.rpar=new ScilabDouble([pas]); + model.ipar=new ScilabDouble([meth]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[string(pas)],[string(meth)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/RAMP.js b/history/data_structures/RAMP.js new file mode 100644 index 0000000..3ff9355 --- /dev/null +++ b/history/data_structures/RAMP.js @@ -0,0 +1,27 @@ +function RAMP () { + + + var slope = 0; + + var iout = 0; + + var stt = 0; + + var rpar = [[slope],[stt],[iout]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["ramp"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble(); + model.out = new ScilabDouble([1]); + model.rpar=rpar; + model.blocktype = new ScilabString(["c"]); + model.nmode = new ScilabDouble([1]); + model.nzcross = new ScilabDouble([1]); + model.dep_ut = new ScilabBoolean([false,true]); + + var exprs = [string(rpar)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/RAND_m.js b/history/data_structures/RAND_m.js new file mode 100644 index 0000000..f017471 --- /dev/null +++ b/history/data_structures/RAND_m.js @@ -0,0 +1,39 @@ +function RAND_m () { + + + var a = 0; + + var b = 1; + + var dt = 0; + + var flag = 0; + + var function_name = "rndblk_m"; + + var funtyp = 4; + + var model = scicos_model(); + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble(); + model.in2 = new ScilabDouble(); + model.intyp = new ScilabDouble(); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble([int(rand()*(10^7-1))],[0*...a]); + model.rpar = new ScilabDouble([...a,...b]); + model.ipar=new ScilabDouble([flag]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[sci2exp(1)],[string(flag)],[sci2exp([a])],[sci2exp([b])],[sci2exp([model.dstate(1),int(rand()*(10^7-1))])]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/RATELIMITER.js b/history/data_structures/RATELIMITER.js new file mode 100644 index 0000000..3c859f8 --- /dev/null +++ b/history/data_structures/RATELIMITER.js @@ -0,0 +1,23 @@ +function RATELIMITER () { + + + var minp = -1; + + var maxp = 1; + + var rpar = [[maxp],[minp]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["ratelimiter"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.rpar=rpar; + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[string(maxp)],[string(minp)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3.5,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/READAU_f.js b/history/data_structures/READAU_f.js new file mode 100644 index 0000000..a7ef985 --- /dev/null +++ b/history/data_structures/READAU_f.js @@ -0,0 +1,40 @@ +function READAU_f () { + + + var frmt = "uc,"; + + var fname = "test.au"; + + var lunit = 0; + + var N = 20; + + var M = 1; + + var tmask = []; + + var swap = 0; + + var offset = 1; + + var outmask = 1; + + var ievt = 0; + + var nout = size(outmask,"*"); + + var model = scicos_model(); + model.sim=list(new ScilabString(["readau"]),new ScilabDouble([2])); + model.out=nout; + model.evtin = new ScilabDouble([1]); + model.dstate = new ScilabDouble([1],[1],[lunit],[zeros(N*M,1)]); + model.ipar = new ScilabDouble([length(fname)],[_str2code(frmt)],[ievt],[N],[M],[swap],[offset],[_str2code(fname)],[tmask],[outmask]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[fname],[string(N)],[string(swap)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([5,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/READC_f.js b/history/data_structures/READC_f.js new file mode 100644 index 0000000..cc406db --- /dev/null +++ b/history/data_structures/READC_f.js @@ -0,0 +1,46 @@ +function READC_f () { + + + var frmt = "d, "; + + var fname = "foo"; + + var lunit = 0; + + var N = 20; + + var M = 1; + + var rpar = []; + + var tmask = 0; + + var swap = 0; + + var offset = 1; + + var outmask = 1; + + var ievt = 0; + + var nout = size(outmask,"*"); + + var ipar = [[,length(fname)],[,_str2code(frmt)],[,ievt],[,N],[,M],[,swap],[offset],[,_str2code(fname)],[,tmask],[,outmask,]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["readc"]),new ScilabDouble([2])); + model.out=nout; + model.evtin = new ScilabDouble([1]); + model.evtout = new ScilabDouble(); + model.dstate = new ScilabDouble([1],[,1],[,lunit],[,zeros(N*M,1)]); + model.ipar = new ScilabDouble([,length(fname)],[,_str2code(frmt)],[,ievt],[,N],[,M],[,swap],[,offset],[_str2code(fname)],[,tmask],[,outmask,]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[,"[]"],[,sci2exp(outmask)],[,fname],[,frmt],[,string(M)],[,string(N)],[,string(offset)],[string(swap),]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/REGISTER.js b/history/data_structures/REGISTER.js new file mode 100644 index 0000000..6b9b247 --- /dev/null +++ b/history/data_structures/REGISTER.js @@ -0,0 +1,20 @@ +function REGISTER () { + + + var z0 = zeros(10,1); + + var model = scicos_model(); + model.sim=list(new ScilabString(["delay4"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.dstate=z0; + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = strcat(string(z0),,";"); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/RELATIONALOP.js b/history/data_structures/RELATIONALOP.js new file mode 100644 index 0000000..72fd81c --- /dev/null +++ b/history/data_structures/RELATIONALOP.js @@ -0,0 +1,22 @@ +function RELATIONALOP () { + + + var ipar = [2]; + + var label = "<"; + + var model = scicos_model(); + model.sim=list(new ScilabString(["relationalop"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1],[1]); + model.out = new ScilabDouble([1]); + model.ipar=new ScilabDouble([ipar]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[string(ipar)],[string(0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + this.x.graphics.style = new ScilabString(["fontSize=13;fontStyle=1;displayedLabel="+label]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/RELAY_f.js b/history/data_structures/RELAY_f.js new file mode 100644 index 0000000..56000db --- /dev/null +++ b/history/data_structures/RELAY_f.js @@ -0,0 +1,25 @@ +function RELAY_f () { + + + var i0 = 0; + + var in1 = [[-1],[-1]]; + + var nin = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["relay"]),new ScilabDouble([2])); + model.in1.push(in1); + model.out = new ScilabDouble([-1]); + model.evtin=ones(in1); + model.dstate=new ScilabDouble([i0]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,true]); + + var exprs = [[string(nin)],[string(i0+1)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/RFILE_f.js b/history/data_structures/RFILE_f.js new file mode 100644 index 0000000..10fbc93 --- /dev/null +++ b/history/data_structures/RFILE_f.js @@ -0,0 +1,40 @@ +function RFILE_f () { + + + var out = 1; + + var nout = sum(out); + + var frmt = "(7(e10.3,1x))"; + + var fname = "foo"; + + var lunit = 0; + + var N = 2; + + var rpar = []; + + var tmask = 0; + + var outmask = 1; + + var ipar = [[,length(fname)],[length(frmt)],[0],[N],[,_str2code(fname)],[_str2code(frmt)],[,tmask],[outmask,]]; + + var dstate = [[1],[,1],[,lunit],[,zeros((nout)*N,,1)]]; + + var model = scicos_model(); + model.sim = new ScilabString(["readf"]); + model.out=nout; + model.evtin = new ScilabDouble([1]); + model.dstate=new ScilabDouble([dstate]); + model.ipar = new ScilabDouble([,length(fname)],[length(frmt)],[0],[N],[,_str2code(fname)],[_str2code(frmt)],[,tmask],[outmask,]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[sci2exp([])],[sci2exp(outmask)],[fname],[frmt],[string(N)],[sci2exp(out)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/RICC.js b/history/data_structures/RICC.js new file mode 100644 index 0000000..1eaf89b --- /dev/null +++ b/history/data_structures/RICC.js @@ -0,0 +1,31 @@ +function RICC () { + + + var model = scicos_model(); + + var function_name = "ricc_m"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1],[-1],[-1]); + model.in2 = new ScilabDouble([-1],[-1],[-1]); + model.intyp = new ScilabDouble([1,1,1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble([1],[1]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [[sci2exp(1)],[sci2exp(1)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/ROOTCOEF.js b/history/data_structures/ROOTCOEF.js new file mode 100644 index 0000000..df1eaad --- /dev/null +++ b/history/data_structures/ROOTCOEF.js @@ -0,0 +1,31 @@ +function ROOTCOEF () { + + + var model = scicos_model(); + + var function_name = "root_coef"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-2]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [[sci2exp(1)],[sci2exp(1)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Resistor.js b/history/data_structures/Resistor.js new file mode 100644 index 0000000..10b72c3 --- /dev/null +++ b/history/data_structures/Resistor.js @@ -0,0 +1,28 @@ +function Resistor () { + + + var model = scicos_model(); + + var R = 0.01; + model.rpar=new ScilabDouble([R]); + model.sim = new ScilabString(["resistor"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["Resistor"]); + mo.inputs = new ScilabString(["p"]); + mo.outputs = new ScilabString(["n"]); + mo.parameters=list(new ScilabString(["R"]),list(R)); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + model.out=ones(size(mo.outputs,"*"),1); + + var exprs = string(R); + + var gr_i = []; + this.x=standard_define([2,1],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SAMPHOLD_m.js b/history/data_structures/SAMPHOLD_m.js new file mode 100644 index 0000000..0a52809 --- /dev/null +++ b/history/data_structures/SAMPHOLD_m.js @@ -0,0 +1,21 @@ +function SAMPHOLD_m () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["samphold4_m"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.evtin = new ScilabDouble([1]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(1)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SATURATION.js b/history/data_structures/SATURATION.js new file mode 100644 index 0000000..37a218a --- /dev/null +++ b/history/data_structures/SATURATION.js @@ -0,0 +1,25 @@ +function SATURATION () { + + + var minp = -1; + + var maxp = 1; + + var rpar = [[maxp],[minp]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["satur"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([1]); + model.nzcross = new ScilabDouble([2]); + model.nmode = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.rpar=rpar; + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[string(maxp)],[string(minp)],[string(model.nmode)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SAWTOOTH_f.js b/history/data_structures/SAWTOOTH_f.js new file mode 100644 index 0000000..fcbe8e6 --- /dev/null +++ b/history/data_structures/SAWTOOTH_f.js @@ -0,0 +1,17 @@ +function SAWTOOTH_f () { + + + var model = scicos_model(); + model.sim = new ScilabString(["sawtth"]); + model.out = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.dstate = new ScilabDouble([0]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var exprs = " "; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SCALAR2VECTOR.js b/history/data_structures/SCALAR2VECTOR.js new file mode 100644 index 0000000..67c696c --- /dev/null +++ b/history/data_structures/SCALAR2VECTOR.js @@ -0,0 +1,18 @@ +function SCALAR2VECTOR () { + + + var nout = -1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["scalar2vector"]),new ScilabDouble([4])); + model.out=new ScilabDouble([nout]); + model.in1 = new ScilabDouble([1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [string([nout])]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SELECT_m.js b/history/data_structures/SELECT_m.js new file mode 100644 index 0000000..e4970c8 --- /dev/null +++ b/history/data_structures/SELECT_m.js @@ -0,0 +1,31 @@ +function SELECT_m () { + + + var z0 = 1; + + var nin = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["selector_m"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1],[-1]); + model.in2 = new ScilabDouble([-2],[-2]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([1]); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble(); + model.firing = new ScilabDouble(); + model.evtin=ones(nin,1); + model.dstate=new ScilabDouble([z0]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(1)],[sci2exp(nin)],[sci2exp(z0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SELF_SWITCH.js b/history/data_structures/SELF_SWITCH.js new file mode 100644 index 0000000..0966f74 --- /dev/null +++ b/history/data_structures/SELF_SWITCH.js @@ -0,0 +1,24 @@ +function SELF_SWITCH () { + + + var stateOpen = %t; + this.x=scicos_block(); + this.x.gui = new ScilabString(["SELF_SWITCH"]); + this.x.graphics.sz = new ScilabDouble([2,2]); + this.x.graphics.gr_i = new ScilabDouble(); + this.x.graphics.pin = new ScilabDouble([0]); + this.x.graphics.pout = new ScilabDouble([0]); + this.x.model.sim = new ScilabString(["csuper"]); + this.x.model.in1 = new ScilabDouble([1]); + this.x.model.out = new ScilabDouble([1]); + this.x.model.blocktype = new ScilabString(["h"]); + this.x.model.dep_ut = new ScilabBoolean([false,false]); + this.x.model.rpar=genSwitchInnerDiagram(stateOpen); + this.x.model.opar=list(stateOpen); + this.x.graphics.in_implicit = new ScilabString(["E"]); + this.x.graphics.in_style = new ScilabString([""]); + this.x.graphics.out_implicit = new ScilabString(["E"]); + this.x.graphics.out_style = new ScilabString([""]); + this.x.graphics.style = new ScilabString(["SELF_SWITCH_OFF"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SHIFT.js b/history/data_structures/SHIFT.js new file mode 100644 index 0000000..9d94041 --- /dev/null +++ b/history/data_structures/SHIFT.js @@ -0,0 +1,26 @@ +function SHIFT () { + + + var sgn = [[0],[0]]; + + var OPER = 0; + + var model = scicos_model(); + model.sim=list(new ScilabString(["shift_32_LA"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.out = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.out2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([3]); + model.outtyp = new ScilabDouble([3]); + model.rpar = new ScilabDouble(); + model.ipar=new ScilabDouble([sgn]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(3)],[sci2exp(0)],[sci2exp(0)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SIGNUM.js b/history/data_structures/SIGNUM.js new file mode 100644 index 0000000..39133f5 --- /dev/null +++ b/history/data_structures/SIGNUM.js @@ -0,0 +1,20 @@ +function SIGNUM () { + + + var nu = -1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["signum"]),new ScilabDouble([4])); + model.in1.push(new ScilabDouble([nu])); + model.out=new ScilabDouble([nu]); + model.nzcross=new ScilabDouble([nu]); + model.nmode=new ScilabDouble([nu]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [string([1])]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SINBLK_f.js b/history/data_structures/SINBLK_f.js new file mode 100644 index 0000000..eda3ed0 --- /dev/null +++ b/history/data_structures/SINBLK_f.js @@ -0,0 +1,16 @@ +function SINBLK_f () { + + + var model = scicos_model(); + model.sim = new ScilabString(["sinblk"]); + model.in1 = new ScilabDouble([-1]); + model.out = new ScilabDouble([-1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = " "; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SOM_f.js b/history/data_structures/SOM_f.js new file mode 100644 index 0000000..d17adbe --- /dev/null +++ b/history/data_structures/SOM_f.js @@ -0,0 +1,19 @@ +function SOM_f () { + + + var sgn = [[1],[1],[1]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["sum"]),new ScilabDouble([2])); + model.in1 = new ScilabDouble([-1],[-1],[-1]); + model.out = new ScilabDouble([-1]); + model.rpar=new ScilabDouble([sgn]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(1)],[sci2exp(sgn)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SQRT.js b/history/data_structures/SQRT.js new file mode 100644 index 0000000..9988080 --- /dev/null +++ b/history/data_structures/SQRT.js @@ -0,0 +1,19 @@ +function SQRT () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["mat_sqrt"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [sci2exp(1)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SRFLIPFLOP.js b/history/data_structures/SRFLIPFLOP.js new file mode 100644 index 0000000..ae291fd --- /dev/null +++ b/history/data_structures/SRFLIPFLOP.js @@ -0,0 +1,44 @@ +function SRFLIPFLOP () { + + + var scs_m = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["SRFLIPFLOP"],tol=[0.0001;0.000001;1.000E-10;100001;0;0;0],tf=60,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); + scs_m.objs.push(scicos_block(gui="LOGIC",graphics=scicos_graphics(orig=[298.504,201.45067],sz=[40,40],flip=%t,theta=0,exprs=["[0,1;1,0;1,0;1,0;0,1;0,1;0,0;0,0]";"1"],pin=[4;10;12],pout=[3;8],pein=[],peout=[],gr_i=[],id="",in_implicit=["E";"E";"E"],out_implicit=["E";"E"]),model=scicos_model(sim=list("logic",4),in1=[1],[1],[1],in2=[1],[1],[1],intyp=[5],[5],[5],out=[1],[1],out2=[1],[1],outtyp=[5],[5],evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(int8([0,1); + 1,0; + 1,0; + 1,0; + 0,1; + 0,1; + 0,0; + + var 0,0])),blocktype = "c",firing=%f,dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list()); + scs_m.objs.push(scicos_block(gui="DOLLAR_m",graphics=scicos_graphics(orig=[299.23733,254.25067],sz=[40,40],flip=%f,theta=0,exprs=["int8(0)";"1"],pin=6,pout=4,pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit="E"),model=scicos_model(sim=list("dollar4_m",4),in1=1,in2=1,intyp=5,out=1,out2=1,outtyp=5,evtin=[],evtout=[],state=[],dstate=[],odstate=list(new ScilabInteger([0])),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([347.07543),yy: new ScilabDouble([228.11733),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([5,1,1])})); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([290.6659),yy: new ScilabDouble([274.25067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([2,1,0]),to: new ScilabDouble([1,1,1])})); + scs_m.objs.push(scicos_block(gui="SPLIT_f",graphics=scicos_graphics(orig=[363.03733,248.584],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=3,pout=[6;14],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=["E";"E";"E"]),model=scicos_model(sim="lsplit",in1=-1,in2=[],intyp=1,out=[-1;-1;-1],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="c",firing=[],dep_ut=[%t,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([363.03733),yy: new ScilabDouble([248.584),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([5,1,0]),to: new ScilabDouble([2,1,1])})); + scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[367.07543,204.784],sz=[20,20],flip=%t,theta=0,exprs="2",pin=8,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([347.07543),yy: new ScilabDouble([214.784),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,2,0]),to: new ScilabDouble([7,1,1])})); + scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[249.93257,211.45067],sz=[20,20],flip=%t,theta=0,exprs="1",pin=[],pout=10,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([269.93257),yy: new ScilabDouble([221.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([9,1,0]),to: new ScilabDouble([1,2,1])})); + scs_m.objs.push(scicos_block(gui="IN_f",graphics=scicos_graphics(orig=[249.93257,201.45067],sz=[20,20],flip=%t,theta=0,exprs="2",pin=[],pout=12,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim="input",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=-1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=2,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([269.93257),yy: new ScilabDouble([211.45067),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([11,1,0]),to: new ScilabDouble([1,3,1])})); + scs_m.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[383.03733,238.584],sz=[20,20],flip=%t,theta=0,exprs="1",pin=14,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=[],intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m.objs.push(scicos_link({xx: new ScilabDouble([363.03733),yy: new ScilabDouble([248.584),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([5,2,0]),to: new ScilabDouble([13,1,1])})); + + var model = scicos_model(); + model.sim = new ScilabString(["csuper"]); + model.in1 = new ScilabDouble([1],[1]); + model.in2 = new ScilabDouble([1],[1]); + model.out = new ScilabDouble([1],[1]); + model.out2 = new ScilabDouble([1],[1]); + model.intyp = new ScilabDouble([5,5]); + model.outtyp = new ScilabDouble([5,5]); + model.blocktype = new ScilabString(["h"]); + model.firing = new ScilabBoolean([false]); + model.dep_ut = new ScilabBoolean([true,false]); + model.rpar=scs_m; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,3]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/STEP_FUNCTION.js b/history/data_structures/STEP_FUNCTION.js new file mode 100644 index 0000000..483a4c2 --- /dev/null +++ b/history/data_structures/STEP_FUNCTION.js @@ -0,0 +1,57 @@ +function STEP_FUNCTION () { + + + var scs_m_1 = scicos_diagram(); + scs_m_1.objs.push(STEP("define")); + scs_m_1.objs.push(OUT_f("define")); + scs_m_1.objs.push(scicos_link({})); + scs_m_1.objs.push(scicos_link({})); + + var blk = scs_m_1.objs(1); + + var graphics = blk.graphics; + + var model = blk.model; + graphics.orig = new ScilabDouble([0,0]); + graphics.sz = new ScilabDouble([40,40]); + graphics.pein = new ScilabDouble([4]); + graphics.peout = new ScilabDouble([4]); + graphics.pout = new ScilabDouble([3]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + blk=scs_m_1.objs(2); + graphics=blk.graphics; + model=blk.model; + graphics.orig = new ScilabDouble([80,10]); + graphics.sz = new ScilabDouble([20,20]); + graphics.exprs = new ScilabString(["1"]); + model.ipar = new ScilabDouble([1]); + graphics.pin = new ScilabDouble([3]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + + var lnk = scs_m_1.objs(3); + lnk.from = new ScilabDouble([1,1,0]); + lnk.to = new ScilabDouble([2,1,1]); + scs_m_1.objs.push(lnk); + lnk=scs_m_1.objs(4); + lnk.xx = new ScilabDouble([0,20, -20,-20,20,1]); + lnk.yy = new ScilabDouble([0,-20,-20, 60,60,1]); + lnk.ct = new ScilabDouble([5,-1]); + lnk.from = new ScilabDouble([1,1,0]); + lnk.to = new ScilabDouble([1,1,1]); + scs_m_1.objs.push(lnk); + clear blk lnk + model=scicos_model(); + model.sim = new ScilabString(["csuper"]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.rpar=scs_m_1; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SUBMAT.js b/history/data_structures/SUBMAT.js new file mode 100644 index 0000000..b8cea53 --- /dev/null +++ b/history/data_structures/SUBMAT.js @@ -0,0 +1,31 @@ +function SUBMAT () { + + + var model = scicos_model(); + + var function_name = "submat"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble([1],[1],[1],[1]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [[sci2exp(1)],[sci2exp(1)],[sci2exp(1)],[sci2exp(1)],[sci2exp(1)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2.5,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SUMMATION.js b/history/data_structures/SUMMATION.js new file mode 100644 index 0000000..4c7fe1b --- /dev/null +++ b/history/data_structures/SUMMATION.js @@ -0,0 +1,21 @@ +function SUMMATION () { + + + var sgn = [[1],[-1]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["summation"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1],[-1]); + model.out = new ScilabDouble([-1]); + model.in2 = new ScilabDouble([-2],[-2]); + model.out2 = new ScilabDouble([-2]); + model.ipar=new ScilabDouble([sgn]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = sci2exp(sgn); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,3]),model,,exprs,gr_i); + return new Summation(this.x) +} diff --git a/history/data_structures/SUM_f.js b/history/data_structures/SUM_f.js new file mode 100644 index 0000000..2497a34 --- /dev/null +++ b/history/data_structures/SUM_f.js @@ -0,0 +1,16 @@ +function SUM_f () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["plusblk"]),new ScilabDouble([2])); + model.in1 = new ScilabDouble([-1],[-1],[-1]); + model.out = new ScilabDouble([-1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var gr_i = []; + + var exprs = []; + this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i); + return new RoundBlock(this.x) +} diff --git a/history/data_structures/SUPER_f.js b/history/data_structures/SUPER_f.js new file mode 100644 index 0000000..5ed120a --- /dev/null +++ b/history/data_structures/SUPER_f.js @@ -0,0 +1,28 @@ +function SUPER_f () { + + + var scs = scicos_diagram(); + scs.props.title = new ScilabString(["Super,Block"]); + + var in1 = IN_f("define"); + in1.graphics.orig = new ScilabDouble([40,,40]); + in1.graphics.sz = new ScilabDouble([20,,20]); + + var out = OUT_f("define"); + out.graphics.orig = new ScilabDouble([240,,40]); + out.graphics.sz = new ScilabDouble([20,,20]); + scs.objs.push(in1); + scs.objs.push(out); + + var model = scicos_model(); + model.sim = new ScilabString(["super"]); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.rpar=scs; + model.blocktype = new ScilabString(["h"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); + return new SuperBlock(this.x) +} diff --git a/history/data_structures/SWITCH2_m.js b/history/data_structures/SWITCH2_m.js new file mode 100644 index 0000000..4c1934a --- /dev/null +++ b/history/data_structures/SWITCH2_m.js @@ -0,0 +1,30 @@ +function SWITCH2_m () { + + + var ipar = [0]; + + var nzz = 1; + + var rpar = 0; + + var model = scicos_model(); + model.sim=list(new ScilabString(["switch2_m"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1],[1],[-1]); + model.in2 = new ScilabDouble([-2],[1],[-2]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([-1]); + model.out2 = new ScilabDouble([-2]); + model.outtyp = new ScilabDouble([1]); + model.ipar=new ScilabDouble([ipar]); + model.rpar=new ScilabDouble([rpar]); + model.nzcross=new ScilabDouble([nzz]); + model.nmode = new ScilabDouble([1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(1)],[string(ipar)],[string(rpar)],[string(nzz)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SWITCH_f.js b/history/data_structures/SWITCH_f.js new file mode 100644 index 0000000..f9a4f5e --- /dev/null +++ b/history/data_structures/SWITCH_f.js @@ -0,0 +1,24 @@ +function SWITCH_f () { + + + var i0 = 0; + + var in1 = [[-1],[-1]]; + + var nin = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["switchn"]),new ScilabDouble([2])); + model.in1.push(in1); + model.out = new ScilabDouble([-1]); + model.ipar=new ScilabDouble([i0]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,true]); + + var exprs = [[string(nin)],[string(i0+1)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SampleCLK.js b/history/data_structures/SampleCLK.js new file mode 100644 index 0000000..51bf28a --- /dev/null +++ b/history/data_structures/SampleCLK.js @@ -0,0 +1,15 @@ +function SampleCLK () { + + + var model = scicos_model(); + model.sim = new ScilabString(["sampleclk"]); + model.evtout = new ScilabDouble([1]); + model.rpar = new ScilabDouble([1,0]); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[sci2exp(1)],[sci2exp(0)]]; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs," "); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Sigbuilder.js b/history/data_structures/Sigbuilder.js new file mode 100644 index 0000000..a4c176c --- /dev/null +++ b/history/data_structures/Sigbuilder.js @@ -0,0 +1,19 @@ +function Sigbuilder () { + + + var scs_m_1 = scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[600,450,0,0,600,450],Title=["Sigbuilder","./"],tol=[0.0001;0.000001;1.000D-10;100001;0;0;0],tf=100,context=" ",void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(%t,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); + scs_m_1.objs.push(scicos_block(gui="CURVE_c",graphics=scicos_graphics(orig=[329.63473,606.18517],sz=[40,40],flip=%t,theta=0,exprs=["3";"[0,1,2]";"[10,20,-30]";"y";"n"],pin=[],pout=6,pein=4,peout=2,gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("curve_c",4),in1=[],in2=[],intyp=1,out=1,out2=[],outtyp=1,evtin=1,evtout=1,state=[],dstate=[],odstate=list(),rpar=[0;1;2;10;20;-30],ipar=[3;3;1],opar=list(),blocktype="c",firing=0,dep_ut=[%f,%t],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([349.63473),yy: new ScilabDouble([600.47089),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([3,1,1])})); + scs_m_1.objs.push(scicos_block(gui="CLKSPLIT_f",graphics=scicos_graphics(orig=[349.49528;565.10704],sz=[0.3333333,0.3333333],flip=%t,theta=0,exprs=[],pin=[],pout=[],pein=2,peout=[8;4],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="split",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[1;1],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(),blocktype="d",firing=[%f,%f,%f],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([349.49528),yy: new ScilabDouble([565.10704),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([3,2,0]),to: new ScilabDouble([1,1,1])})); + scs_m_1.objs.push(scicos_block(gui="OUT_f",graphics=scicos_graphics(orig=[398.20616,616.18517],sz=[20,20],flip=%t,theta=0,exprs="1",pin=6,pout=[],pein=[],peout=[],gr_i=[],id="",in_implicit="E",out_implicit=[]),model=scicos_model(sim="output",in1=-1,in2=-2,intyp=-1,out=[],out2=[],outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="c",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([378.20616),yy: new ScilabDouble([626.18517),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([1,1]),from: new ScilabDouble([1,1,0]),to: new ScilabDouble([5,1,1])})); + scs_m_1.objs.push(scicos_block(gui="CLKOUTV_f",graphics=scicos_graphics(orig=[339.49528,505.10704],sz=[20,30],flip=%t,theta=0,exprs="1",pin=[],pout=[],pein=8,peout=[],gr_i=[],id="",in_implicit=[],out_implicit=[]),model=scicos_model(sim="output",in1=[],in2=[],intyp=1,out=[],out2=[],outtyp=1,evtin=1,evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=1,opar=list(),blocktype="d",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()),doc=list())); + scs_m_1.objs.push(scicos_link({xx: new ScilabDouble([349.49528),yy: new ScilabDouble([565.10704),thick: new ScilabDouble([0,0]),ct: new ScilabDouble([5,-1]),from: new ScilabDouble([3,1,0]),to: new ScilabDouble([7,1,1])})); + + var model = scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[%f,%f],label="",nzcross=0,nmode=0,equations=list()); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SineVoltage.js b/history/data_structures/SineVoltage.js new file mode 100644 index 0000000..99e8b10 --- /dev/null +++ b/history/data_structures/SineVoltage.js @@ -0,0 +1,36 @@ +function SineVoltage () { + + + var model = scicos_model(); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + + var V = 1; + + var ph = 0; + + var frq = 1; + + var offset = 0; + + var start = 0; + model.rpar = new ScilabDouble([V],[ph],[frq],[offset],[start]); + model.sim = new ScilabString(["SineVoltage"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["SineVoltage"]); + mo.inputs = new ScilabString(["p"]); + mo.outputs = new ScilabString(["n"]); + mo.parameters=list(new ScilabString(["V";"phase";"freqHz";"offset";"startTime"]),list(V,ph,frq,offset,start)); + model.equations=mo; + + var exprs = [[string(V)],[string(ph)],[string(frq)],[string(offset)],[string(start)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/SourceP.js b/history/data_structures/SourceP.js new file mode 100644 index 0000000..fa2cd52 --- /dev/null +++ b/history/data_structures/SourceP.js @@ -0,0 +1,33 @@ +function SourceP () { + + + var model = scicos_model(); + + var P0 = 300000; + + var T0 = 290; + + var H0 = 100000; + + var option_temperature = 1; + model.rpar = new ScilabDouble([P0],[T0],[H0],[option_temperature]); + model.sim = new ScilabString(["Source"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["Source"]); + mo.inputs = new ScilabDouble(); + mo.outputs = new ScilabString(["C"]); + mo.parameters=list(new ScilabString(["P0";"T0";"H0";"option_temperature"]),[P0],[T0],[H0],[option_temperature]); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + model.out=ones(size(mo.outputs,"*"),1); + + var exprs = [[string(P0)],[string(T0)],[string(H0)],[string(option_temperature)]]; + + var gr_i = []; + this.x=standard_define([2.5,2],model,exprs,list(gr_i,0)); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/Switch.js b/history/data_structures/Switch.js new file mode 100644 index 0000000..3b7d196 --- /dev/null +++ b/history/data_structures/Switch.js @@ -0,0 +1,34 @@ +function Switch () { + + + var model = scicos_model(); + + var Ron = 0.01; + + var Roff = 1e5; + + var S = ["Ron";"Roff"]; + + var Z = eval(S); + model.sim = new ScilabString(["Switch"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model=model.sim; + mo.inputs = new ScilabString(["p";"inp"]); + mo.outputs = new ScilabString(["n"]); + mo.parameters=list(S,Z); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + model.out=ones(size(mo.outputs,"*"),1); + model.rpar=Z; + + var exprs = string(Z); + + var gr_i = []; + this.x=standard_define([2,2],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I";"E"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/TANBLK_f.js b/history/data_structures/TANBLK_f.js new file mode 100644 index 0000000..e20343a --- /dev/null +++ b/history/data_structures/TANBLK_f.js @@ -0,0 +1,18 @@ +function TANBLK_f () { + + + var in1 = -1; + + var model = scicos_model(); + model.sim = new ScilabString(["tanblk"]); + model.in1.push(new ScilabDouble([in1])); + model.out=new ScilabDouble([in1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = sci2exp(in1); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/TCLSS.js b/history/data_structures/TCLSS.js new file mode 100644 index 0000000..f472447 --- /dev/null +++ b/history/data_structures/TCLSS.js @@ -0,0 +1,27 @@ +function TCLSS () { + + + var x0 = 0],[A=0],[B=1],[C=1],[D=0; + + var in1 = 1; + + var nx = size(x0,"*"); + + var out = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["tcslti4"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([in1],[nx]); + model.out=new ScilabDouble([out]); + model.evtin = new ScilabDouble([1]); + model.state=new ScilabDouble([x0]); + model.rpar = new ScilabDouble([...colon_operator(A,:)],[...B],[C(,)],[...D]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var exprs = [[strcat(sci2exp(A))],[strcat(sci2exp(B))],[strcat(sci2exp(C))],[strcat(sci2exp(D))],[strcat(sci2exp(x0))]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/TEXT_f.js b/history/data_structures/TEXT_f.js new file mode 100644 index 0000000..4ca293e --- /dev/null +++ b/history/data_structures/TEXT_f.js @@ -0,0 +1,21 @@ +function TEXT_f () { + + + var font = 2; + + var siz = 1; + + var model = scicos_model(); + model.sim = new ScilabString(["text"]); + model.rpar = new ScilabString(["Text"]); + model.ipar = new ScilabDouble([font],[siz]); + + var exprs = [["Text"],[string(font)],[,string(siz)]]; + + var graphics = scicos_graphics(); + graphics.orig = new ScilabDouble([0,0]); + graphics.sz = new ScilabDouble([2,1]); + graphics.exprs=new ScilabString([exprs]); + this.x=mlist(new ScilabString(["Text","graphics","model","void","gui"]),graphics,model,new ScilabString([" "]),new ScilabString(["TEXT_f"])); + return new TextBlock(this.x) +} diff --git a/history/data_structures/TIME_DELAY.js b/history/data_structures/TIME_DELAY.js new file mode 100644 index 0000000..82a1e99 --- /dev/null +++ b/history/data_structures/TIME_DELAY.js @@ -0,0 +1,26 @@ +function TIME_DELAY () { + + + var nin = 1; + + var T = 1; + + var init = 0; + + var N = 1024; + + var model = scicos_model(); + model.sim=list(new ScilabString(["time_delay"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([nin]); + model.out=new ScilabDouble([nin]); + model.rpar = new ScilabDouble([T,init]); + model.ipar=new ScilabDouble([N]); + model.blocktype = new ScilabString(["x"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var exprs = [[string(T)],[string(init)],[string(N)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3.5,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/TIME_f.js b/history/data_structures/TIME_f.js new file mode 100644 index 0000000..69d4312 --- /dev/null +++ b/history/data_structures/TIME_f.js @@ -0,0 +1,13 @@ +function TIME_f () { + + + var model = scicos_model(); + model.sim = new ScilabString(["timblk"]); + model.out = new ScilabDouble([1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([false,true]); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/TKSCALE.js b/history/data_structures/TKSCALE.js new file mode 100644 index 0000000..5c7bd8e --- /dev/null +++ b/history/data_structures/TKSCALE.js @@ -0,0 +1,23 @@ +function TKSCALE () { + + + var a = -10; + + var b = 10; + + var f = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["tkscaleblk"]),new ScilabDouble([5])); + model.out = new ScilabDouble([1]); + model.evtin = new ScilabDouble([1]); + model.rpar = new ScilabDouble([a],[b],[f]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[sci2exp(a)],[sci2exp(b)],[sci2exp(f)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/TOWS_c.js b/history/data_structures/TOWS_c.js new file mode 100644 index 0000000..6094f11 --- /dev/null +++ b/history/data_structures/TOWS_c.js @@ -0,0 +1,31 @@ +function TOWS_c () { + + + var nu = -1; + + var nz = 128; + + var varnam = "A"; + + var herit = 0; + + var model = scicos_model(); + model.sim=list(new ScilabString(["tows_c"]),,new ScilabDouble([4])); + model.in1 = new ScilabDouble([nu]); + model.in2 = new ScilabDouble([-2]); + model.intyp = new ScilabDouble([-1]); + model.out = new ScilabDouble(); + model.evtin = new ScilabDouble([1]); + model.evtout = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble([nz],[,length(varnam)],[,ascii(varnam)']); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([false,false]); + + var gr_i = []; + + var exprs = [[string(nz)],[,string(varnam)],[,string(herit)]]; + this.x=new standard_define(new ScilabDouble([4,2]),,model,,exprs,,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/TRASH_f.js b/history/data_structures/TRASH_f.js new file mode 100644 index 0000000..c9e4ac4 --- /dev/null +++ b/history/data_structures/TRASH_f.js @@ -0,0 +1,18 @@ +function TRASH_f () { + + + var in1 = -1; + + var model = scicos_model(); + model.sim = new ScilabString(["trash"]); + model.in1.push(new ScilabDouble([in1])); + model.evtin = new ScilabDouble([1]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = " "; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/TrigFun.js b/history/data_structures/TrigFun.js new file mode 100644 index 0000000..736a8c2 --- /dev/null +++ b/history/data_structures/TrigFun.js @@ -0,0 +1,16 @@ +function TrigFun () { + + + var model = scicos_model(); + model.sim=list(new ScilabString(["sin_blk"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([-1]); + model.out = new ScilabDouble([-1]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = "sin"; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/VARIABLE_DELAY.js b/history/data_structures/VARIABLE_DELAY.js new file mode 100644 index 0000000..81d29f1 --- /dev/null +++ b/history/data_structures/VARIABLE_DELAY.js @@ -0,0 +1,26 @@ +function VARIABLE_DELAY () { + + + var nin = 1; + + var T = 1; + + var init = 0; + + var N = 1024; + + var model = scicos_model(); + model.sim=list(new ScilabString(["variable_delay"]),new ScilabDouble([4])); + model.in1 = new ScilabDouble([nin],[1]); + model.out=new ScilabDouble([nin]); + model.rpar = new ScilabDouble([T,init]); + model.ipar=new ScilabDouble([N]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = [[string(T)],[string(init)],[string(N)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/VVsourceAC.js b/history/data_structures/VVsourceAC.js new file mode 100644 index 0000000..78dcc38 --- /dev/null +++ b/history/data_structures/VVsourceAC.js @@ -0,0 +1,30 @@ +function VVsourceAC () { + + + var model = scicos_model(); + model.in1 = new ScilabDouble([1],[1]); + model.out = new ScilabDouble([1]); + + var VA = 220; + + var FR = 50; + model.rpar = new ScilabDouble([FR]); + model.sim = new ScilabString(["VVsourceAC"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["VVsourceAC"]); + mo.inputs = new ScilabString(["p","VA"]); + mo.outputs = new ScilabString(["n"]); + mo.parameters=list(new ScilabString(["f"]),list(FR)); + model.equations=mo; + + var exprs = [string(FR)]; + + var gr_i = []; + this.x=standard_define([2,2],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I","E"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/VanneReglante.js b/history/data_structures/VanneReglante.js new file mode 100644 index 0000000..8e3dc25 --- /dev/null +++ b/history/data_structures/VanneReglante.js @@ -0,0 +1,32 @@ +function VanneReglante () { + + + var model = scicos_model(); + model.in1 = new ScilabDouble([1],[1]); + model.out = new ScilabDouble([1]); + + var Cvmax = 8005.42; + + var p_rho = 0; + model.rpar = new ScilabDouble([Cvmax],[p_rho]); + model.sim = new ScilabString(["VanneReglante"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["VanneReglante"]); + mo.inputs = new ScilabString(["C1" "Ouv"]); + mo.outputs = new ScilabString(["C2"]); + mo.parameters=list(new ScilabString(["Cvmax";"p_rho"]),[Cvmax],[p_rho]); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + model.out=ones(size(mo.outputs,"*"),1); + + var exprs = [[string(Cvmax)],[string(p_rho)]]; + + var gr_i = []; + this.x=standard_define([2,2],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I";"E"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/VariableResistor.js b/history/data_structures/VariableResistor.js new file mode 100644 index 0000000..bfb7914 --- /dev/null +++ b/history/data_structures/VariableResistor.js @@ -0,0 +1,24 @@ +function VariableResistor () { + + + var model = scicos_model(); + model.sim = new ScilabString(["VariableResistor"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["VariableResistor"]); + mo.inputs = new ScilabString(["p","R"]); + mo.outputs = new ScilabString(["n"]); + model.equations=mo; + model.in1.push(ones(size(mo.inputs,"*"),1)); + model.out=ones(size(mo.outputs,"*"),1); + + var exprs = []; + + var gr_i = []; + this.x=standard_define([2,2],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I","E"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/VirtualCLK0.js b/history/data_structures/VirtualCLK0.js new file mode 100644 index 0000000..82fa621 --- /dev/null +++ b/history/data_structures/VirtualCLK0.js @@ -0,0 +1,16 @@ +function VirtualCLK0 () { + + + var model = scicos_model(); + model.sim = new ScilabString(["vrtclk0"]); + model.evtin = new ScilabDouble([1]); + model.opar=list(); + model.ipar = new ScilabDouble(); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs," "); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/VoltageSensor.js b/history/data_structures/VoltageSensor.js new file mode 100644 index 0000000..3eab08a --- /dev/null +++ b/history/data_structures/VoltageSensor.js @@ -0,0 +1,24 @@ +function VoltageSensor () { + + + var model = scicos_model(); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1],[,1]); + model.sim = new ScilabString(["VoltageSensor"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["VoltageSensor"]); + mo.inputs = new ScilabString(["p"]); + mo.outputs = new ScilabString(["n";"v"]); + model.equations=mo; + + var exprs = []; + + var gr_i = []; + this.x=standard_define([2,2],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I";"E"]); + return new VoltageSensorBlock(this.x) +} diff --git a/history/data_structures/VsourceAC.js b/history/data_structures/VsourceAC.js new file mode 100644 index 0000000..fa02afd --- /dev/null +++ b/history/data_structures/VsourceAC.js @@ -0,0 +1,30 @@ +function VsourceAC () { + + + var model = scicos_model(); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + + var VA = 220; + + var FR = 50; + model.rpar = new ScilabDouble([VA],[FR]); + model.sim = new ScilabString(["VsourceAC"]); + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var mo = modelica(); + mo.model = new ScilabString(["VsourceAC"]); + mo.inputs = new ScilabString(["p"]); + mo.outputs = new ScilabString(["n"]); + mo.parameters=list(new ScilabString(["VA";"f"]),list(VA,FR)); + model.equations=mo; + + var exprs = [[string(VA)],[string(FR)]]; + + var gr_i = []; + this.x=standard_define([2,2],model,exprs,list(gr_i,0)); + this.x.graphics.in_implicit = new ScilabString(["I"]); + this.x.graphics.out_implicit = new ScilabString(["I"]); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/WFILE_f.js b/history/data_structures/WFILE_f.js new file mode 100644 index 0000000..7e9a4ed --- /dev/null +++ b/history/data_structures/WFILE_f.js @@ -0,0 +1,30 @@ +function WFILE_f () { + + + var in1 = 1; + + var nin = sum(in1); + + var frmt = "(7(e10.3,1x))"; + + var fname = "foo"; + + var lunit = 0; + + var N = 2; + + var model = scicos_model(); + model.sim = new ScilabString(["writef"]); + model.in1.push(new ScilabDouble([in1])); + model.evtin = new ScilabDouble([1]); + model.dstate = new ScilabDouble([-1],[lunit],[zeros((nin+1)*N,1)]); + model.ipar = new ScilabDouble([length(fname)],[length(frmt)],[0],[N],[_str2code(fname)],[_str2code(frmt)]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(in1)],[fname],[frmt],[string(N)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/WRITEAU_f.js b/history/data_structures/WRITEAU_f.js new file mode 100644 index 0000000..d831faf --- /dev/null +++ b/history/data_structures/WRITEAU_f.js @@ -0,0 +1,32 @@ +function WRITEAU_f () { + + + var in1 = 1; + + var nin = sum(in1); + + var frmt = "uc,"; + + var fname = "/dev/audio"; + + var swap = 0; + + var lunit = 0; + + var N = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["writeau"]),new ScilabDouble([2])); + model.in1.push(new ScilabDouble([in1])); + model.evtin = new ScilabDouble([1]); + model.dstate = new ScilabDouble([-1],[lunit],[zeros((nin+1)*N,1)]); + model.ipar = new ScilabDouble([length(fname)],[_str2code(frmt)],[N],[swap],[_str2code(fname)]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [string(N)string(swap)]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/WRITEC_f.js b/history/data_structures/WRITEC_f.js new file mode 100644 index 0000000..3f8f785 --- /dev/null +++ b/history/data_structures/WRITEC_f.js @@ -0,0 +1,32 @@ +function WRITEC_f () { + + + var in1 = 1; + + var nin = sum(in1); + + var frmt = "c, "; + + var fname = "foo"; + + var swap = 0; + + var lunit = 0; + + var N = 2; + + var model = scicos_model(); + model.sim=list(new ScilabString(["writec"]),new ScilabDouble([2])); + model.in1.push(new ScilabDouble([in1])); + model.evtin = new ScilabDouble([1]); + model.dstate = new ScilabDouble([-1],[lunit],[zeros((nin+1)*N,1)]); + model.ipar = new ScilabDouble([length(fname)],[_str2code(frmt)],[N],[swap],[_str2code(fname)]); + model.blocktype = new ScilabString(["d"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[sci2exp(in1)],[fname],[frmt],[string(N)string(swap)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/ZCROSS_f.js b/history/data_structures/ZCROSS_f.js new file mode 100644 index 0000000..de4b8d9 --- /dev/null +++ b/history/data_structures/ZCROSS_f.js @@ -0,0 +1,23 @@ +function ZCROSS_f () { + + + var rpar = [[-1],[-1],[0],[0]]; + + var in1 = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["zcross"]),new ScilabDouble([1])); + model.in1.push(new ScilabDouble([in1])); + model.nzcross=new ScilabDouble([in1]); + model.evtout = new ScilabDouble([1]); + model.rpar = new ScilabDouble([-1],[-1],[0],[0]); + model.blocktype = new ScilabString(["z"]); + model.firing = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = strcat(sci2exp(in1)); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/c_block.js b/history/data_structures/c_block.js new file mode 100644 index 0000000..97c9cae --- /dev/null +++ b/history/data_structures/c_block.js @@ -0,0 +1,43 @@ +function c_block () { + + + var in1 = 1; + + var out = 1; + + var clkin = []; + + var clkout = []; + + var x0 = []; + + var z0 = []; + + var typ = "c"; + + var auto = []; + + var rpar = []; + + var funam = "toto"; + + var model = scicos_model(); + model.sim=list(new ScilabString([" "]),new ScilabDouble([2001])); + model.in1.push(new ScilabDouble([in1])); + model.out=new ScilabDouble([out]); + model.evtin=clkin; + model.evtout=clkout; + model.state=x0; + model.dstate=z0; + model.rpar=rpar; + model.ipar = new ScilabDouble([0]); + model.blocktype=new ScilabString([typ]); + model.firing=auto; + model.dep_ut = new ScilabBoolean([true,false]); + + var label = list([sci2exp(in1)],[sci2exp(out)],[ strcat(sci2exp(rpar))],[funam],list([])); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/fortran_block.js b/history/data_structures/fortran_block.js new file mode 100644 index 0000000..5abf2b0 --- /dev/null +++ b/history/data_structures/fortran_block.js @@ -0,0 +1,25 @@ +function fortran_block () { + + + var model = scicos_model(); + model.sim=list(new ScilabString([" "]),new ScilabDouble([1001])); + model.in1 = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.evtin = new ScilabDouble(); + model.evtout = new ScilabDouble(); + model.state = new ScilabDouble(); + model.dstate = new ScilabDouble(); + model.rpar = new ScilabDouble(); + model.ipar = new ScilabDouble([0]); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabDouble(); + model.dep_ut = new ScilabBoolean([true,false]); + + var funam = "forty"; + + var label = list([sci2exp(model.in1)],[sci2exp(model.out)],[strcat(sci2exp(model.rpar))],[funam],list([])); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/freq_div.js b/history/data_structures/freq_div.js new file mode 100644 index 0000000..47bdf8a --- /dev/null +++ b/history/data_structures/freq_div.js @@ -0,0 +1,113 @@ +function freq_div () { + + + var scs_m_1 = scicos_diagram(); + scs_m_1.objs.push(Modulo_Count("define")); + scs_m_1.objs.push(CLKINV_f("define")); + scs_m_1.objs.push(CLKOUTV_f("define")); + scs_m_1.objs.push(IFTHEL_f("define")); + scs_m_1.objs.push(CLKSPLIT_f("define")); + scs_m_1.objs.push(scicos_link({})); + scs_m_1.objs.push(scicos_link({})); + scs_m_1.objs.push(scicos_link({})); + scs_m_1.objs.push(scicos_link({})); + scs_m_1.objs.push(scicos_link({})); + + var blk = scs_m_1.objs(1); + + var graphics = blk.graphics; + + var model = blk.model; + graphics.orig = new ScilabDouble([0,-100]); + graphics.sz = new ScilabDouble([60,40]); + graphics.exprs = new ScilabString(["0";"3"]); + model.dstate = new ScilabDouble([3]); + model.ipar = new ScilabDouble([3]); + graphics.pout = new ScilabDouble([7]); + graphics.pein = new ScilabDouble([10]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + blk=scs_m_1.objs(2); + graphics=blk.graphics; + model=blk.model; + graphics.orig = new ScilabDouble([120,0]); + graphics.sz = new ScilabDouble([20,20]); + graphics.exprs = new ScilabString(["1"]); + model.ipar = new ScilabDouble([1]); + graphics.peout = new ScilabDouble([6]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + blk=scs_m_1.objs(3); + graphics=blk.graphics; + model=blk.model; + graphics.orig = new ScilabDouble([130,-160]); + graphics.sz = new ScilabDouble([20,20]); + graphics.exprs = new ScilabString(["1"]); + model.ipar = new ScilabDouble([1]); + graphics.pein = new ScilabDouble([8]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + blk=scs_m_1.objs(4); + graphics=blk.graphics; + model=blk.model; + graphics.orig = new ScilabDouble([100,-100]); + graphics.sz = new ScilabDouble([60,40]); + graphics.exprs = new ScilabString(["1";"0"]); + model.ipar = new ScilabDouble([1]); + graphics.pin = new ScilabDouble([7]); + graphics.pein = new ScilabDouble([9]); + graphics.peout = new ScilabDouble([0],[8]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + blk=scs_m_1.objs(5); + graphics=blk.graphics; + model=blk.model; + graphics.orig = new ScilabDouble([127,-33]); + graphics.sz = new ScilabDouble([7,7]); + graphics.pein = new ScilabDouble([6]); + graphics.peout = new ScilabDouble([9],[10]); + blk.graphics=graphics; + blk.model=model; + scs_m_1.objs.push(blk); + + var lnk = scs_m_1.objs(6); + lnk.ct = new ScilabDouble([5,-1]); + lnk.from = new ScilabDouble([2,1,0]); + lnk.to = new ScilabDouble([5,1,1]); + scs_m_1.objs.push(lnk); + lnk=scs_m_1.objs(7); + lnk.from = new ScilabDouble([1,1,0]); + lnk.to = new ScilabDouble([4,1,1]); + scs_m_1.objs.push(lnk); + lnk=scs_m_1.objs(8); + lnk.ct = new ScilabDouble([5,-1]); + lnk.from = new ScilabDouble([4,2,0]); + lnk.to = new ScilabDouble([3,1,1]); + scs_m_1.objs.push(lnk); + lnk=scs_m_1.objs(9); + lnk.ct = new ScilabDouble([5,-1]); + lnk.from = new ScilabDouble([5,1,0]); + lnk.to = new ScilabDouble([4,1,1]); + scs_m_1.objs.push(lnk); + lnk=scs_m_1.objs(10); + lnk.xx = new ScilabDouble([0,30,1]); + lnk.yy = new ScilabDouble([0,-30,1]); + lnk.ct = new ScilabDouble([5,-1]); + lnk.from = new ScilabDouble([5,2,0]); + lnk.to = new ScilabDouble([1,1,1]); + scs_m_1.objs.push(lnk); + clear blk lnk + model=scicos_model(); + model.sim = new ScilabString(["csuper"]); + model.evtin = new ScilabDouble([1]); + model.evtout = new ScilabDouble([1]); + model.rpar=scs_m_1; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([3,2]),model,[],gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/generic_block3.js b/history/data_structures/generic_block3.js new file mode 100644 index 0000000..82804f0 --- /dev/null +++ b/history/data_structures/generic_block3.js @@ -0,0 +1,23 @@ +function generic_block3 () { + + + var model = scicos_model(); + + var function_name = "sinblk"; + + var funtyp = 4; + model.sim=list(function_name,funtyp); + model.in1 = new ScilabDouble([1]); + model.in2 = new ScilabDouble([1]); + model.intyp = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.out2 = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.dep_ut = new ScilabBoolean([true,false]); + + var label = [[function_name;sci2exp(funtyp);sci2exp([model.in1,model.in2]);sci2exp(model.intyp);sci2exp([model.out,model.out2])sci2exp(model.outtyp);sci2exp(model.evtin);sci2exp(model.evtout);sci2exp(model.state);sci2exp(model.dstate);sci2exp(model.odstate);sci2exp(model.rpar);sci2exp(model.ipar);sci2exp(model.opar);sci2exp(model.nmode);sci2exp(model.nzcross);sci2exp(model.firing);"y";"n"]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,label,gr_i); + return new BasicBlock(this.x) +} diff --git a/history/data_structures/scifunc_block_m.js b/history/data_structures/scifunc_block_m.js new file mode 100644 index 0000000..20d082c --- /dev/null +++ b/history/data_structures/scifunc_block_m.js @@ -0,0 +1,51 @@ +function scifunc_block_m () { + + + var in1 = 1; + + var out = 1; + + var clkin = []; + + var clkout = []; + + var x0 = []; + + var z0 = []; + + var typ = "c"; + + var auto = []; + + var rpar = []; + + var it = 1; + + var model = scicos_model(); + model.sim=list(new ScilabString(["scifunc"]),new ScilabDouble([3])); + model.in1.push(new ScilabDouble([in1])); + model.in2.push(new ScilabDouble([in1])); + model.intyp=new ScilabDouble([it]); + model.out=new ScilabDouble([out]); + model.out2.push(new ScilabDouble([out])); + model.outtyp=new ScilabDouble([it]); + model.evtin=clkin; + model.evtout=clkout; + model.state=x0; + model.dstate=z0; + model.rpar=rpar; + model.ipar = new ScilabDouble([0]); + model.opar=list(); + model.blocktype=new ScilabString([typ]); + model.firing=auto; + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = list([sci2exp([in1,in1])],[sci2exp([out,out])],[sci2exp(clkin)],[sci2exp(clkout); + strcat(sci2exp(x0));strcat(sci2exp(z0)); + + var strcat(sci2exp(rpar));sci2exp(auto);sci2exp(0)],list("y1 = sin(u1)"," "," ","y1=sin(u1)"," "," "," ")); + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([4,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} diff --git a/styles/new.xml b/styles/new.xml deleted file mode 100644 index f2b7211..0000000 --- a/styles/new.xml +++ /dev/null @@ -1,974 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit