I think I have found a solution, below is a copy of the code I am using if anyone is interested. Now I am stuck with one very huge problem.
[B]Does anyone know where I can find a C compiler?[\B]...
Type: Posts; User: bigB8210
I think I have found a solution, below is a copy of the code I am using if anyone is interested. Now I am stuck with one very huge problem.
[B]Does anyone know where I can find a C compiler?[\B]...
Ok I spent some time and looked at Beej and I went from somewhat confused to totally confused on a number of points.
1. When some of the methods are called the variables used are sometimes not...
You are thinking exactly or very close to the same thing I was thinking of in my orginal message. I know approximately what I need to do, I just am lacking in the department of how to do it. If you...
As part of my program I am required to telnet to a specified computer. I would need to telnet to the remote linux computer and execute a .sh(.bat) file.
I am accessing the dos remotely from a...
Hi:
I am looking for a way to set up a listener on a linux machine that will listen to a port, such as port 8000, for incoming communication, and then execute a .bat file if the incoming...
Ok I tried that so I had a variable
float sample[180000]
and all I got back was a segmentation fault. I reduced the number to 8, just to see what would happen, and it worked, any suggestion,...
Ok, well since I got an delay working properly, and I changed the print out to the file from an int to a float I have run into the point that the change from the int to the float darastically slowed...
Ok that is well and good, and I can't believe I didn't think of that, but I'm still stuck with one problem. I am receiving data from an data acquisition board, which returns the data to me in hex. I...
I am currently experiencing some difficulty when it comes to simple athrimitics in C. I am using variables that are double, so should be able to handle decimal, multiplying them and/or dividing them...
I tried the nanosleep() to make only a quick break in the system unfortunetely it is to long. I need to get between 2000 and 2 samples per second depending on the users requirements. To do this I...
I need a way to cause a delay in a program that can vary from 0.000125 seconds to .5 seconds, therefore giving me between 2000 samples per second and 2 respectively. Without a sleep I max out just...
That info above I think is good, Thanks
Now that leave the point that I need to display the difference of time in milleseconds while I go through the loop, any suggestions
Thanks for all...
Little rusty on the time() function + I left my refernce bbok elsewhere. Ideas how to use it please!
Thanks
yes the board is running Linux Kernel 2.4.18
This software is for a single board computer, it will only be running for at max 90 seconds, which is why I need the system to keep track of how long it is running.
Thanks for all input
sleeps don't seem to work because they seem to stop the clock() while they sleep and thus through the timing of the program out and it runs for a lot longer then I have patients to wait for.
I...
OS Linux
Compiler gcc
My OS keeps running the program because it needs to run this application for a given period of time, below is a portion of the code that I am using with some modification to the data it prints out so...
I need a way to delay a program for only a matter of nano seconds in C. I need to take up to 2000 samples per second and currently can not do this using clock() since it does not give me accurate...