Jump to content

darksied_9

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

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

darksied_9's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. @JRys I am using the MCC 1808x Daq on Raspberry pi for a while now and it was working fine, now it was disconnected for few days and now I am running the code it is throwing this error "Active DAQ device: USB-1808X (0224DCFA) Traceback (most recent call last): File "/home/pi/Downloads/uldaq-1.2.3/examples/a_in.py", line 146, in <module> main() File "/home/pi/Downloads/uldaq-1.2.3/examples/a_in.py", line 118, in main data = ai_device.a_in(channel, input_mode, File "/home/pi/.local/lib/python3.9/site-packages/uldaq/ai_device.py", line 87, in a_in raise ULException(err) uldaq.ul_exception.ULException: ULError.DEV_NOT_CONNECTED: Device not connected or connection lost ------------------ (program exited with code: 1) Press return to continue " It is reading the device and its configuration but when running the same code this error, what might be the issue, I have changed the cable, pi and power supply as well, it is working well on the Window DAQami software.
  2. @JRys Thanks for the help, how can I add timestamp to each of the data, will this delay the data aquisition.
  3. @JRys Now my data rate is set at 100k samples/sec, as I am storing this in my csv it is working fine for one channel as I try to increase the channel the data buffer size also increases and it is reducing the data write process. Every increase in channel delays the process for 4 channel if I run this for 10 sec there should be 1 million data points for each channel but I got only 600k each channel. How to resolve this.
  4. I have been working on the MCC USB-1808x and using the uldaq library with python as programming language, as mentioned we can get up to 200k samples/sec, I need 100k samples /sec and I am using example “a_in_scan.py” from the library and using differential mode and setting the “samples per second” and “rate” mentioned in the code and saving data in CSV file for now, but I am not getting the desired sample rate it is only saving 1000 samples/sec and even if I lower the “Samples per second” and “rate” to 100hz it is still storing data at 1000 samples/ sec. What might be the issue.
×
×
  • Create New...