PHL 7000

From OptiWiki

Jump to: navigation, search
PHL 7000
PHL 7100 series
Scan engine MDL 1000
MDL 3200
MDI 1000
OS version Windows CE 4.2 (Discontinued)
Windows CE 5.0
Communication USB (client and host)
Bluetooth
RS232
WLAN
GSM/GPRS (optional)
User expandable by CF
SDK doc PHL 7000 SDK
MSDN
Compiler suite Microsoft Embedded C++
Microsoft Visual Studio .NET


The PHL 7000 represents a product series of Opticon. The products are rugged units containing the Windows CE operating system. They may be sold with either a numeric, or full keypad, with or without GSM/GPRS unit (Siemens MC55), and equipped with a 1D or 2D scan engine.

Contents

General

What does the product name mean?

For the PHL7abc series:

a b c
1 Short keypad 1D engine
2 Full keypad Compact Flash; WLAN and BT
3 Compact Flash and BT
4 1D long range engine GSM/GPRS; WLAN and BT
5 2D engine
the ‘a’ can be 1 or 2 denoting short or long keypad respectively
the ‘b’ can be 1, 4 or 5 denoting 1D, 1D long range or 2D respectively
the ‘c’ can be 2, 3 or 4 denoting the lack of GSM/GPRS and/or WLAN or the presence of GSM/GPRS and/or WLAN

If the unit has GSM/GPRS then is does not have a compact flash slot. If you require compact flash for the use of RFID, you must choose a unit without GSM/GPRS.

Performing a Warm Boot ( Soft Reset ) on the PHL7000

To perform a Warm Boot, press and hold the following keys at the same time: "F1"+"F4". Then release the buttons. A Warm Boot will not delete any data or erase settings.

Performing a Cold Boot ( hard reset ) on the PHL7000

To perform a Cold Boot on the PHL7000, a sequence of buttons has to be pressed. To cold boot press and hold the following keys at the same time: "F1"+"F4"+"Power Button", then release them.
The device should now perform a Cold Boot.

WARNING: A cold boot resets the device into factory default settings. All data that is not in the DiskOnChip folder of the device, will be deleted.

Where can the software version be found on this device?

Please go to Start > Settings > Control panel > Control center > Information > SW Version.

What does the software version stand for?

A software version, for instance A01-53.40-E830, means the following:

Digit Purpose
A A: PHL 7000 C: PHL 8000 D: H 15
01 01: Opticon
-
5 4: CE4.2 5: CE5.0 6: CE6.0
3 3: Official release
.
40 Software version
-
E E: English
8 8: Short keypad C: Full keypad F:Both combined
3 3: ZCOM WLAN + BT A: Summit WLAN + BT
0 3: GPRS 0: No GPRS

Which Compact Framework is available for/installed on this device?

For Windows CE 4.2, as well as Windows CE 5.0, Compact Framework 2.0 is default installed in the OS.
Note that the version of Windows CE 4.2 should start with "V0.3...." to have this feature.

What is the battery lifetime of this device?

There are 2 battery versions available for this product. 3A and 4A.
With both types of battery, 1 test was done. The PHL 7000 was set-up in the following way:
Display always on, GSM ON, WLAN ON, BT ON.
The PHL 7000 is further not used ( so no scanning etc... )
the 3Ah battery operates from 9:20 until 16:04 which is almost 7 hours.
the 4Ah battery operates from 9:20 until 18:45 which is almost 9.5 hours.

My device starts to react slowly!

This can be 2 things.

First of all, an application might occupy the processor too much, and therefore, the device reacts slow to user input.
You should try to preform a Warm (or Cold) Boot, and make sure that no applications are started/installed during the startup.

If this does not work, so the devices will still act slow, there might be an issue with the WLAN card.
In order to fix this, you should send the device back according to the regular RMA procedure.

How can I automatically start WLAN module after cold/warm reboot?

This can be achieved using the following procedure:

Create a file with the name "WLANMESSAGE.TXT" containting a single digit and put it in the \DiskOnChip\Backup folder.

Depending on the single digit in the file, the PHL-7000 will behave as follows:

0 WLAN module does not power on
1 PHL-7000 will ask if you want to power on the WiFi module or not
2 PHL-7000 will power on the WiFi module without asking for confirmation.

This behavior is independent of the WiFi module that installed in the unit.

My SD card is not read/recognized

The PHL 7000 has only support standard SD cards. High Capacity (HC) with capacity > 1GB are not supported. SDIO devices are not supported as well.

Application related

I have troubles connecting the device to my PC.

These problems may be caused by ActiveSync or Windows Mobile Device Center.

How can I run applications during startup from the command line?

This can be done using "cmd /C" command in a batch file. Commonly used applications are deleting/copying files from the DiskOnChip to the flash memory of the device. See the examples below:
cmd /C del "\Windows\Desktop\in*.lnk"
cmd /C del "\Windows\Desktop\mi*.lnk"
cmd /C copy "\DiskOnChip\bu*.lnk" "\Windows\Desktop\"
cmd /C copy "\DiskOnChip\bu*.lnk" "\Windows\Programs\"

How can I restore a created backup on a cold boot?

Create a *.cmd file in the DiscOnChip\Startup\Cold directory containing 1 of the following sentences:
To restore the backup from the DiskOnChip: "cmd /C Backuprestore -DOC"
To restore the backup from the Compact Flash card: "cmd /C Backuprestore -CF"
To restore the backup from the SD card: "cmd /C Backuprestore -SD" (Not Supported on PHL7000)
Please note that the backup should be present on the specified location. Otherwise, errors may occur.

What COM ports are available on the device?

COM port Name Assigned hardware
COM1 Serial2 Bluetooth hardware (not devices)
COM2 Serial Physical RS232 connector
COM4 BCPort Barcode engine
COM5 USBSerial USB Serial Port (ActiveSync)
COM6 Compact Flash I/O card
COM8 COM8: Siemens GSM/GPRS Modem

Serial ports COM3, COM7 and COM9 can be used as Bluetooth serial ports. This should be done as follows:

Enable Bluetooth
Pair the Bluetooth Serial Device with the PHL 7000
Go to tab Serial Port
Register a serial port to the paired device.

You can now open the COM port as serial port to send and receive data through it.
Note: This feature is available in OS A00-53.14-E833-0709 and subsequent.

How can Internet Explorer be used without toolbars?

In this case, IESimple should be used, not IESample. IESimple can be used in different ways:
Way 1:(Show the default home page)
iesimple
Way 2: (go to a page on the internet)
iesimple www.opticon.com
Way 3: (show a local stored page)
iesimple \temp\demo.htm

Keyboard shortcuts while using IESample:
CTRL+L: Toggle between full-screen mode and window mode
CTRL+H: Go to Start page
CTRL+G: Go to a Specific Web Page [open text box]
CTRL+F: Find something by keywords [open text box]

I want to use a GPRS connection to the Internet without using the phone tools. How should I do this?

First of all, the SIM card needs to be configured that it does not need a PIN code.

On the last Windows CE 5.0 OS, there already is a GPRS connection configure. You can use this connection, or change Username/Password, and use it then. You can find the connection at start > Settings > Network and Dial-up.

If this connection is not pre-configured, you should do the following:
Make sure the GSM/GPRS module is enabled, but do not launch the phone tools.
Go to Start > Settings > Network and Dial-up. Double tap “Make new connection”. Enter a name (e.g. “GPRS”), and select Dial-Up Connection. Tap Next.
Select “Siemens GPRS Modem” and tap “Configure”. On tab “Call Options”, enter the following string without the brackets "(" (+cgdcont=1,"ip","internet") in Extra Settings. Tap OK.
Tap Next, and enter *99***1# as phone number. Tap Finish.
Double-tap the newly created GPRS connection, tap Dial Properties, and tap Edit. Make sure that (at least) the upper edit box just contains a G. Tap OK, OK and Connect to connect to the Internet.

I want the device to connect via GPRS immediately when I start Internet Explorer.

Assumed is, that there exists a working GPRS connection.

Go to Start > Settings > Control Panel > Internet Options. On tab Connection, select the newly created GPRS connection (GPRS in this case) at “Autodial name”.
Tap OK and close the control panel. Press F1 to start the Internet browser.

Disabling the automatic Soft Input Panel

When using Internet Explorer, the Soft Input Panel will automatically pop up when selecting an input field. To disable the automatic appearance of the Soft Input Panel, you will have to edit the registry.
Go to the following path in the registry: [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]. Here add a new DWORD and set its value to 1. And name the Registry key "Disable Auto SIP". ( see picture below ).


File:Disable Auto SIP.JPG

OS Upgrading

Copy the xip.nb0 on a SD card. Insert the SD card inside the PHL7xxx. Press the buttons F1 + F4 + Power button then immediately press F1 + F2 + F3 keep the 3 keys pressed until the upgrade starts. When the update is finished press F1 + F4 + POWER to reboot

My OS is not updating, It says “Update Fail”, and reboots (correctly)!

Make sure your SD card is formatted at a PC as FAT (not FAT32). If this still fails, use the Update tool (located on the SD card), and rename the xip.nb0 to XIP.NB0 (all capitals).

My OS is not updating, It says “Update Fail”, and reboots (tries but unsuccessful)!

Make sure the terminal is attached to the power, and try again. If this does not work, this might be SD card related. Please try another.

My OS is updated correctly, reboots, but gets stuck at "Loading the OS image" screen

This happens occasionally with some SD cards. Please remove the SD card, and preform a cold boot.

Programming

When developing an application using the latest SDK, I get an error after the laserbeam turns off.

Starting from OS build version 53.22, the interface to the SDK has been updated. When your custom built applications have trouble accessing the bar code reader, then please download the latest version of OBCSDKEVC.DLL and copy it to the /Windows directory of the PHL 7000 unit.

Using the C++ SDK, the DLL file as well as the LIB file need to be updated. These exist both in the ZIP file.

I cannot debug my VS2005 application on the PHL 7000. All other devices debug fine.

Please check your Visual Studio version. It is probably Visual Studio 2005 Professional. There is a specific Service Pack of the Compact Framework, which will not work well with Windows CE, if it regards on debugging with Visual Studio 2005 Professional. Reinstallation of the service packs should do the trick. Please note that you want to have the latest SPs available.

I cannot use the Embedded C++ 4.0 remote tools on my device.

Please ensure you have all the service packs installed and that you are using version 5.0. We have discovered compatibility issues with at least version 4.10. For best results, open the remote tools directly without using the links within Embedded C++ 4.0.

I want to use the white key on the top left on the keyboard!

In your C# application, you should embed the following code:

    public partial class frmMain : Form
    {
        private PHL7000MessageWindow messages = null;
 
        public frmMain()
        {
            InitializeComponent();
            messages = new PHL7000MessageWindow(this);
        }
 
        public void WhiteButtonPressed(bool Down)
        {
            if (Down)
                MessageBox.Show("White button is pressed down");
            else
                MessageBox.Show("White button is released");
        }
    }
 
    public class PHL7000MessageWindow : MessageWindow
    {
        internal const int WM_APP = 0x8000;
        internal const int WM_WHITEKEY_UP = WM_APP + 300;
        internal const int WM_WHITEKEY_DOWN = WM_APP + 301;
 
        //Next variable is used for a "callback mechanism"
        //Using an eventhandler would have been nicer.
        private frmMain Parent = null;
 
        public PHL7000MessageWindow(frmMain mainForm)
        {
            Parent = mainForm;
        }
 
        protected override void WndProc(ref Message m)
        {
            switch (m.Msg)
            {
                case WM_WHITEKEY_UP:
                    Parent.WhiteButtonPressed(false);
                    break;
                case WM_WHITEKEY_DOWN:
                    Parent.WhiteButtonPressed(true);
                    break;
            }
            base.WndProc(ref m);
        }
    }

This code is almost the same as can be used for C++.

I want to turn on or off the GSM module!

To control the power on the GSM module, please use the following code:

private void gsmPower(bool turnOn) 
{
    IntPtr targetWnd = FindWindow(null,"GPRS Power Control");
    if (turnOn)
        PostMessage(targetWnd, 0x8000 + 0x124, IntPtr.Zero, IntPtr.Zero);
    else
        PostMessage(targetWnd, 0x8000 + 0x125, IntPtr.Zero, IntPtr.Zero);
}

3rd Party Applications

Do you have a recommended Terminal emulation client for the PHL7000?

Many terminal emulation clients are known to be used in combination with the PHL 7000.

Freefloat customized their terminal emulator for the PHL 7000. The terminal emulator of theirs is called Access*One.

Another commonly used Terminal Emulation Client is the Powernet Twinclient by Connect Inc.. This client is not customize their emulator for the PHL 7000, but the "Generic Windows CE" client can be used. The client application as well as the manual can be downloaded from the ConnectRF download page.

Views
Personal tools