LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview visa getting slow when connected to arduino

Solved!
Go to solution

Sounds Awesome !!!

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 21 of 24
(875 Views)

my labview is now fast...and this is using event structure. and u know my arduino program was continously writing serial n thus was busy doing that. now since i removed that code n stuffs are working much better...

now last my problem is that i want the i want to make an event occur iinside the event using led outside the event structure..i have attached my prog. i want to click tone select led only for two seconds n want to transmit that particular code for two seconds and remaining codes continously....

means i want to control an event from led outside the event structure

0 Kudos
Message 22 of 24
(845 Views)

images attached are: and prog in labview 7

Download All
0 Kudos
Message 23 of 24
(844 Views)

I spend some time trying to clear your code. There are still a lot to do, but I don't have more time to day.

 

There are two problem as I can see it:

The inner While loop is not good.

In one of the inner Case structures with option 99 I think there is an wire wired wrong. 

Your need to think a lot about all those feedback nodes. Think about where your are taking the data from, the current data (before the node) or the old data (after node).

And all the inner case structures and feedback nodes can, and should be change with sub-vi and arrays with a replace array element. I can hopefully show you that tomorrow.

 

 

Take a look.

0 Kudos
Message 24 of 24
(823 Views)