Search found 325 matches

by Ondra
Mon Dec 20, 2010 12:04 pm
Forum: Flowcode V4
Topic: Use of ReceiveRS232String in main loop
Replies: 5
Views: 1589

Use of ReceiveRS232String in main loop

Good day all. Up until this point, I am comfortable using ReceiveRS232Char and a decision icon to check if var < 255 before beginning to process any further. My question is, what does the ReceiveRS232String macro return when it is called in a loop and there is no data available? Also if I wanted to ...
by Ondra
Tue Jul 20, 2010 10:55 am
Forum: Flowcode V4
Topic: writing and reading to the eeprom
Replies: 2
Views: 1014

Re: writing and reading to the eeprom

Good day all. Some help on this would be appreciated. Thanks in advance.

Ondra
by Ondra
Mon Jul 19, 2010 11:10 am
Forum: Flowcode V4
Topic: writing and reading to the eeprom
Replies: 2
Views: 1014

writing and reading to the eeprom

Good day all. With eeprom writing and reading what is the rule when writing bytes to a location, then reading those bytes into a string var. I am trying to calculate some values up to 9 then storing the byte results in eeprom locations. I then tried to index the value into a string and print the res...
by Ondra
Fri Jul 09, 2010 12:06 pm
Forum: Flowcode V4
Topic: 18F6722 RS232 flow control, is this a bug?
Replies: 6
Views: 1389

Re: 18F6722 RS232 flow control, is this a bug?

OK. forget about what I said earlier. I got it working. Oscillator was set to HS-PLL I set it to HS and it worked.

Ondra
by Ondra
Fri Jul 09, 2010 11:10 am
Forum: Flowcode V4
Topic: 18F6722 RS232 flow control, is this a bug?
Replies: 6
Views: 1389

Re: 18F6722 RS232 flow control, is this a bug?

Hi Benj. I spent the better part to the day trying to get the USART 2 working with now success. I tried Receiving without using flow control and had no success. Using a scope I can see that the data is at the pin. At 9600 the bit width is .11ms. I think there maybe more issues with USART 2 on this P...
by Ondra
Thu Jul 08, 2010 2:11 pm
Forum: Flowcode V4
Topic: 18F6722 RS232 flow control, is this a bug?
Replies: 6
Views: 1389

Re: 18F6722 RS232 flow control, is this a bug?

When I designed the board I used G3 and G4 for my flow control pins. Is there no way to access them, maybe by changing the FCD file for that chip and if so, what and where do I make the changes?

Ondra
by Ondra
Thu Jul 08, 2010 12:10 pm
Forum: Flowcode V4
Topic: 18F6722 RS232 flow control, is this a bug?
Replies: 6
Views: 1389

18F6722 RS232 flow control, is this a bug?

Good day all. I design a circuit that requires RG4 and RG3 be used as RTS and CTS flow control. Under properties for the RS232 component I don't have G as an optional port. The board for my circuit is already done. Is there a way I can use the G port for my flow control pins? Thanks in advance. Ondra
by Ondra
Mon Jun 21, 2010 12:22 am
Forum: Flowcode V4
Topic: Working with large numbers?
Replies: 1
Views: 1034

Working with large numbers?

Good day all. I have a project where I need to manipulate, store and transmit large number values. 99,999,999 is the largest value. Can I use a floating point variable? Can floating point store a number that large? Also I need to store this value in the eeprom mem. Can one space hold such a large va...
by Ondra
Thu Apr 29, 2010 10:44 am
Forum: Flowcode V4
Topic: Errors after update to Flowcode 4.3
Replies: 25
Views: 6938

Re: Errors after update to Flowcode 4.3

Now you know somebodies spending a lot of time using what you've created. And It works too. Please be kind and delete it. And thanks for your help.

Thanks
Ondra
by Ondra
Wed Apr 28, 2010 2:27 pm
Forum: Flowcode V2 & V3
Topic: Compile linker error
Replies: 3
Views: 1978

Re: Compile linker error

Just clicked on Restore Defaults and I still get the same results. Should I try reinstalling V3 and if so do I need to uninstall the current install.

Ondra
by Ondra
Wed Apr 28, 2010 1:47 pm
Forum: Flowcode V2 & V3
Topic: Compile linker error
Replies: 3
Views: 1978

Compile linker error

Good day all. I have a file that I have in the past had no problems compiling. I made a change today and tried to compile. Below is the error I got. I'm using a PIC16F690 running a 1966088 crystal. I did update source boost about a 2 weeks ago. I don't know if that would have done it. any assistance...
by Ondra
Wed Apr 28, 2010 10:53 am
Forum: Flowcode V4
Topic: Errors after update to Flowcode 4.3
Replies: 25
Views: 6938

Re: Errors after update to Flowcode 4.3

Thanks Ben. Just sent it check your mail.

Ondra
by Ondra
Tue Apr 27, 2010 3:37 pm
Forum: Flowcode V4
Topic: Errors after update to Flowcode 4.3
Replies: 25
Views: 6938

Re: Errors after update to Flowcode 4.3

Just an note. I just imported a macro into a new program and it looks like V4 is working fine. The original program I'm having problems with was created in V3. So I guess the question is what could be wrong with my program why it would run so slow and hog 100% of CPU? When I upload the program to ch...
by Ondra
Tue Apr 27, 2010 2:24 pm
Forum: Flowcode V4
Topic: Errors after update to Flowcode 4.3
Replies: 25
Views: 6938

Re: Errors after update to Flowcode 4.3

Yes I am using the latest version from the website. First I installed from the CD then I upgraded via the website using the patch. I Then deleted/uninstalled flowcode v4 then installed the full version which I downloaded from the site.

Ondra
by Ondra
Tue Apr 27, 2010 1:48 pm
Forum: Flowcode V4
Topic: Errors after update to Flowcode 4.3
Replies: 25
Views: 6938

Re: Errors after update to Flowcode 4.3

I upgraded to the latest version, and for some reason Flowcode uses 100% of my CPU every time I make a change. It's verrrry slow and I have tried uninstalling the program and reinstalling it. I get the same results. The other thing is that when I close the program my macro view settings all go back ...
by Ondra
Thu Apr 15, 2010 12:37 pm
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 4039

Re: DS2401 Silicon Serial Number help

The first thing I did was check the pull-up, and yes I'm getting 4.89V at the data pin. May be I got a bunch of bad chips. May be the customs officers ran the devices through a scanner and damaged them. I started this about a month now, I'm going to let this go. Thanks for all your help Ben. Is it p...
by Ondra
Thu Apr 15, 2010 2:07 am
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 4039

Re: DS2401 Silicon Serial Number help

Hi Ben. Thanks for your response I purchased 5 ID chips. I sent another unit in a different circuit and I got the same results. I discovered one thing though. When I take the device out of the circuit, I still get an OK on the bus_reset. Is that a bug? according to the help file I should have gotten...
by Ondra
Tue Apr 13, 2010 2:16 pm
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 4039

Re: DS2401 Silicon Serial Number help

Ben, going through the data sheet and the flowchart for the DS2401 I read the instructions below. I don't see where this is happening in your code. Could you advise. Ondra "Read ROM [33h] or [0Fh] This command allows the bus master to read the DS2401’s 8-bit family code, unique 48-bit serial nu...
by Ondra
Tue Apr 13, 2010 1:39 pm
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 4039

Re: DS2401 Silicon Serial Number help

Good day Ben, and thanks again.
I got up this morning and tried everything you suggested with the code changes. I connect a variable resistor and tried different values and I still get the failed error code 2.
Anything else I can try?

Ondra
by Ondra
Mon Apr 12, 2010 5:08 pm
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 4039

Re: DS2401 Silicon Serial Number help

Thanks Ben. The system printed out a number 2.

Ondra
by Ondra
Mon Apr 12, 2010 1:19 pm
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 4039

Re: DS2401 Silicon Serial Number help

Hi Ben. First, thanks for everything and especially for going the extra mile. I loaded the code with the changes to suit my hardware. The reset devices returns an OK. Scan devices returns a Fail, and of course device ID returns 255. I tried using a c code block with the code ("cr_bit (sspcon1, ...
by Ondra
Tue Apr 06, 2010 11:20 am
Forum: Flowcode V4
Topic: Run-time error 440 and 326
Replies: 1
Views: 781

Run-time error 440 and 326

Good day all. I recently updated to the newer version of V4.3.7.63 and when I tried open a program that I originally created in V3 I get run-times errors 440 "Automation error" and 326 "Resource with identifier '35' not found. When I click the OK button for each dialog, I get another ...
by Ondra
Thu Mar 25, 2010 3:09 pm
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 4039

Re: DS2401 Silicon Serial Number help

Thanks Eric and Ben. On the PIC 18F2680 which I'm using, RC3 is not an Analogue capable pin.
Any other Idea on this one?

Ondra
by Ondra
Thu Mar 25, 2010 11:51 am
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 4039

Re: DS2401 Silicon Serial Number help

Thanks Eric.
If I'm using Port C pin 3, do I use the same C code you recommended? : - adcon1 = 0x07;

Ondra
by Ondra
Wed Mar 24, 2010 11:46 pm
Forum: Flowcode V4
Topic: DS2401 Silicon Serial Number help
Replies: 23
Views: 4039

Re: DS2401 Silicon Serial Number help

Thanks Eric.
I'm adding this device to en existing system. The only available pin is C3. Are you saying that the one wire device cannot work on port pin C3?

Ondra