Configuration Aspects for Programmers

Appendix B

 

 

Reading the Acquisition Buffer

The three previous sections briefly discussed how the acquisition buffer may be accessed and read. In this section the methods by which the acquisition buffer is read will be discussed in more detail.

As mentioned earlier, the Acquisition Buffer is organized as a FIFO (First In, First Out). As such all data read from the Acquisition Buffer will be the oldest available data. Furthermore, once the data has been read from the buffer it is no longer available. Upon completion of a read operation, the data associated with the read operation will be deleted.

The Read Acquisition Buffer (R) command is the command by which Acquisition Buffer data is read. You can use this command to read anywhere from one scan to all the scan data currently residing in the buffer. This command has the following valid forms:

R1 Read the oldest scan available.

R2 Read the oldest trigger block available.

R3 Read all available scan data.

When an R command is issued, ChartScan checks to see if the request can be fulfilled. If s, the requested scan data is moved from the Acquisition Buffer to the Output Queue where it waits until the controller initiates transfer.

Note: The request may will not be fulfilled if either (1) no channels are configured, or (2) the amount of scan data requested is not available. If either of these is true a Conflict Error will be posted. The R1 and R3 commands require that at least one scan be available and the R2 command requires that at least one complete trigger block be available.

The Scan Available bit in the Status Byte (STB) Register can be used to determine whether or not the Acquisition Buffer is empty. This bit is set when at least one scan is available in the buffer. The Buffer Status String (U6) command may also be used to retrieve more detailed information about the state of the Acquisition Buffer.

The following are simple examples to illustrate the uses and effects of all three R command types.

Note: Although not mentioned prior to these examples, the responses to all queries (U6, R1, R2, etc.) can be configured with specific field separators and response terminators. For detailed instructions on setting query terminators, refer to the Q command description in Appendix D.

The R1 command will read the oldest scan in the oldest trigger block. For instance:

PRINT#1,"OUTPUT07; U6X"

‘ Request the current status of the Acquisition Buffer

PRINT#1,"ENTER07"

Retrieve it.

INPUT

A$

Screen shows...

PRINT

A$

 

 

0000006,0020216,-00000100,12:51:43.100,03/24/97,00000100,01:53:01.300,03/24/97,00000250,01

The above response indicates that there are 6 trigger blocks currently defined in the Acquisition Buffer and there are 20216 total scans in the buffer. Furthermore, it shows that the current read pointer is at scan # -100 in the 1st trigger block. To retrieve that scan perform the following:

PRINT#1,"OUTPUT07;R1X"

‘ Request the oldest scan

PRINT#1,"ENTER07"

‘ Retrieve it.

INPUT A$

‘ Screen shows (4 channels are configured)...

PRINT A$

 

+0234.20-0019.40+0001.40+0023.60

PRINT#1,"OUTPUT07; U6X"

‘ Request the current status of the Acquisition Buffer

PRINT#1,"ENTER07"

‘ Retrieve it.

INPUT A$

‘ Screen shows...

PRINT A$

 

0000006,0020215,-00000099,12:51:43.100,03/24/97,00000100,01:53:01.300,03/24/97,00000250,01

Notice that after reading the scan there are now 20,215 scans in the buffer and the current read pointer is now at scan # -99.

B-24

ChartScan User’s Manual

Page 213
Image 213
Omega Vehicle Security 1400 manual Reading the Acquisition Buffer, PRINT#1,OUTPUT07 U6X, Input, Print

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.