09-27-2005 08:48 AM
09-27-2005 09:50 AM
From your subject line I figured that it would be an easy answer, yes you can use a usb to serial adapter under LabVIEW, but when I saw that you are using Linux it became a little less certain. I haven't used LabVIEW under Linux (yet!) so I can't speak with quite as much assurance. Normally (WinOS) when the usb-serial device is installed it will show up in the VISA resource name control, usually just as a new "COM" port (COM6 for instance). I don't know how the VISA resource name control works under Linux, but it _should_ behave similarly, with the port name related to which usb port it is plugged into, for instance the same adapter mentioned above shows up as COM5 when plugged into a different usb port. Does the VISA resource name display the other ports when you l"eft click" the selection arrow? If yes it should listed there.
P.M.
09-28-2005 08:00 AM
Hello Snork!
If you use a USB to serial adapter under MacOs you have to install a driver for the adaptor that will allow the Macintosh to recognize the serial port as one of the system's native ports (http://digital.ni.com/public.nsf/allkb/B5DA820D78E9639086256776005468CB) . Maybe for Linux you also need a driver.
Best regards
Volker
09-28-2005 08:09 AM
09-28-2005 09:22 AM
09-28-2005 10:23 AM
Hi Snork,
Here is a link to a tutorial about using Visa to control a USB device:
http://zone.ni.com/devzone/conceptd.nsf/webmain/6792BAB18242082786256DD7006B6416
09-28-2005 10:24 AM
What USB to serial adapter do you use?
Volker
09-29-2005 09:51 AM
09-30-2005 09:56 AM
visaconf
to configure your serial port. I am assuming it will not detect
the usb to serial converter by default, so you will need to click on
the Add Static button to create the VISA device. From the Add
Static window choose Local Serial Port from the Interface
list. From here you can pick an interface number
(ASRL#::INSTR) and the device it Binds to (/dev/ttyUSB0).visaconf you can use your interface in LabVIEW.
Shawn B.
National Instruments
10-12-2005 06:37 AM