10-08-2012 03:34 AM
I want to simulate SPI slave device using Arduino interface and Labview.
I never used Arduino device, So can anyone confirm or suggest : using Arduino interface i can simulate slave device.Please note that in this case, I will use an external clock which will come from a master.
Thanks in advance.
10-08-2012 10:41 PM
In the context of LIFA, Arduino is the slave of LabVIEW and therefore any device connected to the Arduino (that you want to get info into LabVIEW) must be a slave to the Arduino (and therefore Arduino is the master to a SPI device). If that doesn't make sense then I don't know what you are asking.
10-09-2012 12:18 AM
Hi Nathan,
I have a device which works as master and it is connected with 8 other slave devices and these are control by Master device. I want to simulate slave devices in the labview. In our application CKL is only with master devices.
We had purches NI 8454 SPI device but it behaves only master in the network. Thats why we are looking interface tht behave like slave.
Anticipiete your kind of co-operation.
10-09-2012 06:44 PM
As I said before, when using LIFA, Arduino is a slave to LabVIEW and therefore cannot be a slave to another device. I'm not sure if what you want is possible. If it is possible, I know that you would not be able to use LIFA and would require you to write all custom code for both Arduino and LabVIEW.
The first thing that I would do, if it was me, is see if I could find any Arduino native code that makes Arduino an SPI slave. Then, if that actually works, I would consider converting it to work with LabVIEW (if it's possible at all).
10-11-2012 04:03 AM
Hi there,
I recently found a fantastic page that explains how to set up an Arduino as SPI Slave device.
http://www.gammon.com.au/forum/?id=10892
You could run some custom code on the Arduino and have it send Information via its USB Interface to LaBView. But as Nathan said this would not come out of the Box.
Best regards,
Jan