I have a programmable device simulator and the tags are not updating fast enough in the designer.
I have one boolean that is set to have a value of
square(1.0, 0.0, 1.0, true)
Regardless, this is probably the wrong hammer for this job.
I wouldn't recommend driving any "production" logic off a simulator tag.
From the tag name, it sounds like you're looking for a "flasher". In Perspective, you really shouldn't use a tag-based flashing approach. Instead, use a style class:
Or if you insist on using a tag, so that flashing is globally synchronized, just use an expression tag with something like: getSeconds(now(__someRateIntegerInMilliseconds__)) % 2 = 0
If the expression tag is set to 'Event Driven' mode, it'll run as fast as the refresh rate you set on now().
I think you have misunderstood how the simulator works. Your square wave period is expected to be an integer, indicating how many cycles of the base rate it lasts. The base rate is an overall setting for the simulator.
So square signal is multiple of the base rate
square(1.0, 0.0, 0.5, true)
square(min, max, period, repeat)
Where period
Represents a period of time as a number of Time Intervals. The default value of 10 represents "10 Time Intervals.". So it needs to be a multiple of the base. 1000 ms is the default