Home AMX User Forum NetLinx Studio

Bargraph mess

adysadys Posts: 395
Hi all

I have 4 bargraphs

When sending them Level value 0, sometimes it just ignore the value

When sending level value 1 and then 0, it always work...
SEND_LEVEL tpListLeds,GREEN_LEDS_LEVEL,1
SEND_LEVEL tpListLeds,GREEN_LEDS_LEVEL,0

Also create_level didn't work and the variable was not updated as I expected , and I am working with level_event.
// levels are from 1 - 4
CREATE_LEVEL tpListLeds, RED_LEDS_LEVEL, m_RED_LEDS_LEVEL
CREATE_LEVEL tpListLeds, GREEN_LEDS_LEVEL, m_GREEN_LEDS_LEVEL
CREATE_LEVEL tpListLeds, BLUE_LEDS_LEVEL, m_BLUE_LEDS_LEVEL
CREATE_LEVEL tpListLeds, MAIN_LEDS_LEVEL, m_MAIN_LEDS_LEVEL

What am I doing wrong?

Thanks

Ady

Comments

  • In general, a level to a panel, box, etc. internally is only sent if the value differs. This is managed by the master within firmware. Depending on the situaiton, it may be required to manually program a double level update.

    A CREATE_LEVEL is only a automatism to get the level's value into a variable. This has no effect to sending a value to a level. The update of the variable again is only done if the level changes.
Sign In or Register to comment.