LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I listen to a USB port?

I have a separate program running on a Windows Machine.  It transferrs data using a USB port.  Can I monitor the communications in LabView?

0 Kudos
Message 1 of 7
(6,627 Views)

Hi exo,

where do you like to monitor? How does the data transfer work?

 

Mike

0 Kudos
Message 2 of 7
(6,608 Views)

No sure what you mean.  My manufacture supplied detector's code sends data from their electronics to the computer through a USB port.  Can I watch the USB port from LV?

0 Kudos
Message 3 of 7
(6,589 Views)

And we don't really know what you mean. The USB interface isn't like a serial port interface. You're not going to see a nice sequence of commands. You'd basically see some bytes, depending on which transfer is currently being done. And there are 4 types of transfers on the USB bus: isochronous, interrupt, bulk, and control. USB communication is also in the form of packets.

 

You may want to start with Intaris's excellent nugget on USB communication in LabVIEW.

0 Kudos
Message 4 of 7
(6,576 Views)

I don't know how to monitor it directly, but you might try Snoopy Pro, which monitors USB, and access that via the System exec vi.

0 Kudos
Message 5 of 7
(6,575 Views)

I would be happy just to be able to monitor whether or not any information is being sent through the port.  I know the sequence of transfers so I should be able to figure out what is being transfered.

0 Kudos
Message 6 of 7
(6,561 Views)

Then snoopy pro is your solution.

0 Kudos
Message 7 of 7
(6,534 Views)