Examples

This example shows how to create two Grspw2 devices and connect them.

import BusModels
import Grspw2
object-create class=Grspw2 name=grspw0
object-create class=Grspw2 name=grspw1
spw-connect port1=grspw0:SpwPortIface[0] port2=grspw1:SpwPortIface[0]