--
You received this message because you are subscribed to a topic in the Google Groups "the labscript suite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/labscriptsuite/oQrn60APWoU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to labscriptsuit...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/labscriptsuite/1285e3f5-5cb5-4684-82d9-03cd6278889bn%40googlegroups.com.
Recompiling connection table
C:\Users\Zeiss\Anaconda3\envs\myenv\lib\site-packages\runmanager\__init__.py:925: FutureWarning: get_shot_globals has moved to labscript_utils.shot_utils. Please update your code to import it from there.
warnings.warn(
Traceback (most recent call last):
File "C:\Users\Zeiss\labscript-suite\userlib\labscriptlib\MyFirstApparatus\connection_table.py", line 22, in <module>
from labscript_devices.NI_DAQmx.labscript_devices import NI_PCI_6374
ImportError: cannot import name 'NI_PCI_6374' from 'labscript_devices.NI_DAQmx.labscript_devices' (C:\Users\Zeiss\Anaconda3\envs\myenv\lib\site-packages\labscript_devices\NI_DAQmx\labscript_devices.py)
Compilation failed. Please fix the errors in the connection table (python file) and try again
Recompiling connection table
C:\Users\Zeiss\Anaconda3\envs\myenv\lib\site-packages\runmanager\__init__.py:925: FutureWarning: get_shot_globals has moved to labscript_utils.shot_utils. Please update your code to import it from there.
warnings.warn(
Traceback (most recent call last):
File "C:\Users\Zeiss\labscript-suite\userlib\labscriptlib\MyFirstApparatus\connection_table.py", line 22, in <module>
from labscript_devices.NI_DAQmx.models import NI_PCI_6374
File "C:\Users\Zeiss\Anaconda3\envs\myenv\lib\site-packages\labscript_devices\NI_DAQmx\models\NI_PCI_6374.py", line 4, in <module>
from labscript_devices.NI_DAQmx.models.NI_PCI_6374 import NI_DAQmx
ImportError: cannot import name 'NI_DAQmx' from partially initialized module 'labscript_devices.NI_DAQmx.models.NI_PCI_6374' (most likely due to a circular import) (C:\Users\Zeiss\Anaconda3\envs\myenv\lib\site-packages\labscript_devices\NI_DAQmx\models\NI_PCI_6374.py)
Now getting the below error after making some changes, was able to run get_capabilities, but it seems that the module had data I had entered manually, it just successfully ran on the terminal.
You received this message because you are subscribed to the Google Groups "the labscript suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to labscriptsuit...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/labscriptsuite/0bf4a346-7799-4c5f-8efc-678143672465n%40googlegroups.com.
Recompiling connection table
Traceback (most recent call last):
File "C:\Users\Zeiss\labscript-suite\userlib\labscriptlib\MyApparatus\connection_table.py", line 47, in <module>
ConnectionTable()
File "C:\Users\Zeiss\labscript-suite\userlib\labscriptlib\MyApparatus\connection_table.py", line 25, in ConnectionTable
NI_PCIe_6374(
File "C:\Users\Zeiss\labscript-suite\labscript-devices\labscript_devices\NI_DAQmx\models\NI_PCIe_6374.py", line 61, in __init__
NI_DAQmx.__init__(self, *args, **combined_kwargs)
File "C:\Users\Zeiss\labscript-suite\labscript\labscript\utils.py", line 114, in new_function
return_value = func(inst, *args, **kwargs)
File "C:\Users\Zeiss\labscript-suite\labscript-devices\labscript_devices\NI_DAQmx\labscript_devices.py", line 204, in __init__
raise LabscriptError(dedent(msg))
labscript.utils.LabscriptError: Must specify a parent clockline, unless both static_AO and static_DO are True
Compilation failed. Please fix the errors in the connection table (python file) and try again