02-20-2008 03:53 PM

Hello all, my problem is this : I need to be able to stretch the time between byte writes using a NI USB-8451. I am using four wire SPI communications. The device in question is a ADC that returns 16 bytes. I am able to read and write to the device. Every so often, the data appears to be flaky. It has been suggested someone to give the device a little more time by setting up a delay between each time a byte is sent. The delay will probably need to be in the microseconds. Also I am programmming using is CVI, but if there is an answer to this in labview, I'll gradly learn a new language!!! I hope the picture below helps.....




02-22-2008
02:02 PM
- last edited on
09-17-2025
03:23 PM
by
Content Cleaner
Hi sal_c,
Unfortunately right now the functionality of increasing the SCLK setup time in microseconds is not supported.
You are able to increase the SCLK setup time in milliseconds using the ni845xSpiScriptDelay function. This can be found in page 9-37 of the Software User Manual found here.
Have a great weekend!
07-25-2008 03:45 PM