UCD Console for UCD-340 User Manual | Unigraf Oy
65.
-var dhz=2; #delta value for frequency
-var bool=0,1 #defines bool[0]=0 and bool[1]=1
-var CsSkip=bool[0],bool[1],bool[1] # CsSkip[0]=0 CsSkip[1]=1 CsSkip[2]=1
-loops cs=3 #three color spaces
-loops p=SzP #p starts at 0 for patterns
-loops t=SzT #t starts at 0 for timings
-if CsSkip[cs].eq.1.and.p.ne.10
-continue #only want to run non-RGB tests for pattern 10
-endif
-d SourceDevice
-c TSI_W_PG_PREDEF_TIMING_SELECT=t;
-c TSI_W_PG_PREDEF_PATTERN_SELECT=p;
-if p.ne.10.and.cs.ne.0.or.cs.eq.0
-c setcolorSpace_RGB #a macro
-else
-if cs.eq.1
-c setcolorSpace_YcbCr420 #a macro
-else
-c setcolorSpace_YcbCr422 #a macro
-endif
-endif
-c TSI_W_PG_COMMAND=1; #apply command
-c .read=TSI_PG_CUSTOM_TIMING_HACTIVE;
-var wdpix=lastread; # lastread is a global variable
-c .read=TSI_PG_CUSTOM_TIMING_VACTIVE;
-var htpix=lastread;
-c .read=TSI_PG_CUSTOM_TIMING_FIELD_RATE;
-var hz=lastread;
-var hz/=100; # scaling to work with TSI_R_INPUT_FREQ below
-pr "" -pr "Timing " -prvar t -prapp " " -prvar wdpix
-prapp "x" -prvar htpix -prapp " @ " -prvar hz/10 -prapp "Hz"
-prapp "\" -prapp "Pattern " -prvar p -prapp " "
-c .read=TSI_R_PG_PREDEF_PATTERN_NAME.bytes.256
-d SinkDevice
-var wdpixmin=wdpix; -var wdpixmin-=dpix;
-var wdpixmax=wdpix; -var w=dpix;
Summary of Contents for UCD-240
Page 1: ......
Page 76: ...UCD Console for UCD 340 User Manual Unigraf Oy 76 ...