lpriegue Posted April 16, 2015 Share Posted April 16, 2015 Hello all, I have set up a timer, configured as a quadrature from LJControlPanel. (Labjack U6) Everything works well, but with the DAQFactory I am not able to graph the data, just the last value obtained. The expression that I use is the following: (timer input=count) (count[0] - count [1])/(count.Time[0]-count.Time[1]) Could anyone show me how can I graph and export the history data and not just the last value? I know I have to play with and without [0] but I can not see the solution Many thanks for your help Best regards Luis Priegue Link to comment Share on other sites More sharing options...
AzeoTech Posted April 16, 2015 Share Posted April 16, 2015 When you put [0] or [1] that means you are only getting the last value or so. For graphing you need to use all the history. Change your expression to: (count - count[1, 100000]) / (count.time - count.time[1,100000]) Link to comment Share on other sites More sharing options...
lpriegue Posted April 17, 2015 Author Share Posted April 17, 2015 That works pretty well, thank you so much. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.