Jump to content

Timestamp for each data sample with DAQ


Dniz

Recommended Posts

I am building an application which requires data from DAQ card. The values are successfully read from the DAQ card, but I need to capture the time when every single value is captured. I am midifying my aaplication from the one channel oscilloscope Vi from the example library. The current method i use is by dividing thye difference of time from each loop and the next loop with the sampling rate and incrementally add the time to the initial time. I am attaching the VI for convenienceof debuging application. Hope some one can offer a helping hand.

Download File:post-817-1105947923.zip

Link to comment
I have done a similar thing, only I stamped the time and five readings. see the code at http://forums.lavausergroup.org/index.php?showtopic=1060&hl=

The basic idea I used was to count miliseconds and insert that into the array of other readings before writing to a file.

Good luck

James

3614[/snapback]

I wonder whether the attachment you uploaded is a working VI? Coz I am a student. When I want to test my VI, I need to access to the lab to verify with the DAQ card I am using. Thanks for the help any way, what I want to do is very much similar to what you did, except for the motor part. :D :thumbup:

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.