NewData event handler only called once (WinDaq ActiveX with DI-148U)

NewData event handler only called once (WinDaq ActiveX with DI-148U)

I created a simple VB.NET application that accesses a DI-148U using the WinDaq ActiveX control.  The form contains buttons for starting and stopping data collection and then a NewData event handler.  Here's my code:


Public Class Form1
    Private Sub AxWinDaq1_NewData(sender As Object, e As AxWINDAQLib._DWinDaqEvents_NewDataEvent) Handles AxWinDaq1.NewData

        ' This event handler is called by the WinDaq Ax each time SamplesToCollect are ready for reading
        Dim data As Double(,)
        data = AxWinDaq1.GetDataFrame(100, WINDAQLib.enumFormat.FormatScaled)
        Debug.WriteLine("New Data")

    End Sub

    Private Sub btnStart_Click(sender As Object, e As EventArgs) Handles btnStart.Click
        AxWinDaq1.EventLevel = 100
        AxWinDaq1.Start()
        Debug.WriteLine("Start")

    End Sub

    Private Sub btnStop_Click(sender As Object, e As EventArgs) Handles btnStop.Click
        AxWinDaq1.Stop()
        Debug.WriteLine("Stop")
    End Sub
End Class


The problem I'm having is that the event handler is only called once.  My expectation is that it would be called each time 100 data points are collected and available.  How do I set things up so that the event handler is called every time the specified number of points is collected and available?

Thanks,
Bill