Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
6 ratings:
 4.66 out of 5   

Using the DAQmx Task Timeout Property in Visual Studio

Primary Software:
Primary Software Version: 8.3
Primary Software Fixed Version: N/A
Secondary Software: N/A

How can I set the timeout on my DAQmx task in Visual Studio?

You can configure how long your task waits by setting the Timeout property on the DaqStream class.

myTask.Stream.Timeout = 1000; // Wait for 1sec

Setting this property to (-1) will allow you to wait indefinitely. The syntax will be slightly different depending on if you are using VB/C/C# etc..

Related Links:
KnowledgeBase 336EKTKD: Why Do I Get Error -200284 When I Set a Small Sampling Rate in DAQmx?


Report Date: 03/16/2007
Last Updated: 07/28/2009
Document ID: 47FA4USN

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit