CaWave user`s guide Page: 3 of 19
This report is part of the collection entitled: Office of Scientific & Technical Information Technical Reports and was provided to Digital Library by the UNT Libraries Government Documents Department.
The following text was automatically extracted from the image on this page using optical character recognition software:
CaWave User's Guide
This procedure allows the user to reset the TIMEOUT seconds for ca-pend_io function[ 2 ]. It is
used in processing a single channel information. The default timeout is 0.3 second; a TIMEOUT
of zero is forever. It returns nothing.
This procedure allows the user to reset the TIMEOUT seconds for processing a list of channels.
The default timeout is 30 seconds; a TIMEOUT of zero is forever. It returns nothing.
This procedure allows the user to reset the TIMEOUT seconds for ca-pendevent function. The
default TIMEOUT is 0.01 second; a TIMEOUT of zero is forever. It returns nothing.
This procedure sets the runtime printing flag. The default value is initially set to 0 when CaWave
is installed. If i is set to a positive integer, more debug information about the channel access function
is printed. To debug the value change event, the value of i should be set to 2. The printing flag can
be reset to 0 when no more debug information is desired. It returns nothing.
This function returns the elapsed CPU time used in micro seconds. It takes no input argument and
returns a long integer number. It returns 0 when first time calls this function.
This function queries the error status of the last execution of any channel access command. CaError
takes no argument and returns 0 if no channel access error encountered in the last function call;
otherwise it returns -1.
CaErrorList ( nlist )
The CaErrorList expects a list of channel names as input. It checks for channel access errors for
each name entered in the input list. It returns a list of the error codes corresponding to the requested
channel names. The return list error codes can be zero or negative. An error code of 0 indicates that
the last channel access call completed successfully. An error code of -1 or -2 indicates either that
the channel device name was not found across the IOC network or another type of channel access
error has occurred (most likely the timeout).
CaSearchList ( n.list )
The CaSearchList requires a list of channel names as input. It returns a single value: 0 if all
channels in the list were found or -1 if any one of the channels was not found on the IOC network.
If -1 is returned, the user can immediately call CaErrorList to find out which channel was not
found on the IOC network.
This function can be called at the very beginning to make sure every channel name in user's program
exists across the IOC network.
September 1, 1993
Here’s what’s next.
This report can be searched. Note: Results may vary based on the legibility of text within the document.
Tools / Downloads
Get a copy of this page or view the extracted text.
Citing and Sharing
Basic information for referencing this web page. We also provide extended guidance on usage rights, references, copying or embedding.
Reference the current page of this Report.
Cha, Ben-chin. CaWave user`s guide, report, September 1, 1993; Illinois. (https://digital.library.unt.edu/ark:/67531/metadc670362/m1/3/: accessed April 20, 2019), University of North Texas Libraries, Digital Library, https://digital.library.unt.edu; crediting UNT Libraries Government Documents Department.