Simple question about Sioc
Hello all
As you all may know with the following question, I am a newbie to programming and I have had my head in the books for days learning the trade... The question is if I enter the variable for a Switch like:Var 1 Link IOCARD_SW INPUT 10 Type I/// In sioc and start it up... does this make FS9 see my toggle switch as a toggle switch so I can mouse trap it with Fsuipc Like with the Leo Bodnar cards?
Sorry for the ultra simple talk:)
Regards
Henri
Re: Simple question about Sioc
Quote:
Originally Posted by
fordgt40
Henri
The simple answer is no. You need a programming link between SIOC and FS9 which is indeed achieved through FSUIPC, but not as you suggest.
Firstly define the variable in SIOC and link it to a switch eg landing gear. Then define a variable to link to a known FSUIPC offset eg landing gear. Then write your code such that when the switch is "on" ie 1, then that value is passed to the FSUIPC offset.
It is all explained here
How to program in SIOC, many basic examples
David
Hi David
Thanks for the link that makes a bit more sense...
I'm sure I'll get there eventually! :D
Henri
Re: Simple question about Sioc
Quote:
Originally Posted by
fordgt40
That link provides a mine of information. However there is no gain without pain :(
Well guess that's all part of the Hobby!;)
Henri