Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

USB-4065 doesn't recognize by c# application

$
0
0

Hi,

I'am new user. I'm devoloping an application with  two instruments: usb-6509 and usb-4065. 

1) I have no problem with usb-6509. Perfect.

 

2) I have problems with usb-4065. Installation, driver and dll are ok. I work fine by Measurement & Automation Explorer. My application doesn't recognize the AI channel because when I debug this line of my code: 

 string[] channels = DaqSystem.Local.GetPhysicalChannels(PhysicalChannelTypes.AI, PhysicalChannelAccess.External);

returns array[0], and so when I debug:

 myAIChannel = analogInTask.AIChannels.CreateVoltageChannel("Dev2/ai0","",AITerminalConfiguration.Differential,
                                                             0,10,AIVoltageUnits.Volts);

I have an exception.

 

I don't understand. Can you help me?

Thanks in advance


Viewing all articles
Browse latest Browse all 1999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>