labview example for adc200 with USB-PP

Post your LabVIEW discussions here
Post Reply
User avatar
Florin
Active User
Active User
Posts: 10
Joined: Mon Oct 09, 2006 5:30 pm
Location: Italy

labview example for adc200 with USB-PP

Post by Florin »

Hi,
I'm trying o write my software for an ADC212 starting from your examples. When I try to run it, I get a message like this: "An exception occured within the external code called by a Call Library Node ...".
My adc212 is conected to a laptop computer that doesn't have LPT's, therefore I use a Pico USB-PP connector. MAX finds only 3 COMs, I don't know how to identify my usb-pp port. It also cannot identify my adc212. The picoscope software works well, therefore the problem might be in LabView or inside the adc200.vi that I try to run.

Can anyone help me make that example start?

Thank you,
Florin
Attachments
adc200.vi
here's the example... I downloaded it from your site some days ago.
(94.7 KiB) Downloaded 2389 times

Michael
Advanced User
Advanced User
Posts: 656
Joined: Thu Jul 07, 2005 12:41 pm
Location: St Neots, Cambridgeshire

Post by Michael »

Hello Florin,

You will need to delcare the port as 101, 102, 103 etc when using the USB parallel port adapter.

Ensure you have installed the correct drivers for the USB adapter.

Best regards,
Michael
Michael - Tech Support
Pico Technology
Web Support Forum

User avatar
Florin
Active User
Active User
Posts: 10
Joined: Mon Oct 09, 2006 5:30 pm
Location: Italy

Post by Florin »

Hi Michael,
Thanks a lot. I changed the port no. to 101 and now it works.

Thanks again.
Regards,
Florin

RAVI
User
User
Posts: 5
Joined: Tue Dec 05, 2006 8:47 pm

how to declare port as 101

Post by RAVI »

please tell ud how to declare port as 101 in labview adc200vi.
thanks
ravi
michael wrote:Hello Florin,

You will need to delcare the port as 101, 102, 103 etc when using the USB parallel port adapter.

Ensure you have installed the correct drivers for the USB adapter.

Best regards,
Michael

RAVI
User
User
Posts: 5
Joined: Tue Dec 05, 2006 8:47 pm

declaring port as 101

Post by RAVI »

I am having the same problem.will you please write how you declare port as 101. as i amm novice in this field. i am using labview 8.2b23
thanks
ravi
Florin wrote:Hi Michael,
Thanks a lot. I changed the port no. to 101 and now it works.

Thanks again.
Regards,
Florin

User avatar
Florin
Active User
Active User
Posts: 10
Joined: Mon Oct 09, 2006 5:30 pm
Location: Italy

Re: how to declare port as 101

Post by Florin »

Hi,
I'm a begginer too :wink: and I'm using a PICO USB-PP addapter.

Go to the front panel of the example, right click on the ports controller and sellect "find terminal". this will take you to the block diagram, at the routine that manages the ports reading.
Unwire your LPT ports terminal (as you don't need them) and wire a numeric constant instead. (I used 101 and it worked).

Please let me know what you got.

Regards,
Florin

RAVI
User
User
Posts: 5
Joined: Tue Dec 05, 2006 8:47 pm

Thanks Florin

Post by RAVI »

Hi Florin
Thanks for your prompt reply. I changed the port to 101 as you explained. Now it is working fine. Thanks again.

Regards
Ravi :lol: :lol:

Post Reply