Results 1 to 1 of 1
  1. #1
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Nov 2007
    Location
    Alberta
    Posts
    7
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Visual Basic Express and Simconnect

    Good day all;

    I recently had problems with my fs2phidgets and as a result decided to 'get rid of' the middleman. I have begun writing my own interface program using VB Express.

    Essentially, I have created a panel page which on an experimental basis, works fairly well. (further 'tweaking needed'). From the panel page I open a flight controls page which is populated by a throttle trackbar, an elevator trackbar, an aileron trackbar, and a rudder trackbar. The controls page works at this point, however I am only getting half values. For example... ailerons will only go to the left and the throttle will inly register from 50% to full. (Rudders are the only item that do not work - it doesn't seem to recognize "AXIS_RUDDER_SET"

    Simconnect Aileron offset values are 16383 to -16383 however, when I perform calculations to go into the negative side... I get an error message "overwright - not divisible by 0"

    Are there any VB programmers out there who might know how to resolve this, I am comfortable in VB but by no means an expert? My form and its code are attached below.

    Eventually, Phidgets will be programed in to sync with the trackbars and switches on the main panel screen.


    code attached.

    Thanks in advance;
    Daryl
    Living Sky Aerobatics
    Attached Files Attached Files

Similar Threads

  1. FSBUS Dll and Visual Basic
    By Anderson/SBSP in forum I/O Interfacing and Hardware
    Replies: 10
    Last Post: 02-20-2010, 11:37 PM
  2. simconnect ?
    By Mr. Midnight in forum General Builder Questions All Aircraft Types
    Replies: 1
    Last Post: 11-01-2009, 12:04 AM
  3. Mike's Global Express
    By mgdaviso in forum My Cockpit Update
    Replies: 7
    Last Post: 09-04-2008, 11:30 AM
  4. outlook express
    By Radar in forum Computer Hardware Setup
    Replies: 8
    Last Post: 03-15-2007, 07:32 AM
  5. File Corruption in Outlook Express
    By MS Expert Zone RSS Feed in forum Computer Hardware Setup
    Replies: 0
    Last Post: 12-28-2006, 11:30 AM