Page 1 of 1

PostPosted: Sun Oct 06, 2002 9:19 pm
by benallgor
I am using a Jornada 568 (PocketPC 2002) to connect to a Tektronix Oscilloscope. I have nearly completed a program that communicates with the scope through the serial port, displays and saves data. I have a problem with Active Sync though. Active sync has to be running for my program to communicate through the serial port, but at the same time the option to "Enable synchronization when cradled." must be disabled.

Has anyone experienced this problem? Is there a way to get around it?

Ben

C. Ben Allgor, PE
benallgor@ieee.org
http:/members.aol.com/benallgor

PostPosted: Mon Oct 07, 2002 8:01 am
by guy
Why does ActiveSync need to be running? Can you not just set the scope up as a network connection (assuming it talks TCP/IP/PPP) on the serial port?


Guy
[url]mailto:pcform@pcform.net[/url]
http://www.pcform.net
PocketC CE API interface: http://www.networkdynamics.net/PCForm.html#library
PCForm and CE API forum: http://www.networkdynamics.net/forum

PostPosted: Mon Oct 07, 2002 6:12 pm
by benallgor
The scope will only respond to prescribed ascii commands over RS232.

The problem is that when the pocketPC senses a serial connection, Active Sync starts and begins checking the port every few seconds. If I disable the "synchronization when cradled", Ative Sync still pops up every few seconds, unless I actually launch it by double clicking on it. When Active Sync is running and "synchronization when cradled" is disabled the serial port works as it should and Active Sync doesn't cause any problems.

I was hoping that someone would have already found a simple way of handling this in an application.

Ben

C. Ben Allgor, PE
benallgor@ieee.org
http:/members.aol.com/benallgor