Hi everybody,
I'm working on sending signal from DSP to Labjack by SPI.so I used the VI exemple in the LJUD named : SPI Large.
the problem is that I cannot acess the sample time field.I guess that it's coded in a dll file inside the VI.
can anyone help me to figure out a solution for this problem?
I am not sure what you mean by "sample time field"? Perhaps you mean that you want to control the SPI clock rate, and thus you want to write a value to LJ_chSPI_CLOCK_FACTOR?
https://labjack.com/support/datasheets/u3/high-level-driver/example-pseu...
https://labjack.com/support/datasheets/u3/low-level-function-reference/spi
You can see in the example "SPI Large.vi" that it is indeed writing to LJ_chSPI_CLOCK_FACTOR. It is set to 0 in the example.
So we can modifi this field (LJ_chSPI_CLOCK_FACTOR) !!
But what's the maximum speed we can reach with spi in Labjack U3??
A value of 0 corresponds to the maximum speed which is about 80 kpbs:
https://labjack.com/support/datasheets/u3/low-level-function-reference/spi