Open Tools API FAQ GExperts. If you have additions or corrections, please contact me. But, please do not send me questions about how to use the Open Tools API instead, use the resources listed below. What is the Open Tools API The Open Tools API OTA is a set of interfaces that allow developers to add features to the BDS, Delphi, and CBuilder IDEs. These additions are called wizards or experts. Wizards can use the OTA interfaces to modify the IDE, obtain information about the IDEs state, and receive notification of important events. To create wizards, you should first get an IDE version that includes the VCL source Professional, Enterprise, Architect, etc. Tools. API. pas that will make your programming easier. Where is the Open Tools API documented In the latest help update for Delphi 6, in CBuilder 6, and in Delphi 7 the OTA is fairly well documented. Open the iota. hlp file and look at the index there for details. For writing. NET addins in CBuilder and Delphi for. NET, also see my article on the EDN and the two IDE integration packages provided by Code. GearBorland. Sadly, most of the official OTA documentation was removed and is not present anymore in Delphi 8 2. Where can I get help with my Open Tools API questionsSourceTools. APITools. API. pas A good place to learn about the Open Tools API is is the Tools. API. pas unit and the related files in that directory such as Palette. API. pas, Structure. View. API. pas, and Code. Template. API. pas. If you dont have any of those files, try reinstalling the IDE including the source code option, or maybe you need to upgrade to a higher end IDE edition that includes the source files Professional, Enterprise, Architect, etc. All of the OTA interfaces are defined in those files, and many of them have comments about their purpose and usage. Newsgroup Search Engines There are several free web services that allow you to search for answers to previously asked questions in the Open Tools API newsgroup. I recommend you search at least one of these before posting, as it generally gives multiple answers to the most common questions. Try one of the following Search Site. Aplikasi Alat Musik Pc here. Newsgroups. Date Range. File Explorer, previously known as Windows Explorer, is a file manager application that is included with releases of the Microsoft Windows operating system from. Desde los orgenes, la humanidad ha tenido que hacer frente a una cuestin fundamental la forma de preservar y transmitir su cultura, es decir, sus creencias y. Connecting external electonics using the parallel port. For hobbyists and educators. Torrys Delphi Pages. Do you like Torrys Delphi Pages You can support it by donation at your choice by button below. Dfshares to list available resources from remote or local systems in Sun Solaris. Click here for our new website This website will be replaced in early 2018 with our new updated version which retains all the products and information from here plus. Turbo Circuit. Turbo Circuit is a circuit drawing tool written in Lazarus Free Pascal. Unified Life Models. ULM Unified Life Models is an opensource software. Controlling Vista With Delphi' title='Controlling Vista With Delphi' />Search Features. Speed. Google Groups. All. May 1. 98. 1 Now. Good. Fast. Code News Fast. Code. GearBorland. Oct. 1. 99. 7 Now. Moderate. Moderate. The Open Tools API Newsgroup Embarcadero runs a discussion forum that has an Open Tools API group in it. Before posting, please check the newsgroup search engines above for answers to your questions. You can access the forum on the web at https forums. Delphi, Open Tools API or using an NNTP newsgroup reader via these instructions. Example Code Other Web Sites What is the old OTA and what is the new OTAWhich one should I use The old Open Tools API OTA was the preferred method for addins to interface with the IDE in Delphi 3 and older and was class based. The new OTA is present in DelphiBCB 4 or later and is interface based. This FAQ only covers the new OTA, which consists mainly of the Tools. API. pas unit. Starting with Delphi 8 or greater, you will find a few more files that define the OTA such as Palette. API. pas, Structure. View. API. pas, Code. Template. API. pas, File. History. API. pas, Designer. Types. pas and Prop. SKTxPU4ihGM/hqdefault.jpg' alt='Controlling Vista With Delphi' title='Controlling Vista With Delphi' />Controlling Vista With DelphiInsp. API. pas. The older OTA is depreciated and should no longer be used except to maintain compatibility with older IDE versions. Support for the old OTA will be completely dropped in a future version of Delphi, and existing bugs in it are not being fixed. The old Open Tools API consists of the following units Expt. Intf, File. Intf, IStreams, Tool. Intf, Vcs. Intf, Virt. Intf. Where can I get a simple wizardexpert to customizeHere is the Pascal source for the simplest Hello World wizard using the Open Tools API. Just compile and install this package DPK into the IDE, and try out the new menu item on the Help menu. This example was written and tested in Delphi XE but should work in several other recent IDE versions. Older IDE versions such as Delphi 567 and earlier will require changes to the package list in the DPK. Can I create wizards in CBuilder Yes. The Open Tools API was originally designed with Delphi in mind, so wizards might be easier to create in Delphi, but CBuilder works fine to create native code IDE addins. Can I install a Delphi created wizard into CBuilder Yes, GExperts is one example of an expert written in Delphi that can be compiled and installed into CBuilder. Should I ever call Release on an interface obtained from the IDE It is not necessary to call Release on an IDE interface obtained via the Open Tools API. The interfaces are reference counted for you, and the associated memory will be freed as soon as all interface references go out of scope. Note that you can force the IDE to release an interface by setting all references to nil. How can I add published properties to a TForm descendentAdd published properties to a regular TForm. Add the form to the Object Repository Project menuAdd the form to an existing design time package such as Borland User Components or to a new design time package. Add Dsgn. IntfDesign. Intf to the implementation uses clause of a unit in the package, and add a Register procedure as follows procedure Register. Register. Custom. ModuleTMy. Form, TCustom. Module. end Finally, inherit from your form in the repository inside a project and the new published properties will show up. Remember to not try to link to the new designtime package when building your deployable application. There is also a much more complex method involving writing a module creation expert, a repository expert, and using Create. Module. Ex and different streams, but is much more error prone and for most people, has no advantages. Note that the IDE will not allow you to add both published properties and components to a custom module at the same time. The workaround is to create a form with your custom properties in a package, and then have a descendent form in the repository which adds the components you want there by default. How do I obtain the current project IOTAProject interfaceStarting with Delphi 7, you can use the function Get. Active. Project. For previous releases, you can iterate through all of the modules to find the project group and then get that groups active project function Get. Current. Project IOTAProject. Mod. Services IOTAModule. Services. Module IOTAModule. Project IOTAProject. Project. Group IOTAProject. Group. Result nil. Mod. Services Borland. IDEServices as IOTAModule. Services. for i 0 to Mod. Services. Module. Count 1 do. Module Mod. Services. Modulesi. SupportsModule, IOTAProject. Group, Project. Group then. Result Project. Group. Active. Project. SupportsModule, IOTAProject, Project then. In the case of unbound packages, return the 1st. Result nil then. Result Project. How do I obtain the current project group IOTAProject. Group interface Starting with Delphi 7, you can use the Get. Active. Project. Group function. For earlier releases, you can iterate through all of the modules to find the one that implements IOTAProject. Group function Get. Current. Project. Group IOTAProject. Group. Mod. Services IOTAModule. Services. Project. Group IOTAProject. Group. Module IOTAModule. Result nil. Mod. Services Borland. IDEServices as IOTAModule. Services. for i 0 to Mod. Services. Module. Count 1 do. Module Mod. USB Eight Channel Relay Board for Automation. This is relay board with 8 SPDT relays which is controlled via USB protocol. The main purpouse of this relay board is to help you building projects regarding robotics and home automation. You may control differenet electrical devices like lights, DC motors, pneumatic cylinders, lasers and so on. Hints for creating user application in different platforms Visual C, Borland C Builder, Visual Basic and so on are provided. Each such board require one USB port. The more USB ports you have the more Relay boards you may connect. We have Windows examples for VB6, BCB6, Java netbeans, VB. NET 2. 01. 0 Express, C. NET 2. 01. 0 Express please contact with us for more details. Features. USB communication with computer. Power supply voltage selectable during purchase 1. VDC, 3. 00 m. A2. VDC, 2. 00 m. AProtection against reversle polarity YES since hardware revision Rev. New. 8SPDT relay channels the type depends on the stocks quantity in our store. TONGLING JQC 3. FF S Z 1. A 2. VAC, 1. 5A 1. VAC, 1. 0A 2. 8VDCSUNHOLD RAS xx. A 2. 50. VAC, 1. A 1. VAC, 1. A 2. 4VDC All relays are OPTO ISOLATED since hardware revision Rev. New. PCB parameters FR4 1. HAL white stamp solder mask. Extra PCB openings for better voltage isolation. Doubled high current tracks. Chip FT2. 45. RL. Datasheet here. Power led. Relay leds. Size 1. Mounting holes diameter 3mm. Supported by DRM software Windows, Linux, Raspberry PISupported by Denkovi Command line tool Windows, Linux, Raspberry PIAndroid software available low cost and very useful Yes. Software Examples here. Documentation here. Advantages. High quality. Low cost. Free software with many functions. Control electrical devices according weekdaydatetime. Create timers or pulses with our software. Applications. Home automation. Robotics. Alarms. Timers. Open doors and windows via PCAquariums applications. Communication with the boards. Each such board is shown as separate virtual com port VCP on your PC. The relay board outputs are controlled by FT2. RL. It has 8 bit data output register. When data is sent to the register the outputs are set. Change Imei In Symbian. Be sure Synchronous Bit Bang Mode is selected FTDI provides Bit Bang Mode documentation. See here. WARINING When the board is connected to the PC andor the PC is restarted, the relays1,3,5 will be toggled several times. This is because of the structure of the FTDI chip. You can avoid this if you first connect the USB cable and then supply the relay board. This problem is fixed since hardware revsion Rev. There is no protection against reversed polarityIf the Vcc and GND are reversed the board will be damaged Such protection is added since hardware revsion Rev. The board is tested with 1. USB cable and works fine. The board can not work without computer. Denkovi Relay Command Line Tool. The main goal of this project is to help you to use our USB relay boards easily and without any specific knowledge how do they work. This tool is actually shell for all our USB relay boards and it does not matter which is the relay board, the command is the same. Just type one command and the the tool will set, get relay status or even will take temperature value from the board sensor if any. It can be integrated in other software and you dont need to know much about how the USB relay board protocol. With this tool it is like a game and it takes literaly minutes to create for example PHP script and control the USB relay board from smartphone browser. Typical applications for this software are Create desktop icons to turn particular relays. Create BATBASH files to make more complex logic like timers for exampleThe commands can be executed from PHP script. Control our USB relay boards from Android i. Phone mobile devices. The USB relays can be controlled from each softwareplatform which can run external executable files or commands in command line promt. Example commands LIST COMMAND lists all devices connected to computer. Denkovi. Relay. Command. Line. Tool. jar list STATUS COMMAND display relays statuses. Denkovi. Relay. Command. Line. Tool. jar DAE0. K 8 1 statusjava jar Denkovi. Haircut Net Download. Relay. Command. Line. Tool. jar DAE0. 00. K 8 all status. SET COMMAND set relays states. Denkovi. Relay. Command. Line. Tool. jar DAE0. K 8 5 1java jar Denkovi. Relay. Command. Line. Tool. jar DAE0. 00. K 8 all 0java jar Denkovi. Relay. Command. Line. Tool. jar DAE0. 00. K 8 turn 1. 01. 01. TIMER COMMAND exectues time critical operations. Well known fact is that every time when we run the command line tool the jvm is runned and this takes significant time. Many users contacted us with requests to execute timer commands for time critical operations. Thats why we added such command. It can perform single pulse, many pulses and even cycles with more complex sequences of pulses and every pulse can be with different time in miliseconds. Please note the state bits must be equal to the relay numer Denkovi. Relay. Command. Line. Tool. jar id1 4 timer 1,1. ON for 1. 0ms, all OFF for 5. ON for 2. 5msjava jar Denkovi. Relay. Command. Line. Tool. jar id1 8 timer 5,1. ON for 1. 0ms and all OFF for 1. Denkovi. Relay. Command. Line. Tool. jar id1 1. ON for 1. 0ms and OFF for 1sec 5 times For more information here For download here. Windows tested on XP, Vista, 7 and 8. Linux tested on Ubuntu and Open. Suse. Demo video how you can control the USB 8 Channel relay board from command line, browser and tablet the same time because of our command line tool. DRM Software. The device is supported by DRM Software. DRM Software is WindowsLinux software for controlling all our relay boards. Supported OS Windows tested on XP, Vista, 7 and 8. Linux tested on Ubuntu and Open. Suse DRM Software image control mode for USB Eight Channel Relay Board For more information about DRM Software, documentation and download here. Download the last version install package DRMsetup. Download the last version intstall archive DRMsetup. USB 8 Relay Manager. This is application that allows the USB 8 relay board to be controlled from your PC. There is two modes Manual Mode and Timer mode. You may open many USB boards and select wich one to control. There are 8 indicators representing each relay channel led from the board. Screenshot Manual Mode here. Screenshot Timer Mode here For more information about USB 8 Relay Manager, screenshots and detailed description here. Download the last version install package USB8. Relay. Manager. exe Download the last version install archive USB8. Relay. Manager. Denkovi JExtra. Pack. Denkovi JExtra. Pack contains 3 applications. Each of these applications are written in Java, so JVM is required. Each application can control up to 1. USB relay boards so you will need of course FTDI VCP drivers. We provide single installation file and everithing is included in it. Screenshot Manager here. Screenshot Timer here. Screenshot Alarm here  For more information about Denkovi JExtra. Pack, screenshots and detailed description here. Download the last version install package Denkovi. JExtra. Pack. exe Download the last version install archive Denkovi. JExtra. Pack. DAE USB Relays for Android. This is a low cost but very useful android application developed by i. Swicth, LLC. The device is supported by this app and at the moment you can control up to 5 devices at a time with a single phone.