LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino + LINX SPI communication

Hey yall,

Im working on a school project using an arduino and the linx firmware. I've got the environment working switching relays and such but Im stuck on getting the SPI communication to work. I have a 4 digit 7 segment array I got from sparkfun that accepts SPI data to display characters. I got everything wired up just fine and I can send data but I cant make sense of what is actually happening on the labview side.

More specifically, creating a control for data input gives this

Capture1.PNG

but I dont understand what this is or how it is sending data. The linx SPI config block (which I have setup mostly correct...I think) has the parameter for SPI frame size but so does the write read block...so which do I use (and what does it mean by frame size)?

Ultimately I want to send a 4 digit temperature reading from a thermistor block to the display but obviously I'm new to labview as well as SPI communication. I'm familiar with decimal, binary, hex, etc... but I wont have access to an oscilliscope for another week so I cant really probe whats going on here. Any guidance yall can provide would be greatly appreciated!

The information for my sparkfun display can be found here.

They have a new version that also has I2C capability but mine does not so I am stuck with SPI.

0 Kudos
Message 1 of 6
(6,119 Views)

This forum is for LIFA.  If you are using LINX, I recommend that you post in the LINX support forums.

0 Kudos
Message 2 of 6
(4,163 Views)

I was using LIFA before I found out that LINX is the newer version. As far as I can tell the SPI blocks are similar between the two besides the icon image.

Message 3 of 6
(4,163 Views)

Where is this fabled LINX forum you speak of?

0 Kudos
Message 4 of 6
(4,163 Views)

MitchA wrote:

Where is this fabled LINX forum you speak of?

The main overview page of this community has a description and link for LINX.  There is also a "Featured Discussion" at the top of the Discussions page here that goes a little more indepth with more links.

0 Kudos
Message 5 of 6
(4,163 Views)

ahhh, already there.  I was here on NI looking.  Thanks Nathan.

BTW OP did you ever get this working?  Im about to attempt it as well..

0 Kudos
Message 6 of 6
(4,163 Views)