Jump to content

wcmurf

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

wcmurf's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. I got it working by using InstaCal on Windows and changing channel 0 from Disabled to Thermocouple. I don't see an equivalent path to get it working with Linux. The set_chan_type function results in an error. Please let me know if you support Linux and there is a way to do the initial configuration.
  2. Hi Fausto, thanks, yes I am trying the t_in but find all the channels are disabled. When I try to set the type using set_chan_type I get uldaq.ul_exception.ULException: ULError.CONFIG_NOT_SUPPORTED: Configuration not supported How do I get rid of disabled and configure this device? The manual says to use the Windows software InstaCal but what about in Ubuntu? Found 1 DAQ device(s): [0] USB-TEMP (020F5AFD) SUPPORTS : TC RTD THERMISTOR SEMICONDUCTOR Total analog input channels: 8 Connecting to USB-TEMP - please wait... USB-TEMP ready Function demonstrated: ai_device.t_in() Channels: 0 - 7 Product ID: 8d Channel 0 type: DISABLED Channel 1 type: DISABLED Channel 2 type: DISABLED Channel 3 type: DISABLED Channel 4 type: DISABLED Channel 5 type: DISABLED Channel 6 type: DISABLED Channel 7 type: DISABLED Temperature scaling: CELSIUS Hit ENTER to continue Please enter CTRL + C to terminate the process Active DAQ device: USB-TEMP (020F5AFD) Channel(0) Data: -9999.000000 Channel(1) Data: -9999.000000 Channel(2) Data: -9999.000000 Channel(3) Data: -9999.000000 Channel(4) Data: -9999.000000 Channel(5) Data: -9999.000000 Channel(6) Data: -9999.000000 Channel(7) Data: -9999.000000
  3. I have the USB-TEMP product. I installed the C++ and Python libraries. I'm using Ubuntu 20.04, libuldaq-1.2.1, and uldaq-1.2.3. When I run a_in.py I get a BAD_DEV_TYPE. Is running a_in.py as instructed the wrong thing to do for USB-TEMP? What do I have to do to get a temperature reading? Found 1 DAQ device(s): [0] USB-TEMP (020F5AFD) Please select a DAQ device, enter a number between 0 and 0: 0 Connecting to USB-TEMP - please wait... USB-TEMP ready Function demonstrated: ai_device.a_in() Channels: 0 - 3 Input mode: DIFFERENTIAL Range: BIPPT078VOLTS Hit ENTER to continue Please enter CTRL + C to terminate the process Active DAQ device: USB-TEMP (020F5AFD) Traceback (most recent call last): File "./a_in.py", line 146, in <module> main() File "./a_in.py", line 118, in main data = ai_device.a_in(channel, input_mode, File "/u/mwm/.local/lib/python3.8/site-packages/uldaq/ai_device.py", line 87, in a_in raise ULException(err) uldaq.ul_exception.ULException: ULError.BAD_DEV_TYPE: This function cannot be used with this device
×
×
  • Create New...