LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

LINX AND LIFA

is it possible to use linx and lifa (labview interface for Arduino) at the same time in labview?

thank you in advance for answering

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

No,Just use LINX.You will be happy.-B

From: Matt_McLaughlin <web.community@ni.com>

To: barddya <barddya@yahoo.com>

Sent: Sunday, March 6, 2016 11:01 AM

Subject: Re: - LINX AND LIFA

|

|

NI Community

|

LINX AND LIFA

reply from Matt_McLaughlin in LabVIEW Interface for Arduino - View the full discussionis it possible to use linx and lifa (labview interface for Arduino) at the same time in labview? thank you in advance for answering

Reply to this message by replying to this email -or- go to the message on Community Start a new discussion in LabVIEW Interface for Arduino by email or at Community

0 Kudos
Message 2 of 5
(4,526 Views)

LIFA shouldn't be used at all.  It is old, outdated, and unsupported.  LINX is the replacement and allows for better scalability and modularity.

Long Answer:  Both LIFA and LINX use a specific sketch to act as the "firmware".  The firmware is responsible for all Arduino-side execution.  Only a single sketch can be loaded onto an Arduino at a time and therefore it is technically impossible to run both LIFA and LINX on the same Arduino at the same time.

Is there something specific you are trying to acheive that made you ask this question?

Message 3 of 5
(4,526 Views)

I've noticed that with the LIFA Init.vi (Under the Arduino palette) you can create an Arduino connection without connecting any Visa to the Arduino Init. It will start automatically looking for the correct comport number.

(The Arduino must have the corresponding firmware loaded for LIFA to operate)

In the LINX OpenSerial.vi (Under the Makerhub/Linx palette) you need to select the correct Visa comport to operate.

Secondly with LINX it will take a considerable amount of time to establish a connection with Arduino board.

(The Arduino must have the corresponding firmware loaded for LINX to operate)

Is there a way to use the LINX OpenSerial.vi without selecting the Visa comport for setting up a connection automatically with the Arduino board ?.

Message 4 of 5
(4,526 Views)

It's possible to do it but it is unreliable and doesn't work in the context of LINX because of all the different hardware with which it interfaces.

Those two reasons are why that feature was removed. However, you can create your own VI that does the VISA search for you (you can extract the code

from LIFA and use the VISA resource that you found as the input to OpenSerial.vi).

Message 5 of 5
(4,526 Views)