LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial, usb and xml

Hi guys,

 

it has been years that i have been using labview.

I am confused about my setup. i have a device that can receive and send xml format. the setup is as this: device-->serial-->usb to serial converter-->computer.

 

1. can i connect this directly to my software ? do i use a serial or a USB vi to make the link between usb with com port? Does this allready exists?

 

2.How can i send xml format commands to my device and how can i read them?

 

thanks for your help

 

G3orgi3

0 Kudos
Message 1 of 3
(2,223 Views)

Hi,

 

If you go to your Device Manager in Windows and you can see your USB to Serial converter under COM Ports, you should be ready to go. You can use the VISA VI is LabVIEW to perform your serial comms that way. There are plenty of examples available to get you going with this. You will also need a manual for your device to know which commands to send, etc. Making sure your termination characters are correct is a first step in getting your comms working.

 

Best of luck!

D

0 Kudos
Message 2 of 3
(2,207 Views)

cool, i will try this first

 

as for the xml. i am quite new to this, so i am learning 🙂

0 Kudos
Message 3 of 3
(2,201 Views)