Quantcast
Channel: Question and Answer » fifo
Browsing latest articles
Browse All 15 View Live

Create a named pipe / fifo that executes a command when read

I’m looking to supply a process that only reads from a local file with content from an http URL. The process is a daemon that is hard-coded to read a specific file in it’s current working directory and...

View Article


Setup and hold time violation constraints for Xilinx Fifo generator

I have a problem concerning the Xilinx Fifo generator and timing contraints described in the fifo manual. I am using the fifo generator version 9.2 (manual ) to generate a fifo. I would like to insert...

View Article


Named pipes: several experiments leads to confusion [closed]

I’ve come across various articles and SO questions and I am still confused about something that I use on daily basis, but never realized how confusing it can be. I am experimenting with (named) pipes...

View Article

Triggering zero-byte reads on FIFO/pty

I’d like to know how to emulate the ICANON behavior of ^D: namely, trigger an immediate, even zero-byte, read in the program on the other end of a FIFO or PTY or socket or somesuch. In particular, I...

View Article

How to make a fifo in C?

I have to use mkfifo in my C program in Ubuntu. But I have an error when I compile: no such file or directory . I think the problem because I have not set the panel_fifo environment variables. But I...

View Article


BASH: Fifo troubles – seems selective about input

So I am having a problem with a BASH service in Debian 7 that I’ve been working on for quite a while and that randomly started having trouble with its fifo, or so it seems. It is based on kind of your...

View Article

Why does `cat` seem to iterate over JSON arrays?

I’m puzzled by this behaviour of cat when trying to output a heredoc containing JSON in bash 3.2: input: $ cat <(cat <<EOF > {"x":[{"a":1,"b":2}]} > EOF) output: {"x":["a":1]}...

View Article

Why process does not (seem to) exist before fifo read

I have a trivial Python script: #!/usr/bin/python import os, sys sys.stderr.write('I am %s' % os.getpid()) sys.stderr.flush() print "hello" sys.stderr.write('I am done') When I run this script from...

View Article


Image may be NSFW.
Clik here to view.

FIFO-related data transmission problems between microcontroller and PC

I have a situation in which a microcontroller is to perform a large number of ADC conversions and format the results into commands (or data packages) and send these to a PC using the UART. In order to...

View Article


Image may be NSFW.
Clik here to view.

FIFO for spartan 3AN : no storage on board but ok in simulation

I made a FIFO using the Core Generator and I’m trying to implement a code that use it… 1) By putting the switch (T9) ON, I start transmitting some datas to my fifo (Here H-e-l-l-o for test) 2) By...

View Article
Browsing latest articles
Browse All 15 View Live