DataHub Scripting
Version 5.4
January 05, 2006
A user's guide to scripting in Cascade DataHub.
Copyright, trademark, and software license information.
Table of Contents
1. Introduction
2. Getting Started
2.1. The Script Log
2.2. Accessing Scripts
2.2.1. Starting a New Script
2.2.2. Adding a Script to the List
2.2.3. Editing a Script
2.2.4. Running a Script Manually
2.2.5. Running a Script at Startup
2.2.6. Modifying the List
2.3. The Script Editor
3. Writing Scripts
3.1. Creating a Script
3.2. Hello World
3.3. Accessing Data
3.4. Modifying Data
3.5. Two-Way Data Manipulation
3.5.1. Adapt it for your needs
3.6. Making a Window
3.7. Scripting Tips
3.7.1. Copying a complete tutorial
3.7.2. Setting up a scripting environment
4. Support Code
4.1. The Application class
4.2. The LinearXform class
5. ODBC and Windows Scripting
5.1. DataHub ODBC (Open Database Connectivity) Scripting
5.2. DataHub Windows Scripting
A. Basic Troubleshooting
B. License Copyright Information
I. Special Gamma Functions for DataHub Scripting
add_menu_action
- adds a menu action.
allow_self_reference
- permits changes to be written back to the point of origin.
datahub_command
- sends commands to the DataHub.
datahub_domains
- creates a list of all domains.
datahub_points
- creates a list of all points for a domain.
edit_file
- opens a file in the Script Editor.
get_tray_menu
- returns a pointer to the tray menu.
on_change
- evaluates an expression when a variable changes value.
remove_change
- removes an on_change function.
remove_menu_action
- removes a menu action.
show_log
- displays the Script Log.
symcmp
- compares symbols to see if they are equal.
Index
Copyright © 1995-2006 by
Cogent Real-Time Systems, Inc.
All rights reserved.