Easy example for analog out needed, please

Hi Comedi Users,

I read the comedi doc a couple of times and tried the examples of
comedilib, but I still dont understand how to make the analog out working,
so I dont know how to write a program that simply set the analog out.
I know I have to use comedi_data_write, but how exactly do I set the value
for the output.
I also have no clue how the data type lsampl_t works.

Does anybody have a short and easy example?

Regards

PS: I got digital in/out working just fine

---------------------------------------------
Free POP3 Email from www.Gawab.com 
Sign up NOW and get your account _at_gawab.com!!

Received on 2007-09-20Z11:59:26