Jump to content

time in miliseconds


Recommended Posts

QUOTE(bayram_mercan @ Jan 24 2008, 05:57 PM)

i'm getting thermocouple data from a NI board. but also i want to get exact time like hh:mm:ss and also miliseconds. because i get 100 samples per second. how can i do that? also why my task gets last 100 data?

You're getting 100 samples back because that's how many you've configured the DAQ assistant to return. I suspect that 100 samples is the default and it wasn't changed.

I'm not sure what you're looking to do with getting the exact time. Are you looking to have a timestamp for every sample? For the start of the data? For the end of the data?

Link to comment

QUOTE(bayram_mercan @ Jan 25 2008, 07:31 AM)

i mean if i take signal for 5 seconds, i want to get 500 values. but i get last 100 sample values.

for the time, i wnt to get the exact time for each sample value.

Converting the dynamic data type to a waveform will provide you t0 and dt. From there you can get the array you're looking for.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.