From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-06-2018 11:16 AM
Hi,
I will be using ST- Link/V2( debugging & programming STM8 and STM32 Microcontroller), I need to know how to get the serial number and software version of this connected device with in labview. It would be helpful if anyone can help me out.
11-07-2018 05:06 PM
Hi Nhizanth,
Thanks for posting. I'd love to help you out, but I'm slightly unclear of your question.
Are you trying to determine these values or set them in LabVIEW?
If you are trying to determine the values, open NI MAX, then find the USB device under Devices and Interfaces. Upon clicking on the USB Device you should be able to see properties of it and the Serial number should be on. Second, the software version for your particular device should be found in your devices Spec. Sheet or User Manual.
Here is a document on connecting 3rd Party Instruments via USB:
http://www.ni.com/getting-started/set-up-hardware/instrument-control/usb-connect
If you are looking to set these values in LabVIEW, you will want to use the System Exec.vi to invoke the command line, or it may be possible to use NI-VISA.
Here is a tutorial on how to set that up:
http://www.ni.com/tutorial/2897/en/
Hope this helps,
Keddy
11-30-2018 05:07 PM
Hi,
Sorry for the late reply. I can find the ST-Link in device manager but not in the NI Max. And, also I need to know the com port number. I have attached the screenshot.
Thanks
Nhizanth
12-03-2018 10:14 AM
Hi Nhizanth,
No worries.
If you are seeing it In Windows Device Manager, but not in NI MAX follow the steps on this Knowledge Base Article. There are a few different solutions in this article, so try to narrow down your problem, before trying all the solutions.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019La2SAE&l=en-US
Once you are able to see your device in NI MAX, selecting the device will display device details including the Serial Number.
Regarding the Com Port Number, USB devices normally don't have a COM Port associated with them, unless you have a FTDI device.
Regards,
Keddy
04-11-2019 09:08 AM
Hi Keddy,
Thank you so much and sorry for the late reply.
I'm using St-Link utility thru command prompt and its working.
Thanks
Nhizanth
01-29-2020 06:45 AM
Hi Nhizanth,
I've to build a LabVIEW application to automaticaly flash a software in a microcontroler STM32F410 with a ST-LINK/V2 programer.
Apparently, you've done this kind of program...
Is it possible for you to share an example of what you've done?
Thank you per advance.
Regards,
03-07-2020 11:10 AM - edited 03-07-2020 11:11 AM
Hello,
I am looking still for to build a LabVIEW application to automatically flash a software in a STM32 microcontroller using ST-LINK/V2 programer.
have you some idea or example to share?
Thanks
Br,
tiopepe_254
03-19-2020 05:24 AM - edited 03-19-2020 05:25 AM
Hello,
If it can help, I've made an example using CLI (Commande Line Interface) of STM32 ST-LINK Utility. All commands are described in User Manual
UM0892 of ST.
It is here: