ChartScan Program Examples

Appendix D

 

 

Using the U6 query, the controller gets the trigger block string, which, among other things, supplies the block complete flag, indicating the state of the present trigger block. The block is marked complete when the last post-stop scan is recorded into the buffer.

PRINT “Waiting for completion of Block ”; i; “..”

DO

PRINT #1, “OUTPUT 07;U6X”

PRINT #1, “ENTER 07"

LINE INPUT #2, U$

UA$ = MID$(U$, 86, 2)

LOOP UNTIL UA$= “1"

PRINT “The ChartScan is done with Block”; i; “and has re-armed itself”

Using the U$ string which still contains the trigger block status string, the number of scans available in the buffer is calculated. The R2 command is then used to retrieve the data in the ChartScan’s internal buffer.

‘Query the ChartScan for the # of scans available in the Buffer

UAT$ = MID$(U$, 9, 7)

PRINT UAT$

PRINT “The ChartScan collected a total of ”; VAL(UAT$); “ scans” UA$ = MID$(U$, 18, 7)

PRINT UA$

PRINT “Pre-Triggered scans :”; VAL(UA$) UA$ = MID$(U$, 47, 8)

PRINT “Post-Triggered scans :”; VAL(UA$) UAS$ = MID$(U$, 77, 8)

PRINT “Post-stop-Triggered scans :”; VAL(UAS$) - VAL(UA$) ‘Upload Block

PRINT “Uploading trigger block”; i PRINT #1, “OUTPUT 07;R2X”

FOR c = 1 TO VAL(UAT$) PRINT #1, “ENTER 07" LINE INPUT #2, SCAN$

NEXT c

PRINT “Block ”; i; “ is read.” NEXT i

After all 5 trigger blocks have been collected, the unit is disarmed by sending the T command.

PRINT #1, “OUTPUT 07;T0,0,0,0X”

Configure for 12 Channels with Continuous Binary Upload using

CONTIN_D.BAS

This program configures the ChartScan for 12 Channels and allows the system to continuously upload binary data to disk when the buffer is 75% full.

'Establish communication with the DRIVER488

OPEN "\DEV\IEEEOUT" FOR OUTPUT AS #1

IOCTL #1, "BREAK"

PRINT #1, "RESET"

OPEN "\DEV\IEEEIN" FOR INPUT AS #2

PRINT #1, "TIMEOUT 5"

PRINT #1, "ERROR ON"

PRINT #1, "FILL ERROR"

PRINT #1, "TERM IN LF EOI"

OPEN "Chrtscan.DAT" FOR OUTPUT AS #3 'output data file Dimensions

s! = 4096

'number of bytes to be transferred at a time

DataBuffer$ = SPACE$(s!)

DIM

DataBuffer$(s!)

 

DEF

FNPEEKW (addr) = PEEK(addr) + 256 * PEEK(addr + 1)

D-14

ChartScan User’s Manual

Page 251
Image 251
Omega Vehicle Security 1400 manual Print #1, Output 07U6X, Loop Until UA$=, Print UAT$, Print UA$, Dim, Def

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.