If used, nobody else should read out the related FIFOs!
All the routines present in rockfifo have a parameter of this type.
Five types of cache are implemented:
When you finish using the FIFO, please call rockfifo close to close the channel associated to the id.
If the status is not empty, call the rockfifo synch to syncronize the FIFO to the next frame.
Use rockfifo read for this task.
Do not use the "rock" command!
#open the ROCK set rid [rock open 0x50100000] #open a FIFO set fid [rockfifo open efifo $rid] ... # decode the FIFO set decode [rockfifo decode $fid 8192] set alist [lindex $decode 1] foreach {el} $alist { ... } #if there was an error, synch if {[lindex $decode 0]==""} { set adump [rockfifo synch $fid] ... } ... # read the FIFO set alist [rockfifo read $fid 8192] foreach {el} $alist { ... } ... #close the FIFO set acache [rockfifo close $fid] ... #close the rock rock close $rid
Top of the page. | Rock documention. | Send comments to: Igor Sfiligoi |
Created | : | 11.3.1997 |
Last modified | : | 11.3.1997 |