PDA

View Full Version : The last piece of the puzzle



gokhotit
06-09-2010, 08:06 PM
I need to figure out the last piece to my puzzle. I am trying to get my prop panel working (see websit fro pics). Unfortunately I use double throw momentary toggles (push toggle up prop advances, toggle down prop decreases) instead of levers (worked great in FS2P4) in 1000 point increments. Can we figure out a way, so that it will work in FS2P5? There is nothing special (besides the age) of these toggles, just a standrd momentary DT hooked into a 16/16 phidget.


thanx in advance.

CocnutAir
06-10-2010, 09:26 PM
We had bounced some ideas around, but I cannot remember what problem was with solution.
btw, I figured out how to get FS detected after fs2ph starts.

gokhotit
06-11-2010, 03:35 AM
ALAN!!! I thought you left...glad you didnt.

Got FS2P5 working good, by deleting everything and starting over. We never did figure out how to get the prog to recognize toggles as inputs for the props.

CocnutAir
06-11-2010, 09:37 PM
As I recall your prop switch was 3 position toggle.
MOMENTARY - OFF - MOMENTARY.
Do I have it correctly?

gokhotit
06-11-2010, 11:47 PM
correct..momentary prop advance..moementary prop decrease, two different inputs

CocnutAir
06-19-2010, 09:37 PM
Add Digital Input component
set Text property to "Increase"
Add Fixed Value component (in series)
set Initial Value property to 256
Add Connector component
Add Connector component (in parallel)
Add Digital Input component
Set Text property to "Decrease"
Move digital input to left of connnector
Add Add Fixed Value component (in series)
set Initial Value property to -256
Select Connector (one after -256 fixed value) component
Add Integrator component
Set Text property to "Prop Setting"
Set Reset property to false
Set Wrap property to false
Set MinValue property to 0
Set MaxValue property to 16383
Add Text Component
Add FsInput component
Set FsFile property to FSVariables4315.xml
Set FsVariable to ENGINE_1_PROP_LEVER

gokhotit
06-20-2010, 11:20 AM
It doesnt work, and i dont think its right

CocnutAir
06-20-2010, 02:42 PM
Nope. Is not right.

gokhotit
06-21-2010, 03:30 AM
oooohhh..ok...will try when i get hom..ty

gokhotit
06-21-2010, 10:57 AM
How do i get the Decrease to get "power"??? Whenever i move it like your instructions said, it just draws off teh connector, as shown.

Also, you will notice a connector placed before the increase switch. If that is not there, it just gives an unhandled exception: "OBject reference not set to an instance of an object."

What am I doing wrong??

signed

Massively Confused

CocnutAir
06-21-2010, 09:46 PM
That circuit looks nothing like picture or instructions I posted.
Bunch of components are missing. Not sure what leading connector is for.
Try and go step by step
Create components in same sequence as instructions, or do you want more detailed instructions?
Whenever you run inito problem, let me know.
When did that error message occur?
First time you tried to build circuit?
When you tried to change original circuit?
When you built a second circuit?

CocnutAir
06-21-2010, 09:54 PM
Let's take this in 3 strategic steps:
(1) Build circuit
(2) Assign digital inputs to two momentary inputs on emulated interfacekit (or add DIs ctly in step 1).
(3) Test

gokhotit
06-21-2010, 10:47 PM
The error message occurs anytime that connector is not there, if I start the circuit with the switch, get error message.

The circuit pictured is incomplete because I wanted to show how it is routing the switch without all the other clutter, to better show that the switch is getting no "power" as you showed in your example.

CocnutAir
06-22-2010, 01:59 AM
So you are saying you have found it impossible to ever add a digital input as the first component to a new circuit? You had a problem at step 1 in setting up circuit?
If that happens. Stop. Let me know, and we can resolve that specfic issue.
If you cannot build the circuit described it is pointless pursuing other problems.

gokhotit
06-22-2010, 04:51 AM
you are correct on both questions..thought by putting in that connector it would be a "work around", but guess not.

CocnutAir
06-23-2010, 01:38 AM
Are you able to create new projects?

Are you able to create new circuits?

What version are you running?

Other users,
Has anybody else had a problem when pressing Digital Input button on tool boxwith a clean circuit?

gokhotit
06-23-2010, 01:07 PM
new projects..yes

new circuits..yes

version..5.0.19

CocnutAir
06-23-2010, 11:07 PM
I tried following with 5.0.19 on my computer and with 5.0.19 from this web site:

Started FS2Phidget5.
On menu bar chose File -> New Project
( a new project with a blank circuit was created)
Clicked on Digital Input button in the Toolbox.
(a Digital Input was added to circuit).
Closed FS2Phidget.
(i.e. no problems)

Tip: Set Prompt on Save on menu option Settings.
If you subsequently get an error you can elect not to save bad data.

gokhotit
06-24-2010, 05:46 PM
Did exactly as you stated in the above post. Couldnt do anything. Maybe its win7? Kept getting an error 3954 no matter which input I selected on any card, hence the connector being the first part in any of my circuits.

CocnutAir
06-24-2010, 10:10 PM
I take it, when you refer to cards, you have been adding Digital Input Phidgets.
Now try with a Digital Input Components.
One column of buttons in the Toolbox is labeled "Components" the other "Phidgets".

gokhotit
06-25-2010, 03:40 AM
I am hitting the red button for the individual switches for different cards..

CocnutAir
06-25-2010, 10:58 PM
Now try with Digital Input Component and not Digital Input Phidget.

gokhotit
06-26-2010, 06:22 AM
heh? click digital input tool, and not the actual switch?

CocnutAir
06-26-2010, 07:45 PM
Digital Input Component. Exactly as I did it.
For now we're doing proof-of-concept.
Once you know design will work you can then assign phidget input to the component.

I don't have phidget cards with me at the moment.
Is also easier to address one problem at a time.

gokhotit
06-27-2010, 04:38 AM
k..Will try hen i get a free moment

CocnutAir
06-27-2010, 01:38 PM
Q. How do i get the Decrease to get "power"??? Whenever i move it like your instructions said, it just draws off the connector, as shown.

A. The switch needs to be on other side of connector. Exactly the same as pic. Press Left Arrow to move the decrease switch to the left of the connector.

gokhotit
06-28-2010, 05:36 AM
Will Try that....

gokhotit
06-28-2010, 09:19 AM
Ok..got teh circuit set up as described. YAY!! flip the switches the text box show the prop value moving back and forth, good. Load up FS..get into Baron, hit the prop switch, Prop lever drops to 1% and will not move, bummer. Meanwhile the value in FS2P IS moving, but FSX is not.

The Plot thickens...

CocnutAir
06-28-2010, 11:43 PM
Make sure Fs Input UseRatio property is set to false.
We want to use value in range 0 - 16383 (what integrator pumps out). Not 0% -100%

There is a problem with adding a Digital Input Phidget as first component.
Fixed it, now that you have pointed out problem, but for now let's pursue design phase (proof-of-concept).

gokhotit
06-29-2010, 07:00 AM
Use ratio is set to false. I can see the value change, and the little bar above the output icon move. But the prop lever in FS does not, hit the switch it falls to 0 and stays there.

gokhotit
07-08-2010, 06:52 AM
I GOT IT WORKING!!!!! some reason there was a multiplier of 100 in the offset..changed it to 1 and it works like a charm. :)

CocnutAir
07-12-2010, 08:54 PM
Cool. I will post an updated version that takes care of other problem i.e. inability to add phidget to circuit directly.