Roadmap to Sample Programs
INDEX


Sample programs are provided in the Dynamic C SAMPLES folder. The various directories in the SAMPLES folder contain specific sample programs that illustrate the use of the corresponding Dynamic C libraries with particular boards.

Single-Board Computers

BL1800

BL2000

BL2100

BL2500

BL2600

LP3500

General Board Operation
...Board ID
...LEDs
Digital I/O
A/D Converter
D/A Converter
Storing/Retrieving
Calibration Constants
Serial Communication
TCP/IP
Serial Flash
Power Modes
Relay Outputs
LCD/Keypad
RabbitNet

Operator Interfaces

OP6600/OP6700

OP6800

OP7200

General Board Operation
...Board ID
...LEDs
...User Block Info
Digital I/O
A/D Converter
D/A Converter
Storing/Retrieving
Calibration Constants
Serial Communication
TCP/IP
LCD/Keypad
RabbitNet

RabbitNet Peripheral Cards

RN1100

RN1200

RN1300

RN1400

RN1600

General Board Operation
Digital I/O
A/D Converter
D/A Converter
Relay Outputs
Keypad/Display Interface

Most of the sample programs for RabbitCore modules are based on peripherals available on the Prototyping Board associated with the specific RabbitCore module, and so the Prototyping Board is required to run the sample programs. Sample programs illustrating the LCD/keypad require the optional LCD/keypad module.

Rabbit 2000 Based RabbitCore Modules

RCM2000

RCM2100

RCM2200

RCM2300

General Board Operation
Digital I/O
Serial Communication
TCP/IP
LCD/Keypad

Rabbit 3000 Based RabbitCore Modules

RCM3000

RCM3100

RCM3200

RCM3300

RCM3400

RCM3600

RCM3700

Digital I/O
...IrDA transceivers
A/D Converter
Serial Communication
TCP/IP
Serial Flash
LCD/Keypad
RabbitNet
RabbitWeb Module
SSL Module
Remote Application Update
Integrating Dynamic C Modules

Click here for a roadmap to TCP/IP sample programs that are not board-specific.

1.1 BL1800

1.1.1 Digital I/O

FOLDER: SAMPLES\JACKRAB

1.1.2 A/D Converter

FOLDER: SAMPLES\JACKRAB

1.1.3 Serial Communication

FOLDER: SAMPLES\JACKRAB

1.1.4 LCD/Keypad

FOLDER: SAMPLES\JACKRAB

1.2 BL2000

1.2.1 General Board Operation

FOLDER: SAMPLES\BL2000

1.2.2 Digital I/O

FOLDER: SAMPLES\BL2000\IO

1.2.3 A/D Converter

FOLDER: SAMPLES\BL2000\ADC

1.2.4 D/A Converter

FOLDER: SAMPLES\BL2000\DAC

1.2.5 Serial Communication

FOLDER: SAMPLES\BL2000\RS232

FOLDER: SAMPLES\BL2000\RS485

1.2.6 Relay Outputs

FOLDER: SAMPLES\BL2000\IO

1.2.7 TCP/IP

FOLDER: SAMPLES\BL2000\TCPIP

1.3 BL2100

1.3.1 General Board Operation

FOLDER: SAMPLES\BL2100

1.3.2 Digital I/O

FOLDER: SAMPLES\BL2100\IO

1.3.3 A/D Converter

FOLDER: SAMPLES\BL2100\ADC

NOTE This sample program will overwrite the calibration constants set at the factory.

1.3.4 D/A Converter

FOLDER: SAMPLES\BL2100\DAC

NOTE This sample program will overwrite the calibration constants set at the factory.

1.3.5 Using Calibration Constants

FOLDER: SAMPLES\BL2100\Calib_Save_Retrieve

The following sample programs prompt you to use a serial number for the BL2100. This serial number can be any 5-digit number of your choice, and will be unique to a particular BL2100. Do not use the MAC address on the bar code label of the RabbitCore module attached to the BL2100 since you may at some later time use that particular RabbitCore module on another BL2100, and the previously saved calibration data would no longer apply.

NOTE Calibration data must be saved previously in a file by the sample program SAVECALIB.C.

NOTE Use the sample program GETCALIB.C to retrieve the data and rewrite it to the single-board computer.

1.3.6 Serial Communication

FOLDER: SAMPLES\BL2100\RS232

FOLDER: SAMPLES\BL2100\RS-485

1.3.7 TCP/IP

FOLDER: SAMPLES\BL2100\TCPIP

1.4 BL2500

1.4.1 General Board Operation

FOLDER: SAMPLES\BL2500

1.4.2 Digital I/O

FOLDER: SAMPLES\BL2500\IO

1.4.3 A/D Converter

FOLDER: SAMPLES\BL2500\ADC

1.4.4 D/A Converter

FOLDER: SAMPLES\BL2500\DAC

1.4.5 Using Calibration Constants

FOLDER: SAMPLES\BL2500\ADC

NOTE Use the sample program DNLOADCALIB.C to retrieve the data and rewrite it to the single-board computer.

NOTE Calibration data must be saved previously in a file by the sample program UPLOADCALIB.C.
NOTE In addition to loading the calibration constants on the replacement RabbitCore module, you will also have to add the product information for the BL2500 to the ID block associated with the RabbitCore module. The sample program WRITE_IDBLOCK.C, available on the Z-World Web site at http://www.zworld.com/support/feature_downloads.shtml, provides specific instructions and an example.

1.4.6 Serial Communication

FOLDER: SAMPLES\BL2500\SERIAL

1.4.7 TCP/IP

FOLDER: SAMPLES\BL2500\TCPIP

1.5 BL2600

1.5.1 General Board Operation

FOLDER: SAMPLES\BL2600

1.5.2 Digital I/O

FOLDER: SAMPLES\BL2600\IO

1.5.3 A/D Converter

FOLDER: SAMPLES\BL2600\ADC

NOTE The calibration sample programs will overwrite the calibration constants set at the factory.

1.5.4 D/A Converter

FOLDER: SAMPLES\BL2600\DAC

NOTE The calibration sample programs will overwrite the calibration constants set at the factory.

1.5.5 Using Calibration Constants

FOLDER: SAMPLES\BL2600\ADC

FOLDER: SAMPLES\BL2600\ADC

1.5.6 Serial Communication

FOLDER: SAMPLES\BL2600\RS232


NOTE For the sequence that does yield parity errors, the errors won't occur for each byte received. This is because certain byte patterns along with the stop bit will appear to generate the correct parity for the UART.

FOLDER: SAMPLES\BL2600\RS485

1.5.7 Serial Flash

FOLDER: SAMPLES\BL2600\SF1000

The following sample programs demonstrate the use of the optional SF1000 serial flash card on the BL2600. The SF1000 User's Manual contains additional information and API functions for the SF1000.

1.5.8 TCP/IP

FOLDER: SAMPLES\BL2600\TCPIP

1.6 LP3500

1.6.1 Power Modes

FOLDER: SAMPLES\LP3500\POWER

1.6.2 Digital I/O

FOLDER: SAMPLES\LP3500\IO

1.6.3 A/D Converter

FOLDER: SAMPLES\LP3500\ADC

NOTE This sample program will overwrite the calibration constants set at the factory.

NOTE This sample program will overwrite the calibration constants set at the factory.

NOTE This sample program will overwrite the calibration constants set at the factory.

NOTE This sample program will overwrite the calibration constants set at the factory.

1.6.4 Serial Communication

FOLDER: SAMPLES\LP3500\RS232

FOLDER: SAMPLES\LP3500\RS485

1.6.5 Relay Outputs

FOLDER: SAMPLES\LP3500\RELAY

1.6.6 LCD/Keypad

FOLDER: SAMPLES\LP3500\DISPLAY_KEYPAD

These two sample programs are board-specific to the LP3500. Click here for additional sample programs that illustrate the use of the LCD/keypad module.

1.7 Intellicom

1.7.1 General Board Operation

FOLDER: SAMPLES\ICOM

1.7.2 Digital I/O

FOLDER: SAMPLES\ICOM