Search found 48 matches

by fatcharlieuk
Thu Apr 04, 2024 6:52 pm
Forum: Air Manager Help
Topic: String datarefs in Xplane 11
Replies: 0
Views: 79

String datarefs in Xplane 11

Hi all, I am trying to write different values to a string dataref in Xplane 11. When I write a new string, if it is shorter than the last string, the last characters of the old string remain. How do i clear a string back to "" in Xplane 11? xpl_dataref_write("string_type_dataref"...
by fatcharlieuk
Mon Dec 04, 2023 9:01 pm
Forum: Arduino
Topic: Stepper motor jitters using message port
Replies: 7
Views: 2409

Re: Stepper motor jitters using message port

Hi guys. All good now. I could only get the stepper motor to run one way using the AM API. I tried using “CLOCKWISE” and “COUNTERCLOCKWISE” but it made for some clunky checking and maths. Then it occurred to me to think about exactly what “FASTEST” means! Finally it dawned on me that this means “sho...
by fatcharlieuk
Sun Dec 03, 2023 9:38 pm
Forum: Arduino
Topic: Stepper motor jitters using message port
Replies: 7
Views: 2409

Re: Stepper motor jitters using message port

Definitely an issue in my script! But not sure what...

I'll try a slower speed.

Thanks guys.
by fatcharlieuk
Sun Dec 03, 2023 8:27 pm
Forum: Arduino
Topic: Stepper motor jitters using message port
Replies: 7
Views: 2409

Re: Stepper motor jitters using message port

Thanks for the reply -

I did try but the motor just moved in the same direction whatever the compass change was. I couldn't figure out how to get the motor going backwards - it just seemed easier to us an Arduino sketch because I've written loads of them.

Cheers,

Roger.
by fatcharlieuk
Sun Dec 03, 2023 3:37 pm
Forum: Arduino
Topic: Stepper motor jitters using message port
Replies: 7
Views: 2409

Stepper motor jitters using message port

Hi all, I'm trying to use a stepper motor for my wet compass in my sim cockpit. But the way I've coded it, it jitters terribly when moving. Xplane 11.55 air manager 4.2 (BETA 31) Arduino IDE 2.1.1 Stepper motor 28BYJ-48 Driver board ULN2003 Air manager instrument (the software card and background ar...
by fatcharlieuk
Wed Sep 13, 2023 9:31 am
Forum: Arduino
Topic: Stepper Motor Basics
Replies: 4
Views: 1396

Re: Stepper Motor Basics

Thanks guys, I was confused because in the API it recommends using named hardware - "Hardware Id's are not preferred, try to use named hardware instead" but somehow I missed the part where the connection details are entered in AM once you run the instrument. I finally got to that bit. Chee...
by fatcharlieuk
Mon Sep 11, 2023 6:24 pm
Forum: Arduino
Topic: Stepper Motor Basics
Replies: 4
Views: 1396

Stepper Motor Basics

Hi all, I plan to use stepper motors for the second hand rotation of my chronometers. I've looked through the forum and now have a good idea of what code I want to write (although doubtless I'll need some advice along the way). But, forgive me if I'm missing something obvious, how do you actually, p...
by fatcharlieuk
Wed Aug 09, 2023 5:04 pm
Forum: Air Player Desktop
Topic: Transfer licence
Replies: 4
Views: 2354

Re: Transfer licence

Thanks I’ll have a look when I get home.
by fatcharlieuk
Wed Aug 09, 2023 4:56 pm
Forum: Air Player Desktop
Topic: Transfer licence
Replies: 4
Views: 2354

Re: Transfer licence

Hi. Thanks for the pointer. I’d looked in both AM and AP manuals but didn’t think of the Wiki. So I reset the licence. I started Air Manager on my main machine, went to “Orders” and pressed “Reset”. I got tge warning asking me if I wanted to use one of my three available resets, pressed “Yes” and go...
by fatcharlieuk
Mon Aug 07, 2023 7:30 pm
Forum: Air Player Desktop
Topic: Transfer licence
Replies: 4
Views: 2354

Transfer licence

Hi. I downloaded Air Player and set it up on the PC I use as a test-bed. Now I have it working to my liking I want to transfer the licence to my actual flying PC - but i can't seem to do that? I assumed the licence transfer process would be the same as Air Manager - am I missing something? Thanks, R...