Previous topic

Signal API

Next topic

Pulses API

This Page

Edges API

addEdge(Signal sig, double edgeTime, String newState)

Adds an Edge to a Signal. The edge is added to the signal at the specified time. The edge object contains the time and new state of the edge. Adding edges should only be used when the new edge will be last edge in the signal. You can use addPulse() to change the state of a signal at any time.

Returns the Edge object.

thisEdge = timDiagram.addEdge(pci_data,340.0e-9,"FF22")
addEdge(Signal sig, double minTime, double maxTime, String newState)

Adds an Edge to a Signal with showing min and max times. The Edge is added to the list of edges for the signal and then sorted by edge times.

Returns the Edge object.

thisEdge = timDiagram.addEdge(pci_data,340.0e-9,342e-9,"FF22")