05-20-2014 07:49 AM
hey,
thanks for the information. you are right.....I tried the way you told me but unfortunately my problem is not solved (i.e. it writes 11 values for each second in text file and file is getting bigger).
05-20-2014 08:32 AM
Probe the string output from the VI that converts the array of frames into a string. If the array of frames only has 1 frame in it (which it should, add in an index array to grab the first frame if you didn't before) it should only write 1 line for each iteration of the while loop.
Also, your inner case structure is unneccessary. The outer case structure tests for how many frames are available, the inner one tests for how many are returned. That number should always be the same (in fact, the value it reads is probably the same location and just gets passed through ncReadNetMult).
05-20-2014 09:34 AM
Hi,
array has 11 frames in it I modified the NetClusterArrayToString.vi so that it will convert only 1 frame to string. The display on frontpanel shows 1 value per second but when I write the same string to a text file it writes as before......
05-21-2014 06:00 AM
Can you post your code?