Streaming with adc11/12

Post general discussions on using our drivers to write your own software here
Post Reply

Streaming with adc11/12

Post by Robert » Thu Apr 28, 2005 7:36 am

Hello again,

I wrote an EXCEL-Makro with VBA to stream data from my adc11/12 usb. So far it works fine. 5 Seconds after starting the stream, I want to switch on a LED on digital out 1. Here is my program code:

Call adc11_set_interval(10000000, 100, channels(0), 1l)
Call adc11_run(1100, 2)
Sleep (5000)
Call adc11_set_do(1)
Sleep (20000)
Call adc11_set_do(0)
Sleep (5000)
Call adc11_stop
Call adc11_get_times_and_values(lZeit(0), nWert(0), 1000)

The program runs without any error message, but when I monitor the do1 voltage, there is no changing to see.

Who can help me?

Thanks, Robert


Post by Sarah » Fri Apr 29, 2005 8:42 am

Hi Robert

Thank you for your post.

I have had a look into this and you can't set the DO while it's running. It needs to be stopped first - therefore you will not be able to set it while streaming.

Best Regards

Post Reply