|
Prev: PSK simulation exercise
Next: front panel is frozes
From: altenbach on 7 May 2008 15:40 appforce wrote: Here is the VI. You have to be kidding! You have a huge file and... - read it line by line in a while loop - monitoring file positions - with each iteration converting two data points to a 2D array (!!) - followed by indexing out the two values with two seperate index nodes - form an xy cluster - built a cluster array at the loop boundary - bundle the array - make the cluster into an array with one huge element - feed it to a 2D graph. - Surround everything with a useless sequence frame! Point 7 and 8 are completely useless, you can wire the output from the indexing node direclty to the graph terminal. Try it! There is a primitive to read such files in one step. The following code does exactly the same <img src="http://forums.ni.com/attachments/ni/170/321901/1/readPlugin.PNG"> Message Edited by altenbach on 05-07-2008 12:11 PM readPlugin.PNG: http://forums.ni.com/attachments/ni/170/321901/1/readPlugin.PNG plugin2_MOD1.vi: http://forums.ni.com/attachments/ni/170/321901/2/plugin2_MOD1.vi |