Jump to content

Gregoire

Members
  • Posts

    4
  • Joined

  • Last visited

Gregoire's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Hi @JRys, ok, seems a good option. I will tell the result ! Regards, Gregoire
  2. Hi @JRys, this is 32-bit bullseye, RPI 4b 4Go. For the test, I have switched the pi4 with a RPI 3b (so not my usual pi 3b+) with raspian buster. My set up has run overnight, no connection loss. I have another setup equipped with raspberry pi 4b and one usb 3105 (and one usb 2408) which was ready for test. I tested it yesterday evening and same issue.
  3. Hi @JRys, thanks for your answer ! Just after posting my message I actually tried to lower the update rate. Before was 160ms to update the 16 channels, I tried 800ms (50 ms between each channel) and leave it overnight but same result. Only restarting the program is enough to have 30 minutes of working time. I am controlling apparatus requiring a 0-10V analog control voltage (very low current consumption). The environment is the same as when I was using a raspberry pi3b+ successfully. And we have built a dozen of this system working well with the rasp pi3b+. But since it is going to disappear we have to switch to pi4. Still it is worth to try ferrite filters.
  4. Hi, I am facing some issue with an usb-3105 board controlled with a raspberry pi4b. Until now, I was controlling this board with a raspberry pi3b+ / OS Raspbian buster lite through a python software. Recently I have switched to raspberry pi4B 4Gb with raspiOS bullseye lite. Python software is the same. Since then, I am experiencing connection loss with the 3105 board. For information, I am updating the output values every 10ms (so 160ms to update all 16 values). It happens randomly after more or less 30 minutes of use. I also have an USB 2408 in my setup which works fine. If I close the connection with the board and open it again, it works fine again until next connection loss. Here is the error message I get: Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() File "/home/pi/rackcc/rackccscan_temp_v1.0.0.py", line 757, in run self.aocards.setAO(chan, self.allpoints[chan]) File "/home/pi/rackcc/rackccscan_temp_v1.0.0.py", line 309, in setAO self.all_ao_cards[card_to_set].a_out(int(physical_channel_to_set), self.output_range, AOutFlag.DEFAULT, float(out_val)) File "/usr/local/lib/python3.9/dist-packages/uldaq/ao_device.py", line 81, in a_out raise ULException(err) uldaq.ul_exception.ULException: ULError.DEV_NOT_CONNECTED: Device not connected or connection lost Have you experienced such a problem ? Thanks for your help.
×
×
  • Create New...