Long-term Graphing


Recommended Posts


I am about to start a project where I need to be able to view a force-displacement, force-time and displacement-time graph on the DAQfactory software. I will have 3 x Labjack T7 to set up 9 stations. So I will be looking at 3 graphs per station which mean I will have a maximum of 27 graphs running in the software. I need to be able to test up to 28 days (data-logging and graphing) and it could sometimes be with multiple stations simultaneously. I primarily want to press a button and start the testing, then all the graphing from the start till the end (up to 28 days) needs to be viewable on the page. Do you see this as a limitation in the software?

Look forward to hearing from you.

Thank you!

Link to comment
Share on other sites

So you want the bottom axis graph to be zoomed initially, then expand to 28 days as new data comes in?  This is not an issue, but does require you to change the X axis scaling parameters accordingly and not use the Time Width feature

Also note that 1 second data over 28 days is a lot of data, 2.4 million data points in fact.  Because of memory limitations, you will need to use the Persist feature of the channels to offload some of the data.  Accordingly, you will need to set the Y Expression of the graph to subset so that persist data is accessed.  For example:

myChannel[bottomaxis.currentScaleFrom, bottomAxis.currentScaleTo]

Change "myChannel" to the name of your channel.

The "bottomAxis.currentScaleFrom" and To are variables of the graph that return the current scale from / scale to values used in generating the graph.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.