Managing Continuous Operation of Flame Machine with Sleep Function

AI Thread Summary
The discussion focuses on modifying C code for a flame machine to implement a user-defined flame and cool time cycle during continuous operation. The user is considering using the Sleep function to manage the cool period but seeks clarification on whether it can handle interrupts during this time. Participants inquire about the operating system in use, the need for an interrupt handler, and whether there is a library available for controlling the current. The conversation highlights the need for more information to provide specific guidance. Overall, the implementation of the sleep function and its implications for interrupt handling are central to the discussion.
rama1001
Messages
130
Reaction score
1
Hi,
I am correcting a C code which was written for a flame machine. My desire is to give a burst cool time when the machine working continuously. In deep, user could have the facility to enter the flame time and cool time before a continuous operation. So, i exactly want to off the current when user time met the flame time and then cool period starts here and so on continuously.
I thought of using Sleep function with an argument of user entered cool time. Is this handle other interrupts in this period? Or any other suggestions would be appreciated.
 
Engineering news on Phys.org
Yes, the sleep function is appropriate. But you don't give enough information for us to say more.

Interrupt? Are you writing an interrupt handler?What operating system?

Do you have a library to handle turning current on/off?

Does this process run forever?

Lots of questions.
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top