Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| daq-and-datalogging:documents:csharp-streaming-function-generator [2023/06/13 15:55] – Scandiweb | daq-and-datalogging:documents:csharp-streaming-function-generator [2023/07/28 00:56] (current) – Arthur Brown | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== CSharp (C#) Streaming Ain/ | + | ====== CSharp (C#) Streaming Ain/ |
| The example below demonstrates how to stream analog data out the analog output pins while at the same time reading it back in. To keep the program simple, an array is created that contains a waveform and this waveform is continuously written to the output buffer without change. In a more sophisticated program the array data would be changing on each write. To use this program you must have a device that supports hardware analog output scanning at rates of at lest 50,000 per second. At the beginning of the program where the constants are defined there is a section of tested devices. Uncomment the device you have and comment the current device which is the USB-1408FS-Plus. | The example below demonstrates how to stream analog data out the analog output pins while at the same time reading it back in. To keep the program simple, an array is created that contains a waveform and this waveform is continuously written to the output buffer without change. In a more sophisticated program the array data would be changing on each write. To use this program you must have a device that supports hardware analog output scanning at rates of at lest 50,000 per second. At the beginning of the program where the constants are defined there is a section of tested devices. Uncomment the device you have and comment the current device which is the USB-1408FS-Plus. | ||
| Line 240: | Line 240: | ||
| **Attachments**\\ | **Attachments**\\ | ||
| - | [[ https:// | + | [[ https:// |
| - | [[ https:// | + | [[ https:// |

