Get I/O Write Status Function

LabVIEW 2018 FPGA Module Help


Edition Date: March 2018
Part Number: 371599P-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 FPGA Module Help
LabVIEW 2017 FPGA Module Help
LabVIEW 2018 FPGA Module Help
LabVIEW 2019 FPGA Module Help
LabVIEW 2020 FPGA Module Help

Owning Palette: User-Controlled I/O Sampling Functions

Requires: FPGA Module

Reports the status of written output from the I/O items.

Details  

error in describes error conditions that occur before this node runs. This input provides standard error in functionality. If error in does not equal No Error, the value of error in passes to error out and this function does not execute.
FPGA I/O In is an optional input that allows you to specify the FPGA I/O item to read or write using an FPGA I/O control or constant. To use an FPGA I/O control as a connector pane input, the FPGA VI must be configured for reentrant execution.
error out contains error information. This output provides standard error out functionality.
FPGA I/O Out returns the FPGA I/O In.
Data Regenerated returns TRUE if the Generate I/O Sample Pulse Method function causes data to be regenerated. A value of TRUE indicates that the Generate I/O Sample Pulse Method function providing timing for the I/O item executed at least two times since the last execution of the Write I/O Method function.

This function does not report the number of data points regenerated, only that some data regenerated. The value of Data Regen does not reset until this function reads it or the Reset I/O Method function executes.
Sample Gated returns TRUE when the Generate I/O Sample Pulse Method function generates a sample pulse that is gated. This function does not report the number of sample pulses gated, only that at least one pulse has been gated since the last time this function executed. The value of Clock Gated does not reset until this function reads it or the Reset I/O Method function executes.

A sample pulse can be gated for the following reasons:
  • The Generate I/O Sample Pulse Method function tries to execute more quickly than the maximum specified rate of the I/O item.
  • Arbitration for the resource is occurring.
  • The target is conducting an operation such that it cannot issue a clock pulse.
Write Completed returns TRUE each time data transfers from the write buffer to the I/O item.

Use this status to determine when the data that the Write I/O Method function writes is ready for the Generate I/O Sample Pulse Method function to output. The value of Write Completed does not reset until this function reads it or the Reset I/O Method function executes.

Get I/O Write Status Details

To select a method, first configure the node with an I/O item.

Not all targets support the User-Controlled I/O Sampling functions.

Single-Cycle Timed Loop Details

This node is supported inside and outside the single-cycle Timed Loop if the target supports it.

Error Handling Details

You can use the error terminals to place this node in the data flow of the VI as well as to ensure the data you receive is valid. FPGA targets might report errors differently. Refer to the specific FPGA target hardware documentation for information about how specific FPGA targets report errors.

WAS THIS ARTICLE HELPFUL?

Not Helpful