01-16-2021 07:25 AM
how can i connect LabVIEW (which is a programming IDE) with my STM32 (which is a microprocessor) and program it ?
01-16-2021 09:37 AM
Hi Mahdi,
@Mahdi_bayat wrote:
how can i connect LabVIEW (which is a programming IDE) with my STM32 (which is a microprocessor) and program it ?
You cannot.
Basically only NI hardware is supported, beside usual Windows/MacOS/Linux desktop computers…
01-16-2021 09:38 AM
You can't.
You need to use what ever development environment the manufacturer of the processor provides.
01-16-2021 10:32 AM
Actully i need something like "LabVIEW Embedded Module for ARM Microcontrollers. ".
Is there anything for stm32 ?
01-16-2021 12:17 PM
No
01-17-2021 02:41 PM
Thanks.
Can I edit "LabVIEW Embedded Module for ARM Microcontrollers. " For stm32 ?
01-17-2021 02:54 PM - edited 01-17-2021 02:56 PM
@Mahdi_bayat wrote:
Thanks.
Can I edit "LabVIEW Embedded Module for ARM Microcontrollers. " For stm32 ?
I'm going to say, "no", but if you have to ask the question, it is way beyond your ability to even make the attempt, let alone to succeed.
01-17-2021 03:11 PM
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000004A0ESAU&l=en-US
I've never used that toolkit... looks like the tool was discontinued back in 2012. I doubt it's worth your time. That article isn't exactly clear on whether or not it worked with STM32.
01-18-2021 06:22 AM - edited 01-18-2021 06:26 AM
@billko wrote:
@Mahdi_bayat wrote:
Thanks.
Can I edit "LabVIEW Embedded Module for ARM Microcontrollers. " For stm32 ?
I'm going to say, "no", but if you have to ask the question, it is way beyond your ability to even make the attempt, let alone to succeed.
Fully ditto that! One of the reason NI discontinued that toolkit was that it is far from a typical LabVIEW user experience. It requires you to know more than enough about programming your embedded target from the C toolchain, that the question arises: why even start to try to use LabVIEW instead?
And it's not something NI could simply fix. Developing a seamless deployment experience like for the NI relatime targets or with the Linx Toolkit for Raspberry Pi and Beaglebone Black (although here it is less seamless) is a major investment. None of these other embedded targets has even remotely a large enough potential user base that that effort could ever be considered justified. So the Embedded Toolkit was an attempt to develop a compromise. Instead of developing a seamless deployment experience, allow the Toolkit to translate the LabVIEW code into (pretty convoluted) C++ code that then can be massaged, kindly coerced and adapted to eventually be compilable in the C++ toolchain for the target system. Except that each C++ toolchain is quite different even if they are based on the omnipotent GCC source code (and by far not all embedded toolchains are, and even more so were back then, GCC based). To get the resulting C++ code to cleanly compile in the according toolchain is an exercise in C preprocessor magic that you need to adapt in a number of header files that the Embedded Toolkit uses. If you have the knowledge to do that, you are likely faster by starting to develop everything in C++ right away.
Basically supporting the Embedded Toolkit was for NI an impossible task. Even for targets specifically supported by preconfigured configurations made by NI, it was painful since a new version of the embedded toolchain could throw a wrench into the process.
And for embedded targets not explicitly supported out of the box, things were even more grave. The people who would have been able to adapt the header files to work with the according toolchain, would almost never even have considered to start using LabVIEW in the first place, and the other people would lack the knowledge to even understand what needed to be done, even if a dedicated LabVIEW engineer would have taken them by their hand and guided them step for step through all the problems. But I think it is clear, that such a dedicated support would end up in a many 10 thousand $ support contract, which nobody is going to even consider.
That you could only debug the resulting applications through native tools of the embedded toolchain, once it was compiled and not through LabVIEW anymore, was another big problem.
05-15-2021 05:57 AM
Dear rolfk,
Don't you want to sell more Labview?
If your answer is yes, wouldn't you like to produce STM32 module or Pic Mcu modules etc. and sell at a price of 2K USD or more?
Regards,
Mustafa Ekelik