Math Operations on LV for Palm

I am trying to write a program for a Treo 680 running PalmOS 5.4 (Garnet) using LV for PDA 8.0, and I observe some strange behavior in math operations. The test that I did was to calculate B = log10(A). Both A and B are defined as DBL. The B field is programmed to show 16 decimal places. When I run this program on the PC, I get the following results:
log10(10) = 1.0000000000000000
log10(50) = 1.6989700043360187
log10(100)= 2.0000000000000000
When I run the same program on the Treo (or on Palm OS Garnet Simulator - same results), I get
log10(10) = 1.0000000000
log10(50) = 1.2694732747
log10(100)= 2.0000000000
A couple more interesting results:
log10(72) = 1.4278357668
log10(73) = 1.0043294009
Two questions:
1) Why do the results on Palm have only 10 decimal places?
2) Why are non-integer results so far from the correct values?
A few notes:
1) This is not a question of DBL vs. SGL: log10(50) in SGL arithmetic is 1.6989699602127075
on the PC - the difference starts only in the 7th decimal place.
2) I have MathLib.prc installed on the Treo (and on the simulator).
3) The Palm calculator works correctly: e.g. log10(50) = 1.698970004336
TIA,
Sergey

Cepera wrote:
I mean, how can you have a bug in such a fundamental operation as log(a)?
As mentioned, the PDA module converts your code to C, which is an error prone process.
Couple that with the fact that the PDA module has a relatively small market (and the Palm version an even smaller one, as evidenced by its scrubbing), and you can see how bugs like this can slip through the cracks. As you mentioned, the error does not occur for all values of a.
Try to take over the world!

Similar Messages

  • 64 Bit Windows7/8/8.1 USB drivers for Palm Desktop

    Thanks to the great folks over at Aceeca.com (makers of NEW PalmOS Garnet devices), USB drivers for 64bit Vista, Windows 7, and Win 8 operating systems are available.  There are many users reporting Palm Desktop 4.x is also working. 
    I have synced my TX to my Vista64 bit laptop, and Windows 8.1 HP Spectre X2 hybrid successfully via my USB cable. 
    The drivers are located here:
    Aceeca Driver Downloads
    Installation instructions (from Aceeca) for Windows 7 are included in the download.
    Basic instructions:
    1. Download the drivers and Extract them to the same folder.  Remember the folder you extracted them to.
    2. Try to HotSync your device.  It will fail.
    3. Open the Device Manager, and look for the Yellow Triangle next to either "Acceca" or "Palm Device" under "Other devices".
    4. Right-click on the device, and choose "Update Driver Software".
    5. Choose "Browse My Computer for Software" and direct it to the folder you extracted the Aceeca drivers to.
    6. Choose "Next" at the driver file location window, and then tell it to "Always trust software from Aceeca Ltd." then click the "Install" button.
    7. I received an error message (Vista64) that told me "The drivers were installed but the device couldn't be opened." I saw that my TX had timed out and went to sleep.  I tried a HotSync and it worked!!! 
    Good luck! 
    NOTE:  Palm Desktop 6.22 may only show Media and Install.  Here's how to fix that:
    If Palm Desktop 6.2.2 only shows Media and Install, try this:  Right-click on the shortcut for Palm Desktop, then choose "Run as Administrator".  The ther modules should appear.
    To make Palm Desktop Run as Administrator every time in Windows 8/8.1:
    Close Palm Desktop, if open.  (This is a very important thing to always do when using 6.2.2 - it has been known to lose data when a computer is shut down without closing the program!)
    Right Click on the Palm Desktop Icon in the Metro screen, then choose "Open File Location".  You will now see the actual file for the shortcut.
    Right-click on the "Palm Desktop" shortcut file, then Properties.  Now pick the Compatibility Tab at the top.
    At the bottom of the Compatibility Tab is a checkbox:  "Run this Program as Administrator", Click OK .
    Try opening Palm Desktop, all the parts should appear.  You may see a box open when you close the program asking "Did the program run correctly?"   I picked "Yes", and it's been working fine since then!
    If you are using a much older PalmOS device and want to try using Palm Desktop 4.x, you will need this additional patch from Pimlico Software:
    Palm HotSync Setup
    WyreNut
    Forum member bobboffin has added this post:
    "After attempting your first HotSync and failing (as expected) you may be unable to find any trace of the device in Device Manager, making the next step quite difficult. This happened to me, and after some investigation I discovered the following tip that allows Device Manager to show hidden and non-present devices.
    Open up Notepad and paste the following two lines into it:
    set DEVMGR_SHOW_NONPRESENT_DEVICES=1
    start devmgmt.msc
    Save it as SetDev.bat into My Documents.
    Open My Documents in Windows Explorer and double click on SetDev.bat. Device Manager should open.
    In the View menu select Show Hidden Devices.
    You may now see under the Other heading the failed device with a yellow triangle against it.
    You can now proceed to install the drivers per the instructions.
    Note that the driver supports most Palm OS versions. I'm actually using an Aceeca Meazura 1000 ruggedized PDA running OS 4.1  --- bobboffin"
    Hope this helps!
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!
    This question was solved.
    View Solution.

    Thank you so much.  I was thoroughly disappointed to see that the support telephone for paid support had been discontinued.  I thought I would need to replace my (ancient but serviceable) Z22. 
    I followed the instructions listed here and am very happy to report that I completed a sync!
    Thanks again.

  • Adobe flash player 10.1 for Palm Pre mobile

    Hi
    Can anyone please tell me when the flash player is available in the UK for the Palm Pre mobile
    thanks

    It seems any post or forum that Adobe doesn't like gets "frozen" out when discussing Flash for the Palm Pre.  The missing Palm Pre Flash and the "shift of blame" by Adobe to Palm has been a common theme  (see http://forums.adobe.com/message/2748422#2748422 as an example) is becoming tiresome.
    Yet if you ask Palm they tell you its nothing to do with them, why would it be?  That is such a silly dead-end statement that I suspect Adobe are far to embarrassed by what's actually happened.  If they want to prove me wrong then how about they release the flash to me rather than Palm?  LOL now, there's a novel idea!
    I suspect this has something to do the popular rise of Android, an operating system for mobiles that was still in design when webOS for Palm Pre was already established.  It appears, and no one denies, that the demo on the Palm Pre, you know the one, the one that made us all go out and get the Palm instead of the iPhone, was an iphoney.
    We have been duped.
    While much of the web relies on Adobe technology at the moment the end of their business cycle is in site, not just HTML 5, but sentiment in general.  The lack of respect, clarity, accountability and honesty in the main to blame.

  • Palm Tree 755p + iSync/Missing Sync for Palm/iSync Conduit 1.2

    I'm lost! Being stuck with a new Palm Treo 755p instead of the iPhone until my contract runs out. How do I get my Treo to sync with my Mac? There's iSync, iSync Conduit 1.2 and even Missing Sync for Palm. I'm willing to pay anything just to get things to sync with the Treo & iBook. But, after reading anything and everything I can find even on Discussions ... I'm more confused than ever.
    Can anyone tell me what the real difference is between Missing Sync for Palm vs. iSync & iSync Conduit 1.2?
    If I had that rebate check from uncle Sam maybe I'd go out and pay off Sprint to get out of my 2 year contract and then buy an iPhone, LOL. Oh, that's right we don't get the check until summer
    Any help is appreciated.

    OK, I finally broke down and purchased "Missing Sync," after waiting for Apple to fix this problem. I'm sorry to say that "Missing Sync" does NOT solve this issue completely. It will sync the Address book, but will NOT work with iCal.
    Apparently, "Mark/Space" (the makers of "Missing Sync") are aware of the problems, have identified the problem as Apple's, and reported it to Apple. Here are some of the issues noted on the "Mark/Space" web-page...
    "This article describes situations under which The Missing Sync may report errors or perfomance issues. One error message is specific to iCal (part of Apple's Mac OS X operating system) and describes errors from iCal that are affecting the ability of The Missing Sync from performing sync functions properly."
    "In certain situations, The Missing Sync reports an error message titled 'iCal Sync Errors'. This error is often caused when iCal is attempting to share data with Sync Services. Although this error has little to do with handheld devices, it affects the ability to sync data to or from those devices as Sync Services functions are compromised."
    "THIS ISSUE HAS BEEN REPORTED TO APPLE, INC. BY MARK/SPACE."
    "Errors that are not reported in The Missing Sync log may be found in the Console.log file."
    "Here are some of the error messages you may see in the Console:
    iSDSqliteRecordMapper
    SQLite locking issue
    iSynceConcreteSession
    NSInvalidArgumentException
    ICalExternalSync
    ISyncInvalidRecordException
    These error are generated by Sync Services and reported to The Missing Sync."
    So, for those of you hoping that "Missing Sync" will solve the problems we are having with various hand-helds, and/or cell phones, it doesn't completely. I am a huge fan of Mark/Space's "The Missing Sync" and have used it many times throughout the years. It's a great piece of software that does a whole lot more than iSync ever has, but it does NOT solve all of the problems that are being reported all over this forum in regards to iSync issues and hand-helds/cell phones.

  • Http connection for Palm OS4x

    any way to do this for Palm 125?
    (connection to PC is via USB)
    can i confirm that can use mochasoft if its via serial?
    anyone got any idea if its for USB connection?
    thanks in advance

    I have the same problem.
    I have a laptop with only USB connection, no built in com ports.
    It is configured as follow:
    -Internal 56K modem is mapped in com3.
    -I have a virtual COM1 port from a USB-COM adapter, and there I have connected a PalmIIIc
    -I have a ADSL modem connected to the USB
    The best goal would be surfing the web through the ADSL modem...is it just a dream?
    The second possibility would be the connection through the 56K modem.
    This would be a COM to COM operation and it should be possible.
    ....it should!!
    I have tried mochasoft, pilotnet and pilot redirector with the same result: Modem error (no data recived).
    Any idea?
    Thank you

  • Math operations on history chart

    Hi everyone, I'd like to be able to do some math processing to chart history in that way:
    1) visualizing continuous data from serial port on a multi plot chart  ---> done
    2) at a certain point be able to do some basic math operation on all the chart plots, say for example plot1 multiply by 2, plot 2 multiply by 1.5 ecc.. and visualize those operations on all the history collected till that moment on the same chart replacing raw data, and maybe return to visualize all the raw data collected, programmatically.
    Thanx

    Hi ghrsdr,
    The best way to do it is to maintain a data structure in memory containing a portion of the acquired data (even all). When you need to do some operations on the data you could use this data structure to retrieve and modify your data, even creating a new data structure to maintain the original data. If the data set is large you may consider to stream data to and from your hard disk. The chart should be used only for data visualization purposes, not as a data structure to store the acquired data.
    I suggest you to read the following white papers on the management of large data sets in LabVIEW.
    Managing Large Data Sets in LabVIEW
    http://www.ni.com/white-paper/3625/en
    Memory Management for Large Data Sets
    http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/memory_management_for_large_data_sets/
    I hope I have given you some useful suggestion for your project.
    Best regards,
    Enrico

  • Another browser for Palm Centro??

    I am not that happy with the Palm Centro (with Sprint) browser.  Blazer just does not seem that great.  I tried OperaMini but it is lacking an IBM plugin (which apparently is not available anymore).  Are there any other browsers that will work on Palm (Garnett OS)?  Thanks in advance for help.
    Post relates to: Centro (Sprint)

    Does the above link, once unzipped, include the Documentation folder for the product? If so, it should have a ReadMe and User Guide that explain the installation requirements.
    From the ReadMe:
    To run the JVM on a device, HotSync all the ARM4T PRC files for your language.
    And from the User Guide:
    Follow these steps to install a runtime environment on your device:
    Note: These instructions are for Windows XP/2000 only.
    1. In the Start Menu, select Programs | Palm Desktop | Palm Quick Install
    to launch the install program.
    2. Select File | Add Files and browse to the directory where you installed
    Java Technology for Palm OS Garnet. Then browse to \JVM\ARM4T.
    3. Select J9JavaVMMidp20.prc and j9pref.prc* and click Open to add the
    files to the Quick Install window.
    *The j9pref.prc, which is the developer preferences panel, is
    intended for use by software developers only. It is not intended for end
    users. Also, it is not localized; it is available only in English.
    4. Verify that your device is placed in the cradle correctly.
    5. HotSync the device. If you are prompted for a user, select the correct user.
    In my case, I installed J9JavaVMMidp20 and JavaVMCheck_enUS (the English program - several languages are available).
    This seemed to work.
    You will now have an "Other" listed in your Prefs screen on your Palm for the IBM Java Preferences. Click on this and ensure 'double buffering' is checked on and crank up both 'Set Memory Maximum' and 'Set Maximum Java Thread Stack Size'. Mine are set to 32 MB.
    If you don't increase these settings from their original, Opera Mini will likely crash. A lot.
    Hope this helps! 
    Message Edited by Bazza on 09-08-2008 02:55 PM

  • Deprecated math operator  ^ ?

    I was using Cold Fusion MX7, and now I'm on CF8.
    This week someone told me that I had a problem with one of my
    calculation, it use to be giving the good result but now it is not
    giving good result. The only thing I can see is that the math
    operator ^ is deprecated in CF8, is there something that replace
    it???

    > the math operator ^ is deprecated in CF8,
    Cite?
    It certainly doesn't say anything like that in the docs:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Expressions_03.html
    {quote}
    ^
    Exponentiation: Return the result of a number raised to a
    power (exponent).
    Use the caret character (^) to separate the number from the
    power; for
    example, 2^3 is 8. Real and negative numbers are allowed for
    both the base
    and the exponent. However, any expression that equates to an
    imaginary
    number, such -1^.5 results in the string "-1.#IND. ColdFusion
    does not
    support imaginary or complex numbers.
    {quote}
    But anyway, if something is deprecated, it still works same
    as it ever did,
    it's simply flagged for obsolescence. So even if the ^
    operator was
    deprecated, there'd be no difference in how it worked before
    and after
    deprecation.
    CF seldom deprecates things, and even when deprecated, things
    are seldom
    actually obsoleted. A good example is the parameterExists()
    function: it's
    be deprecated since (at least) CF5. It's still there and
    functional in CF8
    though.
    > <cfset mtp = #rem# * 100 * ( (1 - ((1+
    (#tme#/100))^-#duree#) ) ) / #tme#>
    Well you don't need those pound signs in there, but having
    them just makes
    your code look untidy, it doesn't actually impact anything.
    What kind of differences in results are you seeing?
    Adam

  • Java CDC VM for Palm

    hi all,
    is there any Java CDC VM avaible for Palm-OS?
    I can't find it anywhere...
    greetings peter

    I've been hoping for the same thing for, um... about four years now. I've come to the conclusion that J2ME is useless in its current state as a platform for PalmOS development, and haven't seen any real evidence that Sun plans to change that anytime soon. You can't really do anything meaningful with J2ME on a Palm, besides maybe use it as a testbed for apps meant to run on a cell phone.
    It's a shame. Right now, the PalmOS development scene is a trainwrecked disaster thanks to Palm's WAY-premature abandonment of CodeWarrior (the fact that it was commercially resurrected and continues to live without any official support from Palm itself, now supported entirely by developers paying for it themselves, tells the whole story). Eclipse is a great Java IDE, but Palm's apparent belief that it's a reasonable substitute for CodeWarrior as a platform for 68k/Garnet Palm app development is a cruel delusional joke, to put it nicely.
    If, instead, Sun were to release a first-rate CDC JVM for BOTH high-end m68k Palms (say, Samsung i500 or better) and ARM-based Palms (Treo 650, Lifedrive, etc.) that made it possible to create apps with the look, feel, and performance of native PalmOS apps, but painlessly abstracted out the different underlying hardware (m68k vs ARM) and operating systems (4.x/Garnet/Cobalt's mutant lovechild) while respecting the user interface that's tied it all together for the past 10 years or so, J2ME's position as the PaomOS development platform of choice would be all but assured.
    Of course, once they have the PalmOS platform cornered, they could begin work on their next conquest -- PocketPCs. Trying to attract PocketPC developers in a vacuum is futile -- anyone who does serious PocketPC development is married to Visual Studio, period. Sun's strategic entry into PocketPC-land would be the army of PalmOS developers who'll (by that point) have been using J2ME for Palm for a year or two and would enthusiastically welcome a painless way to serve the PocketPC market too. Yes, they'd have to rewrite the UI code (violating one of Sun's sacred cows of pure platform independence)... but learning how to use a SWT-like framework (flawlessly emulated within Netbeans and Eclipse, of course, along with the Palm J2ME UI) is still less formidable than learning how to use something like Visual Studio from scratch.
    Sadly, I think Sun has permanently written off both PalmOS AND PocketPC as platforms for anything besides beta-testing phone games. The only viable Java-like platform for Palm I know of is SuperWaba, which is nice and puts Sun's offerings to shame, but doesn't offer native look & feel either. I'd say it falls halfway between an ideal Palm-focused CDC implementation and the current joke known as CLDC.

  • Calendar Sync for Palm won't install Conduit

    Hi, I'm trying to install Calendar Sync for Palm 10.1 on Windows 2K. Installation proceeds with no errors, but the conduit does not appear in the Hotsynch conduit list. It does remove the default conduits for Calendar, Date Book and To-Do. I've tried uninstalling Palm Desktop and Calendar synch, and reinstalling them, no luck. HotSynch works fine with the conduits that are left, and works with the default conduits if I don't install the Oracle Calendar Synch. I can't find any mention of this problems on the forum, does anyone have an idea of what could cause it?
    Thanks.

    There's a bug on the conduits as to were to find needed DLLs. It depends on setting itself in the path via environment variables.
    The thing is that the conduits are not compatible with other Oracle client installations, which also add themselves to the path. An example is Oracle's Instant Client.
    Check your system's path to see if you have any other Oracle client directories before CalSync's directory.
    I had a TAR created for this and supposedly they will be 'patching' it for next version...

  • Calendar Sync for Palm and encryption

    We are converting our Calendar Server to always use encryption. We're not finding any way to specify the encryption in the Calendar Sync conduit. Did we miss it somewhere? If not, how do we force the Calendar Sync for Palm to use encryption?

    There's a bug on the conduits as to were to find needed DLLs. It depends on setting itself in the path via environment variables.
    The thing is that the conduits are not compatible with other Oracle client installations, which also add themselves to the path. An example is Oracle's Instant Client.
    Check your system's path to see if you have any other Oracle client directories before CalSync's directory.
    I had a TAR created for this and supposedly they will be 'patching' it for next version...

  • Installing Adobe Reader for Palm on Vista

    I run as a standard account on Vista Ultimate. The installer needs admin privileges so that it can update c:\Program Files. As a result, the installer ran under my administrative account. When it shut down, updated the Hotsync conduit and restarted Hotsync, Hotsync was running under my admin account. This means that all Hotsync data ended up in the wrong user directory structure. Also, the conduit was looking in the wrong place for PDFs to be uploaded to the Palm. Restarting Hotsync under my standard account did not work - the Adobe Reader conduit did not show up in my Hotsync settings.
    The solution was to change my standard account to have administrative privileges. I also installed Adobe Reader for Palm to a different directory, rather than under c:\Program Files - I am not sure this is required but has been recommended for other applications that are not Vista-compliant. The Hotsync conduits were properly updated this time but would not automatically restart - a manual restart was successful. I was then successfully able to sync PDFs.

    Мы производим кухонную мебель по индивидуальному дизайн - проекту, с любыми нестандартными размерами по желанию заказчика. http://furniture-mebel.ru/

  • Downloading latest drivers for Palm T/X in Windows 7?

    Does anyone know how to download the latest drivers for Palm TX in Windows 7 and then hot sync as well? 
    Post relates to: Palm TX

    Yes, I do.  Thanks for asking. 
    Perhaps you're wondering what to do?  Download Palm Desktop 6.2.2 and install it.  Depending on which version of Win7 you have (32bit or 64bit), you will be able to sync via cable/USB or via Wifi.
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Can't open pdf attachment on Palm TX with Adobe For Palm download

    I downloaded Adobe for Palm OS (v. 3.0) to open email pdf attachments, but am getting error message: Attachment (not supported in this version) winmail.dat
    So can not open any pdf attachments.
    Tried getting mail via VersaMail and via m.comcast.net - same problem.
    Using Vista, Palm TX
    Thanks
    Post relates to: Palm TX

    Adobe for Palm is an ancient program that cannot read raw .pdf files.  It only works with a desktop component that converts pdf files that the old adobe program can read on a Palm.
    Look at the free "PalmPDF" at freewarepalm.com.  It can read pdf files by itself.
    (I'd also suggest you delete Adobe from your Palm as it's caused a lot of problems for many users)
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Download file for Palm/Mac reader is damaged

    First of all, on the download page for the Reader for Palm OS Mac (http://www.adobe.com/products/acrobat/readstep2_mobile.html#palmMac), it says the file is 8.7 MB, but when the file is downloading, it says 9.4 MB, which turns out to be the actual size of the downloaded file.
    Then, when I try to mount the DMG file, I get a warning that "The disk image you are opening may be damaged and could damage your system. Are you sure you want to open this disk image?" Could this be related to the disparity between stated and actual sizes of the file?
    I tried downloading it several times with the same result. After a little research, I found an article on Apple's website discussing options for dealing with this particular message (http://docs.info.apple.com/article.html?artnum=305111-en).
    Mainly, it suggested converting the disk image to read/write, mounting it, and then attempting to repair it with Disk Utility. I tried this, but Disk Utility was unable to repair the mounted image. Disk Utility does report that the volume needs repair ("Volume Header needs minor repair), but on both verification and repair, it reports a "failure on exit" and fails to complete either task.
    Anyone else out there have this problem, or even better, a solution?
    All that said, and because I really do want to be able to read PDF files on my TT3, I went ahead and just copied the files off of the mounted disk image and got rid of the image.
    The Mac desktop application that converts untagged PDF files and then transfers tagged PDF files to the Palm device seems to work just fine, and even attempt to optimize preference settings automatically by querying your device during a hot sync for display depth and screen size. The Palm OS app seems to work quite well, too.
    Between them, I transferred a fairly difficult document containing lots of graphs and charts, special mathematical and chemical symbols, and even equations. And it worked VERY well, although the equations were a little difficult to read on my TT3 sometimes.
    The graphs and other figures in the document were all quite readable, even though I had preferences on the desktop app set to "shrink images to screen width." It got my TT3's screen dimensions at 320x320, and there was no way I could find to get the system to take advantage of the TT3's extended screen size of 320 x 480. (if anyone has any ideas about that, I'd like to know -- I'm thinking of converting PDF to some other graphics format (using Graphic Converter's batch converter) and using a viewer for that format that can use the landscape mode to display a scrolling page display that's 480 pixels wide).
    A PIECE OF MY MIND TO ADOBE:
    After initially posting this, I noticed that this same problem is mentioned in an archived topic that began on May 16, 2007 and ended on August 14, 2007, so it has apparently been a problem for more than a year. However, after noting that the archived topics are "read only," I decided to go ahead and post this to keep the issue active in the hopes that someone at Adobe who might have a smidgen of concern for the users of their products might take care of it.
    Adobe OWES it to its users (and its own reputation as a quality-conscious company) to correct this problem. A significant percentage of the users of the Adobe Reader are not as knowledgeable about the risks they would be taking with disregarding the warning and mounting the image anyway, or as sure of their ability to repair any system damage and recover any lost data, should damage occur. I've been using and fixing Macs since 1984, and the message scared ME a little, until I was able to find a little information about it. Could Adobe's fix be something as simple as generating and posting a new DMG file, that's NOT damaged?

    I also recently tried to download Adobe Reader to my Macintosh to use on my Palm TX and got the message "The disk image you are opening may be damaged and could damage your system." This is extremely frustrating, and disappointing that the Adobe people don't seem concerned enough to fix the problem. I am not a techie, so I dare not continue.
    If anybody has a solution and could explain it slowly to somebody who doesn't understand the computer world very well, I would be grateful.
    Thanks,
    Andrew

Maybe you are looking for