Hi there,


  I'm new to this forum, as I finally decided that I can not figure out
the solutions by myself. Hopefully any of you could give me a hand or
tell me who should I contact in order to get some enlightment.

We are developing using:

+++ STP1700 with Palm OS v.3.2.
+++ MetroWerks Code Warrior IDE v.4.0.1
+++ Ultralite (Adaptive Server Anywhere, from Sybase) v.6.0.3

 So, the main three problems we are facing are:

 - FIRST: From time to time the Barcode reader does not get enabled, though
we are using the following code to check for the status, we never get any
ERROR message.
------------------------------------------------------
        if (ScanIsPalmSymbolUnit())
        {
                error = ScanOpenDecoder();
                StrIToA(lc_error, error);

                if (!error)
                {

                        // Escojo los parametro del decodificador
                        ScanCmdScanEnable();                            // Habilito el 
lector
                        ScanSetTriggeringModes( HOST );         // Permito la lectura 
por hardware o
softwar
                        ScanSetBarcodeEnabled( barCODE39, false );      // deshabilito 
los codigoa
que no puedo leer
                        ScanSetBarcodeEnabled( barUPCA, false );
...
...

                        ScanSetBarcodeEnabled( barUCC_EAN128, false);
                        ScanSetBarcodeEnabled( barISBT128, false);
                        // habilito los codigos que puedo leer
                        ScanSetBarcodeEnabled( barCODE128, true);
                        ScanSetBarcodeLengths(barCODE128,18,18,18);

                        // Ya eleji los parametros...
                        ScanCmdSendParams( One_Long_High);
                }
                else    FrmCustomAlert(ERRORAlert,"No se inicializo el laser. ",  
"lc_error=
", lc_error);

        }

------------------------------------------------------

+ SECOND:

 We are using the SPT1700 devices to feed information to a Client Server
system, the client is being developed using PowerBuilder7.0.
 The sincronization process is being done using the DLL dbhsync6.dll and
shoud upload to the PC the records read on the SPT and download
new records read on the PC to the SPT. But, sometimes the HotSync process
does not recognize
that new records have been added to the consolidated database, thus doing
nothing. The trick so far is to read a new record on the SPT so the HotSync
process detects changes in the Remote DataBase and the syncronization is
forced. This trick has worked well in the development stage but we need to
ensure that the changes made on the consolidated are recognized by the
HotSync process.

------------------------------------------------------

+ THIRD:

 When the aplication is running (the one developed in PowerBuilder) and the
HotSync process is launched, there seems to be a deadlock that only can be
solved by quiting the application on the PC. The problem is that we don't
have any uncommited transaction send by the Client (PowerBuilder) and that
so far we have noticed(using sa_conn_info from InteractiveSQL) that the
BlockOn situation is set when the HotSync process starts. Furthermore, for
me is quite weired that if the HotSync process locks the DataBase, it cannot
continue working.


  And again, any advice you could give me will be very welcome,


    Juan P. Reyna-Acevedo, M.Sc.
---------------------------------
Central Bank of Mexico / Issuing Direction
Systems Develpment Office
Tel. +(52) 52.68.8300 ext. 6534 / 6334
e-mail [EMAIL PROTECTED]



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to