Search found 95 matches

by mytekcontrols
Mon Apr 20, 2009 11:34 pm
Forum: General / Misc
Topic: Watch out for Stack Overflow in FlowCode
Replies: 21
Views: 23039

Re: Watch out for Stack Overflow in FlowCode

Hi Ben -- I'll have to check the compiler warnings as you suggested, although I don't recall seeing anything wrong. Good idea on enabling the BoostC software stack, but for me it is simply easier to go with a better PIC chip, and thereby keep everything in it's default mode. I have really been tryin...
by mytekcontrols
Sun Apr 19, 2009 3:17 pm
Forum: General / Misc
Topic: Watch out for Stack Overflow in FlowCode
Replies: 21
Views: 23039

Watch out for Stack Overflow in FlowCode

Stack Overflow, what is it? This is something that if you are programming directly in Assembler or "C" you learn about very quickly. It is a special area of memory in the PIC reserved for holding the return address when executing any kind of subroutine Call. This allows the PIC to know where to retu...
by mytekcontrols
Sat Jan 10, 2009 5:35 pm
Forum: General / Misc
Topic: 16-Bit PID
Replies: 5
Views: 7490

Re: 16-Bit PID

Hmm... I tried fiddling around with various approaches on modifying the PID to work with my application, but with dismal results. It was either way too touchy, had major over shoots, or just sat there and did nothing. I gave up, and have decided to take an approach that I can better understand and e...
by mytekcontrols
Tue Jan 06, 2009 8:33 pm
Forum: General / Misc
Topic: 16-Bit PID
Replies: 5
Views: 7490

Re: 16-Bit PID

Opps! just found a potential problem with your suggestions. That is representing various signals in 16-Bit format. Flowcode only has signed integers, which means that anything over 32767 will cause an overflow (or is that considered underflow?), and be considered a negative number. So I think I'd be...
by mytekcontrols
Tue Jan 06, 2009 6:13 pm
Forum: General / Misc
Topic: 16-Bit PID
Replies: 5
Views: 7490

Re: 16-Bit PID

Thanks for the quick reply and suggestions Ben. I will give it a try over the next couple of days and report back in on my results (or perhaps with more questions).
by mytekcontrols
Tue Jan 06, 2009 3:28 pm
Forum: General / Misc
Topic: 16-Bit PID
Replies: 5
Views: 7490

16-Bit PID

I downloaded the PID program given on the Example page of the Matrix site, and would like to make it work for another application that has a 16-Bit DAC utilizing the 2 PWM outputs of a PIC16F877a. The example code shows a PID loop that updates a single PWM channel in 8-Bit mode, and references an 8-...
by mytekcontrols
Tue May 27, 2008 5:25 pm
Forum: Components (Comms)
Topic: Bi-phase rotary encoder
Replies: 6
Views: 6686

Re: Bi-phase rotary encoder

Not that I have a need for this at the moment (although I have used these in the past); a Quadrature Encoder Component seems like it would make a great addition to flowcode. Any plans to add one in the near future? Edit: Just realized that this post might have been better posted in the "Components O...
by mytekcontrols
Fri Apr 25, 2008 3:23 pm
Forum: Flowcode V2 & V3
Topic: Displaying the right frequency
Replies: 21
Views: 12003

Re: Displaying the right frequency

I wish I could see what you did, but your file appears to be intended for the AVR version of FlowCode, and it wont open in my PIC version.
by mytekcontrols
Wed Apr 23, 2008 2:45 pm
Forum: Flowcode V2 & V3
Topic: Displaying the right frequency
Replies: 21
Views: 12003

Re: Displaying the right frequency

Vidor --- I had a similar problem of getting a precision result while limited to the 15-bit (un-signed) aspect of the FlowCode integers. Basically I had a need to multiply a gain factor of less than 1, with at least 3 digits of precision (.948). The value I was manipulating originally came from a 16...
by mytekcontrols
Wed Apr 23, 2008 2:43 am
Forum: Components (Comms)
Topic: MODBUS RTU
Replies: 5
Views: 6414

Re: MODBUS RTU

It seems like it should be quite possible to build the protocol from within Flowcode itself. Just be a matter of using If-Then decision blocks to sort out the commands. Of course there might be a way to streamline it based on decoding commands and parameters separately. Perhaps even creating macros ...
by mytekcontrols
Thu Apr 17, 2008 5:57 pm
Forum: Components (Comms)
Topic: MODBUS RTU
Replies: 5
Views: 6414

Re: MODBUS RTU

This would be of interest to me as well. I probably wont get around to trying this until later this year, but if I do come up with something I'll be sure to post it. Of course I too need to learn the protocol.
by mytekcontrols
Sat Mar 22, 2008 5:19 am
Forum: Flowcode V2 & V3
Topic: Forum Suggestion: Need Categories
Replies: 6
Views: 4451

Re: Forum Suggestion: Need Categories

Yes you are absolutely right. Your guys time is better spent elsewhere. And yes the list idea would be a good compromise. Too bad only Chevy and I seem to be the only users participating in this discussion, because as you stated earlier, this forum is for the flowcode users, and it would be nice if ...
by mytekcontrols
Fri Mar 21, 2008 9:13 am
Forum: Flowcode V2 & V3
Topic: Forum Suggestion: Need Categories
Replies: 6
Views: 4451

Re: Forum Suggestion: Need Categories

My vote would be for around 4 or 5 sub-categories. Without thinking too much, how about these: * General/Misc * Components (comms) * Components (other) * Bugs * Suggestions Steve this looks good to me 8) But I would agree with the addition of this as well, as suggested by Chevy6600 (if at all possi...
by mytekcontrols
Tue Mar 18, 2008 8:32 pm
Forum: Flowcode V2 & V3
Topic: Forum Suggestion: Need Categories
Replies: 6
Views: 4451

Forum Suggestion: Need Categories

This forum is getting difficult to navigate with all the individual topics. In fact as I scan through it all, I notice that there seems to be some replication probably due to the sheer number of posts that have been made. It would seem before this gets too out of hand, that it is time to create some...
by mytekcontrols
Sat Mar 15, 2008 5:50 am
Forum: Flowcode V2 & V3
Topic: Why i chose flowcode ! and not the others
Replies: 1
Views: 2499

Re: Why i chose flowcode ! and not the others

Very good post, and I agree that FlowCode is a great way to go (almost like having LabView for a PIC). However unlike you, I have programmed PICs for years, both in Assembly and Basic (MLE PicBasic). I guess you could say I got really tired of it, although still enjoyed designing the hardware. I too...
by mytekcontrols
Thu Mar 13, 2008 3:20 am
Forum: Flowcode V2 & V3
Topic: Strange warnings when compiling
Replies: 2
Views: 2609

Re: Strange warnings when compiling

Cool 8)
Thanks for the quick answer Sean.

I was hoping that it was unimportant, and you confirmed it.
by mytekcontrols
Wed Mar 12, 2008 5:17 am
Forum: Flowcode V2 & V3
Topic: Strange warnings when compiling
Replies: 2
Views: 2609

Strange warnings when compiling

I get the following Warnings, but this is followed by a "Success", and then proceeds to program the PIC16F877a without any problems. Basically the code seems to work just fine in my application, but the warnings do concern me. BoostLink Optimizing Linker Version 6.70 http://www.sourceboost.com Copyr...
by mytekcontrols
Fri Mar 07, 2008 3:57 am
Forum: Flowcode V2 & V3
Topic: More V3/V4 wish list Part 2
Replies: 4
Views: 3714

Re: More V3/V4 wish list Part 2

Sounds like V4 for will be bringing lots of extras. I like the sound of that :mrgreen:

Any idea when a beta release will appear?
by mytekcontrols
Wed Mar 05, 2008 8:53 pm
Forum: Flowcode V2 & V3
Topic: More V3/V4 wish list Part 2
Replies: 4
Views: 3714

Re: More V3/V4 wish list Part 2

2 different kinds of Integer Variables: Signed 16-Bit (as presently supported) Unsigned 16-Bit There are many times when I really could use a full 16-Bit unsigned variable for scaling, and would rather do so within flowcode, and without needing to implement the C-code alternatives. SPI Component Th...
by mytekcontrols
Fri Feb 29, 2008 4:30 pm
Forum: Components (Other)
Topic: 12x2 LCD Character Displays , HD48770 compatible?
Replies: 9
Views: 9431

Re: 12x2 LCD Character Displays , HD48770 compatible?

Thanks for listening Ben, and confirming what I suspected 8) Yes the more I think about it; entering the parameters for "X" (# of characters) and "Y" (# of Lines) into text fields, would seem like a good approach. So as not to confuse people that are used to the present drop-down method, this could ...
by mytekcontrols
Fri Feb 29, 2008 3:30 am
Forum: Components (Other)
Topic: 12x2 LCD Character Displays , HD48770 compatible?
Replies: 9
Views: 9431

Re: 12x2 LCD Character Displays , HD48770 compatible?

This looks like as good a place as any to post a question I have on LCD Display character length parameters. I would like to use a 28x2 line display, but obviously there is nothing that matches in the drop-down box within the LCD Component. However I gather that this doesn't matter as far as the rea...
by mytekcontrols
Thu Feb 28, 2008 6:14 pm
Forum: Flowcode V2 & V3
Topic: problem with baudrate
Replies: 6
Views: 4743

Re: problem with baudrate

Since the RS232 is hardware based, the baudrate is also determined by what clock speed you are running the chip at (e.g.; crystal frequency). So it would be important to have the flowcode clock speed setting be the same as the actual crystal in use, in order to get an accurate baudrate. Although I d...
by mytekcontrols
Thu Jan 24, 2008 2:16 pm
Forum: Flowcode V2 & V3
Topic: New Beta Components For Flowcode V3
Replies: 2
Views: 2729

Re: New Beta Components For Flowcode V3

Hi Ben,

Although these new beta components are better then nothing, they are still very limiting if they can't be simulated in the flowcode environment. Any plans to make them into full fledged simulatable components?
by mytekcontrols
Thu Jan 10, 2008 4:18 pm
Forum: Flowcode V2 & V3
Topic: Components
Replies: 30
Views: 65409

I would like to see the PWM component support the full 10-bit range, and not just a byte as it is now. Essentially I want to be able to pass this value within an integer.
by mytekcontrols
Thu Dec 06, 2007 3:36 pm
Forum: Flowcode V2 & V3
Topic: Hardware crash will require new install of flowcode
Replies: 5
Views: 4136

Steve, Thank you for the quick response, and clear instructions on re-installation of flowcode. Kinda sad about having to purchase an entirely new flowcode package just to be able to run it on my laptop, and my desktop machines. This is a very expensive method, just to have the option of going porta...