Jump to content
  • 0

DT9834 Open Layer communication C# Example?



i was able to find an example for the DT9857E, running that program with the DT9834 creates an error when it attempts to add the tachometer channel, so i removed that piece of the code (which got me past the initialize stage of the device). then i get another error later on in the code when it tries to run the AnalogInputSubsystem.Config() method. the error being thrown is OpenLayers.Base.OlException: 'An invalid channel was specified. '

picture of the error attached



Edited by MaxCrowe
device.config was the wrong method name
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello @MaxCrowe

Assuming you've installed the Omni CD and OpenLayers Dot Net support, and have tested your DT9857E with QuickDAQ to make sure all is well, the example to look at is "readbufferediepedataasraw". In plain english it's "read buffered data from IEPE device and return raw data" ( The DT9857E has built-in IEPE signal conditioning for dynamic sensors. ) If you're having trouble finding the examples, they should be in C:\Program Files (x86)\Data Translation\DotNet\OLClassLib\Examples\AnalogInput\. Because they are installed in Program Files (x86), you will need elevated permission to access them with Visual Studio IDE. I suggest to use "run as administrator" when starting the IDE. For more information about using the various objects and enumerations, the DT-Open Layers for .NET API Help is available via a shortcut from your start programs menu.

Best regards,

Link to comment
Share on other sites

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...