Search found 6 matches

by Markjohn
Sat Mar 27, 2021 10:37 am
Forum: Arduino
Topic: Starter questions
Replies: 0
Views: 620

Starter questions

Hi Everyone Im considering switching the controls of my cockpit to Air Manager. I currently use Simvin but am plagued by connection issues. I have made a B737 cockpit. I use Xplane and Zibo. I will use air manager for steppers (Gauges), seven segments and a few analogue inputs I have a few questions...
by Markjohn
Fri Mar 26, 2021 8:13 pm
Forum: Lua and API Scripting Help
Topic: Zibo 737 datarefs
Replies: 12
Views: 1613

Re: Zibo 737 datarefs

Hi Sling and Keith Sling, Thanks for your patients and help. It works now. Great explanation of dataref types as well. I knew it would be something simple. Thanks for the prompt Keith - I'm having trouble with Dataref tool at the moment. If you run in full screen mode, when you load up Dataref tool,...
by Markjohn
Fri Mar 26, 2021 1:09 pm
Forum: Lua and API Scripting Help
Topic: Zibo 737 datarefs
Replies: 12
Views: 1613

Re: Zibo 737 datarefs

Thanks for the code. I will try it later I have attached another pic. I didnt think to use the snipping tool I cant show you when the valve moves. its too quick. When it goes between 0 and 1 its a decimal number with 6 decimal places I will let you know how I get on with the code Thanks Mark Capture...
by Markjohn
Fri Mar 26, 2021 11:19 am
Forum: Lua and API Scripting Help
Topic: Zibo 737 datarefs
Replies: 12
Views: 1613

Re: Zibo 737 datarefs

Pic Attached Its the 2nd dataref down. When the valve is fully open or closed it reads exactly a 0 or 1. When the valve is moving it reads the decimal places - As in the pic - Sorry its not very clear - You might have to zoom in. I know its a floating point number but I dont know how to tell which t...
by Markjohn
Thu Mar 25, 2021 3:32 pm
Forum: Lua and API Scripting Help
Topic: Zibo 737 datarefs
Replies: 12
Views: 1613

Re: Zibo 737 datarefs

Hi When I run the instrument in create/edit I get no errors if I write to the script a value between 0 and 1 (in Run/create/edit) the servo moves roughly between 0 and 180 degrees Its just when I run the instrument with Xplane. I can see the dataref go between 0 and 1 using datareftool but the servo...
by Markjohn
Wed Mar 24, 2021 10:39 pm
Forum: Lua and API Scripting Help
Topic: Zibo 737 datarefs
Replies: 12
Views: 1613

Zibo 737 datarefs

Hi I want to use air manager for some of my cockpit hardware. i use xplane and zibo and an arduino mega. I have got a servo to work using the example "engine RPM" script on the siminnovations website When I try and subscribe to a Zibo dataref the servo doesn't work. Ive tweaked some of the values in...