LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview USB HID Data Send

Hi everyone.
I want remote a quadcopter with labview. I use to usb hid protocol. First read gamepad axis and buttons data and after send to quadcopter. My transmitter use PIC18F4550. I can read int data to pic but i can' t send data to pic. I want int value send to pic. not string. I studied before post for labview usb hid conneciton., but i can't work it. Can you help me?
Thanks.   

0 Kudos
Message 1 of 4
(5,062 Views)

Hello alprn81,

 

Here is an example I found that shows how to output data using the VISA Interrupt Out Transfer:

 

http://digital.ni.com/public.nsf/allkb/457E3ADD7D2C1E7486257323007BAC0D

 

 

 

Here is something that may help you in writing a value that is not a string:

 

http://digital.ni.com/public.nsf/allkb/6C24F2F07BC23BB78625722800710865

 

I hope that helps.

0 Kudos
Message 2 of 4
(4,993 Views)

Hello everyone .

 Im working on a project in which I must send data from the STm32F4 to PC via USB HID  protocole . I didn't find a specific visa for that . 

 
Can you help me please . 
 
Thanks.
0 Kudos
Message 3 of 4
(4,738 Views)

There's a very good guide to doing VISA RAW for USB communications here: http://forums.ni.com/t5/LabVIEW/Nugget-1-of-n-GEtting-started-with-USB-communication-via-VISA/m-p/74...


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 4 of 4
(4,723 Views)