From: Sridhar A. <sa...@ge...> - 2002-04-16 22:00:07
|
Hi all on the linux-gpib list - I wonder if you can answer this question... When I want to download a waveform from the oscilloscope, is there a way for the user-level program to be informed when the acquisition is done? The scope will take 500ms to finish, and is there an interrupt that is generated by the linux-gpib code when the oscilloscope sets the Operation Complete bit in the status register? Or is there a way to poll periodically from the user level? I want to ask the scope to average 500 triggers (1ms apart), and then I want to download those data. If I simply send the "acquire" command and then immediately request the data "curve?", the 500 averages won't be over - what will happen? Does the software hold the request until the scope is done? Or is the command sent out right away (in which case I think the scope responds with the 'incomplete' data - not enough averages...) I apologize if this question isn't very clear... Thanks, Sridhar. Sridhar Anandakrishnan email: sa...@es... 442 Deike Bldg Phone: (814) 863-6742 Pennsylvania State University Dept: 863-6052 University Park, PA 16802-2711 Fax: 863-8724 |