cooky Posted February 18, 2005 Report Share Posted February 18, 2005 Hi everyone, I've got a 1D array of data that updates a chart every 60 seconds (see attached JPEG). I want the chart to show a smooth line (currently at 78 on y axis), rather than falling back to 0 between each update. Basically, I want to get rid of the 'saw tooth' effect. At the moment, I have just wired a waveform chart to source data. Can anyone please help me?? Cheers, Cooky Quote Link to comment
didierj Posted February 21, 2005 Report Share Posted February 21, 2005 As it seems, when you get the data from your source, you get an array with one valid value (78) and the rest 0's. Extract the valid value of your array (If you are lucky it's on first or last index of your 1D-array) and wire just this sole value to the chart. To find where the value is in you array run your acquisition just once and wire it to your chart. The index is the x-value of your chart. Then put in your loop an Index Array from the array palette to extract the valid value. Didier Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.