コード例 #1
0
#!/usr/local/epics/modules/pythonIoc/pythonIoc

#import basic softioc framework
from softioc import softioc, builder

#import the the application
from STGC import STGC

stgc = STGC('130.199.60.8')

#run the ioc
builder.LoadDatabase()
softioc.iocInit()

stgc.do_startthread()

#start the ioc shell
softioc.interactive_ioc(globals())
コード例 #2
0
ファイル: startup.py プロジェクト: Araneidae/pythonIoc
# Simple example script for building an example soft IOC.

import versions

import cothread
from softioc import softioc, builder, pvlog

from testing import *

softioc.devIocStats('TS-DI-TEST-01')

builder.LoadDatabase()
softioc.iocInit()

softioc.interactive_ioc(globals())