Search found 325 matches
- Tue Mar 25, 2008 2:38 pm
- Forum: Components (Comms)
- Topic: LIN Components Help
- Replies: 6
- Views: 6239
Re: LIN Components Help
Thanks Benj. I read through the PDF. Do you have the .fcf examples. I checked the site and didn't see the files that go with the examples in the PDF. It looks straight forward but having a look at the worked examples would help to clarify what is written in the document, and I'm sure, save some time...
- Tue Mar 25, 2008 2:27 pm
- Forum: Components (Comms)
- Topic: RS232 Program conflict
- Replies: 22
- Views: 12460
Re: RS232 Program conflict
Anything further on this?
Ondra
Ondra
- Tue Mar 25, 2008 2:23 pm
- Forum: Flowcode V2 & V3
- Topic: Quotes in variables
- Replies: 5
- Views: 3771
Re: Quotes in variables
Using the example above, are you saying that I can place 34 in place of the quotes an it will print out as ". So then this : - MyStringVar[70] = "I said 34 That the string component won't accept a statement with quotes in it.34" would print out as this :- I said "That the string component won't acce...
- Tue Mar 25, 2008 3:42 am
- Forum: Flowcode V2 & V3
- Topic: Parameters and Returns
- Replies: 0
- Views: 1883
Parameters and Returns
Hi. I would like to know where I can get more information on using Parameters and Returns. I have a macro that contains the dial string commands for a modem. What I want to do is have another macro my time clock call the dialup macro, the dialup macro sends out through RS232 the dial command string ...
- Tue Mar 25, 2008 3:22 am
- Forum: Flowcode V2 & V3
- Topic: Quotes in variables
- Replies: 5
- Views: 3771
Quotes in variables
Good day. I would like to know how do I include quotes in a text sting when I'm trying to save the text to a variable. example:-
MyStringVar[70]= "I said "That the string component won't accept a statement with quotes in it.""
Ondra
MyStringVar[70]= "I said "That the string component won't accept a statement with quotes in it.""
Ondra
- Tue Mar 25, 2008 12:15 am
- Forum: Components (Comms)
- Topic: LIN Components Help
- Replies: 6
- Views: 6239
Re: LIN Components Help
Hi Steve thanks for your response.
I read through the CAN LIN presentation information on the learning center. The information on LIN is very little and there are no tutorials or programming example's. Please let me know when something is posted.
Anxiously waiting.
Ondra
I read through the CAN LIN presentation information on the learning center. The information on LIN is very little and there are no tutorials or programming example's. Please let me know when something is posted.
Anxiously waiting.
Ondra
- Mon Mar 24, 2008 3:52 am
- Forum: Components (Comms)
- Topic: LIN Components Help
- Replies: 6
- Views: 6239
LIN Components Help
Good day all. Hope you all had a good weekend. I want to work with the LIN component this week. What I would like to know is do you have or could you provide a flowcode example of a master slave communicating over a LIN bus. I've read what I could find on the net, and the documentation that came alo...
- Fri Mar 21, 2008 2:19 pm
- Forum: Components (Comms)
- Topic: RS232 Program conflict
- Replies: 22
- Views: 12460
Re: RS232 Program conflict
Ok guys this is not working. The program is not interrupting. I have it calling a macro that sends a 1 out to turn on an LED and nothing happens. I know that you where having some issues with the 16F690 FCD file. Could it be that this in causing issues with what I'm trying to do? Also Ben, I noticed...
- Thu Mar 20, 2008 12:36 pm
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12811
Re: RS232 Receive Variable
Got it Benj. Thanks
Ondra
Ondra
- Wed Mar 19, 2008 3:01 pm
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12811
Re: RS232 Receive Variable
Thanks Benj. I didn't ask the question quite clearly. What I want to know is how can I turn this: - MyArrayVar[0] = 'H' MyArrayVar[1] = 'e' MyArrayVar[2] = 'l' MyArrayVar[3] = 'l' -MyArrayVar[4] = 'o' MyArrayVar[5] = 0 Into this "Hello" You see what I would like to do is read in through the RS232 th...
- Wed Mar 19, 2008 1:41 pm
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12811
Re: RS232 Receive Variable
Hi Steve and Benj, to take this further I have created a string array, how do I convert it to a quote String only i.e change from
MyArrayVar[H]
MyArrayVar[E]
MyArrayVar[L]
MyArrayVar[L]
MyArrayVar[O]
to "HELLO"
Thanks in advance.
Ondra
MyArrayVar[H]
MyArrayVar[E]
MyArrayVar[L]
MyArrayVar[L]
MyArrayVar[O]
to "HELLO"
Thanks in advance.
Ondra
- Tue Mar 18, 2008 12:33 pm
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12811
Re: RS232 Receive Variable
Thanks so much, Steve and Benj for the thoroughness of your answers. I'm sure this topic will be very helpful to the newbies like myself.
Ondra
Ondra
- Tue Mar 18, 2008 2:29 am
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12811
Re: RS232 Receive Variable
Thanks Benj A carriage return is ASCII code 13, so you could check for this (use a loop with something like this: "While InChar <> 13"). But note that sometimes, the terminating characters for a line are CR (13) and LF (10). Your other questions are difficult to answer without knowing the system you...
- Mon Mar 17, 2008 4:13 pm
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12811
Re: RS232 Receive Variable
Oh., by the way, did you have any suggestion concerning my last question? "there are a total of 137 possible result codes. There are only 3 responses I will use to handle all possible result codes. Is there a better way than using If statements to handle the received result codes?" I replied to your...
- Mon Mar 17, 2008 1:25 pm
- Forum: Components (Comms)
- Topic: RS232 Program conflict
- Replies: 22
- Views: 12460
Re: RS232 Program conflict
Thanks for your help today Benj.
Ondra
Ondra
- Mon Mar 17, 2008 1:24 pm
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12811
Re: RS232 Receive Variable
Thanks for your help today Steve.
Ondra
Ondra
- Mon Mar 17, 2008 12:36 pm
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12811
Re: RS232 Receive Variable
The unit I'm working with is a dial up modem. The Responses are typical for most modems.
I'll check on whether or not it sends a LF. So that I'm prepared in the event that it does, how would you include the LF in the loop statement or do you.
Ondra
I'll check on whether or not it sends a LF. So that I'm prepared in the event that it does, how would you include the LF in the loop statement or do you.
Ondra
- Mon Mar 17, 2008 12:20 pm
- Forum: Components (Comms)
- Topic: RS232 Program conflict
- Replies: 22
- Views: 12460
Re: RS232 Program conflict
Hi Ben. I'm trying to understand the program flow. I noticed that you placed an Interrupt disable at the bottom of Main. Since the Interrupt only occurs when data is present at the RX pin why would you want to disable it? I thought that in Main, outside of interrupts and Items placed inside of loops...
- Mon Mar 17, 2008 11:18 am
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12811
Re: RS232 Receive Variable
Question, How would you handle something like this. I have a device I'm communicating with. The device will be transmitting result codes back to the PIC, based on the commands I send it. I need to make decisions based on what I receive, which can be anywhere from 2 to 65 characters. How should I go ...
- Mon Mar 17, 2008 10:48 am
- Forum: Components (Comms)
- Topic: RS232 Program conflict
- Replies: 22
- Views: 12460
Re: RS232 Program conflict
I'll be looking out for it. Thanks again.
Ondra
Ondra
- Mon Mar 17, 2008 10:47 am
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12811
Re: RS232 Receive Variable
Looks good. Thanks Steve.
Ondra
Ondra
- Mon Mar 17, 2008 10:02 am
- Forum: Components (Comms)
- Topic: RS232 Receive Variable
- Replies: 21
- Views: 12811
RS232 Receive Variable
Good day all. I would like to get an example of receiving into an array variable via the RS232 component. Looking through the forum I didn't find anything.
Ondra
Ondra
- Mon Mar 17, 2008 9:50 am
- Forum: Components (Comms)
- Topic: RS232 Program conflict
- Replies: 22
- Views: 12460
Re: RS232 Program conflict
Thanks Steve. Shoulds I do the same with the flag register? That is use the Register name "pir1" and bit name "RCIF"? Also is there any additional code that I should include? The data sheet for the flag Reg says that the flag bit RCIF is cleared by reading RCREG. Is this just stating the obvious. Or...
- Sat Mar 15, 2008 1:36 am
- Forum: Components (Comms)
- Topic: RS232 Program conflict
- Replies: 22
- Views: 12460
Re: RS232 Program conflict
Here's the file.
Thanks
Ondra
Thanks
Ondra
- Fri Mar 14, 2008 4:49 pm
- Forum: Flowcode V2 & V3
- Topic: tierd level support?
- Replies: 3
- Views: 2440
Re: tierd level support?
I didn't say that your support was not good. I think it's wonderful. It's the speed that frustrates me, and no, I don't want to turn to PICAXE(another platform). I just want to move faster than I'm currently moving. Sometimes it's just the little miss understandings on my part where I find it hard t...