03-14-2017 06:46 AM
Good Morning,
I was working on my VI for a while and with some help I reached my first goal by representing my data that i'm receiving it into intensity graph.
i'm using an Arduino UNO to read my data from sensor sheet (rows and columns 4X4).
I connected the Arduino through USB to the laptop and used VISA to read my data from VI and display it over intensity graph and 2D array.
please check the picture attached.
what i want now is
understanding the idea of handshake between arduino and LabVIEW. (such as master and slave idea, and make the LV the master while the Arduino is the slave).
in this case i can make the LV ask the arduino to send the data when he needed not just pushing data through VISA.
my iteration takes 1.6 seconds due to the program on Arduino
second thing
how I can divide the GUI to be two windows,
so can I divide the Front Panel to display what I want individually ?
Thanks
Solved! Go to Solution.
03-14-2017 06:58 AM
Hi N.,
1. my iteration takes 1.6 seconds due to the program on Arduino
Use a different sketch for your Arduino part: use/create a sketch that reacts only on commands of your LabVIEW master…
2. how I can divide the GUI to be two windows
Learn about producer-consumer scheme.
Or atleast use notifiers/queues to send data to a parallel running loop…
03-24-2017 04:14 AM
GerdW,
thanks for your advise, now i have a VI with several subVIs
Regards,