LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with Basic Stamp 2

Hello,

 

Does anyone know how to communicate LabVIEW with the Basic Stamp 2 that comes with the board of education (USB)? We are trying to send commands and receive information in LabVIEW. There are 3 ultrasonic sensors connected to the board of education with the Basic Stamp and the purpose is to request the distance measured by any of the sensors. This request will go to the Basic Stamp and it will activate the sensors and the response will be send back to the laptop and will be displayed in LabVIEW. Any ideas?

 

We'll appreciate any help...

 

Thanks.

0 Kudos
Message 1 of 4
(3,407 Views)
By the way, here is the program that we are using to sense the ultrasonic sensors connected to the Basic Stamp.
0 Kudos
Message 2 of 4
(3,406 Views)
Are you referring to this? If so, the documentation indicates that it has a serial connection, not a USB connection. Or, is it that you don't have a serial port on your computer? It also indicates that programming software is provided for it.
0 Kudos
Message 3 of 4
(3,386 Views)

If I can remember it is quite simple process. 

 

first step is to write the application with the  tools provide from Parrallax

and second debug using the same tool

write the program in basicstamp to send data on the serial port,

in Labview just read the serial port coresponding.

very important to turn off QUIT the basic stamp tool, after debugging.

 to be able to open the port with your labview application.

and  the basic stamp will run by itself(autorun)

 

 

0 Kudos
Message 4 of 4
(3,367 Views)