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.



I would guess that LabViews "OutPort" function writes to either memory-mapped or IO-mapped addresses using the host system's CPU. USB devices are not memory mapped, so that function is not likely to be useful for communicating with a USB device.

I think you will need more information from LabView (are special drivers needed to communicate with USB devices). What is the protocol/interfce that these drivers support? How are they accessed from a LabView program?

Perhaps someone with direct LabView/USB experience can point you in the right direction.

David Ferguson
USB Software Team
Apple

On Mar 19, 2007, at 5:11 AM, David Gaskell wrote:

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

_______________________________________________ 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.