Data Acquisition Idea Exchange

About Data Acquisition Idea Exchange

Have an idea for new DAQ hardware or DAQ software features?

  1. Browse by label or search in the Data Acquisition Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see implemented!
Top Authors
cancel
Showing results for 
Search instead for 
Did you mean: 

Make First Sample Timestamp Property Writable

The DAQmx API is extremely useful; one especially useful part of the API is the automatic logging feature. This part of the API is efficient, easy to set-up, and largely bug free, well-done NI.

 

One problem with the automatic logging feature is the value of the t0. This value is determined by the system clock, which is the clock onboard the controller. A lot of PXI systems have the ability to use GPS modules or other timing modules. It would be good to use this clock instead.

 

In NI-Sync we can create an event at a specific time and use this to trigger the DAQmx data acquisition. It would be nice to use this "event time" instead of the system clock. There is a property in the DAQmx Timing Property Node, under Advanced, called First Sample Timestamp:Value Property. However, this property is read only, please change it to writable also. In this case we can then write an exact GPS time start to the data acquisition.

 

Below is one simple use case of the property node.

 

mcduff

snip.png

 

 

 

4 Comments
Member

Sounds a useful feature.  Why not?

Roger.

Knight of NI

Maybe more useful would be a timestamp source property.  Then you could have it based on a GPS module or some other clock source.  Though, more useful would be a way to have the system clock sync to the GPS module.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Active Participant

Maybe more useful would be a timestamp source property. Then you could have it based on a GPS module or some other clock source. Though, more useful would be a way to have the system clock sync to the GPS module.

Trying to change the system clock requires Admin privileges on Windows, along with a dialog confirmation. But I agree it would be nice to be able to do that. Maybe NI can add some sort of configuration for MAX that allows that. The only other idea I have is to create events based on a GPS clock, like an alarm clock.

 

mcduff

Knight of NI

What I have started doing is using a GPS Time Server and setup Windows to synchronize to it.  It is a one-time setting ("Internet Time") and you are always good from there.  This is where I am getting that I wish NI's modules could be used to simply synchronize Windows time to the GPS time.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines