01-25-2022 09:58 PM
Does anyone have any idea what would cause the error 'PALHardwareFaultError', status code -50152 in an X-series DAQ device?
To give more detail, I'm using PCIe-6363 DAQ devices in Linux machines (Ubuntu 18.04) using the latest Linux drivers 2021Q4) and PyDAQmx version (1.4.6) in Python 3.7.9. I can set digital outputs or take analog input measurements as long as I don't configure the sample clock with CfgSampClkTiming. If I use this command, the above error occurs upon starting the task. I have a previously set up Linux computer with the same PCIe-6363 model, and the same Python code runs there without error, so I don't think it is a problem with my command sequence. But on the new computers, I have tried many things including swapping different PCIe-6363 boards (they are a few years old), using a different PCIe slot, supplying power to the PCIe-6363 through the disk drive power connector, upgrading the Linux drivers (originally I was using the 2020 drivers) and upgrading PyDAQmx (originally I was using 1.4.4) but this error has always occurred, so I have no idea yet if it is a hardware or software problem.
Thank you for any suggestions!
01-27-2022 02:17 PM
An update, the error appears to be related to DMA transfers, since it can be avoided with
task.SetAIDATAXferMech('/
as was used in another post where the same error code was reported. I'm still trying to figure out why the DMA transfers don't work on these particular machines.