LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading SPI of MAX31855

Solved!
Go to solution

Well, until you get an Arduino and the thermocouple sensor, you won't be able to know if it's working.  The only thing that you can definitively know is that the code compiles (which wasn't the aforementioned issue).

0 Kudos
Message 101 of 131
(3,028 Views)

I will update, if I have the materials.

nms28 wrote:

Basically my setup is really simple for the moment. I connect the MAX31855 Adafruit board to the Arduino Uno and I want to take measurements using Labview. I don't have a specific VI I have been trying the ones posted on this forum but with no luck. I don't understand how some people managed to make them work. Is there a trick to it as it uses a custom firmware? Thank you for your time!

I believe we are doing the same project, except that I will use three wireless arduino.

0 Kudos
Message 102 of 131
(3,028 Views)

Hi everybody,

has anyone ported this to LINX yet?

Or is anyone using MAX31855K Amplifiers with LINX?

Best regards,

Jan

0 Kudos
Message 103 of 131
(3,028 Views)

do you have a link to the device you are talking about?

0 Kudos
Message 104 of 131
(3,028 Views)

Dear LexLuther422,

LINX is not an device but the predecessor of the LIFA (LabView for Arduino) Framework. This new Framework has been completely rewritten to support a broader range of OpenSource Hardware such as the Digilent Boards, the Arduino Family and the NI MyRIO.

However, as the Framework has changed, I was asking if someone allready ported this to the new LINX-Framework. Please find more Information about LINX on:

https://www.labviewmakerhub.com/doku.php?id=libraries:linx:start

Best regards,

Jan

0 Kudos
Message 105 of 131
(3,028 Views)

I cannot install Ver. 2.0.0.90 on my machine I only have LV11 I can install 1.0.0.59 but i'm not sure that is much use to you.

0 Kudos
Message 106 of 131
(3,028 Views)

kleingasturbine wrote:

LINX is not an device but the predecessor of the LIFA (LabView for Arduino) Framework.

For clarity, LINX is the successor of LIFA (aka LINX is the newer), I'm guessing that is what you meant.

0 Kudos
Message 107 of 131
(3,028 Views)

LINX is developed in 2011 so you can certainly install it if you want.  In fact, I hadn't updated to the latest version yet.  So, I just installed it in LabVIEW 2011.  You can simply install via VIPM (it will download it and get the dependencies automatically for you).

0 Kudos
Message 108 of 131
(3,028 Views)

Dear Nathan,

do you believe it would be possible to write LabView code for the Max31855K using LINX without the need for custom FW? Looking at the LIFA FW you provided for this instrument amplifier I dont see why that should'nt be possible!? But before I'm investing my time I would realy like to get your opinion, cause I do not 100% understand why you stated earlier in this thread that the Max31855 has a non standard SPI protocol? I know that the thread is a little old and maybe we should move it to MakerHub but hopefully you remember some of your thoughts from back in the days of 2012.

Thanks for the help,

Jan

0 Kudos
Message 109 of 131
(3,028 Views)

I really can't remember anything about this thread lol.  If I ever posted code (that actually works), I might be able to figure it out.  Let me know if you find one of my posts that contains working code.

Unfortunately, I think this is one of those threads that some people could get it to work and others couldn't.

EDIT:  I was able to find one of the things I posted quickly.  It looks like I had to use Arduino-based functions to accomplish the task so, if you wanted to do it this way again, you would have to add a custom function to LINX.  However, the datasheet/documentation claims that it is SPI-compatible and the fact that Sam improved the SPI functionality (IIRC) in LINX, it might be possible to do it in LINX using the SPI VI's.  But, I've not used SPI in LINX (or SPI all that much to begin with) so I couldn't say one way or another.

Sam might be able to answer the question with good look at the datasheet (meaning, you should post on the LINX forums).

0 Kudos
Message 110 of 131
(3,028 Views)