We use cookies to ensure that we give you the best user experience on our website. If you want to find out more about the cookies we use, you can access to our Privacy Policy here. By continuing your visit to our website, we'll assume you consent to our use of cookies.



Technical Information

Application Development Manual | Opening the connector communications device file

Opening the connector communications device file


Open the connector communications device file, ready for file transfers and other communications via the dedicated interface cable.


Detailed Description

BHT-BASIC treats communications devices as files. File and packet transfers therefore require first opening the communications device file.

speed specifies the transfer speed in bps. (See the table below.) If this parameter is omitted, the BHT uses the last setting, which defaults to 9600 bps.

Transmission Speed Setting
115200bps 115200
57600bps 57600
38400bps 38400
19200bps 19200
9600bps 9600
4800bps 4800
2400bps 2400
1200bps 1200
600bps 600
300bps 300

fileno can be any number from 1 to 16 not currently in use by another file (data or bar code device). Use the same number to send data packets to and close the communications device file.

Note that always close IrDA, Wireless LAN, and other communications device files before opening this device. It cannot be used simultaneously with other such devices.

Close the communications device when it is no longer needed.→Closing a communications device file


Open connector communications device at 115200 bps

  open "COM2:115200" as #1

Open connector communications device at 9600 bps

  open "COM2:9600" as #1

Contact us


If you have not registered

The services on this member site are available only for registered customers.

New member reg.