Hi,
first, thanks for your reply.
The vi is to complex to post (it's a vi that drives measurement equipment, DUT's,...) but the problem simply comes down to the small example that I posted. The posted vi works but what I have in my vi is the about the same but here, the "replace array subset" doesn't work (it is not reproduceable). I can reproduce it on my PC because the version that has the problem is still checked in in source safe. When I get it for VSS and run it, I have the problem. When I simply do the following things, it is solved:
description of the vi:
In my first sequence, I initialise my array of 2 elements to 0.0 (you can see this because they are not grayed out). Then, a few sequences later, I want to replace the first element with 2.0 and the second with 20.0 but it doesn't do that.
"solution":
When I simple change something to the initialization (like, initialize is with 999.9 instead of 0.0 of give it a length of 3 instead of 2), it works. When I then put the original code back (initialization of the array with a length of 2 and values 0.0) it still works and continues to work. I never saw that before.
I encoutered the 'bug' of replacing the "replace array subset" vi with itself by accident when I was looking for my problem (I was guessing what was going on so I just tried some things...). I was thinking that maybe when I "renewed" the vi that was causing the problem, it could work but then I saw that the two terminals just switched.
Hope this gives you a better Idea,
best regards,
Marino