The Godfather talking
You think I am funny guy huh?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 25, 2019, 12:24:16 00:24


Login with username, password and session length


Pages: 1 [2]  All
Print
Author Topic: LABVIEW USB Interfacing with PIC 18F4550 using HID  (Read 59283 times)
0 Members and 1 Guest are viewing this topic.
CocaCola
Senior Member
****
Offline Offline

Posts: 468

Thank You
-Given: 149
-Receive: 225



« Reply #25 on: May 25, 2014, 12:32:34 12:32 »

The topic fits. I'm interfacing a PIC 18F4550 to LabView. The PIC side is solved but for LabView I'm  locking for a solution.

Hmm, as suggested multiple times now, did you bother reading the post above your inital post, I suspect not since it has EVERYTHING you are asking for!!!

http://www.sonsivri.to/forum/index.php?topic=26537.msg133404#msg133404




Logged
CocaCola
Senior Member
****
Offline Offline

Posts: 468

Thank You
-Given: 149
-Receive: 225



« Reply #26 on: May 25, 2014, 02:35:50 14:35 »

I'm again, post #22 uses NI Visa with the disadvantage that everything stops working when the port is changed.

Labview uses NI-Visa by default to communicate it's kind of a package deal, and since NI-Visa is pretty much the de-facto industry standard it's not a bad thing...
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2432

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #27 on: May 25, 2014, 02:49:28 14:49 »

I don't know if I should laugh or cry , but my mute finger is getting awful itchy  Shocked
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
biomed12
Junior Member
**
Offline Offline

Posts: 93

Thank You
-Given: 67
-Receive: 5


« Reply #28 on: November 19, 2016, 05:22:26 17:22 »

I wonder, what is the better side of HID over CDC? It is very simple to communicate with labview via serial protocol. I have one project like that. It is about real time chart plotting. Its costumization is not perfect but the protocol works properly.
Logged
motox
Cracking Team
Active Member
****
Offline Offline

Posts: 159

Thank You
-Given: 205
-Receive: 244



« Reply #29 on: November 19, 2016, 06:07:37 18:07 »

I wonder, what is the better side of HID over CDC? It is very simple to communicate with labview via serial protocol. I have one project like that. It is about real time chart plotting. Its costumization is not perfect but the protocol works properly.
With HID it is much easier to do auto-detect and to auto-run a program or a subprogram when the device is connected.
Forcing the user to open the Device Danager to see the port number, insert that number in a box and click on the ‘open port’ button is not very professional. Imagine that for a ‘normal’ Windows user that doesn’t even know what Device Manager is…
Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 691

Thank You
-Given: 151
-Receive: 203


« Reply #30 on: November 20, 2016, 12:25:26 00:25 »

With HID it is much easier to do auto-detect and to auto-run a program or a subprogram when the device is connected.
Forcing the user to open the Device Danager to see the port number, insert that number in a box and click on the ‘open port’ button is not very professional. Imagine that for a ‘normal’ Windows user that doesn’t even know what Device Manager is…

For a "professional" option you can simply detect your serial port automagically.  It's not that hard.  See 3.6 below for an example with FTDI
http://www.ftdichip.com/Support/Documents/AppNotes/AN_123_How%20COM%20Ports_Are%20Allocated%20on%20Driver_Installation.pdf
Logged
motox
Cracking Team
Active Member
****
Offline Offline

Posts: 159

Thank You
-Given: 205
-Receive: 244



« Reply #31 on: November 20, 2016, 04:29:28 04:29 »

For a "professional" option you can simply detect your serial port automagically.  It's not that hard.  See 3.6 below for an example with FTDI
http://www.ftdichip.com/Support/Documents/AppNotes/AN_123_How%20COM%20Ports_Are%20Allocated%20on%20Driver_Installation.pdf
How do you implement that in LabVIEW without using FTDI chips?

I don't have any doubts about its possibility, but I think it is much easier with HID, WinUSB or a custom driver.
Logged
Pages: 1 [2]  All
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC