ChartScan Program ExamplesAppendix D

Using the event status register command “UOX”, we now wait until the acquisition complete event which includes the stop event.

WHILE (U% AND 1) <> 1

PRINT #1, “OUTPUT 07;U0X”

PRINT #1, “ENTER 07"

INPUT #2, U%

WEND

PRINT “The Acquisition is now complete”

During or after the acquisition has been completed, the internal buffer can be queried for the amount of data available for transfer. The U6 command will return the trigger block number, the current scan number, the current read pointer, the trigger time/date stamp, the scan number where the stop event occurred, the stop time/date stamp, the scan number of the end of the trigger block, and the block complete flag.

This example uses the last parameter in the return string as an indicator of how much data is available to transfer to the controller. QuickBASIC’s MID$ function extracts 6 characters from the string U$ starting at character 8.

PRINT #1, “OUTPUT 07;U6X” ‘Ask for trigger block info

PRINT #1, “ENTER 07"

LINE INPUT #2, U$

PRINT U$

UA$ = MID$(U$, 8, 6)

UA% = VAL(UA$)

PRINT UA%

PRINT #1, “The ChartScan collected ”; UA%; “ scans of data”

The R1 command is used to request one scan from the unit. Using the variable UA% calculated from the previous step, all of the data is transferred to the controller.

FOR i = 1 TO UA%

PRINT #1, “OUTPUT 07;R1X”

PRINT #1, “ENTER 14"

INPUT #2, SCAN$

PRINT “Scan ”; i; “ is :”

PRINT SCAN$

NEXT I

Operating Alarms using ALARM2.BAS

The following program, ALARM2.BAS, in the EXAMPLES directory will set up the alarm system of the ChartScan.

Although not necessary, it is good practice to reset the ChartScan at the beginning of your application by sending it the “*R” command then waiting a few seconds.

CLS : PRINT “The ChartScan is resetting..”

PRINT #1, “OUTPUT 07;*RX”

SLEEP 10

To be certain that the reset was successful and the device is ready, serial poll the device until the proper status is returned.

S% = 0

WHILE (S% AND 4) = 0

PRINT #1, “SPOLL 07"

INPUT #2, S%

WEND

The C command is used to configure multiple channels as part of the scan group and to assign them a type. Additionally, the alarm parameters are used to activate the alarms for those channels.

D-6

ChartScan User’s Manual

Page 243
Image 243
Omega Vehicle Security 1400 manual Operating Alarms using ALARM2.BAS

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.