I am trying to run Rana's setSensors.py script, but am failing. Any inspiration would be appreciated:
rosalba:SUS_SUMMARY>./setSensors.py 1001708529 500 .1 .25
['./setSensors.py', '1001708529', '500', '.1', '.25']
/cvs/cds/caltech/apps/linux64/python/lib64/python2.4/site-packages/nds/__init__.py:28: RuntimeWarning: No protocol specified, attempting protocol nds_v2
super(daq, self).__init__(host, port)
Connecting NDS2 .... authenticate done
Traceback (most recent call last):
File "./setSensors.py", line 81, in ?
mean = acquire(x)
File "./setSensors.py", line 73, in acquire
daq.request_channel(chans[x])
Boost.Python.ArgumentError: Python argument types in
daq.request_channel(daq, str)
did not match C++ signature:
request_channel(_daq_t {lvalue}, daq_channel_t*)
I'm not exactly sure what the problem is. Line 73, looks like it should have 2 arguments in the daq.request_channel, but even if I put in the "daq" variable (which is set a few lines above), I get the exact same error. So...something else is wrong. Ideas from someone who "speaks" python??
|