02-06-2024 08:54 AM
I have an X-series DAQ (PXIe-6355) that I want to use to output a digital pulse train. A simple 50% duty cycle is fine. I'm unable to do it, even when directly copying examples from NI Example Finder or this forum. The second picture on this post should be exactly what I want (minus the external trigger). But the program gives error -200292 at DAQmx Write, after timing out.
This is the simplest example of a digital output I can think of, but it's not working. Can somebody please help
02-07-2024 02:57 AM
After doing some more testing, there may be a problem with the board. The first time after starting up the PXI chassis, the code runs without error, and the board is outputting the correct signal (measured with an oscilloscope). The second time running the exact same code, it gives error 200292.
I have tried changing the slot of the board in the PXI chassis, but it didn't solve it. Resetting the NI MAX Configuration also didn't solve it.
I have also have a PXIe 6738, which also has digital buffered output pins, this board runs without issues, with the exact same code.
I noticed that when trying to explicitly commit the task before starting, the 6355 board gives error code 50152: A hardware failure has occurred. The 6738 doesn't give this error.
So, is my board defective?