Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
daq-and-datalogging:documents:usb-1808-polling-subsystems [2023/06/13 16:43] – Scandiwebdaq-and-datalogging:documents:usb-1808-polling-subsystems [2023/07/28 01:01] (current) – Arthur Brown
Line 1: Line 1:
-====== USB-1808 reading multiple subsystems with Polling ======+====== USB-1808 Reading Multiple Subsystems With Polling ======
  
 The following example uses the DaqInScan function to simultaneous read the USB-1808 subsystems. It is configured to read four analog inputs, the four bit digital port, and one encoder channel. It configures a buffer with a size of packet times channel count times multiplier. To make the buffer bigger/smaller change change the multiplier. The sample rate is 3600 samples per second. The loop is set so as to read when a new half buffer is available.  The print routine prints only the first 32 samples to prevent it from consuming available time   The following example uses the DaqInScan function to simultaneous read the USB-1808 subsystems. It is configured to read four analog inputs, the four bit digital port, and one encoder channel. It configures a buffer with a size of packet times channel count times multiplier. To make the buffer bigger/smaller change change the multiplier. The sample rate is 3600 samples per second. The loop is set so as to read when a new half buffer is available.  The print routine prints only the first 32 samples to prevent it from consuming available time  
Line 267: Line 267:
  
 **Attachments**\\ **Attachments**\\
-[[ https://files.digilent.com/resources/measurement-computing/Reference Attachments/CSharp_USB_1808_DaqInScanEncoder.zip | CSharp_USB_1808_DaqInScanEncoder.zip ]]+[[ https://files.digilent.com/reference-attachments/CSharp_USB_1808_DaqInScanEncoder.zip | CSharp_USB_1808_DaqInScanEncoder.zip ]]