DashBoard Visual Logic is a visually-oriented code authoring environment that enables you to quickly create and edit segments of ogScript code for your CustomPanels. Visual Logic is part of Panel Builder.
ogScript is a JavaScript-based programming language designed to interact with DashBoard-enabled devices. In DashBoard CustomPanels, you can use ogScript to define interactions between panel objects, and to communicate with external devices. You can create and edit ogScript manually, or use Visual Logic to create and edit it visually.
Visual Logic enables CustomPanel creators who have limited JavaScript experience to more easily add ogScript functionality and logic to CustomPanels. In the Visual Logic editor, you drag pre-made logic blocks into the workspace, and then connect them to define their logical relationships. PanelBuilder creates the underlying ogScript code for you.
Tip: The DashBoard Visual Logic editor is similar to the Visual Logic editor in Ross Video XPression, so if you learn to use one, you can easily learn to use the other.
(Figure 1.1) shows the DashBoard Visual Logic editor.
Figure 1.1 - Visual Logic Editor
This section includes the following topics:
•Creating Internal and External APIs
•Creating a New Device Type in Visual Logic
Tip: The Ross Video website features video tutorials about how to use DashBoard PanelBuilder, including the Visual Logic editor. To view the video tutorials, go to http://www.rossvideo.com/control-systems/dashboard/dashboard-u/index.html.
For More Information on...
•Creating CustomPanels, see PanelBuilder™.
•Detailed reference information about ogScript functions and their parameters, see the DashBoard CustomPanel Development Guide (8351DR-007).
•JavaScript commands and syntax, search for "JavaScript Reference" on the Internet.