Giter Site home page Giter Site logo

Comments (3)

MarkRivers avatar MarkRivers commented on July 23, 2024

I found that there is an option to enable open thermocouple detection. I added this to my code and now it detects open thermocouples on the USB-2408-2A0.

                // Need to set thermocouple open detection
                error = ulAISetConfig(daqDeviceHandle_, AI_CFG_CHAN_OTD_MODE, DevNum, OTD_ENABLED);

It seems strange that this appears to be the default on the E-TC, since I did not enable it explicitly in UL for Linux on that device.
It must also be the default for the USB-2408-2A0 on Windows, since I did not explicitly enable it with BIDETECOPENTC from cbw.h.

I am no longer having a problem, but I'd like to leave this issue open to allow a chance for the developers to respond to why this seems to be default on some devices and not others?

from uldaq.

sbazaz avatar sbazaz commented on July 23, 2024

On E-TC, the device configurations are stored on EEPROM and UL for Linux reads and applies those settings when it loads. However, the USB-2408-2A0 configuration are not stored on the device and users are responsible for settings the default configurations explicitly when using the UL for Linux. On windows, InstaCal stores the configurations in the config file and every time the UL for windows loads, it applies those settings automatically. If you have further questions please reach out to MCC through their tech support form

from uldaq.

MarkRivers avatar MarkRivers commented on July 23, 2024

On windows, InstaCal stores the configurations in the config file and every time the UL for windows loads, it applies those settings automatically.

That is not true in my case, because I am not using InstaCal on Windows. I have called cbIgnoreInstaCal() at the beginning of my program, and I am using cbGetDaqDeviceInventory to find the device instead. So there must be some other explanation for the difference in behavior of UL for Linux and UL for Windows on this device.

from uldaq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.