Stopping, Aborting, and Resetting FPGA VIs (FPGA Interface)

LabView FPGA Interface

Stopping, Aborting, and Resetting FPGA VIs (FPGA Interface)

If you create an FPGA VI that you want to stop and run again from a host VI, National Instruments recommends that you design the FPGA VI so that you can stop its execution by setting a control on the FPGA VI to a certain value. This design practice allows you to control how the FPGA VI is stopped and the values on the outputs on the FPGA target when the FPGA VI stops. You can stop the FPGA VI from the host VI by writing the relevant FPGA VI control. You then can run the FPGA VI by using the Invoke Method function with the Run method. If you do not need control of the FPGA target outputs, you can use the Invoke Method function with the Reset method to abort and restore the FPGA VI to the default state.

If stopping is not designed as part of the FPGA VI, you can reset and/or abort the FPGA VI from the host VI using the Reset method or Abort method. The Abort method does not reset the FPGA VI to the default state which might affect how the FPGA VI reacts to future executions of the Run method from the host VI.