05-16-2017 04:48 PM
05-16-2017 10:18 PM
Your Express VI is not in the loop. You must have placed it outside the loop and used the arrow keys to move it over the loop rather than using the mouse to drag it into the loop.
Drag to an area outside the loop. Then drag it back in. Then you can connect it.
05-24-2017 06:05 AM - edited 05-24-2017 06:05 AM
Thank you for reply Ravensfan and sorry for my late response.
Your advice worked, but then I got the following error from the express VI:
Analysis: The number of samples must be >= 2.
So I have looked at using linearFit.VI and creating a time array from the size of the history property node.
It seems to be working , but I should test it today...
Thanks
Alex
05-26-2017 07:34 AM
Well, it only worked for a graph plotting one signal... Once there were two or more signals and the history node became a 1D array of clusters, where each cluster was one measurement and the cluster contained 2 or more elements (1 element for each signal) it didn't work.
I have the following solution, but its not very neat. In particular, i would like to know if there is a better way of converting the 1D array of clusters to a simple 2D(2 column in this case) array.
Thanks for any advice.
Alex