,12,0,16,777

-1 exit ! Exit from CAMAC EXIT ! Exit from CNAF (-1) then exit from CAMAC back to CFIMENU

To run this file, type $CFIM (run CFIMENU) QFI>@CAMAC Note that where comments (preceded by exclamation mark) are not shown, they are not allowed.

N.B. The above example assumes that this is the first time that the CAMAC command has been executed, i.e. the slot and logical address are both requested.

The following example gives the case where the slot of the branch driver is not known: !CAMAC2.CCM CAMAC ! Branch driver slot not known - program calls FBWHO automatically

! Above blank lines signified ! 1. branch driver slot not known - <CR>=default ! 2. broadcast for FBWHO - <CR>=default ! 3. logical address - <CR>=default CRATE 1 ! Default crate is crate 1 CLR_INH ! Clear crate inhibit (on crate 3) CNAF ! Perform a CAMAC operation on C=1,N=8,A=0,F=16,Data=1 ,8,0,16,1 -1 EXIT ! Exit from CNAF (-1) then exit from CAMAC back to CFIMENU

See HELP @ for more information on using commmand files.

BLOCK_TRANSFERS

An example of a CFIMENU command file using a CAMAC block transfer is shown below:

! Example CFIMENU command file ! Note commments allowed only on CFIMENU or CAMAC commands only CAMAC ! Branch driver is in slot 19 (hex) 19

! Blank line above for default logical address crate 3 ! Default Camac crate is 3 cnaf ! CNAF- enter C=1,N=17,A=0,F=0 - then -1 to exit 1,17 -1 oct ! Set up octal data input uni ! block transfer;enter C=1,N=1,A=0,F=16, number of transfers=8, followed by data, then -1 to exit 1,1,0,16 8 10 20 30 40 50 60 70 777 -1 cnaf ! CNAF with C=3 (default),N=1,A=2,F=9, then -1 to exit ,1,2,9 -1 q_st ! block transfer C=1,N=1,A=2,F=2 ; maximum transfers =8, -1 to exit 1,1,2,2 8 -1 ex ! exit from CAMAC subroutine ex ! exit from CFIMENU

Converted from .HLP to .HTML by HLPTOHTML.