1:01 pm
March 19, 2015
My wishes:
- Add a feature that allows to incorporate/combine existing Arduino Libraries into the LabView environment.
- Manipulate microprocessor registers. (Bitwise, Bytewise, Short, Long, ..)
- SPI, I2C, CAN support. (Due, CAN0 & CAN1 port)
- Make parallel loops available. (If possible according to the resources available depending on microprocessor)
Thanks, John
7:43 pm
March 12, 2015
As far as multi-threading goes, since AVR does not support hardware multi-threading and is meant for simpler applications, it is best to treat these as single loop interrupt driven systems. We do support pin interrupts with callbacks and timer interrupts are on the roadmap. This is usually sufficient for these types of systems. Since the Due supports hardware multi-threading, this is the architecture we would most likely have a chance at implementing a decent scheduler.
Other items listed above that are on the roadmap include SPI, I2C, and CAN.
Providing a generic interface to libs is very tricky. At this time we will be manually adding support for libraries based on priority.
Thanks for the suggestions.
6:59 pm
March 19, 2015
Steffan said
As far as multi-threading goes, since AVR does not support hardware multi-threading and is meant for simpler applications, it is best to treat these as single loop interrupt driven systems. We do support pin interrupts with callbacks and timer interrupts are on the roadmap. This is usually sufficient for these types of systems. Since the Due supports hardware multi-threading, this is the architecture we would most likely have a chance at implementing a decent scheduler.Other items listed above that are on the roadmap include SPI, I2C, and CAN.
Providing a generic interface to libs is very tricky. At this time we will be manually adding support for libraries based on priority.
Thanks for the suggestions.
For the smaller Arduino's the timer interrupts option is a nice option to have small tasks beside the main loop. Combined with a case structure inside the timer interrupt, you can consider the Uno as a "serial interrupt based multi-tasking mainframe" .
For the Due (and other future platforms) a decent scheduler and multi-threading will make this Compiler a serious contender in the Arduino world.
The roadmap looks ok to me, perhaps the WatchDog is easy to include....? (first the other stuff)
About "interface to libs" ; what is the difficulty you face , and can we help to find solutions?
Regards,
John
7:15 pm
March 19, 2015
Steffan said
As far as multi-threading goes, since AVR does not support hardware multi-threading and is meant for simpler applications, it is best to treat these as single loop interrupt driven systems. We do support pin interrupts with callbacks and timer interrupts are on the roadmap. This is usually sufficient for these types of systems. Since the Due supports hardware multi-threading, this is the architecture we would most likely have a chance at implementing a decent scheduler.
The timer interrupts are a good "multi-threading" alternative for the Atmel AVR hardware.
Can we use the whole 32 bits usec range, from 1us to 4294.967295sec ?
Good job!
7:25 pm
March 12, 2015
Thats a good question and should have been specified in the documentation (will be added). The underlying library automatically adjusts the timer prescaler based on the input period. The minimum period or highest frequency this library supports is 1 microsecond or 1 MHz. The maximum period is 8388480 microseconds or about 8.3 seconds.
11:50 am
April 11, 2015
First of all, thanks for a really nice product!
In future versions I'd be happy to see support for clusters. I know the current reason for not supporting them is due to memory considerations, but I feel that it can't be impossible to solve, right?
I mean, I can certainly use structs in C /C++ on Arduino so with an efficient compiler that maps the cluster usage to similar constructs as in C the memory impact shouldn't be that large?
One more thing that I think would be very nice is to be able to debug my code. Without this possibility we would never be able to make any complex Arduino programs using LabVIEW.
I own an AVR Dragon that is capable of debugging the Arduino via debugwire if I'm developing C with the AVR toolchain. Wouldn't it be at least theoretically possible to extend the LabVIEW IDE and your compiler with the same ability?
/Leif
--- There are only 10 kinds of people in the world, those who understand binary and those who don't.---
9:36 am
April 21, 2015
12:14 am
April 21, 2015
Steffan said
koji_ohashi said
Thank you for very nice product!
For now, my wish is Pro/ Pro mini 3.3V 8MHz support.
It will help to communicate with 3.3V I2C sensors.Actually, this is already supported. Under the Tools>Board menu for the Pro Mini, there are 4 variants. The 8 Mhz variants are the 3.3V models.
Thanks.
It worked well on Pro Mini 3.3V 8MHz.
Also worked on the ATmega328 with bootloader(8MHz internal clock).
Great!
7:33 pm
March 19, 2015
Steffan said
Thats a good question and should have been specified in the documentation (will be added). The underlying library automatically adjusts the timer prescaler based on the input period. The minimum period or highest frequency this library supports is 1 microsecond or 1 MHz. The maximum period is 8388480 microseconds or about 8.3 seconds.
Steffan,
Inspired by the timer interrupt, i have made an example "task scheduler" that i want to share.
I wanted to open a new topic "Examples"but i realized that i could not upload a VI ?
What to do ?
Regards, John
8:14 pm
April 27, 2015
What about supporting chipKIT WF32?
It is arduino compatible and has 80 MHz clock! I really would like to have a 80 Mhz resolution clock in my hands
19
2 Guest(s)