Knowledge Base

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

How are the Q and X bits returned from a CAMAC cycle in Command Sequence Language?

UserPost

5:42 pm
January 4, 2010


Tech Support


This will depend on the CAMAC driver of course but the usual mechanism, when using CSL, is to return error codes from the Kmax device driver in the %_STATUS variable.  You can test, display or print the value of %_STATUS after each WRDIO command to determine whether an error code was returned. The information that can be returned depends on the type of CAMAC controller you are using. The usual meaning of the bits in the STATUS variable for most controllers is shown below. If a bit is set it indicates the following condition:
1–No Q
2–No X
3–Off Line
4–NoDriver
5–
6–Time Out
7–
8–Protocol Error