Search found 25 matches

by ramberga
Fri Aug 13, 2021 8:16 pm
Forum: Air Manager Help
Topic: DME generic selector knob control
Replies: 44
Views: 11804

Re: DME generic selector knob control

Tony - I have an update for you - and a workaround I am going to use for now. First, notice that the Arduino board access is denied if I attempt to re-flash it (moved it to COM11, but it happens on any COM port): AM flash issue.jpg 1. if I add any instrument that allows an external hardware device (...
by ramberga
Fri Aug 13, 2021 4:39 pm
Forum: Air Manager Help
Topic: DME generic selector knob control
Replies: 44
Views: 11804

Re: DME generic selector knob control

Tony- the searching being done by AM is from me unplugging and reconnecting the Arduino board during testing. AM does connect to the board when I reconnect the Leonardo after a few seconds. I get the connect message from AM. It's like it loses the pin assignments but understand that it also happens ...
by ramberga
Thu Aug 12, 2021 6:13 pm
Forum: Air Manager Help
Topic: DME generic selector knob control
Replies: 44
Views: 11804

Re: DME generic selector knob control

Ralph wrote: Thu Aug 12, 2021 5:55 pm I rather just have a look myself. Tomorrow we will be available.
I have to be gone tomorrow. Is there a day early next week that would work for you? Or this weekend?
by ramberga
Thu Aug 12, 2021 2:51 pm
Forum: Air Manager Help
Topic: DME generic selector knob control
Replies: 44
Views: 11804

Re: DME generic selector knob control

The easiest solution to this is for us to have a look through TeamViewer. Please send us a support ticket, and include your time zone. We are available on Thursday's and Friday's from 8:00 to 17:00 CET. Ralph - I am in Wisconsin USA, Central Daylight Time zone. Can you look at the post I just repli...
by ramberga
Thu Aug 12, 2021 2:36 pm
Forum: Air Manager Help
Topic: DME generic selector knob control
Replies: 44
Views: 11804

Re: DME generic selector knob control

Tony - I did make sure that all hardware pin settings were copied in the 'home' section. Please see attached screenshots of the 'create/edit' settings versus the 'home' settings for the rotary switch, using the 'named' argument option in the LUA function call for hw_switch_add. Note that this exampl...
by ramberga
Wed Aug 11, 2021 10:22 pm
Forum: Air Manager Help
Topic: DME generic selector knob control
Replies: 44
Views: 11804

Re: DME generic selector knob control

P.S. I just left AM running, but unplugged the USB connection for the Arduino board, then plugged it in again. Guess what? The instrument will not allow the hardware switch to operate it. So, something is going on with the communication between the USB, the Arduino board and AM. The instrument will ...
by ramberga
Wed Aug 11, 2021 9:13 pm
Forum: Air Manager Help
Topic: DME generic selector knob control
Replies: 44
Views: 11804

Re: DME generic selector knob control

Ralph - I just recoded the generic DME receiver (the one you programmed to accept a hardware switch). You had used the 'named' reference argument in the function call. I changed it to 'hardware-id' reference: From hw_switch_add("Source selector", 3, function(position) to hw_switch_add (&qu...
by ramberga
Wed Aug 11, 2021 8:05 pm
Forum: Air Manager Help
Topic: DME generic selector knob control
Replies: 44
Views: 11804

Re: DME generic selector knob control

Ralph - let me try to simplify things. 1. initial problem was that I could get the external hardware device (3 way rotary switch) to operate the 'generic DME display' instrument in the 'create/edit' tab when doing a 'run', but not the 'home' tab.. 2. when I 'stopped' the run and went to 'home' tab, ...
by ramberga
Wed Aug 11, 2021 3:39 pm
Forum: Air Manager Help
Topic: DME generic selector knob control
Replies: 44
Views: 11804

Re: DME generic selector knob control

P.S. code I added for the generic DME display: dme_switch = hw_switch_add("ARDUINO_LEONARDO_A_D2", "ARDUINO_LEONARDO_A_D3", "ARDUINO_LEONARDO_A_D4", new_state) It works great and the 3 way switch operates correctly - until I stop and restart AM (or put the computer to s...
by ramberga
Wed Aug 11, 2021 3:34 pm
Forum: Air Manager Help
Topic: DME generic selector knob control
Replies: 44
Views: 11804

Re: DME generic selector knob control

Ralph - I hard-coded the pin numbers into the LUA code, using hardware_id. So, the pins haven't changed positions. I haven't altered the Arduino board or the USB connection. AM shows that the Arduino board is connected on COM 9, as always. Do you remember the issue I had last year concerning my comp...