Hi c lees,
What are the values you get back from your DAQmx task? (the range)
You'll find that the image probably isn't actually actually completely black. But the image (when set at 8 bits) has 255 levels. (255 is bright white) so if your values are between 0 and 10V then the image will appear very dark.
Maybe try adding a multiplication factor to the data array before you convert to image? (say.. 25.5? for a 0-10V image)
If the range is between -10 and +10, you will need to offset by 10V and then multiply by 12.25.
Does that help at all?
Thanx
AdamB
Applications Engineering Team Leader | National Instruments | UK & Ireland