05-18-2016 11:01 AM
06-06-2016 06:35 AM
Hi SteCla,
How is your project going? I have been looking at the examples but haven't managed to find anything that matches your description. Regardless, I did have a few suggestions on coding practice to implement this functionality.
Firstly, to clarify, instead of having the FPGA acquire continuously, you want it to only acquire when you tell it? If this is the case, two main methods spring to mind.
1.) Use of notifiers in LabVIEW. When a notification is sent out, contents of a while loop will iterate. Information on this can be found here:
http://digital.ni.com/public.nsf/allkb/B9398355D9550EAF862566F20009DE19
2.) Another way to implement this, that also may be more flexible to your application than notifiers is the use of event structures. Are you familiar with this? When the user presses a button, acquisition of data could occur. This would be an event based state machine.
http://www.ni.com/white-paper/2926/en/
Let me know if this is what you are looking for.
Kind regards,
Hashim Shamsi