Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Need an example for VB.NET similar to daqmxdigwrite for VB6.

I have been using a NI USB-6525 DIO in a project and found the example daqmxdigwrite very helpful in writing a VB6 interface to the device.  I now have a computer with Vista-64 and find myself after many years needing to finally upgrade to VB.NET.  This device interface seems to be an area where the differences are most pronounced.  Is there a similar example for VB.NET?  Or, could someone make edits in the daqmxdigwrite to point me in the right direction?

 

Thanks.

0 Kudos
Message 1 of 2
(3,434 Views)

Hi lovethomas,

 

We do have DAQmx examples that you will be able to use for .NET. I have included links to two relevent KBs that will help you find and work with these examples. First, you will need to install support for the .NET framework for the DAQmx driver and then you will have to locate the examples. 

 

Once you have completed these steps I would recommend looking in the 'Digital\Generate Values' folder of the examples and working with either the WriteDigChan or WriteDigPort examples. Let us know if you run into any issues installing the .NET support and finding the examples. Thanks! 

 

Do I need Measurement Studio to use NI-DAQmx in .NET?

http://digital.ni.com/public.nsf/allkb/0EA34D565632DFE186256E7B00762DCC?OpenDocument 

 

NI-DAQmx, NI-VISA and NI-488.2 .NET Example Locations

http://digital.ni.com/public.nsf/allkb/39F4B9264B94308C8625729D0067F9AF?OpenDocument 

Steve B

0 Kudos
Message 2 of 2
(3,409 Views)