Package org.yamcs.studio.data.sim
Class Flipflop
Function to simulate a boolean signal that turns on and off.
-
Field Summary
Fields inherited from class org.yamcs.studio.data.sim.SimFunction
lastTime
-
Constructor Summary
-
Method Summary
Methods inherited from class org.yamcs.studio.data.sim.SimFunction
createValues, getTimeBetweenSamples
-
Constructor Details
-
Flipflop
public Flipflop()Creates a flipflop that changes every 500 ms. -
Flipflop
Creates a signal that turns on and off every interval.- Parameters:
interval
- interval between samples in seconds
-