dvb3

L

luca72

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top