![]() They have pictures and diagrams an explanations for it. Just type "serial port" in or whatever your search engine is. You might also want to take a look at the serial ports implementation (wiring), null modems, and that sort of things. Click on it and then click anywhere in your form. Now in the See Classes (I have the spanish version of VFP, so I'm translating as well as I can) button, choose Active X Controls. How can you include the MSCOMM32 in your project?Ĭhoose Tools, Options, Controls, Active X Controls, then check Microsoft Communications Control. However you could take Rick's advise and get a third-party software in case MSCOMM32 does not work. Even though the examples are written in Visual Basic, theye are well understood and can easily be translated into VFP. The MSCOMM32 is well documented at the Microsoft sites (check for Rick's links). ![]() Step 3: Use the following code to open COM1 and send a b character to the port. Step 2: Register it with the operating system using 'regsvr32.exe mscomm32.ocx' at the command line. Step 1: Find the file mscomm32.ocx and put it in your windowssystem32 directory. The device was custom made by an electronics egineer, but since the engineer had no knowledge at all of programming technics, all he had to do was to tell me what pins he was going to turn on or off and in what events. « Reply 2 on: July 29, 2009, 11:29:34 AM ». Only as an example of the funcionality of the MSCOMM32.OCX:ġ) I created a program to read data from a Panasonic Telephone Plant (A PBX), which uses standard data streams that can also be read using Hyperterminal.Ģ) I created a program to control a security device in a CAT system (yes, a tomography). I think one can manage most RS-232 functions using MSCOMM32.
0 Comments
Leave a Reply. |