Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NI 6008 - Windows 7 (64bit) - Daq problems

129 views
Skip to first unread message

Chitra

unread,
Feb 9, 2012, 7:13:13 PM2/9/12
to
Hi!
I am having problems while using a NI 6008 with windows 7 (64 bit) and communicating via Matlab R2011a. It came originally with a driver NIDAQmx 9.0.2

I believe based on the messages I am getting,

a. I cannot use the daqhwinfo with Matlab 64 bit and should create a session instead.
session = daq.createSession ('vendor')
b. When creating session described in 1, I am getting an error because the driver is 9.0 instead of 9.1

When I used
v = daq.getVendors
I am getting a
DriverVersion: '9.0 NI-DAQmx'
IsOperational: false

with a message that I need at least a NI-DAQmx 9.1 driver with this. ( I am sorry, I do not have the exact output at this time).

I also read somewhere that these errors have been fixed in R2011b. (Reference:
http://mathforum.org/kb/message.jspa?messageID=7565343&tstart=0)

In this light, please confirm what I need to be doing:
In particular, should I be:
1. Upgrading to Matlab R2011b ?
2. Installing a driver that is at least NI-DAQmx 9.1?

The cd that comes with the usb contains all the NI software that includes NI VISA. NI VISA is a large installation and I am planning to control the USB via Matlab. If NI Visa is not needed, I do not want to install it.

What do you think is an absolute must-have installation to make it work with Matlab?

3. Creating a session for working with the usb 6008?

Thanks
Chitra

Mike

unread,
Feb 10, 2012, 12:01:27 AM2/10/12
to
THis is what I get from 2011b 32 bit:
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
v = daq.getVendors

v =

Data acquisition vendor 'National Instruments':

ID: 'ni'
FullName: 'National Instruments'
AdaptorVersion: '3.0 (R2011b)'
DriverVersion: '9.3.5 NI-DAQmx'
IsOperational: true

Properties, Methods, Events
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
was your DAQ turned on and connected before you started matlab? If not, matlab does not recognize the DAQ. You have to restart matlab with the DAQ connected and on.

Chitra

unread,
Feb 14, 2012, 10:04:46 AM2/14/12
to
Hi Mike
Thanks for your reply.

My USB is working right now, it is being recognized.

1. Installed a new device driver for my USB. 9.3mx.
2. Upgraded Matlab R 2011a to Matlab R2011b with Data acquisition toolbox 3.0

For those who might need help with this, these links might be useful. I found these while researching this topic.

http://joule.ni.com/nidu/cds/view/p/id/2339/lang/en (driver 9.3mx)
http://zone.ni.com/devzone/cda/tut/p/id/6913#usb
http://www.mathworks.com/products/daq/supportedio14005.html#USB

Now the error I am getting is related to the fact that my PC is Windows 7, 64 bit and the legacy software commands such as daqhwinfo do not work. I am converting my code to the "session based interface" - I really wish I had known this requirement about the 64 bit. I was assuming based on the last link above that USB 6008 is compatible with S and L (Session based and Legacy both) but turns out it is not.. It might be compatible with 32 bit, but it is not compatible with 64 bit.

-Chitra

Chitra

unread,
Feb 14, 2012, 10:04:46 AM2/14/12
to
Hi Mike
Thanks for your reply.

My USB is working right now, it is being recognized.

1. Installed a new device driver for my USB. 9.3mx.
2. Upgraded Matlab R 2011a to Matlab R2011b with Data acquisition toolbox 3.0

For those who might need help with this, these links might be useful. I found these while researching this topic.

http://joule.ni.com/nidu/cds/view/p/id/2339/lang/en (driver 9.3mx)
http://zone.ni.com/devzone/cda/tut/p/id/6913#usb
http://www.mathworks.com/products/daq/supportedio14005.html#USB

Now the error I am getting is related to the fact that my PC is Windows 7, 64 bit and the legacy software commands such as daqhwinfo do not work. I am converting my code to the "session based interface" - I really wish I had known this requirement about the 64 bit. I was assuming based on the last link above that USB 6008 is compatible with S and L (Session based and Legacy both) but turns out it is not.. It might be compatible with 32 bit, but it is not compatible with 64 bit.

-Chitra
0 new messages