Example Code

StartUSB HID Controlado pelo LabView (StartUSB HID with LabView)

Code and Documents

Attachment

Prezados,

Antes de realizar a comunicação, não esqueça de executar o NI-VISA Driver Wizard, para a instalação do driver visa na sua máquina, as características são:


* VID: 1234

* PID: 0001

* Vendor Name: StarUSB

* Product Name: USB HID Library


Disponibilizo este exemplo a fim de ajudá-los a estabelecer uma comunicação USB HID por meio do kit de desenvolvimento StartUSB for PIC e o LabView.

Neste exemplo vamos apreender a alterar os valores do TIMER0 via USB. Deixei alguns exemplos preparados no código fonte em LabView. O Led verde na placa ajudará a ver a mudança do timer.

Código Fonte do LabView disponivel nas versões: 2010, 1009, 8.6, 8.0;

Dear,

Before making the communication, make sure to run the NI-VISA Driver Wizard to install the NI-VISA driver on your machine, the features are:

  * VID: 1234

  * PID: 0001

  * Vendor Name: StartUSB

  * Product Name: USB HID Library


Make available this example in order to help them establish communication via the USB HID kit development StartUSB for PIC and LabView.

In this example we will grasp the changing values ​​of TIMER0 via USB. I left some examples prepared in the LabView source code. The green LED in the kit will help you see the changes the timer.

Source code available in LabView versions: 2010, 1009, 8.6, 8.0;

Eduardo Ludgero da Silva

StartUSB for PIC
rev1_01_expansion03.png


Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors