Search found 6 matches
- Wed Apr 18, 2012 10:12 am
- Forum: Flowcode V5 Issues
- Topic: Array Strange Behavior
- Replies: 4
- Views: 4202
Re: Array Strange Behavior
I've just try to replace the routine with this C-Code, but it make no difference. //test loop FCV_INDEX = 0; for(FCV_INDEX=0;FCV_INDEX<32;FCV_INDEX++){ FCI_TOSTRING(FCV_DATA_ARRAY_SEND[FCV_INDEX],FCV_TEMP,FCSZ_TEMP); FCD_RS2320_SendRS232String(FCV_TEMP,FCSZ_TEMP); FCD_RS2320_SendRS232Char(10); FCD_R...
- Tue Apr 17, 2012 4:25 pm
- Forum: Flowcode V5 Issues
- Topic: Array Strange Behavior
- Replies: 4
- Views: 4202
Re: Array Strange Behavior
Hi, I don't think it's PuTTY, because as I said it work perfectly if I put a value between 0 and 31 instead of "index" (in the "TransToString" box), and it work well with another RS232 application. But I tried another datalogger to listen to my COM port and it gave me the same re...
- Tue Apr 17, 2012 2:51 pm
- Forum: Flowcode V5 Issues
- Topic: Array Strange Behavior
- Replies: 4
- Views: 4202
Array Strange Behavior
Hello, I'm in front of a strange problem, let me explain it. I would love to send 32 numbers to as PC program via RS232, sounds easy. My idea is to define an array of 32 value (INT) and put that array and the rs232 send macro in a loop that increase an index (from 0 to 31). I made a print screen of ...
- Mon Mar 12, 2012 5:15 pm
- Forum: General Programming
- Topic: RS232 Inverse Polarity
- Replies: 7
- Views: 5689
Re: RS232 Inverse Polarity
Hello Benj,
That's exactly what the other device want, inverted polarity. I know because I can comunicate with it nicely using an inverted polarity RS232 signal (with a BASIC Stamp). But I would love to move on and use a PIC which is much more faster and with more memory.
That's exactly what the other device want, inverted polarity. I know because I can comunicate with it nicely using an inverted polarity RS232 signal (with a BASIC Stamp). But I would love to move on and use a PIC which is much more faster and with more memory.
- Mon Mar 12, 2012 11:20 am
- Forum: General Programming
- Topic: RS232 Inverse Polarity
- Replies: 7
- Views: 5689
Re: RS232 Inverse Polarity
Hi, Thanks for all your answers. If you are connecting the microcontroller's UART to a RS232 bus then a logic converter such as a MAX232 will automatically inverse the signals for you as well as convert the voltage levels to +/-12V. I use a MAX232 with the hardware UART (to a PC) and it works perfec...
- Wed Mar 07, 2012 2:20 pm
- Forum: General Programming
- Topic: RS232 Inverse Polarity
- Replies: 7
- Views: 5689
RS232 Inverse Polarity
Hi guys, I've searched for a way to set up flowcode (V5) to inverse the communication signal of the RS232, but didn't find a solution. I'm using the software RS232 on a PIC18F2520 @ 2400bps, Tx on RC0 (pin11) and Rx on RC1 (pin12). So I was wondering if anyone know how to set flowcode (or in C so i ...