Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

connect a stm32f401 board

Solved!
Go to solution

HI, i'm a beginner, i have a Stm32f401 nucleo board connected to my pc with a USB cable type A to mini-B, can i comunicate with this board with LabView?

can i read in LabView signals from this board? (like the pressure of the button that i have on my board, and can i count it?)

have i to install some drivers,  or something else ?

THanks for the attention.  

0 Kudos
Message 1 of 7
(4,838 Views)
Yes, you need a driver for it. Windows would have prompted you for one when you plugged it in. If you installed one, how does it appear in Device Manager? The simplest easy to connect would be to install a virtual com port for it.
0 Kudos
Message 2 of 7
(4,825 Views)
Solution
Accepted by Davide11

Hello, 

unfortunately there is not a special LabVIEW driver for this ST board.

Anyway, if you just need to read informations like the counting of the button and you want to send command to the board, you could connect the board via serial port to the PC and with LabVIEW you could read the boolean value on the port. This is done using VISA driver, which allows you to communicate with third parts components using LabVIEW.

 

Hope my answer will help you.

 

Regards.

0 Kudos
Message 3 of 7
(4,801 Views)

Thanks you all for the answer,

i found the Stm32f401 drivers on the internet and i have installed them. now my question is, how can i find the inputs from my board on Labview? 

if i put on the block diagram a 'VISA read' block, why in my front panel i don't see anything (red arrow in the image)? what have i to do to see and acquire the input from my board on Labview? 

Thanks you very much again. RegardsImmagine.png

0 Kudos
Message 4 of 7
(4,781 Views)
You have to install NI-VISA in order to use it.
0 Kudos
Message 5 of 7
(4,774 Views)
Solution
Accepted by Davide11

Hi Davide,

 

as you can see in MAX you don't have NI VISA installed. In order to use it, you have to install it first.

http://www.ni.com/download/ni-visa-15.0.1/5693/en/

This link can help you.

 

Regards.

0 Kudos
Message 6 of 7
(4,761 Views)

thank you very much for the help.

Regards and have a nice day. 

0 Kudos
Message 7 of 7
(4,699 Views)