Versions in this module Expand all Collapse all v1 v1.0.0 Nov 3, 2021 Changes in this version + const ALL_INPUTS + const INPUT01 + const INPUT02 + const INPUT03 + const INPUT04 + const INPUT05 + const INPUT06 + const INPUT07 + const INPUT08 + const INPUT09 + const INPUT10 + const IdFunctionCOUNTER01 + const IdFunctionCOUNTER02 + const IdFunctionCOUNTER03 + const IdFunctionCOUNTER04 + const IdFunctionCOUNTER05 + const IdFunctionCOUNTER06 + const IdFunctionCOUNTER07 + const IdFunctionCOUNTER08 + const IdFunctionCOUNTER09 + const IdFunctionCOUNTER10 + const IdFunctionINPUTS + const MODE_PRETRIGGER_TIME + const MODE_PULSE_COUNTER + const MODE_WIDTH_COUNTER + const NUMBER_OF_DI_INPUTS + type DInput10Module struct + func NewDInput10Module() *DInput10Module + func (din *DInput10Module) ConfigEventAtTimeInterval(time_interval time.Duration) error + func (din *DInput10Module) ConfigEventOnNewData() error + func (din *DInput10Module) ConfigEventOnValueChange(threshold uint32, event_mask uint16) error + func (din *DInput10Module) Destroy() + func (din *DInput10Module) GetAllPulseCount() ([NUMBER_OF_DI_INPUTS]uint32, error) + func (din *DInput10Module) GetAllPulseWidth() ([NUMBER_OF_DI_INPUTS]uint32, error) + func (din *DInput10Module) GetAllStatus() ([NUMBER_OF_DI_INPUTS]bool, error) + func (din *DInput10Module) GetPulseCount(input_number uint16) (uint32, error) + func (din *DInput10Module) GetPulseWidth(input_mask uint16) (uint32, error) + func (din *DInput10Module) GetStatus(input_mask uint16) (uint8, error) + func (din *DInput10Module) Init(cb DInput10Module_callback_func, cb_ctx interface{}) error + func (din *DInput10Module) InitModuleNumber(cb DInput10Module_callback_func, cb_ctx interface{}, module_number uint8) error + func (din *DInput10Module) ResetAllPulseCount() error + func (din *DInput10Module) ResetEventConfig() error + func (din *DInput10Module) ResetPulseCount(input_mask uint16) error + func (din *DInput10Module) SwitchToMode(event_mask uint16, mode uint32) error + type DInput10Module_callback_func func([]byte, uint8, interface{})