Добрый день. На RaZberry работает JS скрипт, где в цикле меняем цвет RGBW ленты, подключенной к Fibaro RGBW контроллеру с шагом в 1 сек., меняем цвета с помощью LowLevelAPI, поканально. При этом задержка в исполнении команд на устройстве всегда разная (интервал смены цвета меняется от 0.5 до 2 сек.). Как реализовать смену цвета в одинаковые интервалы? На каком этапе происходит задержка, как этого избежать.
Также обнаружили что функция zway.devices[dev_id].instances[inst_id].commandClasses[38].Set(value); грузит процессор Raspberry Pi 2 на 45-55 процентов(при вызове в цикле для моргания светодиодной лентой, вызов функции производится раз в 1 секунду).

задан 07 Дек '15, 14:09

FilosOFF's gravatar image

FilosOFF
714
процент согласия: 0%

отредактирован 07 Дек '15, 15:05


Недавно исправили проблему загрузки проца. В свежих версиях должно быть лучше.

Также обратите внимание, что дёргать раз в секунду - плохая идея. У этого устройства есть программы.

Задержка скорее всего связана с очередью.

ссылка

отвечен 12 Дек '15, 01:18

PoltoS's gravatar image

PoltoS ♦♦
5731312
процент согласия: 27%

-1

Immediately after introducing its patented Nanolayer capable Die Technology at NPE 2012, Alpha Marathon will be showcasing the advancements with this technology over the past three years at Plast 2015 - May 5-9.

A full size 2X die garnered a complete lot of attention at NPE 2015, showcasing the mature development of the innovative 1X die that was initially introduced at NPE 2012.

It is available in configurations as high as 20" size and from 25 to 200 layers, with a great output more than 1000 lbs/hour.

With Blow-Up Ratios achievable in excess of 5 times easily, a 2X die is capable of lay-flats over 13 feet.

Alpha��s "Layer Sequence Repeater" Technology represents another great leap forward on annular extrusion die technology for end-users and packaging producers seeking innovative new solutions to create higher performing and lower cost films and packaging.

It builds on the now well comprehended and proven theory that increasing the layer structure of plastic pelletizer material films creates great possibilities for bettering their mechanical and barrier houses while also reducing type resin and other development costs.

The evolution from mono-layer to 3-layer co-extrusion films - and on to 5 then, 7, 9, and 11 layer co-extrusion films - is proof of this.

Alpha Marathon needs this evolution an excellent step forward using its patented Alpha Layer Sequence Repeater Die Technology.

Our "LSR" Technology is based on an innovative new method of die design and construction that creates film structures from 25 up to 200 discrete layers - creating nothing you've seen prior seen film properties.

Read More The secret is the capability to create and inter-weave layers that are less than a micron thick. These "Nano-Layers" have exceptional physical and mechanical attributes that allow them to mix with other resins in unique and important ways.

Qualitative/Quantitative Phenomena

Interweaving layers developing a repeating ��We�� beam structure for optimum strength Adjacent ultra-slim layers rapidly quenching resulting in ��glass just like�� clarity, interlayer quenching Molecular layer alignment allowing unparalleled extensibility for inflate orientation and ratios capability over 1 ? times traditional methods Interlayer melt balance yielding large melt strengths allowing the creating of films under 2.5 microns altogether thickness Broadest tolerance of melt rheology in any extrusion technology allowing movies to be produced from just about any resin and resin combination Alpha's Level Sequence Repeater Technology creates movies that exceed the functionality envelopes of recent multi-layer films, including:

Improved mechanical strength real estate: increased puncture, resistance and dart drop values Smoother, stronger film floors enhancing sealing and printing real estate Improved optical qualities for clear packaging Creation of higher executing barrier films within an individual co-extrusion Achievement of real estate currently only possible thru post-lamination processes within a single co-extrusion process Alpha Layer Sequence Repeater also creates great opportunities to down-gauge recent film applications to significantly reduce price without sacrificing effectiveness. When combined with Alpha's GlacierTM Water Quench technology, substantial production cost reductions can be generated, including:

20-30% gauge reduction with no lack of mechanical properties 5-10% reduction in input resin blend cost/kg 15-25% through-put increase on a linear feet or square meter basis Production price reductions thru integration of current post-lamination processes into the co-extrusion process Primary applications for Alpha's Nano-Layer and Glacier technology include:

Food Packaging: all forms of barrier and non-barrier applications; FFS (form/load/seal); thermoforming (eg. Clam-shell trays) Medical: IV carriers and other sterile pouches Industrial: Heavy Duty Transport Sacks (HDSS); shrink bundling/hoods; vapour barrier sheeting; protective sheet Technology: electric battery and capacitor insulator films

ссылка

отвечен 04 Янв '16, 04:05

LizaKillian's gravatar image

LizaKillian
(suspended)
процент согласия: 0%

Ваш ответ
toggle preview

Следить за этим вопросом

По почте:

Авторизовавшись, здесь Вы сможете подписаться на обновления по этому вопросу.

По RSS:

Ответы

Ответы и комментарии

Основы размётки

  • *курсив* или _курсив_
  • **жирный** или __жирный__
  • ссылка:[текст](http://url.com/ "Суть вопроса")
  • картинка?![alt текст](/path/img.jpg "Суть вопроса")
  • нумерованый список: 1. Foo 2. Bar
  • чтобы добавить перенос строки в тексте, сделайте два переноса строки в редакторе
  • базовые теги HTML также поддерживаются

Теги к вопросу:

×253
×24

Задан: 07 Дек '15, 14:09

Просмотров: 2,673 раз

Отредактирован: 04 Янв '16, 04:05

powered by OSQA