An Auto Sequence Program to transmit a Packet of Bytes repeatedly.

pdablue

Active Member
Licensed User
Longtime User
Auto16, an Auto Sequence Program to transmit a Packet of Bytes repeatedly.

Hi,

This program example allows you to define up to 16 bytes that can be
transmitted in a repeating loop. You can send 1 byte, 2 bytes, 3 bytes,
up to 16 bytes at a time. After you have defined a set of characters
you can choose the ones that you want to send by simply checking its
checkbox.

This program was written to be used with a wireless Bluetooth Serial
Port connection. I use the Firefly BP Bluetooth Serial Port adapter.

You can select a time delay between the bytes transmitted in a packet
and you can select a time delay between packets.

I wrote this program on an HP 110 PDA.

You can assign a Label to each Value that you define.
You can save the defined values to a file and you can read back from
the saved file.

To enter data, simply check a checkbox, enter data into the
Label and Value fields, then press the "E" button.

The program has a TX and RX textboxes for the sending and receiving of
data.

The buttons on the main form have the following meaning:

E - Enters the data in the Label and Value fields.

CLV - Clear the Label and Value fields.

CT - Clear the TX textbox.

CR - Clear the RX textbox.

CC - Clear the Checked Checkboxes.

S:TX - Send (transmit) the characters in the TX textbox.

TXD - Transmit toggle button, when the button is "green", transmission
is enabled. When the button is "red", transmission is disabled.

SIP On/Off - Turns the Soft Input Keyboard On and Off.

Read : File - Reads the data saved in the File.

Save : File - Writes the currently defined data to the File.

View : Data - Displays a Form which shows you the currently defined data.

Run - Starts transmitting the characters in the packet.

Stop - Stops transmitting the characters in the packet.

Open - Opens the Bluetooth Serial Com Port.

Close - Closes the Bluetooth Serial Com Port.

Exit - Exits the View Data Form.

The Byte Delay Box - Allows you to define a time delay in milliseconds that is used
to space the bytes in a packet.

The Packet Delay Box - Allows you to define a time delay in seconds between
the packets.

Once you press the Run button the defined bytes in a packet will be
transmitted over and over again until you press the Stop button to
stop the transmission.

This program was written using Basic4PPC.

The program code, the zipped installation file and pictures are below.
 

Attachments

  • AS_Main.jpg
    AS_Main.jpg
    90.6 KB · Views: 414
  • AS_ViewData.jpg
    AS_ViewData.jpg
    57.8 KB · Views: 394
  • r_AS_Pic.jpg
    r_AS_Pic.jpg
    82.6 KB · Views: 402
  • Seq4.sbp
    30.3 KB · Views: 430
  • Auto16_Installer.zip
    126.7 KB · Views: 431
Last edited:
Top