Labview VIs that include USB port options

Post any questions about our parallel port products
Post Reply
jshaffer
User
User
Posts: 2
Joined: Fri Oct 08, 2004 3:39 pm

Labview VIs that include USB port options

Post by jshaffer »

I've just added a USB cable and adapter for my ADC-212. I need to
find LabView VIs for open, close, etc. that include an option for setting
the port to USB-PP1. The VIs that downloaded with the latest version of
the driver (weba200_r4_00.exe) have a comment about using "101" for
USB ports, but that option is not in the ring. I don't want to rewrite this
VI to figure out how to get "101" into the ring.

Where can I get the LabView VIs that will open and close my ADC-212
using the USB port?

User avatar
markspencer
Site Admin
Site Admin
Posts: 598
Joined: Wed May 07, 2003 9:45 am

Post by markspencer »

Hi,

Thank you for your question. The routine that is used to open the ADC-212 whether it is connected to the parallel port or the USB to Parallel port adapter is the same adc200_open_unit routine. The only difference is that on the parallel port the arguments passed are:

1 - LPT 1
2 - LPT 2
3 - LPT 3

and for those that are using the USB to Parallel port adapter

101 - USB-PP1
102 - USB-PP2
103 - USB-PP3
104 - USB-PP4

When the first adapter is plugged in it is listed as USB-PP1 and the next one to be plugged in is USB-PP2 and so on until the 4th adapter is plugged in and listed as USB-PP4.

Best regards,
Regards,

Mark Spencer

jshaffer
User
User
Posts: 2
Joined: Fri Oct 08, 2004 3:39 pm

Modified the VIs

Post by jshaffer »

I have the problem solved. None of the VIs had been set up to
allow passing in "USB-PP1" (or any other USB-PP*) so I had to
rework them. I am still surprised that you don't supply VIs that
include this.

Thanks.

Post Reply