LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two Arduinos in a single Labview VI

Hello, 

I want to Make a labview program which takes the data from two sensors attached to an arduino uno each. So I have one arduino per sensor. By using linx is it better to have two sensors in two arduinos than having two sensors in one arduino in order to achieve higher sampling rate ? 

And one other question. Is there a way to achieve baud rate higher than 115200 with arduino (mega or uno) in a labview program with linx? Because in arduino IDE I can. 

 

Thank you 

0 Kudos
Message 1 of 3
(3,225 Views)

@canye23 wrote:

Hello, 

I want to Make a labview program which takes the data from two sensors attached to an arduino uno each. So I have one arduino per sensor. By using linx is it better to have two sensors in two arduinos than having two sensors in one arduino in order to achieve higher sampling rate ? 

And one other question. Is there a way to achieve baud rate higher than 115200 with arduino (mega or uno) in a labview program with linx? Because in arduino IDE I can. 

 

 

Thank you 


I am not sure what your issue is here? Do you just want faster communications than 115200 baud?

 

you do know that the serial baud rate has nothing to do with the rate the Adrunio can read a sensor, right?

 

Anyway you do not have to use LINX to use an Arduino with LabVIEW. Simply write your Arduino sketch in native Arduino code and communicate with it using VISA the same as you would with any other instrument connected through a (virtual) serial port using LabVIEW.

 

Chances are a native Arduino code sketch will run faster than LINX if sensor update is really that important.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 3
(3,188 Views)

Here is a pretty good start without using LINX.

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 3 of 3
(3,158 Views)