ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Serial Communication

Hello there, I`m working on a project which involves me having to control a large number of servo's via a serial servo controller board. It's a very simple board which communicates using simple ascii commands.  I`ve tried running the examples associated with serial communication but none of them work. No devices are detected which I can link to the VISA rescource name. In matlab I can connect to the board quite easily using two simple commands:

port = serial('com6','BaudRate',19200)
fopen(port)

I would assume this would be almost trivial in Labview but so far I have failed misserably. A possible source for the error would be that I`m running the student edition of labview v7.0 and it doesn't even include MAX (or if it does I haven't found it yet). Do I need another version of Labview (if so which ?) or am I forgetting something critical in the examples ?
0 Kudos
Message 1 of 3
(2,682 Views)
Hi Protagoras,
use the example finder and search for RS-232. You will find the basic and advanced read and write serial example.

Hope it helps.
Mike
0 Kudos
Message 2 of 3
(2,678 Views)
I don't believe that the student edition comes with any drivers. If nothing shows up in the VISA Resource Name control, you just probably need to install NI-VISA.
0 Kudos
Message 3 of 3
(2,662 Views)