Spaces:
Sleeping
Sleeping
Download data/blocks/CLOCK_f.json from notsn/headless_scilab: direct link, hf CLI and curl.
- Browser
- Download file 1.96 kB
-
https://huggingface.co/spaces/notsn/headless_scilab/resolve/main/data/blocks/CLOCK_f.json
- Command line
-
hf download hf://spaces/notsn/headless_scilab/data/blocks/CLOCK_f.json
-
curl -L -o CLOCK_f.json https://huggingface.co/spaces/notsn/headless_scilab/resolve/main/data/blocks/CLOCK_f.json
1.96 kB
| { | |
| "name": "CLOCK_f", | |
| "description": "Older Scicos-era periodic clock generator (use CLOCK_c for new diagrams)", | |
| "sourceFile": "data/macros/Sources/CLOCK_f.sci", | |
| "criticalRules": [ | |
| "SUPERBLOCK \u2014 blockType='h', simulationFunctionName='csuper', simulationFunctionType='DEFAULT'.", | |
| "ALL top-level exprs/realParameters/integerParameters MUST be ScilabDouble height='0' width='0'. Parameters live inside the SuperBlockDiagram.", | |
| "MUST contain a <SuperBlockDiagram> child AFTER <mxGeometry>.", | |
| "SuperBlockDiagram contains: EventOutBlock(CLKOUT_f) + BasicBlock(EVTDLY_f) + SplitBlock(CLKSPLIT_f) + 3 CommandControlLinks.", | |
| "EVTDLY_f uses simulationFunctionName='evtdly', simulationFunctionType='C_OR_FORTRAN' (NOT evtdly4/CLOCK_c variant).", | |
| "EVTDLY_f exprs: ScilabString height='2' \u2014 ['0.1', '0.1'] (period and initial fire time).", | |
| "EVTDLY_f realParameters: ScilabDouble height='1' width='2' \u2014 [0.1, 0.1].", | |
| "CLKOUT_f inside SuperBlockDiagram uses tag <EventOutBlock>, NOT <BasicBlock>.", | |
| "Top-level CommandPort: ONE CommandPort sibling of the block (parent = block id), ordering='1', initialState='-1.0'.", | |
| "No reference .xcos file exists for CLOCK_f \u2014 call get_xcos_block_source('CLOCK_f') for defaults, and model the SuperBlockDiagram structure after CLOCK_c.xcos (replacing EVTDLY_c with EVTDLY_f)." | |
| ], | |
| "anomalies": [ | |
| "SuperBlock \u2014 Scilab-era version of CLOCK_c. Use CLOCK_c for new diagrams.", | |
| "Internal EVTDLY_f differs from CLOCK_c's EVTDLY_c: different C simulation function name.", | |
| "Has a single CommandPort at bottom for event output (same as CLOCK_c)." | |
| ], | |
| "commonUses": [ | |
| "Legacy diagram compatibility", | |
| "Periodic event generation (older Scicos style)", | |
| "When CLOCK_c is not available in older palettes" | |
| ], | |
| "relatedBlocks": [ | |
| "CLOCK_c", | |
| "EVTDLY_f", | |
| "EVTDLY_c", | |
| "CLKSPLIT_f", | |
| "CLKOUT_f" | |
| ] | |
| } |