Results 1 to 6 of 6
-
02-13-2010, 04:11 PM #1
- Join Date
- Aug 2007
- Location
- Canton Mi KYIP
- Posts
- 72
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
-
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikes
CocnutAir thanked for this post
-
02-14-2010, 03:41 AM #2
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
-
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikes
CocnutAir thanked for this post
-
02-14-2010, 01:45 PM #3
- Join Date
- Aug 2007
- Location
- Canton Mi KYIP
- Posts
- 72
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
-
02-14-2010, 02:48 PM #4
- Join Date
- Jan 2007
- Location
- Texas
- Posts
- 582
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.
-
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikes
KenK thanked for this post
-
02-14-2010, 05:10 PM #5
- Join Date
- Jan 2007
- Location
- Texas
- Posts
- 582
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
-
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikes
farrokh747 thanked for this post
-
02-15-2010, 11:52 AM #6
- Join Date
- Aug 2007
- Location
- Canton Mi KYIP
- Posts
- 72
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
-
what is this error message
By djcevera20 in forum I/O Interfacing Hardware and SoftwareReplies: 0Last Post: 05-16-2009, 04:21 PM -
error
By gio62 in forum MyCockpit Member MeetingsReplies: 0Last Post: 06-04-2008, 06:00 PM -
Error
By Radar in forum Computer Hardware SetupReplies: 7Last Post: 11-14-2007, 09:30 AM -
CDU Run time error 13
By Serge D'hollander in forum PM General Q & AReplies: 5Last Post: 01-24-2006, 03:57 PM -
Run-time error 76
By christianeme in forum FS2Phidget UsersReplies: 4Last Post: 09-22-2005, 05:52 AM
Hi...realize this has been a long time, but I'm heading down the path of building my own 777...
B777 Overhead Panel Design