LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the difference between Abort and Reset in Laview FPGA module

Solved!
Go to solution

Hi,

 

    I used Abort in Labview FPGA moduel try to stop the program running in FlexRIO while I got some unexpected behavior.

 

    After I replaced the Abort by Reset everything goes well.

 

    What is the difference between these two functions?

 

    Thanks,

 

    Fang

0 Kudos
Message 1 of 4
(3,388 Views)

Hello Fang,

 

This difference can be found on the following pages:

http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgahost/fpga_method_abort/

http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgahost/fpga_method_reset/

 

The reset method does an abort and a reset of the FPGA. The abort method only does the abort part.

 

Reset function:

"Aborts and resets the FPGA VI on the FPGA target to the default state of the VI. This method sets the FPGA VI controls and indicators to their default states, sets uninitialized shift registers to their default values, clears FIFOs, and sets global variables to their default values. This method does not reset memory."

 

Abort function:

"Aborts the opened and running FPGA VI on the FPGA target. This method does not reset the default values in the FPGA VI."

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 4
(3,365 Views)

Hi Thierry,

 

     Thanks for your answer.

 

     Fang

0 Kudos
Message 3 of 4
(3,354 Views)
Solution
Accepted by AhGang

Hello Fang,

 

If this answers your questions then please indicate that this answers your question by selecting "Accept As Solution".

 

If this does not answer your questions, then please let me know.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 4 of 4
(3,351 Views)