cjanand
-
Posts
18 -
Joined
-
Last visited
Reputation Activity
-
cjanand reacted to JRys in Execution times using USB-DIO96H
National Instruments DAQ's are not compatible with InstaCal. Instead, they use Measurement & Automation Explorer.
We did not add artificial delays to the USB-DIO96H communication process.
-
cjanand reacted to JRys in Execution times using USB-DIO96H
The USB-DIO96H is not a speedy device, and my test indicates that a single 8-bit port can be updated about 2600 times per second. I used a 32-bit C program with a while loop to write ones & zeros continuously for my test. To determine the update rate, I measured the output square wave which was about 1300 Hz (2600 updates).
-
cjanand reacted to Fausto in Where is cb.cfg for USB-DIO96H
Hello @cjanand.
MCC's cb.cfg file is located in the 'C:\ProgramData\Measurement Computing\DAQ' folder.
This file is updated by InstaCal. A user should not be editing this file. The cb.cfg file can be viewed with a text editor.
There are no instructions for assigning a base address. When the device is detected by InstaCal, then the cb.cfg file is updated.
Regards,
Fausto
-
cjanand reacted to JRys in DIO Board configuration
The attached file uses C# to demonstrate how to discover the device and how to program and update the ports. Use the DOut function to update all eight bits on a port and the DBitOut function to update a single line on any port. Note that DBitOut uses FirstPortA as the port type with bit numbers ranging from 0 to 95. The same holds for DBitIn. To run the attached code, use Visual Studio and create a 32-bit C# Console application that references our MccDaq dll. To add the reference, right-click references in the Project Explorer, select Add Reference, select Extensions, find, and select MccDaq from the list.
Program.cs
-
cjanand reacted to JRys in USB requires Product Vendor ID - USB-DIO96H
Hello,
The hexadecimal ID number for the USB-DIO96H is 0x92.
The USB-DIO96H-50, the ID is 0x95.
Attached is a copy of the ulprops.txt file.
Best regards,
John
ulprops.txt