Jump to content
  • 0

DT9816 gain setting error


squin

Question

I am using C# and OpenLayers to set the gain of this device. The OpenBase object tells me that there are two supported gains with values of 1 and 2. After adding the six analog input channels to the ChannelList I change the Gain of channel 0 to be 2. However when  the Config() function is called an exception occurs with the message "An invalid Gain value was set for the ChannelListEntry". I can avoid the exception by setting every channel to have a gain of 2. My question is why? If the Gain must be changed for all why is it associated with the channels? Is this an architectural limitation of OpenLayers or poor implementation?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...