ibaLogic Manual Page 7
3.12.5. Linking the DLL in ibaLogic.............................................................. 3-34
3.13 Testing and debugging of projects ......................................... 3-35
3.13.1. Single and multiple step mode, halt the project.............................. 3-35
3.13.2. What to do, if values become sporadically invalid? ......................... 3-35
3.13.3. The ordinary oscilloscope for testing............................................... 3-36
3.13.4. The Multichannel Oscilloscope and Logical Analyzer ....................... 3-36
3.13.4.1. Usage....................................................................................... 3-36
3.13.4.2. Operation................................................................................. 3-37
3.13.4.3. Sample application for multichannel oscilloscope and rfft
function block ............................................................................................ 3-41
3.14 Save the project against unintended changes ........................ 3-43
3.15 Password protection and other protecting measures ............. 3-43
3.16 The Hot-Swap layer ................................................................ 3-44
3.16.1. Conception of data handling and memory in Hot-Swap.................. 3-44
3.17 Printing a project.................................................................... 3-45
3.17.1. Setting the page size for a project................................................... 3-45
3.17.2. Inscription and layout of pages....................................................... 3-45
3.17.3. Printer control settings.................................................................... 3-46
3.17.4. Adding your corporate logo on the printed pages .......................... 3-47
3.17.5. Adding your corporate copyright note............................................ 3-47
3.17.6. Printed pages .................................................................................. 3-47
4 Functions and function blocks 4-1
4.1 Basic functions ......................................................................... 4-2
4.1.1. Arithmetic functions ......................................................................... 4-2
4.1.2. Type conversion................................................................................. 4-6
4.1.2.1. Rules for conversion..................................................................... 4-6
4.1.2.2. General type converting functions ............................................... 4-8
4.1.2.3. Limiting converters..................................................................... 4-11
4.1.2.4. Scaling converters ...................................................................... 4-13
4.1.2.5. Convert data structure ............................................................... 4-14
4.1.3. String functions .............................................................................. 4-16
4.1.4. Bit-Shift functions and logical operations........................................ 4-18
4.1.5. Selection- and MIN- / MAX-functions .............................................. 4-19
4.1.6. Comparison functions ..................................................................... 4-20
4.2 Basic FBs (basic function blocks)............................................. 4-21
4.2.1. Register / Multiplexer ...................................................................... 4-21
4.2.1.1. Register function blocks............................................................. 4-22
4.2.1.2. Shift-register and FIFO function blocks....................................... 4-23
4.2.2. Edge Detection ............................................................................... 4-25
4.2.3. Counter........................................................................................... 4-26
4.2.4. Timer / Time functions (Zeitfunktionen)........................................... 4-27
4.2.5. Analytic Functions ........................................................................... 4-30
4.2.6. Communication Functions............................................................... 4-32
4.2.7. Signal processing ............................................................................ 4-35
4.2.8. Special and helpful basic FBs........................................................... 4-37
4.2.9. Complex funktion blocks................................................................. 4-39
4.2.9.1. PIDT1Control.............................................................................. 4-39
4.2.9.2. Ramp ......................................................................................... 4-41
4.2.9.3. DigFilt - digital filtering of signals .............................................. 4-42
4.2.9.4. DatFileWrite-function block – generation of iba data files (*.dat)4-44
4.2.9.5. DatFileCleanup-function block – clean up the harddisk.............. 4-49
4.3 Global variables ...................................................................... 4-50
© iba AG 2009