02-27-2012 09:09 PM
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
Solved! Go to Solution.
02-29-2012 04:38 PM
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."
02-29-2012 07:42 PM
Hi Thierry,
Thanks for your answer.
Fang
03-01-2012 02:05 AM
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.