DAQmx error when trying to output from PXI-6733

29 views
Skip to first unread message

Alexander Abbey

unread,
Apr 4, 2025, 11:11:00 AMApr 4
to the labscript suite
Dear all,

I am trying to setup the Labscript Suite to work with a PXI 6733. Whenever I try and run a sequence that requires the module to output in some way I get errors related to DAQmx. Notably printing attributes of the same channel works fine (i.e. printing the clock limit gives 1000000).

For example, the command Analogue_testing_channel_2.constant(t=3, value=0.2) gives the error:

 

Traceback (most recent call last): 
  File "/home/physicsuser/anaconda3/envs/labscript/lib/python3.8/site-packages/blacs/tab_base_classes.py", line 898, in _transition_to_buffered 
    return self.transition_to_buffered( 
  File "/home/physicsuser/anaconda3/envs/labscript/lib/python3.8/site-packages/labscript_devices/NI_DAQmx/blacs_workers.py", line 345, in transition_to_buffered 
    AO_final_values = self.program_buffered_AO(AO_table) 
  File "/home/physicsuser/anaconda3/envs/labscript/lib/python3.8/site-packages/labscript_devices/NI_DAQmx/blacs_workers.py", line 323, in program_buffered_AO 
    self.AO_task.StartTask() 
  File "<string>", line 3, in StartTask 
  File "<string>", line 2, in function 
  File "/home/physicsuser/anaconda3/envs/labscript/lib/python3.8/site-packages/PyDAQmx/DAQmxFunctions.py", line 62, in mafunction 
    raise exception_class(errBuff.value.decode("utf-8"), f.__name__) 
PyDAQmx.DAQmxFunctions.PALTransferTimedOutError: The transfer did not complete within the timeout period or within the specified number of retries. 
 
Task Name: _unnamedTask<3> 
 
Status Code: -50400 
in function DAQmxStartTask 


I am using the stable version of labscript suite and ubuntu 20.04.2 LTS on the PXI controller (PXIe-8135).

All self tests of the modules via the NI hardware configuration utility have been fine (apart from the GPIB which is not being used).

Any help would be greatly appreciated. Thank you in advance!

Alexander



Alexander Abbey

unread,
Apr 7, 2025, 6:32:43 AMApr 7
to the labscript suite
As an update in case people get similar issues in the future, this was an issue with the Ubuntu kernel version I was using. Even though it is a later kernel than the error is reported with in
, the error was still present for kernel 6.11.0-21-generic. Following the instructions on the page helped.

Alexander

Reply all
Reply to author
Forward
0 new messages