LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW to Microcontroller

Hello,

 

I'm programming PID controller with LabVIEW. As this is only the first step in my project, I want to know how to port the algorithm developed in LabVIEW into microcontroller. I'm using XC16x of Infineon so it is not possible with SDK.

 

Thanks
Senmeis

0 Kudos
Message 1 of 3
(3,429 Views)

I am sorry, as far as I know, we have to use the SDK to point the algorithm developed in LabVIEW into microcontroller

 

So, if the your chip is not supported in the SDK, there may be no way to go with it.

Best Regards

Hu Yu
0 Kudos
Message 2 of 3
(3,277 Views)

This query sounds somehow familiar but I can't seem to find the original one. As far as I know is the XC16 a 16 bit controller. So as you say the Microprocessor SDK is indeed not an option since porting that from 32 Bit as it is now to 16 Bit would probably be an absolutely unfeasable project also for NI. So that leaves you effectively with no option of developing code with LabVIEW for your CPU.

Also another reason this will likely not work, is the fact that 16Bit CPUs have generally rather limited support for memory while LabVIEW generated code tends to eat up quite a few kB to MB VERY fast.

 

The XC22 series are supposedly 32Bit CPUs and there it would be theoretically possible to adapt the Microprocessor SDK to support this CPU architecture too, but don't underestimate the effort for such a port. There is quite a lot you would need to do to support a new CPU family in terms of integrating the prefered development toolchain (usually gcc derivatives nowadays) into the Microprocessor SDK and most of that work is complicated in comparison to writing assembly code for a microprocessor! 

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 3
(3,264 Views)