Volume up and down in a NXC_VOL4
lomeraniel
Posts: 20
I have to control a NXC_VOL4 with a keypad (MIO8) but I have only two buttons available to control de sound, and the client wants up and down. Normally I program the volume card with 4 or 5 fixed levels and I use the commands that come in the user manual.
But for this UP and DOWN issue I'm not sure how I can do. Something like create_level and send_level? How I use them?
Elena
But for this UP and DOWN issue I'm not sure how I can do. Something like create_level and send_level? How I use them?
Elena
0
Comments
A few things to note:
* The volume card channels can be controlled via levels 1 and 2 on each of ports 1 and 2 on the vol card device. Presumably AMX split them up like this so that programmatically the card behaves like two stereo pairs. The above code should ramp all four channels on the card together.
The channel numbers for the Vol4 card are listed in a table on page 2 of the quick start guide.
HTH
Thanks, I'll try both solutions to see what's the one that matcher better with my prog.
Btw, the channels you are talking about are the assignment channels? I thought about using them because it seemed the easiest way but I didn't know how to use them. But I've call AMX UK yesterday and they told me no to use them
I start to see some light :P
Good luck.
Either are quite acceptable, though I do tend to be fairly explicit in controlling devices and tracking their current state for various reasons. The choice really depends on what you're doing.
I've tested on site yesterday with the TO inside the push and worked perfectly. Thanks