Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

dvb3

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


lucaberto at libero

Nov 28, 2009, 2:29 AM

Post #1 of 1 (153 views)
Permalink
dvb3

hello i try to use the python-dvb3 bindings, but i have some problem:
fe = dvb3.frontend.Frontend(0)
type = tipo_1 = fe.get_dvbtype()
now i need to set the parameters
parametri = dvb3.frontend.QPSKParameters(frequency=frequency,
inversion=2 , symbol_rate=27500, fec_inner=9)
but when i use
fe.set_frontend(parametri)
i get the error
The debugged program raised the exception IOError
"(22, 'Invalid argument')"
File: frontend.pyx, Line: 364

thedef is as follow :
def set_frontend(self, parameters):
global cfrontend
cdef cfrontend.dvb_frontend_parameters p
if pack_parameters(&p, parameters) == 0:
raise ParameterError, "Incorrect parameter type"
if ioctl(self.fd, cfrontend.FE_SET_FRONTEND, &p) == -1:
raise_ioerror()

can you hel me

Luca
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.