11-28-2011 01:51 AM
Hi all
I created the project with 40SVE.
Then I created the Property Node for the every SVE (analysis Hi & Lo level).
But the analysis Hi & Lo level 40 SVE is perfomed more then 6 sec.
Why is so long?
Regards
Iskander
11-28-2011 02:13 AM
Can you attach the actual VI instead? Thanks!
11-28-2011 04:02 AM
Thanks
I send the past of my VI.
I found that the SharedVariableIO do this delay
Regards
Iskander
11-28-2011 04:44 PM
Hi Iskander,
Does this delay occur for all of your shared variables? I see that some of your variables are pulled from your computer, and some are pulled from the network. Does the delay only occur for those variables pulled from your network? Thanks,
11-29-2011 01:12 AM
Hi Julianne K
Thanks
I work without network
Now all variables are on My Computer.
The My Computer is localhost.
And this delay occur for all variables.
I notice that the delay for the analysis (Hi & Lo)6 variables is 1 sec averaged.
My computer is Pentium i5.
Regards
Iskander
11-29-2011 03:46 PM
Hi Iskander,
I have tested your method of reading the properties, and was not receiving the same delay. However, a delay may be caused by poor connectivity to the shared variables. Unfortunately, I was receiving errors when running your program with my shared variables. Are you sure that the delay is due to the property nodes themselves and not the loops? How have you tested this? Also, on a higher level, what are you trying to do with your program?
11-30-2011 06:23 AM
Hi Julianne K
I created new VI when I measure time between two cycle While Loop.
This time delay is more then 3 sec.
It is very many time for the analysis 15 signals.
My task next:
I have many devices from which I received 10-15 signals and every signal has 1-2 levels.
Respect
Iskander
11-30-2011 11:47 AM
Hi Iskander,
First, try initializing your shift register to zero. With it non-initialized, every time you run the while loop, your array will grow, and each iteration will take longer and longer as your array grows. Does this improve you performance?
If not, can you provide me with your Format Alarm Data.vi (or did you use the one from the shipped examples?).
11-30-2011 02:57 PM
Hi Julianne K
Thanks.
My Project has initializing shift register to zero.
Format Alarm Data.vi is from the shipped examples.
I think that the delay do the Property Node "SharedVariablesIO".
Respect
Iskander
11-30-2011 05:28 PM
Hi Iskander,
The program you sent me did not have the shift register initialized to zero, did you add this afterwards? I do not think that the Shared Variable I/O node is the cause of the delay. I tried this on my computer and the property node did not have a delay. Also, it is far more likely that the parts of your program that cycle through arrays, such as the for loop to the far left and the Format Alarm Data subVI take more time. I would recommend that you try timing different parts of your code to determine the source the delay. An example benchmarking VI that can help with this can be found here