Function Reference 153
imc CANSAS Users Manual - Doc. Version 1.9 - 05.12.2014© 2014 imc Meßsysteme GmbH
4.10.20 Constant digital channel
Data rate of result channel
Numerical return value, 1 (TRUE) or 0 (FALSE).
Constant digital channel.
Description: Generates a constant digital channel with the specified pulse rate and binary value 1 (TRUE)
or 0 (FALSE).
Data types:
4.10.21 Conversion to Float numerical format (only for acquisition modules)
Channel whose values are to be expressed in Float numerical format
Values from Input channel expressed in Float numerical format
Description: Conversion of an integer (2 Byte) to a real number (4Byte) giving regard to the scaling factor
and offset. The real number is determined by the algorithm:
y [k] = Factor * u [k] + Offset
where k is a serial index and u an input channel in Integer data format (devoid of scaling, i.e. without
scaling factor or offset) y is the result channel in Real data format. Factor is the input channel's scaling
factor and Offset Input channel's offset.
Data types:
4.10.22 Event counting (only for DI16 modules)
Digital input channel in whose signal events are to be counted
Clock pulse rate of results channel
Channel containing number of events.
Description: Returns number of events occurring at the digital channel within one result clock pulse
period. An event is a transition from 0 to 1 (or nonzero), i.e., a positive edge.
Notes: Only digital input channels are allowed. The input channel's sampling rate may only be 0.1 ms, 0.2
ms, 0.5 ms or 1 ms.