Appendix D

ChartScan Program Examples

Reference Note: You may find Appendix A useful while reading through these examples. Appendix A contains descriptions and examples of the Application Program Interface (API) Commands.

Contents

Overview ------------------------------------------------------------------------------------------------------------------------

D-1

Reading HLL Status using HLL16.BAS --------------------------------------------------------------------------------

D-2

Reading HLL Data from T/C and Volts Cards using HLL32.BAS------------------------------------------------

D-2

Acquiring Pre-& Post-Trigger Data at Data at Different Rates using SLOW_ACQ.BAS-------------------

D-3

Acquiring Pre-& Post-Trigger Data at the Same Rate using FAST_ACQ.BAS ------------------------------

D-5

Operating Alarms using ALARM2.BAS---------------------------------------------------------------------------------

D-6

Using the IEEE 488 SRQ with Alarms using ALAR2SRQ.BAS --------------------------------------------------

D-8

Collecting Data in Binary Format using BIN_ACQ.BAS------------------------------------------------------------

D-9

Collecting Binary-Formatted High/Low/Last Data using BIN_HLL.BAS ---------------------------------------

D-11

Using Auto-Rearm to Capture Multiple Trigger Blocks using BLK_ACQ.BAS -------------------------------

D-13

Configure for 12 Channels with Continuous Binary Upload using CONTIN_D.BAS------------------------

D-14

Configure for High-Speed, Single-Channel Burst Mode using BURST.BAS ---------------------------------

D-17

Overview

This chapter walks through the example programs that are supplied on the release disk in the EXAMPLES subdirectory of the CHARTVIEW directory. This directory has additional examples for serial users. Although written in QuickBASIC, the program logic and the ChartScan device-dependent commands apply to all languages and computers.

The first group of examples uses the IEEE 488 bus through the Personal488 interface to communicate with the ChartScan. Each one of these programs begins with a short preamble that opens the driver and substantiates communications.

After the driver is opened, commands are issued to the driver through character strings in quotes. QuickBASIC’s PRINT and INPUT commands are used to communicate with the driver. The driver commands used most commonly are ENTER, OUTPUT, and SPOLL.

ENTER gets data from the selected device. The syntax of the ENTER command is “ENTERaddr”, where addr is the IEEE 488 address of the instrument. To bring the data into a language variable, the QuickBASIC INPUT function must be used right after the ENTER command.

OUTPUT sends data to the selected device, The syntax of the OUTPUT command is “OUTPUTaddr;out data”, where addr is the IEEE 488 address of the instrument, and out data the string of characters to send to the device.

SPOLL is an abbreviation for a Serial Poll that retrieves an 8-bit status response from the selected instrument. The syntax of the SPOLL command is “SPOLLaddr”, where addr is the IEEE 488 address of the instrument. Right after the SPOLL command, the QuickBASIC INPUT function must be used to bring the data into a language variable.

Note: The ChartScan is at IEEE 488 address 07 for all IEEE 488 examples.

ChartScan User’s Manual, 1-14-99

D-1

Page 238
Image 238
Omega Vehicle Security 1400 manual ChartScan Program Examples, Appendix D

1400 specifications

The Omega Vehicle Security 1400 stands out as a premier solution for vehicle protection, offering a blend of advanced technology and user-friendly features. With the increasing rise of vehicle thefts, incorporating a robust security system has become essential for vehicle owners. The Omega 1400 aims to address these concerns effectively, ensuring peace of mind for users.

One of the key features of the Omega Vehicle Security 1400 is its sophisticated alarm system. The device is equipped with a motion sensor that activates the alarm when unauthorized movement is detected. This feature provides an added layer of protection, alerting owners to potential threats even when they are away from their vehicles. Additionally, the system comes with multiple sensors that monitor doors and trunk openings, fortifying security against tampering.

A standout component of the Omega 1400 is its remote control functionality, which allows users to arm and disarm the alarm with ease. Featuring a user-friendly remote, drivers can secure their vehicles from a distance, ensuring convenience and accessibility. The remote not only operates the alarm system but also integrates a panic button, which can be used in emergency situations to deter potential threats.

The Omega Vehicle Security 1400 is also designed with cutting-edge technology, offering compatibility with smartphone applications. This innovation enables users to monitor their vehicles in real-time, providing alerts directly to their mobile devices. Users can check the status of their vehicle, adjust settings, and receive notifications if the alarm is triggered, ensuring they are always connected to their vehicle's security.

Another remarkable characteristic of the Omega 1400 is its built-in GPS tracking capability. In the unfortunate event of a theft, the GPS feature allows vehicle owners to track the location of their vehicle, increasing the chances of recovery. This technology proves invaluable for users who prioritize the safety of their assets.

Additionally, the Omega Vehicle Security 1400 supports a robust battery backup system. This ensures that the alarm remains functional even if the vehicle's power supply is compromised. The reliability and durability of this security system make it a worthy investment for anyone looking to safeguard their vehicle.

In summary, the Omega Vehicle Security 1400 brings together advanced alarm technologies, remote access, GPS tracking, and reliable power support, creating a comprehensive security solution tailored for modern vehicle owners. Each feature has been designed with user convenience and vehicle protection in mind, making it a top choice in the vehicle security landscape.