Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 12, 2024, 04:31:58 16:31


Login with username, password and session length


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

Posts: 482

Thank You
-Given: 169
-Receive: 232



« Reply #25 on: May 25, 2014, 06:32:34 18: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: 482

Thank You
-Given: 169
-Receive: 232



« Reply #26 on: May 25, 2014, 08:35:50 20: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: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #27 on: May 25, 2014, 08:49:28 20: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: 94

Thank You
-Given: 67
-Receive: 5


« Reply #28 on: November 19, 2016, 11:22:26 23: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: 188

Thank You
-Given: 257
-Receive: 322



« Reply #29 on: November 20, 2016, 12:07:37 00: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: 704

Thank You
-Given: 152
-Receive: 214


« Reply #30 on: November 20, 2016, 06:25:26 06: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: 188

Thank You
-Given: 257
-Receive: 322



« Reply #31 on: November 20, 2016, 10:29:28 10: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
Martin Miranda
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 8
-Receive: 0


« Reply #32 on: February 15, 2020, 11:49:36 11:49 »

Moved  & stickyed

Have you looked at the Bitwacker

http://www.schmalzhaus.com/UBW/

THANKS! i think i still have some few 18f2550's around.

Posted on: February 15, 2020, 05:47:49 05:47 - Automerged

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…

i concur.
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