![]() |
||
Basler Frame Grabber SDK: FieldParameterAccess Struct Reference |
FieldParameterAccess Struct Reference
Detailed Descriptionaccessor struct for array parameters This struct allows access to array parameters of any type in a flexible way. Both range accesses as well as single value accesses are possible. struct FieldParameterAccess singleaccess; struct FieldParameterAccess rangeaccess; uint64_t primes[7] = { 1, 2, 3, 5, 7, 11, 13 }; uint32_t answer = 42; // set up single value access singleaccess.vtype = FG_PARAM_TYPE_UINT32_T; singleaccess.index = 17; singleaccess.count = 1; singleaccess.p_uint32_t = &answer; // set up range access rangeaccess.vtype = FG_PARAM_TYPE_UINT64_T; // every data value is an uint64_t rangeaccess.index = 0; rangeaccess.count = 7; rangeaccess.p_uint64_t = primes; Field Documentation
gives the value count of the range
gives the first index in the range
a range of double values
a range of signed 32 bit integer values
a range of signed 64 bit integer values
a range of unsigned 32 bit integer values
a range of unsigned 64 bit integer values gives the type of the included data |