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.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with LPM01A power consumption measurement board

Hello,

 

ST offers a power consumption measurement board which can measure very small current: 1nA .. 200mA

X-NUCLEO-LPM01A:  https://www.st.com/en/evaluation-tools/x-nucleo-lpm01a.html

 

My Question: Is there a LabView driver for this board? Has anybody implemented the communication in LabView or heard about?

(It needs communication over USB VCP (Virtual COM Port) with 3,6MBit/s.

 

It can be used stand-alone but can also be used as an instrument, controlled by commads.

 

Document about communication with the board:
https://www.st.com/resource/en/user_manual/dm00418905-getting-started-with-powershield-firmware-stmi...

 

----------------------------------------------------------

 

Implementations with the board:

 

Python implementation script:
https://github.com/JerryShen1995/Power-Monitor

 

Python and C implementation of tests:
https://github.com/mjosaarinen/pqps

 

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 1 of 3
(1,242 Views)

Hello Eugene,

 

I have read all the tables, datasheets and documentations for the X-NUCLEO-LPM01A but found nothing about LabVIEW. I even requested information from Digi-Key Electronics (they also sell this board), but they were also unable to answer about connecting using LabVIEW. 😐

0 Kudos
Message 2 of 3
(1,110 Views)

Hello Mr. Genius,

 

in LabView you simply open Serial Port which is from the board

with these Parameters:

Serial COM port configuration of USB-VCP (main interface):
– Baud rate: 3.6 Mbit/sec (3686400 bauds)(a)
– Data: 8 bit
– Stop: 1 bit
– Parity: none
– Flow control: none

 

 

And send the commands as written in

https://www.st.com/resource/en/user_manual/dm00418905-getting-started-with-powershield-firmware-stmi...

 

e.g. "volt 3300m" as written on page 22

 

BR

E.Wiebe

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
Message 3 of 3
(1,106 Views)