01-16-2006 06:01 PM
01-17-2006 06:24 PM
Hello Daniel,
There are some fundamental differences you should be aware of between the NI USB-6501 using the DAQmx Base driver with Mac OS X, and the NI PCI-DIO-96 using the Traditional NI-DAQ driver in Mac OS 9.
The NI USB-6501 uses the NI-DAQmx Base Version 2.0 for Mac OS X driver. This driver can be downloaded here.
The NI-DAQmx Base driver comes with its own set of C commands that use a different syntax than the old Traditional NI-DAQ commands. These commands are more intuitively named, and contain the words DAQmxBase, i.e. DAQmxBaseCreateTask. The NI-DAQmx Base driver installs documentation, including the NI DAQmx Base C Reference Help, along with a set of text-based example programs showing how to configure a task and channels for analog input, analog output, digital I/O, and counter operations. Ultimately, these differences mean you will need to rewrite your C program using these new functions, but your program will still follow the basic paradigm of Create Task -> Configure Channels -> Start Task -> Read/Write -> Stop and Clear Task.
A key issue with the NI USB-6501 is that there is no buffer or clock for any type of hardware timed digital I/O or handshaking. All digital I/O is static, or software timed. This means that writing to digital lines or reading from digital lines is controlled completely by software commands, and each write or read operation is performed with an individual command. The result is that the NI USB-6501 does not support any of the handshaking or strobed (hardware timed) digital I/O functionality of your PCI-DIO-96.
Because of the software timed nature of the NI USB-6501, the actual execution time of your digital I/O operations is completely dependant on the ability of your system to read and write commands over the USB port. Because of the differences in performance between customer systems, there are no concrete specifications for speed of digital I/O operations. Depending on your application, you should probably be alright, but its important to note that limits exist and that they are dependant on the specs of your computer.
Finally, there is no way to use a PCI card in a PCI Express slot. We have recently added Mac OS X support under NI-DAQmx Base 2.0 for our PCI Express M-series cards (NI PCIe-625x). You should submit a product suggestion at www.ni.com/contact for further requests.
I hope this helps and feel free to reply with any further questions.
Regards,
Travis Gorkin
Applications Engineering
National Instruments
www.ni.com/support
P.S. Go Dores!!!
01-18-2006 07:33 PM - edited 01-18-2006 07:33 PM
Message Edited by Nick C on 08-23-2006 03:51 PM
01-19-2006 04:32 PM
01-19-2006 07:18 PM
01-20-2006 09:24 AM
01-20-2006 06:52 PM
01-20-2006 06:56 PM
Daniel,
You are correct, you can have the port split up any way you wish so that some channels are inputs and some are outputs. So your configuration will be just fine.
-GDE
01-25-2006 11:23 PM
01-31-2006 04:39 PM
You should have no problem reading/writing to individual lines or
grouping lines together on the same port using the NI USB-6501.
When you configure your channel using the DAQmxBaseCreateDIChannel (or
DOChannel) function, you will pass the range of lines for the task as
Dev1/port0/line0:3 to read or write from lines 0 through 3. You
will still use the DAQmxBaseReadDigitalU8 (or WriteDigitalU8) function
and write 8 lines of data, but the task will just mask the lines that
are not configured in the task. See the DAQmx Base 2.x C Function
Reference Help for more information on the individual functions used.