LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino as a slave Device

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.

0 Kudos
Message 1 of 5
(5,963 Views)

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.

0 Kudos
Message 2 of 5
(3,708 Views)

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.

0 Kudos
Message 3 of 5
(3,708 Views)

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).

0 Kudos
Message 4 of 5
(3,708 Views)

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

0 Kudos
Message 5 of 5
(3,708 Views)