Simplified Real-Time Programming with ADbasic
ADbasic 5: Click to enlarge
ADbasic is the solution for flexible and simple programming of fast data acquisition, open-loop and closed-loop control procedures for ADwin systems. ADbasic programs are executed on the local processor of the ADwin hardware, triggered by the occurrence of an event signal.
This event signal can either be generated by the internal timer of the ADwin CPU or by an external trigger input. The ADwin CPU reacts to a new event within microseconds!
The processing for the event such as the calculation of a correction value is done very quickly so that precise process response times of a few microseconds can be guaranteed.
Fast digital closed-loop controllers
ADbasic processes are extremely fast:
The ADwin CPU executes ADbasic processes for time-critical tasks independent of the PC. Thus, the CPU on the PC is available for data post-processing and visualization.
Optimal performance is achieved by this task sharing; the local CPU in the ADwin system executes time critical tasks and the PC's processor handles the user interface, data storage, etc. Furthermore, each measured value can be processed immediately, e.g. by numerical algorithms or limit value monitoring is guaranteed. The ADwin reacts immediately to the result generating the appropriate output signal.
All necessary data acquisition and control functions are already integrated into the ADbasic instruction set allowing you to write compact, real-time programs. After compilation by ADbasic, these real-time processes run independently and with high-speed on the ADwin hardware.
ADbasic provides the common BASIC commands for mathematical operations. Additional functions include:
- Acquiring of analog inputs
- Setting of analog outputs
- Reading and setting of digital inputs and outputs
- Starting, stopping, setting and reading of counter inputs
- Communication with other protocols: CANbus, Serial, LIN, FlexRay,
- Data exchange between mulitple ADbasic processes
- Data exchange with multiple PC software applications
ADbasic is easy to learn by its BASIC like syntax. All global ADbasic variables can be changed and displayed in a separate window. The cross compiler generates and downloads the binary real-time files to the ADwin hardware within a few seconds . Program changes can be done fast and easily. ADbasic dramatically reduces the effort for realizing your ideas.

