Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I don't have an LabVIEW version here at home, only at my work so I can not test it...
but I have used it at my work, and I think you just have to set up an serial connection, serial write, serial read... serial settings stuff...
I don't think there is much difficult on this. I have used it in a project where we communicate with home made blackboxes over RS-232 there was no problem at all...
maybe you can download a driver for a scoop and see how that connection is set up on the national instruments website
I have not tested it and I am not in front of PC with LabVIEW but RS-232 with LabView should be a breeze I think. LabVIEW is designed for all kinds of communications.
All functions -> Instrument I/O -> Serial
There are the following vis:
VISA Configure
VISA Write
VISA Read
VISA Close
Just use them for programming your application.
If you want you can use Instrument I/O Assistant instead.
Here i've got a little example, regrettably written in 6.1. The left part is
the configuration of the serial port followed by the reading function.
The other parts computing speed from a slot-car.
Remind that the serial read vi returns a string variable, that you perhaps
have to convert to a integer or double value.
"Visa Configure Serial Port", to initialize a serial port.
The property node "Bytes at Port", to know the number of bytes currently available at the serial port.
"Visa Read", to read a specified number of bytes from the serial port.
"Visa Write", to write a string to to the serial port, and
"Visa Close", to close a device session, when you don´t need the serial port.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.