Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac LabView to USB interfacing.



This OutPort instruction sounds like an outdated function from the time when operating systems allowed low level direct access to hardware.

We are currently working on a Mac version of the modules for our IO- Warrior USB I/O controller chips (will be a few more weeks though). The method for talking to a USB device from LabView is to call the operating systems API or the API of the device (if any such is provided by the device vendor) just like you would from any programming language.



Am 19.03.2007 um 13:11 schrieb David Gaskell:

Hi,

I'm developing a program in LabView to communicate with a USB device (Delcom-Cypress USB microcontroller). Has anyone here any experience using LabView with USB devices?

I've found a function in LabView called OutPort the description given is "This is used to copy data values to the system's physical memory within the port I/O range beginning at the address specified." The fuction takes a 16 bit address as an input and up to 32 bits of data to transfer.

When I run the 'USB Prober' utility the USB device is recognised successfully with the description 'Low Speed Device @6 (0x18210000) Composite Device......USB I/O Controller'. Is the hex number here the port address? If that is the case then it's a 32bit address which is too long to be used as the input of the OutPort function?

Any advice would be much appreciated.
Thanks,
Dave.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden


-------------------------------------- Code Mercenaries Hard- und Software GmbH Karl-Marx-Str. 147a 12529 Schönefeld OT Grossziethen Germany

Tel: x49-3379-2050920
Fax: x49-3379-2050930

HRB 16007 Potsdam
Geschäftsführer: Guido Körber, Christian Lucht

Did you subscribe to our Newsletter?
If not, do so immediately by sending mail to: email@hidden

Check out: www.codemercs.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden
References: 
 >Mac LabView to USB interfacing. (From: David Gaskell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.