Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
HARD-CORE NOTES PROGRAMMING
Notes direct serial communications to Palm devices
By Mark Lawson

This article is about using LotusScript to run the Notes native communications layer and in particular the largely unused Serial Driver. Why? Well, in my case it was so I could walk up to any Notes Client, plug in my PalmPilot and download my USER.ID thereby replacing the floppy I use for that purpose.

Direct serial communications avoided having to have the Palm software/HotSync/conduit system installed and, in theory, works anywhere that Notes works. This technology also opens up some interesting possibilities I haven't had a chance to look at yet -- such as data gathering, security applications and generally talking to other serial devices (i.e., A/D converters, bar-code/magnetic strip scanners and terminals -- Linux anyone?)

This article describes how to set up such a direct link with my Palm device/USER.ID system as an example. To accompany this I've created an example database with all the code and declarations listed. The address for this and other resources are at the end of the article.

Setting up a Notes test system
Before you can use any of the information in this article, you must enable the appropriate PC COM port (I've assumed COM1) by selecting Tools->User Preferences->Ports from the File menu, and have it enabled in your current Location document. For a Direct Connection, select the "Null Modem" modem type in Additional Setup, as shown in Figure A

FIGURE A


For a Direct Connection, select the "Null Modem" modem type in Additional Setup. Roll over picture for a larger image.

Getting ready to test
You might also find it useful to download some tools to make sure you can see all the data, including control characters going across the port. I found a little Windows application called Portmon that seemed to do the job. You'll need a test environment, consisting of Notes Client 4.x a serial cable and some sort of Palm device. Mine consisted of Notes 4.63 Client and my PalmPilot IIIx in its cradle with a freeware terminal program called Pilot VT100 installed on it. If you have the Palm Desktop software installed, then you will have to close the HotSync Manager to use the port.

For different hardware systems, you might need to modify the initial Notes settings to work with your hardware; the Pilot VT100 software only runs up to 19,200 BPS, and you saw, back in Figure A, that I set that as the maximum port speed in Notes. You might need to close Notes and restart it before it takes notice of new settings.


1  ·  2  ·  3  ·  4  ·  Next »
Other articles you might like
Home > Mobile Technology > Palm OS (11 articles)
   Synchronizing Notes with Palm handhelds with Pylon 5.2
   Integrate Notes with Palm's new Tungsten T
   Top 10 support questions answered for Pylon products
Home > Lotus Technologies > Notes (84 articles)
   A walk down Memory Lane with Lotus Notes
   An application for scanning physical mail and distributing it virtually
   Managing Notes deployments with Teamstudio Build Manager
Home > Lotus Technologies > LotusScript (64 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Little known traps about Lotus Notes fields
Home > Lotus Technologies > Application Development (48 articles)
   An application for scanning physical mail and distributing it virtually
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login