03-09-2014 08:37 PM
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
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.
03-09-2014 10:14 PM
This forum is for LIFA. If you are using LINX, I recommend that you post in the LINX support forums.
03-10-2014 05:18 PM
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.
02-09-2015 06:00 PM
Where is this fabled LINX forum you speak of?
02-09-2015 08:25 PM
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.
02-10-2015 02:46 PM
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..