LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send information from labview to arduino

Solved!
Go to solution

Wondering,

 

is there a block that i can send inputs from labview into arduino to control say a PWM of a motor?

 

I dont want to use LIFA was hoping to do this over com ports

0 Kudos
Message 1 of 7
(2,416 Views)
Solution
Accepted by topic author xxAddictionxx

Hi xx,

 

yes: VISAWrite!

 

You need to implement a sketch on your Arduino that is able to handle your request…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(2,408 Views)

Hello,

 

I'm using lifa for a while and I think that it is well done. So I don't understand why you dont wanna use it.

 

"I dont want to use LIFA was hoping to do this over com" -Lifa is a serial communication. 

 

Use it as a template and modify it. It better and faster.

Be,

Jorge Amaral

 

Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 3 of 7
(2,392 Views)

LIFA is well made. I have used it and had much success with it. 

 

However for transportability LIFA is not so simple when other people do not have it installed and want to stay away from it because of the lack of understanding. 

 

Thus the main reason for Arduino is transportability and not having to download any extra addons.

 

0 Kudos
Message 4 of 7
(2,387 Views)

Hi,

 

what about the MakerHub Linx project? Isn't it a solution for you?

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

 

Regards

Kay

0 Kudos
Message 5 of 7
(2,373 Views)

Do not bother answering here as the OP has written yet another post on the same topic!

 

https://forums.ni.com/t5/LabVIEW/VisaWRITE-to-Arduino/m-p/3847263/highlight/true#M1089006

0 Kudos
Message 6 of 7
(2,352 Views)

@kaba2005 wrote: what about the MakerHub Linx project? Isn't it a solution for you?

Linx is just a newer version of LIFA.  So it does not exactly meet what the OP is after.

 

But, yes, use VISA Read and VISA Write to read and write data from and to an Arduino.  You will need to create your own serial message protocol and implement it on both ends.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 7
(2,351 Views)