Hi Luke, hi all,
I starting to play with acq4 with a ultra simple scenario.
I want to record 3 channels and play on output some custom
stimulation.
The TaskRunner seams perfect for that.
We have an NI USB 6211 (16 AI and 2 AO).
For the moment I am fighting with NiDAQ. So this is just a an
early stage.
I got this error at the bottom and I am wondering if there a
particular ddl version to install.
I taken NIDAQ1711f0.zip from NI.
When starting acq4 for the first time there is a full scan of this
DLL or header.
I don't understand the mechanism in acq4 for accessing the DDL.
At the end the crash with a very simple things "DAQmxGetSysDevNames"
Do you have any clue ?
Best,
Samuel
|==============================>>
| Traceback (most recent call last):
| File
"C:\Users\manip_intra\AppData\Local\Continuum\anaconda3\envs\py27_acq4\lib\runpy.py",
line 174, in _run_module_as_main
| "__main__", fname, loader, pkg_name)
| File
"C:\Users\manip_intra\AppData\Local\Continuum\anaconda3\envs\py27_acq4\lib\runpy.py",
line 72, in _run_code
| exec code in run_globals
| File
"C:\Users\manip_intra\Documents\acq4\acq4\__main__.py", line 57,
in <module>
| man = Manager(argv=sys.argv[1:])
| File "acq4\Manager.py", line 149, in __init__
| self.readConfig(configFile)
| File "acq4\Manager.py", line 226, in readConfig
| self.configure(cfg)
| File "acq4\Manager.py", line 253, in configure
| printExc("Error configuring device %s:" % k)
| File "acq4\util\debug.py", line 38, in printExc
| pgdebug.printExc(msg, indent, prefix)
| --- exception caught here ---
| File "acq4\Manager.py", line 251, in configure
| self.loadDevice(driverName, conf, k)
| File "acq4\Manager.py", line 383, in loadDevice
| dev = devclass(self, conf, name)
| File "acq4\devices\NiDAQ\nidaq.py", line 35, in __init__
| print "Created NiDAQ handle, devices are %s" %
repr(self.n.listDevices())
| File "acq4\drivers\nidaq\nidaq.py", line 73, in
listDevices
| return self.GetSysDevNames().split(", ")
| File "acq4\drivers\nidaq\nidaq.py", line 79, in
__getattr__
| fn = LIB('functions', 'DAQmx' + attr)
| File "acq4\util\clibrary\CLibrary.py", line 138, in
__call__
| self._objs_[typ][name] = self._mkObj_(typ, name)
| File "acq4\util\clibrary\CLibrary.py", line 181, in
_mkObj_
| raise NameError(name)
| NameError: DAQmxGetSysDevNames
|==============================<<
=== Device configur