I have a c# application working with DAQmx. The application works in most computers without any problem. But now we have one complaint of a customer that the software crashes on his PC. NI-Hardware is OK, because it works when connected to another PC via USB.
Here' s what I found out so far:
- Getting the devices with DaqSystem.Local.Devices seems to work. Our software displays the connected device.
- But probably the subsequent call to DaqSystem.Local.GetPhysicalChannel(PhysicalChannelTypes.AI,PhysicalChannelAccess.External) does not return any channel. I can not proof this yet but it could be the possible root cause.
Are there any known situations where DaqSystem.Local.GetPhysicalChannel does not return any channels on some computers? What is the reason for this behaviour?