dragosel80 Posted September 21, 2005 Report Posted September 21, 2005 I want to integrate an alpha2 in a computer application. I follow all the steps sugested by mitsubishi. I build a cross-cable exactly as described in manual. I configure the AL-VLS/WIN-E exactly by manual. I write the following code in LabWindows/CVI and the alpha2 not communicate with the computer. code: char test[5] = { 0x2, 0x3, 0x41, 0x0, 0x1 }; char receive[5]; OpenComConfig (COM1, "COM1", 9600, 0, 8, 1, 512, 512); ComSetEscape (1, SETDTR); // DTR must be set to hi-level ComSetEscape (1, SETRTS); // RTS must be set to hi-level ComWrt (COM1, check, 5); ComRd (COM1, receive, 5); in most cases I receive the same string I send. could be something wrong with the AL2-GSM-CAB? help, pls... this is urgent!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.