Hello, I have just succesfully designed an HID device. All leds are working but for some reason cant implement Vumeter functionality. Before I designed this interface, I designed a MIDI one and it had Vumeter working.
In this case, I have 8 Bytes of buffer for 64 Leds. Each Led is one particular bit in a Byte.
My XML file for definition is (only shown problematic line of code):
<page type="out">
....
<bar bit="0x20" type="bitfill" name="VU_METER_LEFT" inverted="false" />
</page>
My XML file for mapping is (only shown problematic line of code):
<map value="VU_METER_LEFT" action="deck 1 get level"/>
I also tried in definition:
<bar bit="0x20" type="bitfill" min="0x00" max="0xFF" name="VU_METER_LEFT" inverted="false" />
<bar bit="0x20" type="bitmovel" min="0x00" max="0xFF" name="VU_METER_LEFT" inverted="false" />
<bar bit="0x20" type="bitfill" min="0x10" max="0xFF" name="VU_METER_LEFT" inverted="false" />
No matter what I put, the result is allways the same... A single led steady ON on play. I debugged using external software and verified this, only reports a static value.
What can the problem be?
Thanks in advance for your help.
In this case, I have 8 Bytes of buffer for 64 Leds. Each Led is one particular bit in a Byte.
My XML file for definition is (only shown problematic line of code):
<page type="out">
....
<bar bit="0x20" type="bitfill" name="VU_METER_LEFT" inverted="false" />
</page>
My XML file for mapping is (only shown problematic line of code):
<map value="VU_METER_LEFT" action="deck 1 get level"/>
I also tried in definition:
<bar bit="0x20" type="bitfill" min="0x00" max="0xFF" name="VU_METER_LEFT" inverted="false" />
<bar bit="0x20" type="bitmovel" min="0x00" max="0xFF" name="VU_METER_LEFT" inverted="false" />
<bar bit="0x20" type="bitfill" min="0x10" max="0xFF" name="VU_METER_LEFT" inverted="false" />
No matter what I put, the result is allways the same... A single led steady ON on play. I debugged using external software and verified this, only reports a static value.
What can the problem be?
Thanks in advance for your help.
Posté Fri 07 Oct 11 @ 11:21 am
Hello again. This is my third post and still cant get any explanation, but i did get a warning for making double post which indicates someone is reading my posts... Questions are:
Does Virtual DJ support 10 bits (1024 steps - HID MODE) pots? Cant make them to work. Post: http://es.virtualdj.com/forums/152933/Spanish_Forum/Problema_con_nueva_controladora_HID.html
And now this post question.
Thank you.
Does Virtual DJ support 10 bits (1024 steps - HID MODE) pots? Cant make them to work. Post: http://es.virtualdj.com/forums/152933/Spanish_Forum/Problema_con_nueva_controladora_HID.html
And now this post question.
Thank you.
Posté Tue 18 Oct 11 @ 5:27 pm