sio_bionic_aio module

File : sio_4711A.py Author : roar@tordivel.no Copyright: (c) Tordivel AS 2013

Description:
Standard Scorpion python io interface to Advantech Bionic Interface
Revisions:
1.0.0.0, 27mar2012, RL:
initial
class sio_bionic_aio.BioDAQ(name)

Bases: bionicapi.BionicAPI

Scorpion Standard IO device implementation for BioDAQ devices

createDevice(deviceid)
getCaps()

get capabilities tuple (nDI,nDO)

diReadBit(byteno, bitno)

read input bit - return (errcode,value)

doWriteBit(byteno, bitno, value)

write output bit - return errcode

doReadBit(byteno, bitno)

read output bit - return (errcode,value)

diReadByte(byteno)

read input byte - return (errcode,value)

doWriteByte(byteno, value)

write output byte - return errcode

doReadByte(byteno)

read output byte - return (errcode,value)

getConfig()

return config as string - optional

setConfig(value)

set config from string - optional

configure()

launch configuration dialog if any. hWnd is parent window handle - optional

executeCmd(command)

execute command - return (bool,string) - optional

sio_bionic_aio.CreatePlugin(hWnd, name='')

Scorpion Plugin Stub - Required