[quote]Also, I need to be able to do these function as real-time as possible, that means each time a trigger has occurred. I know that you have provided the “DataReady” variable but then I have to constantly poll this variable to test for new data - this is not effective.[/quote]Indeed, polling is not a very good method. The CPU usage can increase a lot.
Instead you may use a timer. Check every 50ms if there is new data available. I think you can’t miss any data by using a 50ms timer.
[quote]Therefore I would be pleased if you can help me by providing the source code for your scope software PClab (Is it Delphi?)[/quote]Unfortunately we can’t provide the source code.