Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 3 out of 5     Rate this Document

How is the Timeout Specified for the "Wait on..." I/O Method Node Under FPGA Specifying Timeout

Primary Software: LabVIEW Modules>>FPGA Module
Primary Software Version: 1.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Reconfigurable I/O (RIO)>>R Series>>PXI-7831R

Problem:
When specifying the timeout on the wait on rising edge, falling edge, any edge, high level, low level, there's no information in LabVIEW 8.2 or earlier on what units you use. What units do I use?

Solution:
Timing is in ticks, based on the board clock (40MHz by default - alter under the fpga target options). The number of ticks can be determined by multiplying the board clock by the timeout. So a 100ms timeout would be 40,000,000 x 0.100 = 4,000,000 ticks.

A value of 0 causes the method to timeout immediately.  A negative value causes the method to wait indefinitely until an edge or level is detected.

Related Links:

Attachments:





Report Date: 10/28/2004
Last Updated: 04/24/2008
Document ID: 3ER3EAXZ

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