I see you're using the 5105 digitizer and getting this error. When I look at the error picture that you've posted, it looks like this is occuring at ni-scope initialize. I think it would be best to test this in Measurement & Automation Explorer (MAX). To get to Measurement & Automation Explorer, navigate to the start menu » programs » National Instruments » Measurement and Automation Explorer. At this point you can expand devices and interfaces, right click on your digitizer, and select self test. See the picture below.
Are you still getting the error with this self test? Is it the same code? If you're not getting an error at this point, then we've verfied that the hardware can communicate, and we should look at your code that's producing the issue.
If you are still getting the error, we should follow these troubleshooting steps:
If none of these work, then an RMA would probably need to be set up for the device, and you can achieve this by contacting NI technical support. The applications engineer that you're working with will probably be able to find this discussion forum to reference.
Hope this helps!
Before setting up an RMA or re-installing the driver, I would recommend you try:
1. running self-calibration, and device reset. If you are receiving any errors on those, please let us know.
2. If you are not receiving any errors on those, then try to run a MAX Test Panel.
3. I would also think it wise to run an example program such as Configured Acquisition.
Let us know if any of those steps also reproduce an issue.
This error could be caused by several different reasons. Did you try any of the previous suggestions? What was the result of the previous suggested tests?
I've tried the previous suggestion without any positive result. Reset the device is not possible; neither the Self-Test can be performed. I also tried to use another PXI slot and to reinstall drivers from the device manager, but it didn't work.
I'm not comfortable in reinstalling software, because the board is used in a "closed" system and I'm not sure updating drivers should be a good idea. I'm waiting for another controller in order to perform other tests
I have some questions for you.
Could you clarify why the reset/self-test is not possible? they fail or you cannot perform that test? Why?
With this error we should isolate software issues, so it is important to reset the device, reinstall software or try in a different controller as you will do.
This error code indicates that one of the power supply circuits supplying the FPGA may have failed (most likely cause, but not only). Boards that experience Errors -239020 or -239021 will need to be repaired. You will need to contact National Instruments (https://www.ni.com/contact-us/) to setup a RMA for your product.