- RS232 - CPS Plus Pro Serial DAQ
- Overview
- Installation, System Requirements, and Uninstallation
- Quick Start Guide
- Using CPS Plus Pro - Serial Data Acquisition Software
- Data Filtering
- Data logging options
- Writing data to RS232 COM ports / controlling devices
- Tools: ASCII Table - Standard and Extended ASCII Table
- Troubleshooting
- Program Options
- Downloads, Ordering, and Support
- Using CPS Plus with Serial Converters
- License
CPS to Oracle XE with DSN Connection
Description: setup Oracle XE table to receive data from barcode scanner connected to RS232 port COM1.
Start SQLPLUS and create new table:
SQL>
SQL> CREATE TABLE BARCODES_IN(
2 BARCODE VARCHAR2(80) NOT NULL,
3 COMPORT VARCHAR2(3) NOT NULL);
Table created.
Go to Control Panel > Administrative Tools > Data Sources (ODBC)
IMPORTANT NOTE: if you are on a 64-bit machine, __do not__ use the ODBC Window that is accessible from the control panel. Instead, go to START > RUN > C:\Windows\SysWOW64\odbcad32.exe.
Enter CPS2ORAXE for Datasource Name
Click on OK to confirm creation of new DSN.
Close ODBC Data Source Administrator and start CPS Plus Professional> Terminal
Acknowledge connection details and click on Finish to activate connection.
Scan for barcodes. Barcodes should be displayed in CPS Plus terminal window:
Check data in OracleXE. Switch to SQLPLUS and execute:
SQL> select * from barcodes_in;
BARCODE
------------------------------------------------------
COM
---
583969
1
4959112038073
1
4902030193508
1