ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB drivers for PIC

Hi,
I trying to communicate with a PIC 18FXXXX series microcontroller via USB thru LABVIEW. I have created the labview drivers for the microcontroller using the VISA Driver Development wizard. I can see my device in MAX, but when I use the "visa open vi. ". I can't see an option for my device . The only options I see is COM1, COM2, LPT1.
 
Any suggestions . Below are 2 screen shots of MAX and Visa open.
 
 
Download All
0 Kudos
Message 1 of 5
(4,356 Views)
Hello,
You can manually type your VISA alias name in the constant. Let me know how it goes.
Thanks
Nikhil A.
0 Kudos
Message 2 of 5
(4,318 Views)

Thanks Nikhil, Yep I got it working yesterday by entering the name. But isn't there a way to display the USB option in the pull down menu, like you can display COM1, COM2 , etc.

 

 

0 Kudos
Message 3 of 5
(4,307 Views)
Hey,
That's great! You can actually right click on that constant and select I/O name filtering and set appropriate parameters for example in 'Limit Interface Types' check USB devices and you will see your USB alias in that. I think this will help.
Thanks and good luck with your project.
Regards
Nikhil A.
0 Kudos
Message 4 of 5
(4,302 Views)
You can also go into MAX and create an actual alias like Com, Com2 instead of using the canonical name. Something like 'PIC'.
0 Kudos
Message 5 of 5
(4,296 Views)