bayram_mercan Posted January 25, 2008 Report Share Posted January 25, 2008 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? Quote Link to comment
Tim_S Posted January 26, 2008 Report Share Posted January 26, 2008 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? Quote Link to comment
bayram_mercan Posted January 26, 2008 Author Report Share Posted January 26, 2008 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. Quote Link to comment
Tim_S Posted January 27, 2008 Report Share Posted January 27, 2008 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. Quote Link to comment
bayram_mercan Posted January 29, 2008 Author Report Share Posted January 29, 2008 QUOTE(Tim_S @ Jan 26 2008, 05:44 PM) 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. thank you for the help. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.