background image

25

3-4.FindComNum

This function automatically detects the COM port number assigned to the
CF60U. This function is included in the DLL which was copied into your PDA
when you installed the sample program at Step 3-2.

FindComNum

BOOL      APIENTRY      FindComNum ( PCHAR    ComNum, CHAR    DeviceName );

ComNum     --->[out] address of variable to receive a COM port number
DeviceName --->[in] device name(Specify 1 as device name)

Return value
      0:OK
      1:Device name set up error
      2:Registry key open error
      3:COM Port assignment failed
      4:The CF60U isn’t inserted

Summary of Contents for RS232C

Page 1: ...RS232C CF Card CF60U User s Manual JAN 2003 Rev 2 1...

Page 2: ...trictions 4 1 4 Pin Assignment 5 1 5 Before installation 6 2 Installation 7 2 1 Connecting the CF60U 7 2 2 Windows 98SE Installation 8 2 3 Windows Me Installation 11 2 4 Confirming Windows 98SE Me Ins...

Page 3: ...program 19 B Visual Basic communication sample program 20 3 2 Installing the bundled sample program 21 3 3 Starting Terminal 23 3 4 FindComNum 25 3 5 Source Files 26 4 Troubleshooting 27 4 1 Windows...

Page 4: ...ead the file as well 1 1 Features Just plug in the CF60U into a CF Type II slot and COM port will be available in a snap Runs on Windows CE 3 0 based Pocket PC Handheld PC as well as Windows PC Embedd...

Page 5: ...supplier immediately 1 3 System Requirements and Restrictions OS Windows XP 2000 Me 98SE Pocket PC Pocket PC 2002 based on Windows CE 3 0 Handheld PC 2000 based on Windows CE 3 0 PC PDA Pocket PC with...

Page 6: ...40 1 2 3 4 5 6 7 8 9 DB 9pin Male Pin Description 1 Data Carrier Detect DCD 2 Receive Data RD 3 Transmit Data TD 4 Data Terminal Ready DTR 5 Signal Ground SG 6 Data Set Ready DSR 7 Request to Send RS...

Page 7: ...or your PDA doesn t have an eject button stick this pull out sticker as shown below in order to pull CF Cards easily Direction of insert Stick the pull out sticker on the back Serial sticker Using cr...

Page 8: ...Connect the bundled cable to the CF60U iii If you insert the CF60U into a PC Card Slot you need to attach the CF60U to a CF Type II Adapter and then insert it into a PC Card Slot CF Type II Adapter i...

Page 9: ...re a Windows 98SE user follow the steps through 1 After inserting the CF60U the following screen will appear Insert the bundled CD ROM and click Next 2 Select the Search for the best driver for your d...

Page 10: ...a check mark at a CD ROM drives option and click Next 4 Confirm the CF60 INF at the CD ROM was found and click Next 5 If the following message requiring you to insert Windows 98 Second Edition CD ROM...

Page 11: ...xx xxx is serialui dll appears type in G Win98 at the Copy files from and click OK G means your CD ROM drive letter If you CD ROM drive letter isn t G change G to an appropriate drive letter 7 The fol...

Page 12: ...ollow the steps through 1 After inserting the CF60U the following screen will appear 2 Insert the bundled CD ROM and just wait for a while Automatically the following screen will appear Click Finish Y...

Page 13: ...ion Follow the steps in order to confirm the driver has copied successfully 1 Right click on My Computer and select Properties Select the Device Manager tab 2 Double click REX CF60COM Port under the P...

Page 14: ...13 3 Check Device status shows This device is working properly 4 Select the Resources tab and Conflicting device list shows No conflicts You have now completed confirming the driver installation...

Page 15: ...ollow the steps through 1 After inserting the CF60U the following screen will appear If you are a Windows 2000 user click Next If you are a Windows XP user select the Install from a list or specific l...

Page 16: ...Windows 2000 user Select the Display a list of the known drivers for this device so that I can choose a specific driver option and click Next If you are a Windows XP user select Don t search I will c...

Page 17: ...ndard port types as Manufacturers and Communications port as Models Then click Next 5 The following warning message will appear Click Yes 6 Follow on screen messages and complete the driver installati...

Page 18: ...confirm the driver has copied successfully 1 Right click on My Computer and select Properties Select the Hardware tab and then click the Device Manager button 2 Double clikc Communications port COMn n...

Page 19: ...18 3 Check Device status shows This device is working properly 4 Select the Resources tab and Conflicting device list shows No conflicts You have now completed confirming the driver installation...

Page 20: ...in32Com c RS232Ccommunicationsampleprogram usingWin32 Communication API at the VcSamp folder at the Windows folder in the bundled CD ROM In order to run this sample program you need two PCs and connec...

Page 21: ...bundled CD ROM In order to run this sample program you need two PCs and connect them with a RS232C cross cable and then run this sample program on one PC and run a communication program such as Hyper...

Page 22: ...ave connected your Windows PC to your PDA as ActiveSync in order to install the driver The bundled CD ROM includes a sample program running on Pocket PC 2002 Pocket PC CPU Intel StrongARM SA1110 or In...

Page 23: ...t the WinCE folder to install the CF60 Application Library The following window will appear Click Yes 3 When the installation has completed the following window will appear Click OK Message on Windows...

Page 24: ...program called Terminal will be copied to the following path 3 3 StartingTerminal 1 Run Terminal in the CF60 Application Library Before starting Terminal connect your PDA to your Windows PC with a RS...

Page 25: ...on called FindComNum in the DLL installed into your PDA detects the COM port number assigned to the CF60U automatically Refer to 3 4 for more information on the function 3 The following window will ap...

Page 26: ...r PDA when you installed the sample program at Step 3 2 FindComNum BOOL APIENTRY FindComNum PCHAR ComNum CHAR DeviceName ComNum out address of variable to receive a COM port number DeviceName in devic...

Page 27: ...cludes source files of the dll FindComNum at the RexSerial folder and of the sample program Terminal at the Terminal folder If you make a program open RexSerial VCW or Terminal VCW with eMbedded Visua...

Page 28: ...Windows 98SE Me If the COM port number of the CF60U was assigned to COM 5 and you want to change the COM port number to COM 2 instead of COM5 follow the steps 1 Open Device Manager and double click RE...

Page 29: ...ox at Use automatic settings 3 Change Basic configuration xxxx at Setting based on Refer to the following table and change the I O address to the COM port number you want COM I O address COM1 3F8h 3FF...

Page 30: ...Windows 2000 XP If the COM port number of the CF60U was assigned to COM 5 and you want to change the COM port number to COM 2 instead of COM5 follow the steps 1 Open Device Manager and double click Co...

Page 31: ...30 2 Select the Port Settings tab and click Advanced 2 Select a COM port number you want at COM Port Number and click OK...

Page 32: ...the latest version from our web site Technical Support You can get a Tech support from RATOC at the following Open Monday Friday 9 30A M to 5 00P M PST RATOC Systems International Inc Tech support Ad...

Page 33: ...cations Async Start bit 1bit Data bit 7 8 bit Parity bit Even Odd None Stop bit 1 1 5 2 bit Power Consumption 3 3V 5V 2 2mA at 3 3V without any device connected 8mA at 3 3V with devices connected 1 2m...

Page 34: ...may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to...

Page 35: ...34...

Page 36: ......

Reviews: