Search:
Type: Posts; User: Bfrancesco
Search:
Search took 0.02 seconds; generated 25 minute(s) ago.
-
April 4th, 2013, 09:50 AM
In that link there is the equation B(z). Is it sufficient to implement the filter FIR1(N,Wn) in c++?
-
April 4th, 2013, 08:55 AM
I'd need the algorithm of matlab FIR.
-
April 4th, 2013, 08:31 AM
I don't know the algorithm. With Matlab I use only this command: B = fir1(N,Wn) where N is the order and the Wn the cut-off frequency.
-
April 4th, 2013, 07:33 AM
One question please: I implemented a low-pass filter FIR of 12th order and 5Hz cut-off frequency. I'd like to implement the same filter in c++. Can you suggest something?
Thank you
-
March 27th, 2013, 04:43 AM
Thank you very much 2kaud! now it works correctly!
-
March 20th, 2013, 04:55 AM
I'm trying to send encoded bytes (The codification with other code is made). I have understood that to stamp in the MFC application I must use "TRACE" and not "printf", but the real problem is that...
-
March 14th, 2013, 05:48 AM
This is the complete code:
///////////////////////////////// Includes //////////////////////////////////
#include "stdafx.h"
#include "SerialPort.h"
/////////////////////////////////...
-
March 14th, 2013, 05:32 AM
I'm trying but I don't know if it's correct, because i don't read any error when I compile, but none window appears to read the byte that I send...
-
March 14th, 2013, 05:14 AM
Hi
Now I have obtained the correct packet byte to send after coding and CRC calculation. This is: "01 02 04 01 02 09 0c 10 02 06 12 01 01 13 01 01 49 f1 00"
Now I want to send it using the...
-
March 6th, 2013, 05:05 AM
-
March 6th, 2013, 04:41 AM
OK thank you. I didn't find http://msdn.microsoft.com/en-us/libr...(v=vs.80).aspx.
Why the compiler gives the follow error:
- syntax error: ';' before identifier ''^" ?
-
March 6th, 2013, 04:08 AM
One fast question...
I'm implementing a 16bit CCITT CRC algorithm and I have found this sample:
unsigned int crc(unsigned char data)
{
static unsigned int crc;
crc = (unsigned...
-
March 5th, 2013, 09:36 AM
Well! Thank you! This is a very good forum. I forgot to create
I have finished my second step with success: encoding and decoding the packet! And thanks to "printf" I have verified that all works...
-
March 5th, 2013, 06:16 AM
there aren't any errors with this code.
-
March 5th, 2013, 06:04 AM
Pardon...this is the code:
int main()
{
const unsigned char text[] = {0x01, 0x01, 0x01 , 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x01, 0x00};
unsigned char codify[200];
StuffData(text,...
-
March 5th, 2013, 06:03 AM
This code show strange characters without errors:
-
March 5th, 2013, 05:52 AM
I tried before to write!!! but it doesn't work (I have errors when it compiles or i read very strange characters) and for this reason I want to know if it is correct...
-
March 5th, 2013, 05:41 AM
Ok I thank you very much.
the follow code ran with success, but I'd like to see the encoding packet. I have thought to use printf, is it correct?
int main()
{
const unsigned char...
-
March 4th, 2013, 06:41 PM
OK thank you very much! Also if the problem is to send this packet: 0x01, 0x01, 0x01 , 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x01, 0x00. Not an Array of char.
-
March 2nd, 2013, 03:38 PM
I'm improving and now i'm trying and I'd like to estabilish a connection between 2 devices also if it's not very simple for me.
-
March 2nd, 2013, 02:55 PM
I'm reading and I'm trying many applications.
-
March 2nd, 2013, 02:33 PM
I have some problems...I'm a new programmer and all codes are not simple for me now. Are there some example code to understand how i can do it?
Thank you and I'm sorry.
-
February 28th, 2013, 10:19 AM
Yes, but i don't understand well how i can do it.
-
February 28th, 2013, 09:37 AM
I copied that from here: http://www.stuartcheshire.org/papers/COBSforSIGCOMM/ (at the end of page)
-
February 28th, 2013, 09:06 AM
thank you very much Victor for your help! I'm a new programmer, but i'm improving and the communication between PC and device has been established also with C++ language. I discovered that I have...
|
Click Here to Expand Forum to Full Width
|