Home AMX User Forum NetLinx Studio

Axcent 3 + Nexia

yuriyuri Posts: 861
Hi,

maybe i'm missing something, but i need to control a Biamp Nexia using an Axcent 3.
As you might know, a Nexia has a volume control ranging from -100 -> +12.
Normally I would use a sinteger and do math according my touchpanel level, but since Axcent doesn't support SINTEGER / FLOAT, etc, how would i do this?

Comments

  • AMXJeffAMXJeff Posts: 450
    Yuri,

    The first thing I would do is buy a NI700 and upgrade that system. If your not willing/able to do that. Then you have to do all your volume control above 0 and then last minute while doing your integer to ascii conversion change it the actual value.


    Do all your level work between 0 - 112, basically biamp amp values plus 100.
    // 0 TO 12 RANGE
    IF (AXCESS_RANGE >= 100 && AXCESS_RANGE <= 112)
    	SEND_STRING BIAMP,"'SET 1 FDRLVL 34 1 ',ITOA(AXCESS_RANGE - 100),10"
    // -100 TO -1	
    ELSE IF (AXCESS_RANGE >= 0 && AXCESS_RANGE < 100)
    	SEND_STRING BIAMP,"'SET 1 FDRLVL 34 1 -',ITOA(100 - AXCESS_RANGE),10"
    
  • yuriyuri Posts: 861
    upgrading isn't an option (stupid, i know)
    I also thought of prefixing the '-' for values from -1 -> -100 but was wondering if there was another option.
    Thanks!
  • yuri wrote: »
    upgrading isn't an option (stupid, i know)
    I also thought of prefixing the '-' for values from -1 -> -100 but was wondering if there was another option.
    Thanks!

    Afaik the Nexia has a GSET command, which uses Integer values only. In the Audia/Nexia control protocol manual there should be a table about the value relations.
  • yuriyuri Posts: 861
    Afaik the Nexia has a GSET command, which uses Integer values only. In the Audia/Nexia control protocol manual there should be a table about the value relations.

    I checked it, and it is SETL. Never saw that, thanks!
Sign In or Register to comment.