probably you are using something a plugin-component for delphi to access comports
try to insert both comport and comled.
somewhere the comled must have a property pointing were to read status from, probably this must be the comport component.
isn't there any documentation with this component?
I use CPortLib.
Is a component set that allows you to access the serial ports.
It's isnt directly connected to Internet/modem access (not without quite a bit of work anyway!!)
The Commled should be linked to a comport component with its comport property, then select the colour with kind. Use LEDSignal property to select when you want it to flash e.g select the action you want eg IsRx, IsTx.
If CPort Lib is installed correctly there should be on line help for all the componets and properties (Hover the corsor and press F1).
Assuming you have a Commport component on your form and a CommLED.
Hover the cursor over the CommLed and hit F11 to bring up the object inspector, in the Object inspector there should be a Commport property with a drop down list.
Any Comports on your form will be listed (there shuld be only one) click this and the LED is now linked to the Port Driver.
You can link several LED's to one driver (Commport)
Of course you must also set the Comport's properties to attach it to a physical commport (COM1, COM2 etc). and set the Baudrate, Stop Start bits etc (etc).
This should be done in your program as you never know which port will be avalible.
Steve
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.