01-30-2014 01:34 PM
how to synchronize Arduino board with labview...
i m sending data like 1,2,3 with delay of 1 sec. in between them from my arduino board and i have made vi according to that ,using .net palette , every thing is working fine but i m getting output only when i press that "highlight execution" button..
look at my vi and arduino prog.
01-30-2014 01:35 PM
my VI file
01-30-2014 02:34 PM
Why don't you have a loop? Why are even using the .NET in the first place. Use the VISA serial functions. They are a lot easier to use. Here's an example for you to go by.
You have no real timing in your VI. It is obvious that you are using the Run Continuously button, which is a huge problem. You need to put a loop around where you are reading. Configure your port before the loop, read as much as you want inside the loop, and close the port after the loop.
Attached is an example using VISA.
01-30-2014 09:55 PM
sir i am an amature.. so i picked up one example of .net palette for read-write...
in your VI ....its getting default case every time.. not working properly...
synchronization is still not done...