LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Raw Data via USB

I have custom software I use to send commands to my custom USB device.

 

Ex.

 

byte{} Send_packet = { 0x83, 0x0D, 0x80, 0x0B, 0x01, 0x00, 0x06, 0x00, 0x00, 0x21, 0x01, 0xFF, 0x43 };

 

I want to use LabView to integrate it with the rest of my testing.  I started off using the USBRawBulkMain.vi Front Panel to get started.  I crated the VISA driver to communicate with the device and used NI I/O Trace to verify the output to the USB.  I want to send the raw data as in the example above but it doesn't like that.  Can anyone give me some tips on how to output such a command?

Thanks,

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

Hi lightstring,

 

We have some documentation on using USB RAW. Have you looked through these documents on how to get started? 

 

USB Instrument Control Tutorial

http://www.ni.com/tutorial/4478/en/

 

How Can I Communicate With a Device Using NI-VISA USB RAW Mode?

http://digital.ni.com/public.nsf/allkb/E3A2C4FE42D7ED0D86256DB7005C65C9

 

Regards,

Jared T.

Applications Engineer

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