![]() Which driver will you choose? WinUSB, CDC (serial emulation), HID. using a serial COM or other USB driver easily interfaceable with Matlab (and VC++, of course). As a drawback, the exchanging by file is a little unsatisfying. Since I have already written some code (based on the Microchip examples), in this case I probably will only have to solve some timing issues, to be sure not to loose any samples. I see at least 2 possibilities: - using a VC++ app that will write to a file, the file can be imported into Matlab. ![]() I'd like to have the possibility to both see the waveform displayed into a VC++ app and to import data into Matlab. However, since capabilities of the PIC are much higher than this, it will be nice to do something more. At the moment it has to sample analogue values at at least 100Hz, and a minimum of 10s acquisition time is required. Hi all, These days I'll start making a simple PC-based data logger, through a USB enabled PIC (18F4550).
0 Comments
Leave a Reply. |