We are using the 2601B on LAN and using Keysight Connection Manager with custom .Net application. We want to have the instrument make a single measurement upon external trigger and fire a service request after each measurement. This should run continuously with subsequent triggers until abort().
We have configured required triggering and actions and the measurements are being made upon trigger. We have verified they are placed in smua.nvbuffer1.
We have configured the status / event registers to fire the service request on BUFFER_AVAILABLE. After initializing the connection and configuring the SRQ callback, the callback is executed once upon first trigger, but never again. We have cleared the status registers, re-initiated the sweep, etc but no success. The only action to reset is to close and re-establish the connection and re-configure the service request.
Do you have an example that covers what we are trying to do? We can't clear the buffer in the service request as that generates an error. Other than using BAV how do we detect that a measurement is complete such that a service request is fired? And then how do we clear the status in the service callback so the next event will fire another service request?