Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| daq-and-datalogging:documents:usb-tc-csharp-digital-input [2023/07/05 09:24] – Scandiweb | daq-and-datalogging:documents:usb-tc-csharp-digital-input [2023/07/26 23:57] (current) – Arthur Brown | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== USB-TC CSharp (C#) Digital Input ====== | ====== USB-TC CSharp (C#) Digital Input ====== | ||
| - | The following program continuously acquires data from the [[https:// | + | The following program continuously acquires data from the USB-TC digital port. The program then breaks down the eight bit value into separate bits to determine the state of each one. The state is displayed as a True or False. |
| To access the MccDaq API, add a reference to the MccDaq object. Adding the reference is usually accomplished by right clicking the Project [under the Project Explorer] and selecting Add Reference. The complete project is attached to the article and was created with Visual Studio 2008 using CSharp. Compiling and execution is quick as there is minimal Windows overhead and associated code. To recreate the project use Visual Studio' | To access the MccDaq API, add a reference to the MccDaq object. Adding the reference is usually accomplished by right clicking the Project [under the Project Explorer] and selecting Add Reference. The complete project is attached to the article and was created with Visual Studio 2008 using CSharp. Compiling and execution is quick as there is minimal Windows overhead and associated code. To recreate the project use Visual Studio' | ||

