12-22-2014 04:15 PM
I have a 6514 and I am trying to simply set up ports for driving and sensing. I am programming in C# using the provided IVI Library. I know what methods (functions) I want to use but I am having trouble getting to them. I was able to initialize the instrument with a simple:
instrument _handle = DaqSystem.Local.LoadDevice("NI6514") /* the NI6514 is assigned in NIMAX*/
Now I would like to go to the "DiChannelCollection" and the "DOChannelCllection" so that I can use the ports. But any approach I have used to try to access those class libraries has not worked for me.
I have looked at various help files but there are none in C#. If I was programming this in C it would be a peice of cake given the examples.
Any hints on how I might accesswhat I need?
Thanks
Kevin
12-22-2014 04:54 PM
If you installed NI-DAQmx, there should have been example programs installed for C# and VB.NET
12-23-2014 06:41 AM
Thanks, I went back and looked further and found the examples under Net4.0 examples