Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

How to get 1kHz sampling rate?
Hi guys,
 
using the following VI, I'm unable to write 1k samples/second in my measurem
ent file, it ends up with little more than one sample/second. Changing the t
ime delay in the while-loop to a lower value helps nothing, I get less data 
points then. To be more exa
ctly, I get more points but most of them contain zero values and are unusabl
e.
I specifically talk about the 3th and 4th flat frame, the first one is allri
ght because it has different requirements.
 
Thanks in advance


Messapplikation.vi:
http://forums.ni.com/attachments/ni...sapplikation.vi

Report this thread to moderator Post Follow-up to this message
Old Post
ReBoot
04-01-08 01:12 PM


Re: How to get 1kHz sampling rate?
Hi ReBoot, have you tried with setting the "number of samples" count for tho
se "DAQmx Read" operations? Usually you shouldn't need the "Wait" function a
s the DAQmxRead will have to wait for the number of samples...


Messapplikation.vi:
http://forums.ni.com/attachments/ni...sapplikation.vi

Report this thread to moderator Post Follow-up to this message
Old Post
GerdW
04-01-08 01:12 PM


Re: How to get 1kHz sampling rate?
So I'd have to get the user input for the run time and multiply that by 1000
 to get the number of samples? Will try that tommorow (I have LV only at wor
k and I'm at home now).

Report this thread to moderator Post Follow-up to this message
Old Post
ReBoot
04-01-08 01:12 PM


Re: How to get 1kHz sampling rate?
Using the Read VI itself to time the measurement (numberofsamples=samplerate
*desiredtime) is good, thanks!

Where do I rate?

Report this thread to moderator Post Follow-up to this message
Old Post
ReBoot
04-03-08 01:39 PM


Re: How to get 1kHz sampling rate?
Hi ReBoot, you may rate once you have a minimum of 50 posts to the forum...

Report this thread to moderator Post Follow-up to this message
Old Post
GerdW
04-03-08 01:39 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

LabVIEW archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 12:49 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.