Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New combine_stations plugin
#3
Hi Dan,

I tried out the combine_stations plugin today. 

It works.  Also the activated stations are correctly displayed on SSD1306. Nice. 

[Image: aQy1DBhBoz7aIuyOMAByKPFGHEvTsPl3eEYO7iq9...8gTFSlU=s0]
[Image: 2BPlNfANGr49Fv5efyGBucV0SFUjwkp7gIv-1EZr...ewlnIal=s0]

I also want to report an inconsistency.

My system contains 16 stations and two virtual stations, one of which (V17) is switched on here.

V17 combines stations 1, 3, and 5.

When V17 is switched on, stations 1, 3 and 5 are correctly switched on, as can be seen in the OLED display SSD1306 and also through the three green LED's in the attached.

However, in the SIP web UI, the program schedule shows, in addition to the above three stations, another three stations are also active: 9, 11, and 13.

These latter three stations (9,11,13) are at a constant offset (+8) to the former three stations (1,3,5).

I looked at the plugin code in combine_stations.py.

In line numbers 71-77, the program_schedule variable (gv.ps) and the run_schedule variable (gv.rs) employ different bitwise in-place operators: 
"|=" for the program_schedule, and 
"&=" for the run_schedule.

Why should the program_schedule and the run_schedule employ different logic?

Regards,

Paul
Reply


Messages In This Thread
New combine_stations plugin - by dan - 2020 May 30, 08:47 PM
RE: New combine_stations plugin - by dschweer - 2020 Jun 27, 08:11 PM
RE: New combine_stations plugin - by paul - 2021 Aug 27, 09:53 AM
RE: New combine_stations plugin - by dan - 2021 Aug 27, 05:29 PM
RE: New combine_stations plugin - by paul - 2021 Aug 30, 04:14 PM
RE: New combine_stations plugin - by dan - 2021 Aug 28, 03:33 PM
RE: New combine_stations plugin - by paul - 2021 Aug 30, 10:16 AM
RE: New combine_stations plugin - by paul - 2021 Aug 30, 11:25 AM
RE: New combine_stations plugin - by paul - 2021 Aug 30, 02:41 PM
RE: New combine_stations plugin - by dan - 2021 Aug 30, 04:03 PM
RE: New combine_stations plugin - by paul - 2021 Aug 31, 03:34 AM
RE: New combine_stations plugin - by dan - 2021 Aug 30, 05:29 PM
RE: New combine_stations plugin - by dan - 2021 Aug 30, 06:14 PM
RE: New combine_stations plugin - by paul - 2021 Aug 31, 04:56 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)