Results 1 to 6 of 6
  1. #1
    25+ Posting Member
    Join Date
    Aug 2007
    Location
    SW Florida USA
    Posts
    73
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Phidgets 5.0.15 Unhandled exception error

    I have recently installed ver 5.0.15 and am having some problems:

    My system has 1 led-64 card installed. This card worked correctly with the older version of Phidgets (4.3.

    I un-installed v4.3.8 and installed v5.0.15 and phidgets mgr v 2.1.6

    At this time the phidgets program starts up correctly and the manager reckognizes the led-64 card correctly.

    1. FS2 Phidgets gives me an "unhandled exception error" when I try to assign led-64 outputs to a digital output symbol. What is the correct way to assign digital output pins ?

    2. I could not find an led-64 emulator is it available yet ?

    I like this interface a lot it seems very intuitive. Unfortunately my intuion is down a few notches this week . I gotta be doing somthing dumb !!!

    Best regards to all

    KenK

  2. Thanks CocnutAir thanked for this post
  3. #2
    300+ Forum Addict gokhotit's Avatar
    Join Date
    Oct 2004
    Location
    Tucson, AZ
    Posts
    314
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Phidgets 5.0.15 Unhandled exception error

    That version doesnt like the LED64 card...I am beta testing for Alan and working out the kinks..
    I'm not replicating anything, because I like to fly everything.
    http://www.youtube.com/watch?v=HG1LP3xxn0Q

  4. Thanks CocnutAir thanked for this post
  5. #3
    25+ Posting Member
    Join Date
    Aug 2007
    Location
    SW Florida USA
    Posts
    73
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Phidgets 5.0.15 Unhandled exception error

    Thanks guys I hope you are successful. I like this interface its a lot like some data Acquisition programs where you draw in components and define parameters in a window.If you need an led-64 tester let me know.

    regards Ken K

  6. #4
    builder
    Join Date
    Jan 2007
    Location
    Texas
    Posts
    587
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Phidgets 5.0.15 Unhandled exception error

    Kenk,

    Another user reported same problem. There is a bug.
    Will post an update as soon as that is sorted out.

    Regards,
    Alan.

  7. Thanks KenK thanked for this post
  8. #5
    builder
    Join Date
    Jan 2007
    Location
    Texas
    Posts
    587
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Phidgets 5.0.15 Unhandled exception error

    Here is what gokhotit and I found from testing:

    LED64s are a little different from interfacekit leds.
    IFKits work with true or false, but one can set the brightness on led64s.

    Full on is 100 and off is 0.
    Will get an Argument Exception error if outside this range

    Initial bug was that I was setting led64 like an IFkit i.e. true or false.
    In computing false is 0 and true is -1
    The -1 will cause error.
    I fixed this to use circuit value.
    Current problem I now realise is that a circuit can send a value greater than 100 or less than 0.

    I am going to fix this in 3 ways:

    (1) Put a check in code to ensure brightness value is on correct range. 0 - 100
    (2) Add a brightess property to circuit components.
    If set to true will attempt to use brightness in circuit.
    Iif set to false, led will function like an IFkit. i.e. full bright when on, no brighness when off.
    (3) Trap error and write to log (only one entry, to prevent saturating disk).

    Regards,
    Alan

  9. Thanks farrokh747 thanked for this post
  10. #6
    25+ Posting Member
    Join Date
    Aug 2007
    Location
    SW Florida USA
    Posts
    73
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Phidgets 5.0.15 Unhandled exception error

    Thanks guys I apreciate all your efforts. Sounds like your on the right track.

    Regards
    Ken K

Similar Threads

  1. what is this error message
    By djcevera20 in forum I/O Interfacing Hardware and Software
    Replies: 0
    Last Post: 05-16-2009, 05:21 PM
  2. error
    By gio62 in forum MyCockpit Member Meetings
    Replies: 0
    Last Post: 06-04-2008, 07:00 PM
  3. Error
    By Radar in forum Computer Hardware Setup
    Replies: 7
    Last Post: 11-14-2007, 09:30 AM
  4. CDU Run time error 13
    By Serge D'hollander in forum PM General Q & A
    Replies: 5
    Last Post: 01-24-2006, 03:57 PM
  5. Run-time error 76
    By christianeme in forum FS2Phidget Users
    Replies: 4
    Last Post: 09-22-2005, 06:52 AM