**CIGAL Reference Manual, Chapter 6 (RealTime):Description of REALTIME processor commands** ===== Chapter 6 -- Contents===== |[[jvs:cigal:manual:chapter6:r_add|r_add]]| Add two values together| |[[jvs:cigal:manual:chapter6:r_adraw|r_adraw]]| Draw the outline of an arc shaped wedge| |[[jvs:cigal:manual:chapter6:r_afill|r_afill]]| Draw a filled arc shaped wedge| |[[jvs:cigal:manual:chapter6:r_and|r_and]]| Do a bitwise AND operation on two values| |[[jvs:cigal:manual:chapter6:r_aread|r_aread]]| Read analog input channel(s)| |[[jvs:cigal:manual:chapter6:r_arrow|r_arrow]]| Draw an arrow on the screen| |[[jvs:cigal:manual:chapter6:r_await|r_await]]| Wait for an analog input value| |[[jvs:cigal:manual:chapter6:r_awrite|r_awrite]]| Write an analog output channel| |[[jvs:cigal:manual:chapter6:r_bdraw|r_bdraw]]| Draw the outline of a box| |[[jvs:cigal:manual:chapter6:r_bfill|r_bfill]]| Draw a filled box| |[[jvs:cigal:manual:chapter6:r_bmove|r_bmove]]| Move a screen rectangle by an X-Y offset| |[[jvs:cigal:manual:chapter6:r_bput|r_bput]]| Move a screen rectangle to an X-Y position| |[[jvs:cigal:manual:chapter6:r_bread|r_bread]]| Read a rectangular image from a larger image| |[[jvs:cigal:manual:chapter6:r_break|r_break]]| Jump to the end of a R_REPEAT or R_SWITCH block| |[[jvs:cigal:manual:chapter6:r_bset|r_bset]]| Move a box pointer to an X-Y position| |[[jvs:cigal:manual:chapter6:r_bwrite|r_bwrite]]| Write a rectangular image into a larger image| |[[jvs:cigal:manual:chapter6:r_case|r_case]]| Target label for a R_SWITCH jump| |[[jvs:cigal:manual:chapter6:r_cine|r_cine]]| Animate a series of images| |[[jvs:cigal:manual:chapter6:r_clkon|r_clkon]]| Turn on/off a real-time clock output| |[[jvs:cigal:manual:chapter6:r_clkset|r_clkset]]| Initialize real-time clock parameters| |[[jvs:cigal:manual:chapter6:r_color|r_color]]| Set the color code for drawing text and pixels| |[[jvs:cigal:manual:chapter6:r_copy|r_copy]]| Copy data values between two variables| |[[jvs:cigal:manual:chapter6:r_cursor|r_cursor]]| Turn on/off the mouse cursor| |[[jvs:cigal:manual:chapter6:r_div|r_div]]| Divide one value by another| |[[jvs:cigal:manual:chapter6:r_dread|r_dread]]| Read the digital input channel| |[[jvs:cigal:manual:chapter6:r_dwait|r_dwait]]| Wait for a digital input value| |[[jvs:cigal:manual:chapter6:r_dwrite|r_dwrite]]| Write the digital output channel| |[[jvs:cigal:manual:chapter6:r_edraw|r_edraw]]| Draw the outline of an ellipse (or circle)| |[[jvs:cigal:manual:chapter6:r_efill|r_efill]]| Draw a filled ellipse (or circle)| |[[jvs:cigal:manual:chapter6:r_else|r_else]]| Separator for IF-ELSE-ENDIF blocks of operations| |[[jvs:cigal:manual:chapter6:r_end|r_end]]| Identify the end of a R_REPEAT loop| |[[jvs:cigal:manual:chapter6:r_endif|r_endif]]| Identify the end of an IF or R_ELSE block| |[[jvs:cigal:manual:chapter6:r_erase|r_erase]]| Set all of the screen to a specified pixel value| |[[jvs:cigal:manual:chapter6:r_eyepos|r_eyepos]]| Read current eye-position| |[[jvs:cigal:manual:chapter6:r_fclose|r_fclose]]| Close an open disk file| |[[jvs:cigal:manual:chapter6:r_fft|r_fft]]| Perform a 1-D FFT on a data array| |[[jvs:cigal:manual:chapter6:r_flicker|r_flicker]]| Alternate rapidly between 2 images| |[[jvs:cigal:manual:chapter6:r_flip|r_flip]]| Flip an image left to right or top to bottom| |[[jvs:cigal:manual:chapter6:r_font|r_font]]| Set the size, font, and mode for writing text| |[[jvs:cigal:manual:chapter6:r_fopen|r_fopen]]| Open a disk file for reading or writing| |[[jvs:cigal:manual:chapter6:r_fork|r_fork]]| Start a new asynchronous command stream| |[[jvs:cigal:manual:chapter6:r_fread|r_fread]]| Read data from a disk file| |[[jvs:cigal:manual:chapter6:r_fseek|r_fseek]]| Set a file pointer to a specified position| |[[jvs:cigal:manual:chapter6:r_fwait|r_fwait]]| Wait for a file I/O operation to terminate| |[[jvs:cigal:manual:chapter6:r_fwrite|r_fwrite]]| Write data to a disk file| |[[jvs:cigal:manual:chapter6:r_getxy|r_getxy]]| Get the position of the mouse cursor| |[[jvs:cigal:manual:chapter6:r_goto|r_goto]]| Jump to a specified R_LABEL operator| |[[jvs:cigal:manual:chapter6:r_graph|r_graph]]| Plot a series of points on the screen| |[[jvs:cigal:manual:chapter6:r_gtime|r_gtime]]| Get the current clock time in counter units| |[[jvs:cigal:manual:chapter6:r_ifand|r_ifand]]| Do a bit-wise AND comparison of 2 short integers| |[[jvs:cigal:manual:chapter6:r_ifeq|r_ifeq]]| Test whether 2 short integers are equal| |[[jvs:cigal:manual:chapter6:r_ifgt|r_ifgt]]| Test whether 1 short integer is greater than another| |[[jvs:cigal:manual:chapter6:r_iflt|r_iflt]]| Test whether 1 short integer is less than another| |[[jvs:cigal:manual:chapter6:r_incr|r_incr]]| Increment a variable's pointer by some number of bytes| |[[jvs:cigal:manual:chapter6:r_label|r_label]]| Specify the target of a R_GOTO operator| |[[jvs:cigal:manual:chapter6:r_ldraw|r_ldraw]]| Draw a line| |[[jvs:cigal:manual:chapter6:r_line|r_line]]| - Draw a line segment| |[[jvs:cigal:manual:chapter6:r_lock|r_lock]]| | |[[jvs:cigal:manual:chapter6:r_logval|r_logval]]| Enter a short integer value in the runlog| |[[jvs:cigal:manual:chapter6:r_lut|r_lut]]| Change the screen display's color lookup table| |[[jvs:cigal:manual:chapter6:r_mlut|r_mlut]]| Change the screen's lookup table using a color map| |[[jvs:cigal:manual:chapter6:r_movept|r_movept]]| Move a point by an X-Y offset| |[[jvs:cigal:manual:chapter6:r_mult|r_mult]]| Multiply two values together| |[[jvs:cigal:manual:chapter6:r_nowait|r_nowait]]| Terminate pending wait operators| |[[jvs:cigal:manual:chapter6:r_number|r_number]]| Display a number as a text string on the screen| |[[jvs:cigal:manual:chapter6:r_offset|r_offset]]| | |[[jvs:cigal:manual:chapter6:r_or|r_or]]| Do a bitwise OR operation on two values| |[[jvs:cigal:manual:chapter6:r_pause|r_pause]]| Suspend RT program execution temporarily| |[[jvs:cigal:manual:chapter6:r_pen|r_pen]]| | |[[jvs:cigal:manual:chapter6:r_picture|r_picture]]| Display or load an formatted image| |[[jvs:cigal:manual:chapter6:r_point|r_point]]| Set the intensity value of a single screen pixel| |[[jvs:cigal:manual:chapter6:r_project|r_project]]| | |[[jvs:cigal:manual:chapter6:r_put|r_put]]| Put an integer value into an array| |[[jvs:cigal:manual:chapter6:r_pread|r_pread]]| Read a value from an external port| |[[jvs:cigal:manual:chapter6:r_pwrite|r_pwrite]]| Write a value to an external port| |[[jvs:cigal:manual:chapter6:r_quit|r_quit]]| Terminate the active RT program| |[[jvs:cigal:manual:chapter6:r_render|r_render]]| | |[[jvs:cigal:manual:chapter6:r_repeat|r_repeat]]| Begin an asynchronous loop of repeated operations| |[[jvs:cigal:manual:chapter6:r_reset|r_reset]]| Set a clock counter to 0| |[[jvs:cigal:manual:chapter6:r_rgb|r_rgb]]| Set the R-G-B color values for drawing text and pixels| |[[jvs:cigal:manual:chapter6:r_rotate|r_rotate]]| | |[[jvs:cigal:manual:chapter6:r_runlog|r_runlog]]| Seek to the beginning of the runlog variable| |[[jvs:cigal:manual:chapter6:r_rwait|r_rwait]]| Wait for the next vertical refresh| |[[jvs:cigal:manual:chapter6:r_scale|r_scale]]|Scale an integer value| |[[jvs:cigal:manual:chapter6:r_screen|r_screen]]| Select screen display| |[[jvs:cigal:manual:chapter6:r_seek|r_seek]]| Set a variable's pointer to a specified position| |[[jvs:cigal:manual:chapter6:r_set|r_set]]| Copy the first integer value to a variable| |[[jvs:cigal:manual:chapter6:r_setsweep|r_setsweep]]| Prepare a data variable for display using r_sweep| |[[jvs:cigal:manual:chapter6:r_sound|r_sound]]| Play recorded sound data through the speakers| |[[jvs:cigal:manual:chapter6:r_sread|r_sread]]| Read a box of image data from the screen| |[[jvs:cigal:manual:chapter6:r_sreset|r_sreset]]| Set both clock counters to 0| |[[jvs:cigal:manual:chapter6:r_sub|r_sub]]| Subtract one value from another| |[[jvs:cigal:manual:chapter6:r_sum|r_sum]]| Sum values in a variable| |[[jvs:cigal:manual:chapter6:r_sweep|r_sweep]]| Display an array of values as if on an oscilloscope| |[[jvs:cigal:manual:chapter6:r_switch|r_switch]]| Jump to a block of operations depending on a data value| |[[jvs:cigal:manual:chapter6:r_swrite|r_swrite]]| Write a box of image data to the screen| |[[jvs:cigal:manual:chapter6:r_synch|r_synch]]| Wait for active R_REPEAT loops or R_FORK blocks to finish| |[[jvs:cigal:manual:chapter6:r_tell|r_tell]]| Report the current pointer position for a data variable| |[[jvs:cigal:manual:chapter6:r_text|r_text]]| Display a text string on the screen| |[[jvs:cigal:manual:chapter6:r_tone|r_tone]]| Generate a tone sound| |[[jvs:cigal:manual:chapter6:r_twait|r_twait]]| Wait for the next tick of the computer's 60Hz clock| |[[jvs:cigal:manual:chapter6:r_uwait|r_uwait]]| Wait for user input from the keyboard or mouse| |[[jvs:cigal:manual:chapter6:r_vecadd|r_vecadd]]| Add (or subtract) vectors| |[[jvs:cigal:manual:chapter6:r_vecmult|r_vecmult]]| Multiply (or divide) vectors| |[[jvs:cigal:manual:chapter6:r_vread|r_vread]]| | |[[jvs:cigal:manual:chapter6:r_vwait|r_vwait]]| Wait for a data variable to reach a specified value| |[[jvs:cigal:manual:chapter6:r_vwrite|r_vwrite]]| | |[[jvs:cigal:manual:chapter6:r_word|r_word]]| Display a single word from a string of text| |[[jvs:cigal:manual:chapter6:r_wait|r_wait]]| Wait until a specified time| |[[jvs:cigal:manual:chapter6:r_zoom|r_zoom]]| | **See Also:**\\ [[jvs:cigal:manual:chapter2:realtime|Realtime]], [[jvs:cigal|CIGAL Home]], [[jvs:cigal:manual|CIGAL Manual]], [[jvs:cigal:manual:help|Manual Help]]