Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 31,375 points

Yuvaraj

Favorite Answers90%
Answers93
  • UPS for LED Smart Tv?

    Hi everyone,

    I bought a Samsung 32 inch EH5300 Smart LED Tv. The place where I live, I experience a lot of unexpected power failures and power fluctuations. So I thought of buying a UPS. My doubts/questions are as follows.

    1. Can I use the normal computer UPS for tv?

    2. Does the UPS act like a stabilizer(eg: support on high and low voltage and provide a stable power output to the tv)?

    3.Does the UPS output waveform affect the tv internals ?

    4. When I have power supply working fine does the the current go direct or through from the battery to the tv?

    5. Is there a option like. there are 4 sockets in UPS, if I connect on one socket the power comes from battery and in another the power comes direct?

    Is it good to buy a standby or continuous UPS and also can you guys suggest me a good one to buy I live in India.

    Thank you very much for your time.

    2 AnswersTVs8 years ago
  • Extract time from the text file using C?

    I need to extract the time from the text file using C or any other language. I have this log output which will be like this:

    Time ms

    36635 ID:1 overhear (0, 0)

    36762 ID:1 overhear (0, 0)

    36806 ID:27 Send seq:3 to ID:1

    36810 ID:27 Start Local Repair

    46896 ID:1 overhear (0, 0)

    46896 ID:20 overhear (0, 0)

    47009 ID:1 Received ID:24 seq:4 hop:2

    47196 ID:27 Send seq:4 to ID:1

    47201 ID:27 Start Local Repair

    47265 ID:1 Received ID:27 seq:4 hop:1

    47268 ID:20 overhear (0, 0)

    You guys can see the "Start Local Repair" the time is given in milliseconds (36810). I need to store the time in an array format for all "Start Local Repair" in the log file. I saw some examples but I couldn't work it out. I need a program that reads the output line by line and matches the "Start Local Reapir" and stores the time in an array format which will help me to plot the graph. Can any one please write a program to do this..

    Thank you very much for your time.

    2 AnswersProgramming & Design9 years ago
  • Calling a Function Every 10 seconds?

    I need to call this function in my program every 10 seconds from the start of my program.

    This is the function to call:

    void

    rpl_local_repair(rpl_instance_t *instance)

    {

    int i;

    PRINTF("RPL: Starting a local instance repair\n");

    for(i = 0; i < RPL_MAX_DAG_PER_INSTANCE; i++) {

    if(instance->dag_table[i].used) {

    instance->dag_table[i].rank = INFINITE_RANK;

    nullify_parents(&instance->dag_table[i], 0);

    }

    }

    rpl_reset_dio_timer(instance);

    RPL_STAT(rpl_stats.local_repairs++);

    }

    How can I write a loop or another function to call the above function every 10 seconds in my program.

    Thank you.

    4 AnswersProgramming & Design9 years ago
  • Books for file handling in C?

    Hello everyone, I'm trying to write a script to extract data from the log output of my simulation. I need to learn more about file handling and doing some calculation with the results, like calculating Throughput, Delivery Ratio etc. I need suggestion about books on file handling in c with some good examples..it will be a great help.

    Thank you.

    2 AnswersProgramming & Design9 years ago