10-09-2019 08:31 PM
10-10-2019 02:08 AM
Hi guys!!
I´m thankful for all your answers, I want to comment you that I have been studiyng the kindly modified proposed code from LucianM, the aplication functioning it good, however when it is executing the percentage for cpu achive around 97% value, is normal this behavior for the quantityof vi running at the same time (50) or I can do something to the respect.
best regards
PD. Only execute labview software application, there is no more applicaction running.
10-10-2019 07:09 AM
@EDB22 wrote:
however when it is executing the percentage for cpu achive around 97% value, is normal this behavior for the quantityof vi running at the same time (50) or I can do something to the respect.
If possible, the first thing I would do is eliminate your event timeouts. At least with your example, they weren't doing anything. What else is your code doing?
10-10-2019 08:41 AM
Hi crossrulz
What else is your code doing?
In this moment. the application only need send data, for example 4 numeric vector, 1 boolean vector and some control values, but later I need send this data to database too.
greetings!!!!
10-10-2019 10:46 AM
@EDB22 wrote:
Hi crossrulz
What else is your code doing?
In this moment. the application only need send data, for example 4 numeric vector, 1 boolean vector and some control values, but later I need send this data to database too.
greetings!!!!
As Lucian mentioned, you're sending 25000 events/sec, is that really needed?
/Y
10-10-2019 11:02 AM
@EDB22 wrote:
Hi crossrulz
What else is your code doing?
In this moment. the application only need send data, for example 4 numeric vector, 1 boolean vector and some control values, but later I need send this data to database too.
Maybe we can take a couple of steps back. Beyond this example, what are you hoping to do? Hopefully you've already found some ways to speed up your execution times when generating a large number of events across a large number of Actors, but maybe there are other solutions or paths you could take that would alleviate some of the problems or difficulties you still face?
In your example code, there are several places (e.g. Stop Notifier) where there appears to be code left from before you simplified the code to post here, but it's not obvious which bits are left from a more complicated application, and which are perhaps accidentally misplaced items from previous attempts/trials, etc.
With that situation, it's not obvious, at least to me, whether I should comment on those bits.
10-10-2019 11:33 AM
Ok.
I will treated to respond some of question.
My app should create all these vi (50), send the signal for led turn on and with this signal save the tick from while loop value for that vi, nothing more.
For Anothe hand, If there are something events that it aren´t right is because I have take examples from forums and other fonts, I have followed the propose guide or example so initally the app function correctly but now is necesary include other improves for achieve a optimall performance.
For last, the numeric and boolean vectors, it will be other forms to organize the data.
I hope I have respond your questions.
Thank you.