Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
daq-and-datalogging:documents:csharp-streaming-function-generator [2023/06/13 15:53] – created Scandiwebdaq-and-datalogging:documents:csharp-streaming-function-generator [2023/07/28 00:56] (current) – Arthur Brown
Line 1: Line 1:
-====== CSharp (C#) Streaming Ain/Aout function generator ======+====== CSharp (C#) Streaming Ain/Aout Function Generator ======
  
 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 237: Line 237:
             }             }
         }         }
-<code>+</code>
  
-**Attachments** +**Attachments**\\  
-[[ https://files.digilent.com/resources/measurement-computing/Reference Attachments/ReadDataFile.DSB | ReadDataFile.DSB]] +[[ https://files.digilent.com/reference-attachments/ReadDataFile.DSB | ReadDataFile.DSB]]\\  
-[[ https://files.digilent.com/resources/measurement-computing/Reference Attachments/AIn_Aout_Continous_Waveform_Generator.zip | AIn_Aout_Continous_Waveform_Generator.zip]]+[[ https://files.digilent.com/reference-attachments/AIn_Aout_Continous_Waveform_Generator.zip | AIn_Aout_Continous_Waveform_Generator.zip]]