Sign in to follow this  
benndorf

Logging problem BasicCounter.ctl with U12

Recommended Posts

I am using a Labjack U12, measuring frequencies from a homebuild QCM (quartz crystal microbalance) pruducing TTL  rectangular signals 0 -5 V.

I used the „BasicCounter.ctl“  with modification for my problem.  I included in the page 0 a 2D graph, demonstrating the number of raw counts vs. time, which is working perfectly.

With the logging into csv files I get the raw counts correctly, but not the time scale, which should change from seconds to seconds.

What could I do to get with the logging a correct time scale?

I include my modified „BasicCounter new.ctl“ and a screenshot from page 0

I appreciate very much your comments.

Kind regards

Carsten

 

BasicCounter new.ctl

Logging Counter.jpg

Share this post


Link to post
Share on other sites

image.png.d4c10b9643c7971bb85795eecbd9d21a.png

This is part of the Logging file. It contains the correct counts. But the Time scale is not changing. I need qa logging of both: Counts versus time. How cab I obtain this?

The 2D display during measuring depicts correctly counts versus time.

Share this post


Link to post
Share on other sites

That is Excel time, which is decimal days since 1900.  If you format the column as Date/Time it will show correctly.  It is actually changing, it is just changing in like the 6th decimal place.  Make sure you have the precision of your logging set time set to like 15.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this