Skip to main content

Questions tagged [fifo]

Any structure in which the First object In is the First object Out. Synonyms include queue, and pipe.

fifo
1 vote
0 answers
29 views

Redirecting python script's stdin to fifo results in RuntimeError: input(): lost sys.stdin

I have this python script that's meant to function as a server which reads commands from stdin which is redirected to a fifo: test.py: while True: try: line = input() except EOFError: ...
Verpous's user avatar
  • 706
-1 votes
1 answer
40 views

How to handle the read latency in Async FIFO?

I am using Xilinx FIFO generator core in my project. I have module, say M1, which assersts fifo_rd_en signal to the fifo that i am using. However, the fifo has a read latency of 2 clock cycles. How ...
surya krish's user avatar
-1 votes
0 answers
38 views

Tomcat: Too many files open. FIFO pipes

I have this problem for a while now with one of my tomcat server running an java application. When I start the tomcat it slowly starts opening this kind of pipes java 10329 tomcat 427u a_inode ...
Stoian Dardzhikov's user avatar
0 votes
0 answers
18 views

How to make Linux FIFO file with template content within?

I want to make a simple web server by using some linux commands like below. I created a fifo file. $ mkfifo mkfifohtml.txt Ncat listens at port 8080 then head and cut extracts simply the demanded file....
dude's user avatar
  • 129
0 votes
0 answers
35 views

Why is nodemon specifically causing this "read error: 0: Resource temporarily unavailable" in my bash script when using netcat?

I have written a network client in bash using netcat which streams the stdout of a nodemon process to a remote server. This is my most complicated bash script I have written to date and the past ...
MrBroccoli's user avatar
2 votes
0 answers
91 views

Implementing a FIFO allocation between two lists in Python

I am trying to write an algorithm in Python to link quantities in a FIFO fashion between two different series (of length N). The input is two lists, 'instructions' and 'responses'. The two lists ...
Zac's user avatar
  • 299
0 votes
0 answers
33 views

Data Missing in FIFO stream after DMA transfer

We have a DMA design with FIFO stream input. We let FIFO accumulate the entirety of data stream i.e., 0x8001 depth and width is 32 bit. Then we cut off the Input stream to FIFO since it is external. ...
Sujan SM's user avatar
1 vote
0 answers
45 views

Account Aging Strike Out Amount For Vouchers Using

Assume there are 2 tables, 1 is payment and the other is deduction. Now the following query which I got from somewhere gives me following result DeductionID DeductionAmount PaymentID PaymentAmount ...
Khurram Sultan's user avatar
0 votes
0 answers
10 views

Unable to read "wr_en, fifo_in" data using module instantiation

Is there anything wrong with my instantiation. 8 to 32 bit converter is working fine. input to fifo is read only when wr_en is high. wr_en is connected to output signal of valid_q (when valid_q=1, ...
ARUNA M's user avatar
1 vote
1 answer
51 views

Script getting stuck in while trying to continuously read from a pipe in a while loop

I am trying to implement a script in which a pipe is getting created and the default value 0 is stored in the pipe. Simultaneously, a c code file is getting executed which based on a condition updates ...
Abhir Raj Shrivastava's user avatar
1 vote
2 answers
30 views

How to advance to next song in playlist using Mplayer controlled by a named pipe in Python

I have a python script that controls (via a named pipe) an instance of mplayer in slave mode that's playing MP3s. Everything works as expected, but I can't for the life of me figure out how to advance ...
riderdan's user avatar
0 votes
0 answers
47 views

Reading the 32 Fifo samples from MAX30102 for a 100 samples buffer

I'm using the max30102 sensor and esp32. I'm programming using arduino firmware. The sensor has a FIFO with 32 samples and I want to read them for a buffer with size of 100 samples. So I need to read ...
Alexandra's user avatar
0 votes
1 answer
71 views

Avoid 100% cpu when I read a FIFO file [closed]

I need to read FIFO file, because it's arriving snmp traps in a FIFO file that I need to read and process them sequentially. So I've created a while (true) loop to begin to read lines of FIFO file and ...
Luis perez's user avatar
0 votes
1 answer
30 views

ldap 389ds - logging - cat <> stdout-fifo-pipe-file > /dev/stdout - No AUDIT logs 0 byte file

I have a ldap (helm chart) running 389ds container under the hood. I noticed that in the chart, there's this folder: docker-entrypoint-init.d/ which contains bunch of numbered shell scripts. Example: ...
AKS's user avatar
  • 17k
1 vote
2 answers
284 views

Last In First Out (LIFO) transaction row pairing using SQL

I have a transaction table where I am trying to map Outflows to Inflows based on the LIFO. Input dataset Id Date Type Amount 1 26-01-2024 Inflow 519 2 26-01-2024 Outflow 100 3 26-01-2024 Outflow ...
Gautham Ganesan's user avatar

15 30 50 per page
1
2 3 4 5
76