Owner`s manual
M SERIES DAC
BASE UNIT AND MODULE OPERATION
____________________________________________________________________________
168
application), the appropriate module number (1 to 16), and
<cr>.
3c. Access configuration mode by sending $CONFIG <cr>.
Once the V82-PCM-1 is in configuration mode, download the created
HEX file. This can be done using a communications package or via
DOS commands. For example, if using DOS, you can create a batch file
to send the necessary commands similar to the following:
ECHO $BT>COM1:
ECHO $CONFIG>COM1:
COPY BAYTECH>HEX /B COM1:
In this example, the file created when the source code was compiled and
linked was named BAYTECH.HEX.
Once the HEX file has been downloaded to the V82 PCM-1 flash
EPROM, the M<-series DAC unit will reset and the new program
becomes effective.
IMPORTANT: If your program inputs data from a V71 or V93 host module
(e.g., serin(1, 1, data); where Module 1 is a V71 host module), you must
make a connection to the V82 PCM-1 module Port 2 from the host module
before performing any data acquisition. For example, if the V82-PCM-1 is
installed as Module 4, send$BT4,2<cr> to the host module to make the
necessary connection to the V82 PCM-1.
4. Function Descriptions:
4a. int delay(unsigned int a)
Input: a - delay interval
Output: 0 – successful
Description: The delay(…) function halts program execution
for a specified number of milliseconds.
Example:
int get_connect();
int got_connect;
*
*