I have pruned this down to its most basic example. Please see attached.
This shows the example where I want to vary the period of the Boolean pulse generator based on a parameter or variable. I did try changing the output of the table to a "variable" but that made no difference.
When I attempt to compile, it gives this error message:
Building "BooleanExample" as experiment "BooleanExample 1" started at 15:01:07
Error: interactive [2:40-2:59] Component pulse1.period of variability PARAM has binding somePeriod of higher variability VAR.
Build finished at 15:01:09 (took 00:01).
Error: No executable generated /Users/markross/Library/Caches/com.wolfram.SystemModeler/WolframSystemModeler-12.1/sme.12.1.0_1595973667_1557810404.exe
Error: No settings file generated /Users/markross/Library/Caches/com.wolfram.SystemModeler/WolframSystemModeler-12.1/sme.12.1.0_1595973667_1557810404.sim
I have used the Boolean pulse generator where I set the period to some parameter and that works as expected. The ability to dynamically change the period is what I have not been able to figure out.
Attachments: