![]() |
RTXI 1.3
|
Variables | |
| tuple | dev = c.comedi_open('/dev/comedi0') |
| tuple | fd = c.comedi_fileno(dev) |
| int | nscans = 1000 |
| list | chans = [0,2,3] |
| list | gains = [1,1,1] |
| list | aref = [c.AREF_GROUND, c.AREF_GROUND, c.AREF_GROUND] |
| tuple | nchans = len(chans) |
| tuple | mylist = c.chanlist(nchans) |
| tuple | cmd = c.comedi_cmd_struct() |
| tuple | ret = c.comedi_command_test(dev,cmd) |
| list | datalist = [] |
| tuple | data = os.read(fd) |
| tuple | datastr = string.join(datalist,'') |
| list test_comedi::aref = [c.AREF_GROUND, c.AREF_GROUND, c.AREF_GROUND] |
Definition at line 25 of file test_comedi.py.
| list test_comedi::chans = [0,2,3] |
Definition at line 23 of file test_comedi.py.
| tuple test_comedi::cmd = c.comedi_cmd_struct() |
Definition at line 38 of file test_comedi.py.
| tuple test_comedi::data = os.read(fd) |
Definition at line 67 of file test_comedi.py.
| list test_comedi::datalist = [] |
Definition at line 66 of file test_comedi.py.
| tuple test_comedi::datastr = string.join(datalist,'') |
Definition at line 74 of file test_comedi.py.
| tuple test_comedi::dev = c.comedi_open('/dev/comedi0') |
Definition at line 13 of file test_comedi.py.
| tuple test_comedi::fd = c.comedi_fileno(dev) |
Definition at line 17 of file test_comedi.py.
| list test_comedi::gains = [1,1,1] |
Definition at line 24 of file test_comedi.py.
| tuple test_comedi::mylist = c.chanlist(nchans) |
Definition at line 30 of file test_comedi.py.
| tuple test_comedi::nchans = len(chans) |
Definition at line 27 of file test_comedi.py.
| int test_comedi::nscans = 1000 |
Definition at line 19 of file test_comedi.py.
| tuple test_comedi::ret = c.comedi_command_test(dev,cmd) |
Definition at line 55 of file test_comedi.py.