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é Tue 11 Oct 11 @ 8:13 pm
Do not make multiple posts on the same topic. Your original topic is here - http://www.virtualdj.com/forums/154716/x/
Posté Tue 11 Oct 11 @ 8:41 pm