Test and Measurement Forum

labview example for adc200 with USB-PP

Post your LabVIEW discussions here

labview example for adc200 with USB-PP

Postby Florin » Tue Oct 10, 2006 9:36 am

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 1827 times
User avatar
Florin
Active User
Active User
 
Posts: 10
Joined: Mon Oct 09, 2006 5:30 pm
Location: Italy

Postby Michael » Wed Oct 11, 2006 10:51 am

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
Michael
Zen Master
Zen Master
 
Posts: 656
Joined: Thu Jul 07, 2005 12:41 pm
Location: St Neots, Cambridgeshire

Postby Florin » Wed Oct 11, 2006 11:10 am

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

how to declare port as 101

Postby RAVI » Sun Dec 10, 2006 7:49 pm

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
Active User
Active User
 
Posts: 5
Joined: Tue Dec 05, 2006 8:47 pm

declaring port as 101

Postby RAVI » Sun Dec 10, 2006 7:52 pm

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
RAVI
Active User
Active User
 
Posts: 5
Joined: Tue Dec 05, 2006 8:47 pm

Re: how to declare port as 101

Postby Florin » Sun Dec 10, 2006 10:19 pm

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
User avatar
Florin
Active User
Active User
 
Posts: 10
Joined: Mon Oct 09, 2006 5:30 pm
Location: Italy

Thanks Florin

Postby RAVI » Mon Dec 11, 2006 7:55 am

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:
RAVI
Active User
Active User
 
Posts: 5
Joined: Tue Dec 05, 2006 8:47 pm


Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests