Teensy 2++ and X-Plane does not work anymore?!

Status
Not open for further replies.

frumpy

Member
Hi guys,

I'll post the same text I wrote at X-Plane.org in order to find better support over here :)

----------------

for some reason my Teensy 2++ doesnt work with X-Plane 10 64bit anymore?! I did these steps:



Extract the TeensyControls plugin and copy it to X-Plane's Resources/plugins folder.
Install Teensyduino. Version 1.08 is the first to support Flight Sim Controls.
Run Arduino. Select Teensy in Tools > Boards and "Flight Sim Controls" in Tools > USB Type.
Open the blink example in File > Examples > Teensy > USB_FlightSim > BlinkTransponder.
Click "Upload" to program your Teensy board.
Run X-Plane. The LED should blink.

It worked before! I updated from XP 10.20 to 10.21 and now I use 64bit instead of 32. I am not aware of
any other changes, nor did I put 50V on the pins ;)
I tried that demo program:



int ledPin = 6;

void setup() {
pinMode(ledPin, OUTPUT);
}

void loop()
{
digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(1000);
}



...the internal LED blinks, so the board/LED should be okay - right?



I can see how the dataref is changed when XP runs, but nothing else happens - the transponder
example does not light up the LED.

Does anyone have an idea of what happend? :/

Thanks,

Olli
 
Uh, hm, looks like things are not that easy :-|
Everything works fine as expected, but when I close X-Plane the application crashes and
presents a "Crash Reporter" screen which sends info to x-plane.com .

I'll post the log.txt, but it does not seem to have much information on the crash itself.
If I remove the teensy-plugin, it does not crash.
Any help will be appreciated, but right now it should not be a high priority... it works good,
it's just the crash-screen at the end.

Thank you! :)

log.txt for X-Plane 10.21r2 (64-bit build 102103) compiled on Apr 24 2013 19:57:27

This log file is generated automatically by Laminar Research applications and contains diagnostics about your graphics hardware, installation, and any error conditions.
If you need to contact tech support or file a bug, please send us this file. NOTE: this file is rewritten every time you start ANY of your X-System applications.

Windows 6.1 (build 7601/2) Service Pack 1
This is a 64-bit version of Windows.
CPU type: 8664
Physical Memory (total for computer): 8571183104
Maximum Virtual Memory (for X-Plane only): 8796092891136
CPU 0: AMD FX(tm)-6100 Six-Core Processor Speed (mhz): 3314
CPU 0: AMD FX(tm)-6100 Six-Core Processor Speed (mhz): 3315
CPU 0: AMD FX(tm)-6100 Six-Core Processor Speed (mhz): 3315
CPU 0: AMD FX(tm)-6100 Six-Core Processor Speed (mhz): 3314
CPU 0: AMD FX(tm)-6100 Six-Core Processor Speed (mhz): 3315
CPU 0: AMD FX(tm)-6100 Six-Core Processor Speed (mhz): 3315

X-System folder:'C:\Users/olli/Desktop/X-Plane 10/', case sensitive=0

WGL_ARB_extensions_string WGL_ARB_pixel_format WGL_ATI_pixel_format_float WGL_ARB_pixel_format_float WGL_ARB_multisample WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_ARB_pbuffer WGL_ARB_render_texture WGL_ARB_make_current_read WGL_EXT_extensions_string WGL_ARB_buffer_region WGL_EXT_framebuffer_sRGB WGL_ATI_render_texture_rectangle WGL_EXT_pixel_format_packed_float WGL_I3D_genlock WGL_NV_swap_group WGL_ARB_create_context WGL_AMD_gpu_association WGL_AMDX_gpu_association WGL_ARB_create_context_profile WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_float_buffer

OpenGL Vendor : ATI Technologies Inc.
OpenGL Render : AMD Radeon HD 6700 Series
OpenGL Version : 4.2.12002 Compatibility Profile Context 9.12.0.0 (420/12002)
OpenGL Extensions: GL_AMDX_debug_output GL_AMDX_vertex_shader_tessellator GL_AMD_conservative_depth GL_AMD_debug_output GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_multi_draw_indirect GL_AMD_name_gen_delete GL_AMD_performance_monitor GL_AMD_pinned_memory GL_AMD_query_buffer_object GL_AMD_sample_positions GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trace GL_AMD_texture_cube_map_array GL_AMD_texture_texture4 GL_AMD_transform_feedback3_lines_triangles GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_tessellator GL_AMD_vertex_shader_viewport_index GL_ARB_ES2_compatibility GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_color_buffer_float GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counters GL_ARB_shader_bit_encoding GL_ARB_shader_image_load_store GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_subroutine GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_snorm GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_buffer GL_EXT_copy_texture GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shader_image_load_store GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_bptc GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_explicit_multisample GL_NV_float_buffer GL_NV_half_float GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_texture_barrier GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_swap_control

threaded_avail : 1 dis_fog_avail : 0 instance_avail : 1 pbo_avail : 1
aniso_avail : 1 gshader_avail : 1 buniform_avail : 1 shad_lod_avail : 1
gpu_shad4_avail : 1 framebuf_avail : 1 frameblit_avail : 1 drawbuf2_avail : 1
tex_float_avail : 1 packed_stencil : 1 texture_rg : 1 framebuffer_srgb : 1
copy_buf_avail : 1 pinned_avail : 1 sync/fence : 1
max tex units : 8 (16/16)
max iso filtering: 16.000000
max texture size : 16384 (hardware limit)
max point size : 63.000000
idx in vram : 1
GLSL Version :4.20/420
first-gen shaders: 0
(29/16384/128/32/16/16384/16384)
This video card is: DX10 or 11 - With instancing (found glMapBufferRange)
CPU count : 6
OpenAL loaded: Resources/dlls/64/openal32.dll
OpenAL devices: OpenAL Soft
Open AL default device:OpenAL Soft
OpenAL vendor : OpenAL Community
OpenAL renderer : OpenAL Soft
OpenAL version : 1.1
OpenAL hardware : OpenAL Soft
OpenAL extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_loopback AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points

Fetching plugins for C:\Users/olli/Desktop/X-Plane 10/Resources/plugins

Loaded: C:\Users/olli/Desktop/X-Plane 10/Resources/plugins/PluginAdmin/64/win.xpl.

PilotView - parsing setup file
PilotView - No PilotView.ini file found, will use defaults
Error initializing PilotView TrackIR Interface!!
Loaded: C:\Users/olli/Desktop/X-Plane 10/Resources/plugins/64/win.xpl.

Loaded: C:\Users/olli/Desktop/X-Plane 10/Resources/plugins/DataRefEditor/64/win.xpl.

Gizmo: v13.06.06.0422 Win (JIT) 64-bit Starting up...
built: Jun 6 2013, 05:07:57

Gizmo: X-Plane Folder: (C:/Users/olli/Desktop/X-Plane 10/)
Gizmo: Graphics Init..
Reserving block of 8 textures for Gizmo64.plugin.
Gizmo: Finding Common DataRefs..
Gizmo: Init particles..
Gizmo: Init http thread..
Gizmo: Init Mapping..
Init oven thread..
Gizmo: Init cURL.
Gizmo: Creating menus..

Gizmo: Starting up..
Gizmo: New OpenAL hooks instance..
Gizmo: OpenAL: Using shared OpenAL context..
Gizmo: Creating LuaVM instance..
Gizmo: Loading nav.api constants..
Gizmo: Loading nav.api constants..DONE

---------------
Gizmo: Loading Firmware..
Gizmo: LoadScript from Buffer (firmware_init.lua.aes)
Gizmo: LoadScript from Buffer (api_patches.lua.aes)
Gizmo: LoadScript from Buffer (core/GizmoToyBox_Globals.lua.aes)
Gizmo: LoadScript from Buffer (core/sound_api.lua.aes)
Gizmo: LoadScript from Buffer (core/PointCollisionTest.lua.aes)
Gizmo: LoadScript from Buffer (core/obj8_loader.lua.aes)
Gizmo: LoadScript from Buffer (core/UtilsAutoLoader.lua.aes)
Gizmo: LoadScript from Buffer (core/GuiWindowResizerHandle.lua.aes)
Gizmo: LoadScript from Buffer (tooltray/ToolTray.lua.aes)
Gizmo: LoadScript from Buffer (tooltray/tools/Tool_Reboot.lua.aes)
Gizmo: LoadScript from Buffer (tooltray/tools/Tool_FPS.lua.aes)
Gizmo: LoadScript from Buffer (autoload/About Gizmo/AboutGizmo.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Activation/Activation.lua.aes)
Gizmo MD5 file hash failure. No such file:
Gizmo: MD5: : d41d8cd98f00b204e9800998ecf8427e
Gizmo: LoadScript from Buffer (autoload/Activation/IPC.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Console/Console.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Enrollment/Enrollment.lua.aes)
Gizmo: LoadScript from Buffer (autoload/File Browser/GizmoFileBrowser.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Notepad/Notepad.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Shell/Shell.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Toy Box/ToyBox.lua.aes)
Gizmo: LoadScript from Buffer (autoload/X-Pilot/X-Pilot.lua.aes)
Gizmo: Register Callbacks..
Gizmo: Building Mouse Trap..
Gizmo: XPluginStart - OK.
Loaded: C:\Users/olli/Desktop/X-Plane 10/Resources/plugins/Gizmo64.plugin/64/win.xpl.

Loaded: C:\Users/olli/Desktop/X-Plane 10/Resources/plugins/TeensyControls/64/win.xpl.

Found stats plugin: 3
Initializing off screen memory.
Initializing off screen memory complete.
I found the following scenery packages (prioritized in this order):
0 Custom Scenery/Global Airports/
1 Custom Scenery/Aerosoft - EBBR Brussels/
2 Custom Scenery/Aerosoft - EDDH Hamburg/
3 Custom Scenery/Aerosoft - EDDK Cologne/
4 Custom Scenery/Aerosoft - EDDT Berlin Tegel/
5 Custom Scenery/Aerosoft - EDDV Hannover/
6 Custom Scenery/Aerosoft - EDLP Paderborn-Lippstadt/
7 Custom Scenery/Aerosoft - EGBB Birmingham/
8 Custom Scenery/Aerosoft - EGKK London-Gatwick/
9 Custom Scenery/Aerosoft - EGLL Heathrow/
10 Custom Scenery/Aerosoft - EGPF Glasgow/
11 Custom Scenery/Aerosoft - EGSS London-Stansted/
12 Custom Scenery/Aerosoft - EIDW Dublin/
13 Custom Scenery/z+52+013_GER_Berlin_gc17/
14 Custom Scenery/Osm_North-America_osm+autogen/
15 Custom Scenery/Osm_Europe_osm+autogen/
16 Custom Scenery/OpenSceneryX/
17 Custom Scenery/Aerosoft - EDDF Frankfurt/
18 Custom Scenery/Aerosoft - EDDM Munich/
19 Custom Scenery/Aerosoft - EDDS Stuttgart/
20 Custom Scenery/Aerosoft - LEBL Barcelona/
21 Custom Scenery/Aerosoft - LEMD Madrid/
22 Custom Scenery/Aerosoft - LFMN Nice Cote d Azur X/
23 Custom Scenery/Aerosoft - LFPG Paris CDG/
24 Custom Scenery/Aerosoft - LFPO Paris Orly/
25 Custom Scenery/Aerosoft - LPFR Faro/
26 Custom Scenery/Aerosoft - LSGG Genf/
27 Custom Scenery/KSEA Demo Area/
28 Custom Scenery/KSEA Demo Terrain/
29 Custom Scenery/LOWI Demo Area/
30 Global Scenery/Bug Fixes/
31 Global Scenery/Extra Islands/
32 Global Scenery/X-Plane 10 Global Scenery/
33 Resources/default scenery/1000 autogen/
34 Resources/default scenery/1000 decals/
35 Resources/default scenery/1000 forests/
36 Resources/default scenery/1000 roads/
37 Resources/default scenery/1000 urban terrain/
38 Resources/default scenery/1000 world terrain/
39 Resources/default scenery/700 roads/
40 Resources/default scenery/900 beaches/
41 Resources/default scenery/900 europe objects/
42 Resources/default scenery/900 forests/
43 Resources/default scenery/900 roads/
44 Resources/default scenery/900 us objects/
45 Resources/default scenery/900 world object placeholders/
46 Resources/default scenery/airport decals/
47 Resources/default scenery/airport scenery/
48 Resources/default scenery/default apt dat/
49 Resources/default scenery/default atc/
50 Resources/default scenery/sim objects/

ATC audio initialized.
0:00:00.000 D/HID: HID Bridge Running
0:00:00.000 I/REN: Setting |draw view indicator read from prefs as 1.
0:00:00.000 I/REN: Setting |dim under high G-load or hypoxia read from prefs as 1.
0:00:00.000 I/REN: Setting |draw hi-res planet textures from orbit read from prefs as 1.
0:00:00.000 I/REN: Setting |draw forest fires and balloons read from prefs as 0.
0:00:00.000 I/REN: Setting |draw birds and deer in nice weather read from prefs as 0.
0:00:00.000 I/REN: Setting |draw aircraft carriers and frigates read from prefs as 0.
0:00:00.000 I/REN: Setting |draw Aurora Borealis read from prefs as 0.
0:00:00.000 I/REN: Setting |number of trees read from prefs as 1.
0:00:00.000 I/REN: Setting |number of objects read from prefs as 0.
0:00:00.000 I/REN: Setting |number of roads read from prefs as 1.
0:00:00.000 I/REN: Setting |number of cars read from prefs as 0.
0:00:00.000 I/REN: Setting |world detail distance read from prefs as 2.
0:00:00.000 I/REN: Setting |airport detail read from prefs as 1.
0:00:00.000 I/REN: Setting |water reflection detail read from prefs as 0.
0:00:00.000 I/REN: Setting compress textures to save VRAM read from prefs as 1.
0:00:00.000 I/REN: Setting |runways follow terrain contours read from prefs as 1.
0:00:00.000 I/REN: Setting |draw volumetric fog read from prefs as 1.
0:00:00.000 I/REN: Setting |draw per pixel lighting read from prefs as 0.
0:00:00.000 I/REN: Setting |HDR rendering read from prefs as 1.
0:00:00.000 I/REN: Setting |shadow detail read from prefs as 0.
0:00:00.000 I/REN: Setting |atmospheric scattering read from prefs as 1.
0:00:00.000 I/REN: Setting |HDR anti-aliasing read from prefs as 0.
0:00:00.000 I/REN: Setting |3-D bump-maps read from prefs as 1.
0:00:00.000 I/REN: Setting |gritty detail textures read from prefs as 1.
0:00:00.000 D/State: Received: 0:0
0:00:00.000 D/HID: Hardware ADDED(046d, c215) - Logitech Extreme 3D at path \\?\hid#vid_046d&pid_c215#7&1dac0cd6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
0:00:00.000 I/JOY: REGISTER Joystick device: Logitech Extreme 3D - VID:1133PID:49685, this is a familiar device.
0:00:00.000 D/HID: BUTTON Added Index: 0 (0009, 0001) for handle: 0x2b7879f0
0:00:00.000 D/HID: BUTTON Added Index: 1 (0009, 0002) for handle: 0x2b7879f0
0:00:00.000 D/HID: BUTTON Added Index: 2 (0009, 0003) for handle: 0x2b7879f0
0:00:00.000 D/HID: BUTTON Added Index: 3 (0009, 0004) for handle: 0x2b7879f0
0:00:00.000 D/HID: BUTTON Added Index: 4 (0009, 0005) for handle: 0x2b7879f0
0:00:00.000 D/HID: BUTTON Added Index: 5 (0009, 0006) for handle: 0x2b7879f0
0:00:00.000 D/HID: BUTTON Added Index: 6 (0009, 0007) for handle: 0x2b7879f0
0:00:00.000 D/HID: BUTTON Added Index: 7 (0009, 0008) for handle: 0x2b7879f0
0:00:00.000 D/HID: BUTTON Added Index: 8 (0009, 0009) for handle: 0x2b7879f0
0:00:00.000 D/HID: BUTTON Added Index: 9 (0009, 000a) for handle: 0x2b7879f0
0:00:00.000 D/HID: BUTTON Added Index: 10 (0009, 000b) for handle: 0x2b7879f0
0:00:00.000 D/HID: BUTTON Added Index: 11 (0009, 000c) for handle: 0x2b7879f0
0:00:00.000 D/HID: AXIS Added Index: 0 (0001, 0031) for handle: 0x2b7879f0. Min/Max 0 - 1023
0:00:00.000 D/HID: AXIS Added Index: 1 (0001, 0030) for handle: 0x2b7879f0. Min/Max 0 - 1023
0:00:00.000 D/HID: HATSWITCH Added Index: 0 (0001, 0039) for handle: 0x2b7879f0. It has 8 positions.
0:00:00.000 D/HID: AXIS Added Index: 2 (0001, 0035) for handle: 0x2b7879f0. Min/Max 0 - 255
0:00:00.000 D/HID: AXIS Added Index: 3 (0001, 0036) for handle: 0x2b7879f0. Min/Max 0 - 255
0:00:00.000 D/HID: END HARDWARE
0:00:00.000 I/ACF: Loading airplane number 0 with Aircraft/An24_Felis/An24_v10.acf
Gizmo: C-Core: gizmo_AircraftChanged()
Gizmo: Aircraft name: (An24_v10.acf)
Gizmo: Aircraft path: (C:/Users/olli/Desktop/X-Plane 10/Aircraft/An24_Felis/)
Gizmo: X-Plane-Relative Folder Path: (Aircraft/An24_Felis/)
Gizmo: X-Plane-Relative File Path: (Aircraft/An24_Felis/An24_v10.acf)
Gizmo: Cleaning up..
Reset timers: Reset menus..
Reset GUI Widgets..
Reset GUI Windows..
Reset OBJ8 handles..
Releasing loaded objects in array, count: 0
Reset datarefs..
Reset Bullet Physics..
Reset OpenAL..
Reset Particle Engines..
Reset FBO pool..
Reset event registrations..
Reset Lua..
Releasing X-Plane overrides..
Releasing all X-Plane overrides.
Gizmo: Cleanup Finished.

Gizmo: Starting up..
Gizmo: New OpenAL hooks instance..
Gizmo: OpenAL: Using shared OpenAL context..
Gizmo: Creating LuaVM instance..
Gizmo: Loading nav.api constants..
Gizmo: Loading nav.api constants..DONE

---------------
Gizmo: Loading Firmware..
Gizmo: LoadScript from Buffer (firmware_init.lua.aes)
Gizmo: LoadScript from Buffer (api_patches.lua.aes)
Gizmo: LoadScript from Buffer (core/GizmoToyBox_Globals.lua.aes)
Gizmo: LoadScript from Buffer (core/sound_api.lua.aes)
Gizmo: LoadScript from Buffer (core/PointCollisionTest.lua.aes)
Gizmo: LoadScript from Buffer (core/obj8_loader.lua.aes)
Gizmo: LoadScript from Buffer (core/UtilsAutoLoader.lua.aes)
Gizmo: LoadScript from Buffer (core/GuiWindowResizerHandle.lua.aes)
Gizmo: LoadScript from Buffer (tooltray/ToolTray.lua.aes)
Gizmo: LoadScript from Buffer (tooltray/tools/Tool_Reboot.lua.aes)
Gizmo: LoadScript from Buffer (tooltray/tools/Tool_FPS.lua.aes)
Gizmo: LoadScript from Buffer (autoload/About Gizmo/AboutGizmo.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Activation/Activation.lua.aes)
Gizmo: MD5: C:/Users/olli/Desktop/X-Plane 10/Aircraft/An24_Felis/An24_v10.acf: c2daa0a8387051796b1cd46336827dd5
Gizmo: LoadScript from Buffer (autoload/Activation/IPC.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Console/Console.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Enrollment/Enrollment.lua.aes)
Gizmo: LoadScript from Buffer (autoload/File Browser/GizmoFileBrowser.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Notepad/Notepad.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Shell/Shell.lua.aes)
Gizmo: LoadScript from Buffer (autoload/Toy Box/ToyBox.lua.aes)
Gizmo: LoadScript from Buffer (autoload/X-Pilot/X-Pilot.lua.aes)
Gizmo: Aircraft Author: Andrey Kozyaruk(Felis) and Pavel Krupnykov(skyteacher)
Gizmo: Aircraft Descrip: Antonov An24RV twin turboprop
Gizmo: MD5: C:/Users/olli/Desktop/X-Plane 10/Aircraft/An24_Felis/An24_v10.acf: c2daa0a8387051796b1cd46336827dd5
Gizmo: Could not find ./scripts/development.key
Gizmo: Error: ./scripts/development.key is invalid.
Gizmo: Could not find ./scripts/deployment.key
Gizmo: Error: ./scripts/deployment.key is invalid.
Releasing all X-Plane overrides.
Gizmo: Completed gizmo_Restart(..)

Fetching plugins for C:\Users/olli/Desktop/X-Plane 10/Aircraft/An24_Felis/plugins

SASL: Starting...
X-Plane scriptable avionics library plugin snapshot 1.0.0 2013032621 Commercial Edition
Loaded: C:\Users/olli/Desktop/X-Plane 10/Aircraft/An24_Felis/plugins/sasl/64/win.xpl.

SASL: Path to panel: C:\Users\olli\Desktop\X-Plane 10\Aircraft\An24_Felis\aircraft.key
SASL: Loading avionics...
SASL INFO: loading panel
SASL INFO: "panel" it's An24 version 2.1
SASL INFO: "panel" if you get this model illegal, but you do like it, please buy it
SASL INFO: "panel" sim build date: Apr 24 2013 19:59:11
SASL INFO: "panel" sim year is 2013
SASL INFO: loading nav_panel_2d_1
SASL INFO: loading texture
SASL INFO: loading nav_kursmp_set
SASL INFO: loading rectangle
SASL INFO: loading digitstape
SASL INFO: loading clickable
SASL INFO: loading obs_kursmp_set_2d
SASL INFO: loading textureLit
SASL INFO: loading switch
SASL INFO: loading rotary
SASL INFO: loading curs_mp_2d
SASL INFO: loading needle
SASL INFO: loading nav_panel_2d_2
SASL INFO: loading ush_2d
SASL INFO: loading radiocompas_big_2d
SASL INFO: loading dme
SASL INFO: loading electric_panel_2d
SASL INFO: loading fuel_panel_2d
SASL INFO: loading left_panel_2d
SASL INFO: loading oil_ind
SASL INFO: loading ap_panel_2d
SASL INFO: loading right_panel_2d
SASL INFO: loading nl10m
SASL INFO: loading tape
SASL INFO: loading rectangle_ctr
SASL INFO: loading radio_panel_2d
SASL INFO: loading com_set_2d
SASL INFO: loading dme_set_2d
SASL INFO: loading ark_meter
SASL INFO: loading ark11_2d
SASL INFO: loading service_panel_2d
SASL INFO: loading map
SASL ERROR: Can't load texture map_1.png
SASL ERROR: Can't load texture map_2.png
SASL ERROR: Can't load texture map_3.png
SASL ERROR: Can't load texture map_4.png
SASL ERROR: Can't load texture map_5.png
SASL INFO: "map" map 1 size 1 1
SASL INFO: "map" map 2 size 1 1
SASL INFO: "map" map 3 size 1 1
SASL INFO: "map" map 4 size 1 1
SASL INFO: "map" map 5 size 1 1
SASL INFO: loading payload_panel
SASL INFO: loading free_texture
SASL INFO: loading info_panel_2d
SASL INFO: loading settings
SASL INFO: loading camera_panel
SASL INFO: loading rsbn
SASL INFO: loading nas1
SASL INFO: loading UPhone
SASL INFO: loading UHUD
SASL INFO: loading rotated_tapeLit
SASL INFO: loading digitstapeLit
SASL INFO: loading needleLit
SASL INFO: loading UConvert
SASL INFO: loading UTurn
SASL INFO: loading UMETAR
SASL INFO: loading flightplan
SASL INFO: loading menu_panel
SASL INFO: loading KLN90_enabler
SASL INFO: loading rsbn_logic
SASL INFO: loading time_logic
SASL INFO: loading flight_controls
SASL INFO: loading batteries_logic
SASL INFO: loading generators_logic
SASL INFO: loading bus_counter
SASL INFO: loading bus_logic
SASL INFO: loading hydraulic_logic
SASL INFO: loading gear_logic
SASL INFO: loading flaps_logic
SASL INFO: loading fuel_logic
SASL INFO: loading gyro
SASL INFO: loading gik_logic
SASL INFO: loading engine_logic
SASL INFO: loading ap28_logic
SASL INFO: loading ap_mech
SASL INFO: loading misc_sounds
SASL INFO: loading crew_bm
SASL INFO: loading crew_nav
SASL INFO: loading start_logic
SASL INFO: loading fire_logic
SASL INFO: loading siren_logic
SASL INFO: loading noseweel_logic
SASL INFO: loading view
SASL INFO: loading flap_aero
SASL INFO: loading failures
SASL INFO: loading light_logic
SASL INFO: loading vent
SASL INFO: loading panel_logic
SASL INFO: loading prop_anim
SASL INFO: loading msrp
SASL INFO: loading electric_panel_3d
SASL INFO: loading hydraulic_panel_3d
SASL INFO: loading fuel_panel_3d
SASL INFO: loading prop_logic
SASL INFO: loading brake_logic
SASL INFO: loading misc_clickables
SASL INFO: loading misc_lamps
SASL INFO: loading ssos
SASL INFO: loading gear_panel
SASL INFO: loading ap28_panel
SASL INFO: loading antiice
SASL INFO: loading mrp
SASL INFO: loading engine_fuel
SASL INFO: loading start_panel_3d
SASL INFO: loading fire_panel_3d
SASL INFO: loading trimm_logic
SASL INFO: loading iv41
SASL INFO: loading skv
SASL INFO: loading radar_panel
SASL INFO: loading fake
SASL INFO: loading cowl_flaps
SASL INFO: loading vd_10
SASL INFO: loading kus_730
SASL INFO: loading var_30
SASL INFO: loading feet_meter
SASL INFO: loading rv_2
SASL INFO: loading achs1
SASL INFO: loading art_horizons
SASL INFO: loading kppm
SASL INFO: loading zk2
SASL INFO: loading transponder
SASL INFO: loading ark11
SASL INFO: loading radiocompas
SASL INFO: loading com_set
SASL INFO: loading dme_set
SASL INFO: loading spu
SASL INFO: loading uvid_30
SASL INFO: loading eup_53
SASL INFO: loading gpk_logic
SASL INFO: loading gpk_panel
SASL INFO: loading radiocompas_big
SASL INFO: loading ite2
SASL INFO: loading tsa15
SASL INFO: loading uprt2
SASL INFO: loading emi3
SASL INFO: loading emi3_ru19
SASL INFO: loading tg2a
SASL INFO: loading term
SASL INFO: loading dim100
SASL INFO: loading uap14
SASL INFO: loading var_10
SASL INFO: loading upvd15
SASL INFO: loading radar
SASL INFO: loading cowl_flap_ind
SASL INFO: loading ush
SASL INFO: loading obs_kursmp_set
SASL INFO: loading curs_mp
SASL ERROR: Can't load texture map_1.png
SASL ERROR: Can't load texture map_2.png
SASL ERROR: Can't load texture map_3.png
SASL ERROR: Can't load texture map_4.png
SASL ERROR: Can't load texture map_5.png
SASL INFO: "map" map 1 size 1 1
SASL INFO: "map" map 2 size 1 1
SASL INFO: "map" map 3 size 1 1
SASL INFO: "map" map 4 size 1 1
SASL INFO: "map" map 5 size 1 1
SASL INFO: Avionics loaded
0:00:00.000 I/FLT: Init p0 type:loc_tak apt:EDDT rwy:26R
0:00:00.000 I/SCN: DSF load time: 3140628 for file Custom Scenery/z+52+013_GER_Berlin_gc17/Earth nav data/+50+010/+52+012.dsf (189439 tris)
0:00:00.000 I/SCN: DSF load time: 123130 for file Custom Scenery/Aerosoft - EDDT Berlin Tegel/Earth nav data/+50+010/+52+013.dsf (0 tris)
0:00:00.000 I/SCN: DSF load time: 3009102 for file Custom Scenery/z+52+013_GER_Berlin_gc17/Earth nav data/+50+010/+52+013.dsf (547738 tris)
0:00:00.000 I/SCN: DSF load time: 2784798 for file Custom Scenery/z+52+013_GER_Berlin_gc17/Earth nav data/+50+010/+52+014.dsf (205228 tris)
0:00:00.000 I/SCN: DSF load time: 2713275 for file Custom Scenery/z+52+013_GER_Berlin_gc17/Earth nav data/+50+010/+53+012.dsf (195744 tris)
0:00:00.000 I/SCN: DSF load time: 2829019 for file Custom Scenery/z+52+013_GER_Berlin_gc17/Earth nav data/+50+010/+53+013.dsf (212947 tris)
0:00:00.000 I/SCN: DSF load time: 2416901 for file Custom Scenery/z+52+013_GER_Berlin_gc17/Earth nav data/+50+010/+53+014.dsf (178649 tris)
0:00:00.000 I/SCN: Preload time: 12193188
SASL INFO: "ark11" no .ini file for ARK# 1 - using default values
SASL INFO: "ark11" no .ini file for ARK# 2 - using default values
SASL INFO: "settings" reading settings
SASL INFO: "settings" fuelmeter 1
SASL INFO: "settings" ahz 1
SASL INFO: "settings" fire 1
SASL INFO: "settings" startup 1
SASL INFO: "settings" generators 1
SASL INFO: "settings" gears 0
SASL INFO: "settings" brakes 0
SASL INFO: "settings" tyres 0
SASL INFO: "settings" camera 1
SASL INFO: "settings" hidegps 1
SASL INFO: "settings" hidegarmin 1
SASL INFO: "settings" rudswitch 1
SASL INFO: "settings" gpknorth 1
SASL INFO: "settings" fuel 1
SASL INFO: "settings" dataset 1
SASL INFO: "settings" box 0
SASL INFO: "settings" settings readed successfully
Gizmo: OpenGL<->Physics Offset Default Init: -12893.324, -166.059, 48749.051
Gizmo: Tried to use physics engine without loading an OBJ8 file. Ignored, can't draw!
Clean exit from threads.
SASL INFO: "brake_logic" brakes released
SASL INFO: "prop_anim" props released
SASL INFO: "engine_logic" throtles released
SASL INFO: "flight_controls" flight controls released
Gizmo: Cleaning up..
Reset timers: Reset menus..
Reset GUI Widgets..
Reset GUI Windows..
Reset OBJ8 handles..
Releasing loaded objects in array, count: 0
Reset datarefs..
Reset Bullet Physics..
Reset OpenAL..
Reset Particle Engines..
Reset FBO pool..
Reset event registrations..
Reset Lua..
Releasing X-Plane overrides..
Releasing all X-Plane overrides.
Gizmo: Cleanup Finished.
Gizmo: XPluginStop() complete.
--=={This application has crashed!}==--
 
Hi to all of you!
For some time i am searching why X-Plane crashes some time.
First i thought of XSquawkbox because the crashes often happen, when i fly online.
Yesterday i installed X-Plane new from DVD. Then i installed the Teensy-plugin.
When i shutdown X-Plane, it says: "X-Planes crashed" ("Crash Reporter" screen).
I removed the plugin, installed all other plugins: all OK.
Installed Teensy-plugin: Crash.
Has anybode the same experience? Or perhaps a solution?

best regards
Gerhard

P.S.: if you want to see, what i'm doing with the Teensys, have a loog at http://www.x-plane.at (olny few pages in english, Website in progress!)

Edit: Win7, 32 bit, X-Plane 10.21
 
Last edited:
Hi Paul!
Sometimes it crashes immediately, when i connect to VATSim with XSquawkbox (http://www.xsquawkbox.net/xsb/).
I tried both versions of XSB 1.03 and 1.06.
Sometimes i can fly for hours and it crashes at the final approach.
A few times i can land and it crashes after the touchdown.
I cannot find any rule, when the crash appears.
Could there be a problem driving abt. 17 Teensy2 and Teensy++2?
I use two external powered USB-hubs and there is no correlation between the number of connected Teensys and the crashes.

By the way: Many thanks for the fantastic Teensy and the "TeensyControls X-Plane Plugin"! It is very easy to program!

best regards
Gerhard
 
Any idea if the crash happens with only X-Plane and the TeensyControls plugin?

In other words, could the probably involve some interaction between TeensyControls and some other plugin? That's important, because if the crash only happens when some other plugin is loaded, then I'll never be able to reproduce it without that plugin.
 
OK, i will check this tomorw.
For now, i will go to bed (we have 10 pm).
I will inform you tomorow.
Thanks!
gerhard
 
I checked. Deinstalled all plugin files, except XPLM*.dll and XPWidgets*.dll. X-Plane still crashes with Teensy-plugin installed.
 
Ok, now we just need to find a way to reproduce the problem. Remember, I'm not a pilot... so I need a way to make this happen that doesn't involve much in the way of actual flying skills!
 
Just copy the Teensy plugin into the /ressources folder wthin the X-Plane 10.21 demo, this should cause a crash when loading & exiting X-Plane :)
 
Good Morning!
I must agree frumpy!

Here is a list of installed plugins:
discreet fps
EZpushback
XHSI
XSquawkBox
Tennsy

I tested:
No Plugins: all OK Framerate: 99fps
all but Teensy: all OK Framerate: 95fps
only Teensy: Crash reporter screen when closing X-Plane Framrate: 82fps!!!
all of them: Crash reporter screen when closing X-Plane Framrate: 80fps!!!
All testing on the same place, same aircraft, same weather, ....

Perhaps this can help to find whats going on.

All plugins from htp://www.x-plane.org

Best regards
Gerhard
 
Last edited:
Some progress over here...
405335-1374654345.jpg

Any news on the error? :)
 
Ui, schnieke Teile hast Du da! ;)

Any chance you will publish your sourcecode? Right now I'm about to start programming
using Pauls and Dozers examples, but I find C is a pain in the *. Output works fine, but
doing the input to X-Plane is somewhat complicated. Also I don't find no list of possible
commands and their syntax?!
Later on I would write some documentation to it and publish my source.

Olli
 
I'm currently working on the mac bug and low power support.

I will not be working on X-Plane stuff until after Teensyduino 1.16 is released with these important updates. I'm sorry for the delay, but I really do have to prioritize development goals. Fixing the mac bug and enabling low power are important issues that have waited far too long, so they're at the top of my priority list.
 
That works with me, I can still develop for X-Plane. However, having that bug removed within the next 2 months
would be very nifty! :)
 
Hello Paul!
No Problem, in the present state (error when i shutdown X-Plane) i can live with it.
Did you see, what i'm doing with your teensys at http://www.x-plane.at/drupal/MODULE ??

Hello frumpy!
Off course you can get the sources! But i dont want to put them on the site. So send me a pm, which source you want (and an e-mail-adress) and i will send you the .ino files. But you have to know, that some of them are really "quick and dirty". But they work!

The general syntax you can find on: http://arduino.cc/en/Reference/HomePage
The teensy-extensions you can find on: http://www.pjrc.com/teensy/td_flightsim.html (flights sim)
and http://www.pjrc.com/teensy/td_joystick.html (for simulation a joystick, as my GEAR-Panels does)
If you are looking for the X-Planes Commands and Variables, have a look at your /Ressources/plugins/ folder. There you find a "commands.txt" and a "DataRefs.txt".
If you need more infos, give me a mail!

Best regards
Gerhard
 
Hi Paul,

hardwarewise my box is complete (okay, the vertical speed encoder is still missing ;) ). Buttons, LEDs and encoders
all work perfectly (great success!^^)

DSC_0593.jpg

When trying to find the datarefs for the box X-Plane 10.22 64 bit hangs after a few minutes :( To me it
seems like a memory overflow or something. It would be really great if this could be resolved, or else I would
not be able to finish the project. It's meant to work with a certain 64bit-plane which is yet to come
(IXEG 737), so using 32 bits is not an option.

Let me know if there is anything how I can help. I emailed Austin (developer of X-Plane) about it,
however it's hard to get hold of him.

Thank you,

Olli
 
Last edited:
Status
Not open for further replies.
Back
Top