VC10Granularity

V = Variables

C = Calculation functions

The VC10Granularity function displays a value with granularity and threshold filter.

IMPLEMENTATION

VC10Granularity (in, out, granularity, threshold)

Parameters:

IN/OUT VARIABLE TYPE EXAMPLE NAME DIM
IN GLOBAL in W/L Input value variable
OUT GLOBAL out W/L Output value variable
IN CONST/GLOBAL granularity W/L Granularity value variable
IN CONST/GLOBAL threshold W/L Threshold value variable

Example

 IF true
 	 FOR (gbYourByte = 1, gbYourByte LE 100, 1)
 	 VCin = VCin + 1
 	 VC10Granularity(VCin, VCout, VCgranularity, VCthreshold)
 	 NEXT 	 
 ENDIF

Note