software:qview:qview_6:qcl_library:vi10checkbufferready

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisione Revisione precedente
Prossima revisione
Revisione precedente
software:qview:qview_6:qcl_library:vi10checkbufferready [2025/01/16 10:43] qem214software:qview:qview_6:qcl_library:vi10checkbufferready [2025/04/02 11:29] (versione attuale) qem214
Linea 1: Linea 1:
 ====== VI10CheckBufferReady ====== ====== VI10CheckBufferReady ======
- 
-PRELIMINARE- 
  
 Sostituisce [[software:qview:qview_6:qcl_library:vi10waitbufferreadyusingend|VI10WaitBufferReadyUsingEND]] Sostituisce [[software:qview:qview_6:qcl_library:vi10waitbufferreadyusingend|VI10WaitBufferReadyUsingEND]]
Linea 16: Linea 14:
  
 ===== IMPLEMENTAZIONE ===== ===== IMPLEMENTAZIONE =====
- 
-FIXME 
  
 **VI10CheckBufferReady (awBuffer, gfState)** **VI10CheckBufferReady (awBuffer, gfState)**
Linea 34: Linea 30:
 CONST CONST
  
-BUFFPLOT_SIZE 500    ;dimensione del buffer+BUFFPLOT_SIZE 500                        ;dimensione del buffer
  
 ;dichiarazione variabili ;dichiarazione variabili
 GLOBAL  GLOBAL 
  
-agwBuffPlotDemo11    W    BUFFPLOT_SIZE    ;buffer per VectorImage  
 gfState    F                               ;stato del buffer gfState    F                               ;stato del buffer
 phase      B                               ;numero dello stato (macchina a stati) phase      B                               ;numero dello stato (macchina a stati)
 +
 +;dichiarazione array
 +ARRGBL
 +
 +agwBuffPlotDemo11    W    BUFFPLOT_SIZE    ;buffer per VectorImage 
  
 SUB DRAW SUB DRAW
Linea 48: Linea 48:
  NOP   NOP
  CASE 1  CASE 1
- VI10InitBuffer(agwBuffPlotDemo11)+ VI10CheckBufferReady(agwBuffPlotDemo11, gfState)
  VI10SetLayer (agwBuffPlotDemo11, 0)   VI10SetLayer (agwBuffPlotDemo11, 0)
  VI10SetBackground (agwBuffPlotDemo11, COLOR.BLUE)  VI10SetBackground (agwBuffPlotDemo11, COLOR.BLUE)
Linea 65: Linea 65:
  phase = 2   phase = 2
  CASE 2   CASE 2
- VI10CheckBufferReady(agwBuffPlotDemo11) + VI10CheckBufferReady(agwBuffPlotDemo11, gfState
  IF NOT gfState  IF NOT gfState
  VI10SetLayer(agwBuffPlotDemo11, 1) ;- LAYER 1 (one)   VI10SetLayer(agwBuffPlotDemo11, 1) ;- LAYER 1 (one) 
Linea 80: Linea 80:
  ENDIF   ENDIF
  CASE 3  CASE 3
-            VI10CheckBufferReady(agwBuffPlotDemo11) +        VI10CheckBufferReady(agwBuffPlotDemo11, gfState
- IF result+     IF NOT gfState
      phase = 4      phase = 4
      ENDIF       ENDIF
  CASE 4  CASE 4
- phase = 0+     phase = 0
  ENDSWITCH  ENDSWITCH
 ENDSUB ENDSUB
 </code> </code>
  
  • Ultima modifica: 2025/01/16 10:43