kelety
11-30-2010, 09:46 AM
Hi:
This is my first post in the forum, though I've been following many of the thread for a long time and they have been of enormous help in the many problems I have found up to now.
I'm in the middle stage of a 737 cockpit project, based on Opencockpit's Iocards an SIOC.
I'm trying to control the backlighting of the MIP using an USBOutput card; all leds used in it are connected to different outputs, in groups of 20 (not to overload each output) and I want to control the dimming through a 10K pot.
I have seen that you can establish a determinate level of intensity for all outputs of the card using the card's test soft (test_outputs.exe) but I want to control it through a pot, which means using SIOC.
Can someone tell me how to do that?
I know how to do that with the displays card (sending -99994 and then the value of the intensity) but, although that I have found that in the USBOutpout card, values of intensity range from 1 to 126, I don't know how to send that value to the card.
I have tested that it is not possible to send it to each output individualy, as any value different from 0 lights the leds with the level of intensity that you have established in the test program, so I can't use the value of the pot input (divided by 2, as the pot ranges from 1 to 255) directly to the output.
Is there a way of controling the dimm level of all the outputs of the card via SIOC?
I will be very greatful for any help
Andrés
Barcelona (Spain)
This is my first post in the forum, though I've been following many of the thread for a long time and they have been of enormous help in the many problems I have found up to now.
I'm in the middle stage of a 737 cockpit project, based on Opencockpit's Iocards an SIOC.
I'm trying to control the backlighting of the MIP using an USBOutput card; all leds used in it are connected to different outputs, in groups of 20 (not to overload each output) and I want to control the dimming through a 10K pot.
I have seen that you can establish a determinate level of intensity for all outputs of the card using the card's test soft (test_outputs.exe) but I want to control it through a pot, which means using SIOC.
Can someone tell me how to do that?
I know how to do that with the displays card (sending -99994 and then the value of the intensity) but, although that I have found that in the USBOutpout card, values of intensity range from 1 to 126, I don't know how to send that value to the card.
I have tested that it is not possible to send it to each output individualy, as any value different from 0 lights the leds with the level of intensity that you have established in the test program, so I can't use the value of the pot input (divided by 2, as the pot ranges from 1 to 255) directly to the output.
Is there a way of controling the dimm level of all the outputs of the card via SIOC?
I will be very greatful for any help
Andrés
Barcelona (Spain)