UCD Console for UCD-340 User Manual | Unigraf Oy
66.
-waiton .read=TSI_R_INPUT_WIDTH.gt.wdpixmin.and.lt.wdpixmax;
-var htpixmin=htpix; -var htpixmin-=dpix;
-var htpixmax=htpix; -var h=dpix;
-waiton .read=TSI_R_INPUT_HEIGHT.gt.htpixmin.and.lt.htpixmax;
-var hzmin=hz; -var hzmin-=dhz;
-var hzmax=hz; -var hzmax+=dhz;
-waiton .read=TSI_R_INPUT_FREQ.gt.hzmin.and.lt.hzmax;
-if .read=TSI_R_INPUT_WIDTH.eq.wdpix
-if .read=TSI_R_INPUT_HEIGHT.eq.htpix
-if .read=TSI_R_INPUT_FREQ.gt.hzmin.and.lt.hzmax
-pr " ----> PASS"
-else
-prlastread "Frequency ----> FAILED: Value Read = "
-endif
-else
-prlastread "Height ----> FAILED: Value Read = "
-endif
-else
-prlastread "Width ----> FAILED: Value Read = "
-endif
-endloops #t=SzT
-endloops #p=SzP
-endloops #cs=3
Executing a *.exe and a *.bat could be as follows:
-x "C:\Windows\system32\notepad.exe"
-x "cmd.exe /c hello.bat"
Print message based on a .read=Value.Expression:
-c .read=TSI_R_USBC_DP_ALT_MODE_STATUS.bitson.0
-ontrue -pr "Alt Mode On." -pr "Alt Mode Off."
Print if type-C cable is in straight or flipped orientation:
-c .read = TSI_R_USBC_CABLE_STATUS.bitsoff.1;
-ontrue -pr "Strait orientation" -pr "Flipped orientation"
Looping:
-loops 2 #outer loop
-pr "outer loop cmd 0"
Содержание UCD-240
Страница 1: ......
Страница 76: ...UCD Console for UCD 340 User Manual Unigraf Oy 76 ...