Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How to program PCIE-6509 with C#

Hi there,

I have an NI PCIe-6509 digital IO card. I want to program to set the 96 chanels high/low by using C# programming language and I have no idea where to start. Can someone point me to the right direction? Is there any sample C# code related to NI PCIe-6509?

Ps. i am using windows 7, 64bit operating system and visual studio 2010.

Regards

0 Kudos
Message 1 of 4
(6,130 Views)

When you are installing DAQmx driver, be sure to select the corresponding .NET framework support.

DAQ dotNET.png

 

After you finish the installation, you are able to find the .net examples for PCIe-6509.

0 Kudos
Message 2 of 4
(6,103 Views)

Thanks for reply.

 

I installed NI DAQmx 9.7.5 and did select .NET framework support.

I found some ANSIC, VB6, C, and CVI examples but none of it is C Sharp example.

Should I install a leter version of NI DAQmx driver?

0 Kudos
Message 3 of 4
(6,088 Views)

You might have to uninstall and reinstall the DAQmx driver again.

Here are the snapshot for your example references.

 

TextBasedDAQ.png 

 

dotNET40.png

 

0 Kudos
Message 4 of 4
(6,078 Views)