Well, it works! Thanks!
I was able to read/write data from the card. Windows proves again a very useful sdk, you can only write in 512 bytes clusters, same for reading.
Type: Posts; User: _izua_
Well, it works! Thanks!
I was able to read/write data from the card. Windows proves again a very useful sdk, you can only write in 512 bytes clusters, same for reading.
So, I got a card reader, wrote data from the device, put the card in the reader, saw it in winhex.
Next step, doing it programatically.
cout << "attempting CreateFile() on F:" << endl;
...
I don't have a card reader handy - but if I insert an unformatted volume, will windows allocate it a volume letter?
oookay, I'm not exactly familliar with windows api file manipulation. may i ask you what other functios i will use - for closing, reading with an offset, writing to an offset ? but this seems to be...
I need to read and write to an USB mounted volume at raw level. It's a SD card in a card reader.
It has a custom file format I made- and a custom-made electronic device writes to it/reads from it....
Because such a device is seen by the system as a printer. I want to have direct control over the individual bits, for using software such as relais timer, mach 3, etc.
I already built the hardware...
Hi. I need to access what other applications write to the parallel port address (0x378). Newer computers do not have a physical port, so I'm building myself an USB based extension. I have the...
Hi!
I want to make a simple software to aid in learning the guitar fretboard.
I have some experinece with C++ API programming, and some with fourier analysis in MATLAB.
I believe I need one...
you've got to be kidding me. all that code for spawning a process? :/
well, except that it spits all the cout data in my main program. I want that data accessible to my program, but not shown on my program's console.
Is it possible to rim wget (via a system() call, per example), without having it overwrite data in my main program output? Like, in a thread? Or even better, several concomittent wget-s in separate...
I haven't made any new code on my project, I've been trying to understand yours :) But it's too complex for me, i guess.
Is there an easy to use C++ curl wrapper? I've found curlpp, but it's too...
is there an easier way to get around this? I've been experimenting with the above class for several hours and i haven't really understood anything. my c skills suck.
Hmm, that seems to work. However, now I can't get curl to execute. whenever i run curl_easy_perform, the program crashes.
And I can't declare the CURL object anything else but a pointer in the...
I'm building a worker class that should download stuff, via cURL.
however, cURL has some oddities in it (using my functions to buffer and send progress, etc) and i'm far from understanding classes...
Hmm, the problem is that, this little device (PIC 16F877) doesn't have enough memory to store all that samples (~ 256 bytes of RAM). I guess I could interface it with an external RAM chip, but then...
oh, you thought i was doing trigger detection on the device?
hmm, that's not a bad idea. i suppose it can be done.
This "double-buffering" method sounds cool. I'll have to put it on paper and see...
So by 'reading' the adc, you mean something like, sending a byte to the uc, and then the uc sends the read value back?
The whole thing is timed pretty well, since i'm using the hardware USART....
That's an interesting approach. Well, I'm not reading the ADC at all. The uc is sending its values as it's reading the ADC, as fast as it can (but of course, it reaches only about 90% of the serial...
The problem with buffering is that - the data may come in quicker than I can process it. And this way, I'll have to skip parts of the buffer - so, I can miss trigger events. I was thinking of storing...
Well, since my sender part, and the protocol is complete, i'm starting to design my oscilloscope receiver, renderer, basically, where all the action and smart computing will take place.
I made a...
Gah. I hate that i'm not a native english speaker.
Whenver I compile my program, my final exe locks up. If i make a change, and compile it again, I need to go through a bunch of menus and change the...
Okay. Then, how can I make the program exit cleanly when it's done computing (i.e. by itself) ?
It's ok, since this is a test environment, and i'll always make sure i get the bytes.
my problem is not waiting for the bytes - since they always come. my problem is that the program doesn't end in...
This is my current code.
It waits for a number of ms, then it says how many samples it received
#include <cstdlib>
#include <iostream>
#include <vector>
#include <string>
#include...