10-31-2008 02:45 PM
Hello, I'm using a NI-USB-8451 to communicate with a board using SPI (8451 scripting). NI-USB is the master and all ICs (EEPROM, DAC and ADC) on the board are slaves. If I run my ATP in a loop 10 times the 8451 will fail at the same point on the 8th time the test is run. When the problem occurs all SPI tests after that point will fail and the 9th and 10th test runs will fail SPI entirely. If I remove the USB cable connected to the 8451 and re-connect it works properly again. If I run my loop again it will fail at the same point. It seems to me that there is some sort of overflow problem here. I tried adding a Script Reset prior to building any scripts but it does not seem to work. I'm using CVI 8.1 to create DLL that is referenced by TestStand 4.0.
Any help will be appreciated.
Nazar
JGB Consulting, Inc.
Solved! Go to Solution.
11-04-2008 01:07 PM
Hey Nazar,
Can you provide a little more info on your application? What error code, if any, are you receiving? What are you trying to write or read from the device? Can you take a NI-Spy capture of this communication chain?
Thank you,
Ryan
11-05-2008 08:19 AM
11-05-2008 10:38 AM