Search found 55 matches
- Sun Apr 18, 2021 3:57 pm
- Forum: Flowcode V8
- Topic: Interupts going mad with 18F46K22
- Replies: 3
- Views: 2469
Re: Interupts going mad with 18F46K22
Have done a bit more investigation but got nowhere I'm afraid. In case it was the VISI object causing the problem I substituted the VISI object with the UART object but the behaviour was the same, a simple initialize was enough to make the interrupts misbehave. Any clues great fully appreciated Than...
- Thu Apr 15, 2021 6:52 pm
- Forum: Flowcode V8
- Topic: Interupts going mad with 18F46K22
- Replies: 3
- Views: 2469
Re: Interupts going mad with 18F46K22
Thanks Bachman but that's how I diagnosed the problem. I didn't explain how I'm fault finding in the interest of keeping the post as short as possible.
I'm not even trying to do anything on channel 1, simply initialising the port is enough to cause the interupts to fail
Thanks for replying
Chris
I'm not even trying to do anything on channel 1, simply initialising the port is enough to cause the interupts to fail
Thanks for replying
Chris
- Thu Apr 15, 2021 6:17 pm
- Forum: Flowcode V8
- Topic: Interupts going mad with 18F46K22
- Replies: 3
- Views: 2469
Interupts going mad with 18F46K22
Hi team Further to my ongoing investigations with the timer https://www.matrixtsl.com/mmforums/viewtopic.php?f=76&t=22661[url] I've hit another funny. Same program, but now I've hooked up 4D Systems displays using UART channel 1 and UART channel2 instead of the 4x20 LCD. When running the program...
- Mon Apr 12, 2021 5:30 pm
- Forum: Flowcode V8
- Topic: 18F14K22 Timer question
- Replies: 10
- Views: 8442
Re: 18F14K22 Timer question
Thanks Benj, very much appreciated
Chris
Chris
- Wed Apr 07, 2021 3:15 pm
- Forum: Flowcode V8
- Topic: 18F14K22 Timer question
- Replies: 10
- Views: 8442
Re: 18F14K22 Timer question
OK team, seriously confused now. What I've done is to replicate the real application as far as possible. I'm not trying to simply measure a pulse from a single source rather I have 2 sensors which each sensor triggers a 2us pulse and what I'm trying to measure is the time between each 2us pulse with...
- Sun Mar 21, 2021 4:58 pm
- Forum: Flowcode V8
- Topic: 18F14K22 Timer question
- Replies: 10
- Views: 8442
Re: 18F14K22 Timer question
Hi Qmesar
Please don't be concerned. As I said, being retired, unlike you, I've got all the time in the world
Please don't be concerned. As I said, being retired, unlike you, I've got all the time in the world

- Mon Mar 15, 2021 4:50 pm
- Forum: Flowcode V8
- Topic: 18F14K22 Timer question
- Replies: 10
- Views: 8442
Re: 18F14K22 Timer question
Brilliant - many thanks Qmesar, very much appreciate your time.
Please, there is no time pressure, being retired, I forget some have still to earn a living.
Chris
Please, there is no time pressure, being retired, I forget some have still to earn a living.

Chris
- Mon Mar 15, 2021 2:59 pm
- Forum: Flowcode V8
- Topic: 18F14K22 Timer question
- Replies: 10
- Views: 8442
Re: 18F14K22 Timer question
Thanks guys, much appreciated. I should have explained that the 500us to 1ms pulses are arriving every 2 seconds. In my mind, after the interrupt occurs, the PIC is looping tightly around the input to detect when the pulse is over, its then got nearly 2 seconds to complete the display update. Bachma...
- Sun Mar 14, 2021 4:14 pm
- Forum: Flowcode V8
- Topic: 18F14K22 Timer question
- Replies: 10
- Views: 8442
18F14K22 Timer question
Hi team, I'm trying to get a 18F14K22 to measure a pulse width between 500us and 1ms. I copied this example from the forum (apologies, but I can't find the original author but thanks) but strange things are happening. The circuit is working but inputting various pulse widths reveals :- 1ms = 1033 50...
- Fri Nov 13, 2020 5:06 pm
- Forum: Flowcode V8
- Topic: Interupt Question
- Replies: 3
- Views: 2256
Re: Interupt Question
Cheers guys, much appreciated
Chris
Chris
- Thu Nov 12, 2020 5:19 pm
- Forum: Flowcode V8
- Topic: Interupt Question
- Replies: 3
- Views: 2256
Interupt Question
Hopefully a simple question being asked by a novice. If a PIC is halfway through transmitting (or receiving) a RS232 string and an interrupt occurs, does the PIC respond immediately to the interrupt (and corrupts the RS232 string) or will it complete the RS232 task before responding to the interrupt...
- Tue Apr 28, 2020 1:22 pm
- Forum: Bug Reports
- Topic: V7 project to V8 Weirdness
- Replies: 4
- Views: 2641
Re: V7 project to V8 Weirdness
Don't sweat it Steve, I don't want to take up your valuable time any further. I've got a work-around so lets put it down to the wind blowing in the wrong direction! Interestingly, I did the same exercise but in V7 and it worked without issue so it is something to do importing into V8. Thanks for loo...
- Tue Apr 28, 2020 11:14 am
- Forum: Bug Reports
- Topic: V7 project to V8 Weirdness
- Replies: 4
- Views: 2641
Re: V7 project to V8 Weirdness
Steve, Many thanks for getting back, much appreciated. I attach the original V7 project to which in V8, I removed the Eeprom, Display and Button macros and equivalent variables but after compilation, none of the remaining macro's were being called. I added a simple 1 second loop in the main body whi...
- Mon Apr 27, 2020 3:25 pm
- Forum: Bug Reports
- Topic: V7 project to V8 Weirdness
- Replies: 4
- Views: 2641
V7 project to V8 Weirdness
Hears one to make you think - its certainly driving me crazy. The scenario is I brought in a successful V7 project into V8 as I could use a lot of the previously written code in my new project. I deleted a lot of macros and variables that I didn't need, recompiled but apart from the main block which...
- Sun Mar 08, 2020 4:18 pm
- Forum: Flowcode V8
- Topic: Flowcode 8 crash
- Replies: 35
- Views: 21307
Re: Flowcode 8 crash
Did a patch go out Steve? My V8 would regularly and reliably crash needing the registry hack to bring it back if I simply hit the "remove unused variables" button. After a week or so that stopped but t would still crash occasionally - however - since the last crash (07/03/2020) and recover...
- Tue Feb 11, 2020 4:22 pm
- Forum: Flowcode V8
- Topic: Flowcode program will not start
- Replies: 4
- Views: 3043
Re: Flowcode program will not start
Don't worry - eventually found the post. Guessing its the registry hack solution
Thanks
Thanks
- Tue Feb 11, 2020 4:13 pm
- Forum: Flowcode V8
- Topic: Flowcode program will not start
- Replies: 4
- Views: 3043
Re: Flowcode program will not start
Gavin
I to have the same problem but my searching is not up to your standards. Can you point me to relevant post please.
Thanks
Chris
I to have the same problem but my searching is not up to your standards. Can you point me to relevant post please.
Thanks
Chris
- Thu Jan 23, 2020 4:48 pm
- Forum: Flowcode V8
- Topic: Upgrading to V8 question
- Replies: 1
- Views: 1440
Re: Upgrading to V8 question
Please ignore - a search found the answer.
Apologies for taking up bandwidth
Chris
Apologies for taking up bandwidth
Chris
- Thu Jan 23, 2020 4:07 pm
- Forum: Flowcode V8
- Topic: Upgrading to V8 question
- Replies: 1
- Views: 1440
Upgrading to V8 question
One for the Matrix staff.
In trying to upgrade from my V7 to V8, I get as far as the checkout but although logged in, it only gives me the option to checkout as a guest. Is this expected behaviour or am I doing something daft?
Many thanks
Chris
In trying to upgrade from my V7 to V8, I get as far as the checkout but although logged in, it only gives me the option to checkout as a guest. Is this expected behaviour or am I doing something daft?
Many thanks
Chris
- Thu Jan 23, 2020 3:42 pm
- Forum: General Programming
- Topic: VISI display advice and guidence.
- Replies: 7
- Views: 5276
Re: VISI display advice and guidence.
Fantastic Martin, many thanks - and thanks to all for your time in answering my many dumb questions
Chris
Chris
- Wed Jan 22, 2020 3:51 pm
- Forum: General Programming
- Topic: VISI display advice and guidence.
- Replies: 7
- Views: 5276
Re: VISI display advice and guidence.
Thanks guys for the responses, helps in a big way. This is not the first time I've used 4D systems displays but it is the first to use the spectrum. In the early days I discovered Johns excellent article but my lack of knowledge is more to do with the program not the hardware as such. Now for the re...
- Tue Jan 21, 2020 5:34 pm
- Forum: General Programming
- Topic: VISI display advice and guidence.
- Replies: 7
- Views: 5276
Re: VISI display advice and guidence.
Thanks for getting back Martin, much appreciated.
I wish I could write in C but I'm not yet at that level that's why I find Flowcode such a fantastic tool
Regards
Chris
I wish I could write in C but I'm not yet at that level that's why I find Flowcode such a fantastic tool
Regards
Chris
- Tue Jan 21, 2020 1:07 pm
- Forum: General Programming
- Topic: VISI display advice and guidence.
- Replies: 7
- Views: 5276
VISI display advice and guidence.
Hi I'm looking for some guidance and advice please as I'm hungry to learn but have got little experience with C. I've got a project where I'm talking to a VISI display with 4 spectrum gauges where I'm trying to simulate 4 moving graphs. I can drive the display OK but as each spectrum has 24 columns ...
- Fri Nov 15, 2019 1:47 pm
- Forum: 8-Bit PIC
- Topic: 18f46K22 ADC Funnies
- Replies: 4
- Views: 7966
Re: 18f46K22 ADC Funnies
Fantastic Benj, many thanks for excellent support for an excellent product.
- Fri Nov 15, 2019 12:58 pm
- Forum: 8-Bit PIC
- Topic: 18f46K22 ADC Funnies
- Replies: 4
- Views: 7966
Re: 18f46K22 ADC Funnies
Absolutely brilliant Benj, that fixed it. Another unrelated question only asking so I can expand my knowledge. I noticed that I had a solder bridge between AN4 (pin 24) and RA4 (pin 23) but it didn't seem to upset the operation of the ADC. I'm guessing that an undefined pin goes tri-state (high impe...