Help for a newbie

69 views
Skip to first unread message

Samuel Garcia

unread,
Dec 5, 2017, 3:59:35 AM12/5/17
to ac...@googlegroups.com
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






Luke Campagnola

unread,
Dec 5, 2017, 4:06:19 AM12/5/17
to acq4
Hi Samuel!
I think we have seen this error before: https://groups.google.com/d/msg/acq4/swlSoUSsbvE/Uq0qQWaxCwAJ
Can you try out the suggestion there and let me know if it helps?


Luke

--
You received this message because you are subscribed to the Google Groups "ACQ4" group.
To unsubscribe from this group and stop receiving emails from it, send an email to acq4+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/acq4/ba4fc173-a9c5-78d5-fb85-d89a2a90ea66%40cnrs.fr.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages