Results 1 to 10 of 19
Thread: Runtime errors on Led64
-
11-29-2004, 02:28 PM #1
- Join Date
- Oct 2004
- Location
- Budapest
- Posts
- 45
Runtime errors on Led64
Hi,
I connected 30 leds to the Led64 unit. Most of them do work, however whenever I try any of the window-heat, probe-heat leds in any combination, I get a division by zero error.
What's strange about it is, that it just works fine when I'm doing the config inside the prg, but after saving it, the next time I fire up FS2Phodget it quits with the error.
Also, the WindowOverHeat variables are not yet in the config, I could add them manually if the core worked...
regards
Andras
-
11-29-2004, 02:35 PM #2alandyerGuest
Andras,
Will fix that error today.
"Division by Zero" error is very embarrasing for a programmer.
Will send pic of my red face
Thanks for heads up.
Regards,
Alan.
-
11-29-2004, 07:39 PM #3
- Join Date
- Oct 2004
- Location
- Budapest
- Posts
- 45
Originally Posted by alandyer
No need for the pic... it ALWAYS happens, I know that...
It's great you pick up the problems so quick.
I'm just eagerly waiting for the update, those leds look so nice when working...
regards
Andras
-
11-30-2004, 07:30 AM #4
- Join Date
- Oct 2004
- Location
- Budapest
- Posts
- 45
Hi Alan,
Thanks for the new version. I wish it was perfect, but:
Small problem...
Instead of the 'division by zero' error which is gone, now when using the led64 I get a runtime error '6' overflow...
regards
Andras
-
11-30-2004, 11:42 AM #5alandyerGuest
Andras,
What FS function fom drop down list did you assign to LED that gave you error?
Will help me replicate error.
Alan.
-
11-30-2004, 08:53 PM #6
- Join Date
- Oct 2004
- Location
- Budapest
- Posts
- 45
Originally Posted by alandyer
I was assigning the window-heat and probe-heat led for ther Pmsys boeing.
The error comes in even just after assigning the
LPitotFail and LPitotFail2 offsets after each other, but other combinations also trigger the problem as well.
Of course I can send a config file, I don't see any attachment possibility here in the forum.
regards
Andras
-
12-01-2004, 01:27 AM #7alandyerGuest
Thanks, Andras.
This will help me replicate problem.
Give my another day or so to figure out and fix.
Is that OK?
Regards,
Alan.
-
12-01-2004, 08:38 AM #8
- Join Date
- Oct 2004
- Location
- Budapest
- Posts
- 45
Originally Posted by alandyer
OK? More than that... perfect.
Thanks for your efforts!
regards
Andras
-
12-01-2004, 04:45 PM #9imported_MattOGuest
Just wanted to ad, and hope it helps.
I get the same "runtime error '6' overflow..." But only after the initial setup of the LED's and then returning into FS2Phidget.
I'm not sure if I'm saying this right.... I'll try this.
I set up the LED's in FS2Phidget, i.e. LED 0 assigned to an offset. I test LED 0 and it works, I continue to enter the rest of my LED's, and test, they all work.
I End FS2Phidget, and then load FS2phidget, After loading, you must have it look at the PhidgetLED2872.ini file, because it seems when it looks at the 2nd assigned LED (index, the runtime error '6' overflow... occurs.
Here's the first 9 assignments of the PhidgetLED2872.ini file,
[Output 0]
FSID=ND_CPT_LIGHT_ARPT
Enabled=True
Invert=False
SMin=0
SMax=0
[Output 1]
FSID=Unassigned
Enabled=False
Invert=False
SMin=0
SMax=0
[Output 2]
FSID=Unassigned
Enabled=False
Invert=False
SMin=0
SMax=0
[Output 3]
FSID=Unassigned
Enabled=False
Invert=False
SMin=0
SMax=0
[Output 4]
FSID=Unassigned
Enabled=False
Invert=False
SMin=0
SMax=0
[Output 5]
FSID=Unassigned
Enabled=False
Invert=False
SMin=0
SMax=0
[Output 6]
FSID=Unassigned
Enabled=False
Invert=False
SMin=0
SMax=0
[Output 7]
FSID=Unassigned
Enabled=False
Invert=False
SMin=0
SMax=0
[Output 8]
FSID=ND_CPT_LIGHT_NDB
Enabled=True
Invert=False
SMin=0
SMax=0
Hope this helps.
Matt O.
-
12-01-2004, 06:20 PM #10
- Join Date
- Oct 2004
- Location
- Budapest
- Posts
- 45
Originally Posted by MattO
I have found the exact same thing. Tried all possible combinations, but I have some settings which do work, whereas some offsets always cause the error.
regards
Andras
Similar Threads
-
FSX / Level D 767 Zoom errors et al
By richard hutchinson in forum Computer Hardware SetupReplies: 0Last Post: 05-01-2010, 01:23 PM -
Classifieds changes, errors?
By blueskydriver in forum MyCockpit Support:Replies: 3Last Post: 02-04-2010, 01:58 PM -
Classifieds changes, errors?
By blueskydriver in forum MyCockpit Support:Replies: 21Last Post: 01-22-2009, 01:20 PM -
RUN Time Errors
By imported_MattO in forum FS2Phidget UsersReplies: 4Last Post: 11-30-2004, 12:24 PM