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
(6,775 Views)

Hello alprn81,

 

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

 

https://forums.ni.com/t5/Example-Code/Interrupt-Out-Transfer-for-USB-RAW-Device-using-NI-VISA-for/ta...

 

 

 

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

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MGcSAM&l=en-US

 

I hope that helps.

0 Kudos
Message 2 of 4
(6,706 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
(6,451 Views)

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


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