12-04-2018 04:20 AM
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
12-04-2018 09:37 AM - edited 12-04-2018 09:43 AM
@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.
12-07-2018 11:17 AM
Here is a pretty good start without using LINX.