13 lines
277 B
Python
13 lines
277 B
Python
channel="TESTIOC:TESTSINUS:SinCalc"
|
|
|
|
pv1 = ReadonlyProcessVariable("C1", channel)
|
|
pv2 = ReadonlyProcessVariable("C2", channel)
|
|
pv1.config.offset = 10
|
|
pv1.config.scale = 2
|
|
pv2.config.offset = 20
|
|
pv1.config.scale = 4
|
|
|
|
pv1.initialize()
|
|
pv2.initialize()
|
|
|
|
tscan([pv1, pv2], 10, 0.1) |