08-13-2008 03:29 PM
08-14-2008 08:16 AM
08-14-2008 08:34 AM
08-14-2008 11:12 AM
Hello Johu,
The SPI Read Write vi has a data write input which takes in an array of bytes. If you want to ONLY read 16 bit, you have to put an array of 2 bytes which are 0. Since SPI is a full duplex protocol, it will send 0x00 0x00 and receive 16 bits at the same time.
Usually, you send a command before reading. So, you would send a total of three bytes, the first one being your command. The first byte returned would not contain any data, since your device is reading the command. The 2 last bytes would contain your data. So:
Bytes Sent Bytes Read
CMD 0 (or should be 0)
0 Data1
0 Data2
You can download these test panels and try to using them to send your commands and read your data.
Please let me know if any of this is not clear or if you need more help with this. Have a great day.
08-14-2008 12:27 PM
08-15-2008 11:31 AM
Hello Johu,
You only need the LV 8.5 runtime to run the executable.
I attached the 8.0 version of the VI. Let me know if you have any questions.