DataDescriptor makeAssociatedField ( int bitWidth ) { DataDescriptor assDD = new DataDescriptor ( ) ; assDD . name = name + "_associated_field" ; assDD . units = "" ; assDD . refVal = 0 ; assDD . scale = 0 ; assDD . bitWidth = bitWidth ; assDD . type = 0 ; assDD . f = 0 ; assDD . x = 31 ; assDD . y = 22 ; assDD . fxy = ( short ) ( ( f << 14 ) + ( x << 8 ) + ( y ) ) ; return assDD ; }
for associated fields