03-17-2018 03:41 PM
Hello Comunity,
Im Kind of new to Labview...
I'm working in a proyect with Arduino and Labview... All the arduino code is almost done... The comunication is via Serial.... I'm using VISA.
Let me explain a little bit:
Arduino Code moves a stepper motor limited by, high/low sensors...
Via Labview I send letters... "char"(Using pushbuttons and events) .. to the arduino to activate some options... No problem there....
One part of the project needs to obtain "time" from the arduino from 9 laser sensors..... just the timea little ball passes through.... (Code in arduino is done and running)...
What I cant do is save this data...Well... I actually saved it... but it sends infonon stop, so when the sensors are activated, I can see this info for a secondand then it saves in a larger Array filled with ceros (Cause, as I said It reeds non stop).
What I need is for the data start/stop reading just when I need it to...
I tried with Case.. but with no succes... I tried with an event linked to a "Runing" button.. but nothig...
Please help.. I ran out of ideas and I'm sure Im doing something wrong...
I hope u can understand me... thanks a lot!
03-17-2018 04:07 PM
There are numerous things wrong with your VI. Here are some suggestions to help you design it better:
Bob Schor