Holds metadata about the data you just received with :func:`get_data`
'''
_fields_=[
('IRQskipped',c_int32),# Number of IRQ skipped
('NbRows',c_int32),# Number of rows into the data buffer, i.e.number of points saved in the data buffer
('NbCols',c_int32),# Number of columns into the data buffer, i.e. number of variables defining a po('in the data buffer
('TechniqueIndex',c_int32),# Index (0-based) of the technique who has generated the data. This field is only useful for linked techniques
('TechniqueID',c_int32),# Identifier of the technique who has generated the data. Must be used to identify the data format into the data buffer (see TechniqueIdentifier )
('ProcessIndex',c_int32),# Index (0-based) of the process of the technique who has generated the data. Must be used to identify the data format into the data buffer
('loop',c_int32),# Loop number
('StartTime',c_double),# Start time (s)
('MuxPad',c_int32),# Active MP-MEA option pad number (SP-300 series only)
]
_DataInfo_p=POINTER(_DataInfo)
DataInfo=__struct_to_namedtuple_type(_DataInfo)
_DataBuffer=1000*c_uint32
_DataBuffer_p=POINTER(_DataBuffer)
@stringify_struct
class_EccParam(Structure):
'''
Defines an elementary technique parameter and is used by
:func:`load_technique`
'''
_fields_=[
('ParamStr',64*c_char),# (len=64) string who defines the parameter
# label (see section 7. Techniques in PDF for
# a complete description of parameters available
# for each technique)
('ParamType',c_int32),# Parameter type (see ParamType)
('ParamVal',c_int32),# Parameter value. \warning Numerical value
('ParamIndex',c_int32),# Parameter index (0-based), useful for multi-step parameters. Otherwise should be 0.
]
_EccParam_p=POINTER(_EccParam)
@stringify_struct
class_EccParams(Structure):
'''
Defines an array of elementary technique parameters and is used by
:func:`load_technique`
'''
_fields_=[
('len',c_int32),# Length of the array pointed by pParams
('pParams',_EccParam_p),# Pointer on the array of technique parameters (array of structure EccParam)
]
_EccParams_p=POINTER(_EccParams)
@stringify_struct
class_HardwareConf(Structure):
'''
Describes the channel electrode configuration.
See :func:`get_hard_conf` and :func:`set_hard_conf`
'''
_fields_=[
('Conn',c_int32),# Electrode connection (see ElectrodeConn)
('Ground',c_int32),# Instrument ground (see ElectrodeMode)