03-03-2006 04:25 AM
03-03-2006 04:36 AM
To change the direction of an item, right click on it and select change to control or change to indicator, in order to read from an indicator or write into a control, you can use local variables, but you will have take care of race conditions.
Hope that will help
03-03-2006 04:48 AM
Not really, maybe I didn't explain my question enough.
Suppose the next VI.
Start with continuous run...
The array will be load from the txt-file and immediately I would like to edit it and save it back.
(So not stop the VI running en rightmouse --> change to control)
03-03-2006 05:17 AM
03-03-2006 05:51 AM
Thx, the local variable helped me a lot.
Read and afterwards write is possible now.
The only thing I still don't know is that after I read in the array,
I want to update this array.
So, first the array has to be read from the txt-file in the array.
And than I want to edit/update THIS array (so starting from the array I just read from the txt-file)
and afterwards save it...
03-03-2006 06:23 AM
You can either append new array data into the existing txt file or you can read teh txt file, use array functions, ( like insert to array, delete from array, replace array elements) found on functions palette and edit/update the array
hope this helps
regards
dev
03-03-2006 06:23 AM
You can either append new array data into the existing txt file or you can read the txt file, use array functions, ( like insert to array, delete from array, replace array elements) found on functions palette and edit/update the array
hope this helps
regards
Dev
03-03-2006 06:38 AM
Yeah, but it would be nice if I could immediately update/edit on the just read out txt-file.
So not just replace or add an element but the array that I can edit the array displayed
as an indicator directly...
But regarding to your reply, it sounds impossible...
However thx for your reply.