Instrument Control (GPIB, Serial, VISA, IVI)

annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

connect a stm32f401 board

Risolto!
Vai alla soluzione

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
Messaggio 1 di 7
4.845Visualizzazioni
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
Messaggio 2 di 7
4.832Visualizzazioni
Soluzione
Accettato da autore argomento 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
Messaggio 3 di 7
4.808Visualizzazioni

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
Messaggio 4 di 7
4.788Visualizzazioni
You have to install NI-VISA in order to use it.
0 Kudos
Messaggio 5 di 7
4.781Visualizzazioni
Soluzione
Accettato da autore argomento 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
Messaggio 6 di 7
4.768Visualizzazioni

thank you very much for the help.

Regards and have a nice day. 

0 Kudos
Messaggio 7 di 7
4.706Visualizzazioni