Hi,
I'm trying to find a way to continually acquire signals by generating them in software.
I'm using VS2012 and MS2015 and VB.net.
The issue that I'm having is that after about 8-12 generations the application shuts down.
Attached are the generatesignals, getSpectra Methods and the dataready event handler.
I think the issue is related to recursive calling the generate signals method causing Stack overflows but an exception is not thrown the app just shuts down.
Therefore are there any ideas regarding how I should keep call the generatesignals method until a stop button is pressed.
I have tried Timers, async methods etc. to no avail.
Regards
Steve