Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Matlab and new National Instruments cDAQ-9188 ethernet chassis

Hello everyone:

I am planning to use the new National Instruments NI-cDAQ-9188 ehternet chassis with Matlab.

http://sine.ni.com/nips/cds/view/p/lang/en/nid/208990

 This product was just released by NI in september but I guess it would be fully functional since Matlab's latest release R2010b includes compatibility with the CompactDAQ familiy.

My assumption is that both USB and ethernet versions of the compactDAQ are supported by Matlab throught the same driver provided by NI's compactDAQ-mx DLL libraries, so even if Matlab identifies those products as USB-xxxx they should work fine.

An additional clue that puzzles me is that some of the NI's standalone ehternet devices, like NI ENET-9213, are already included in the MWNIDAQMX.INI file, but in those you have two different headers, one for the USB version and one for the ENET.

I would appreciate if somebody who already tried to work with cDAQ-9188 share their experience.

Thanks in advance, cheers!

Marcos

0 Kudos
Message 1 of 6
(4,961 Views)

Hi Marcos,

 

Once the 9188 chassis is added and reserved to the system it uses the same functions within the DAQmx API as the 9178.  I'm not sure how all of this ties into using the chassis with Matlab however, but it seems like it should be possible to find a way to get this to work.  Support for the 9188 was added to the driver in DAQmx 9.2.

 

Although the current standalone ethernet devices are really two parts (916x sleeve + module), they are enumerated by the driver as a single device.  Each sleeve has its own firmware, so the "USB 9205" enumerates differently than the "ENET 9205".  A compact DAQ chassis will enumerate as a unique device, with the modules being seperate devices:

 

2010-09-27_144706.png

 

 

Notice above that the ENET-9205 is a single device, whereas the Compact DAQ chassis has its own identifier.

 

 

Best Regards,

John Passiak
Message 2 of 6
(4,952 Views)

Thank you very much John. I have no reason to believe it won't work so I'll try as soon as I get it.

 

If you agree we can keep the post open just in case somebody else have the chance to test it in the mean time...

 

I'll provide feedback soon.

 

Kind regards, 

 

Marcos

0 Kudos
Message 3 of 6
(4,950 Views)

Hi Marcos,

 

Not a problem--threads on the ni.com discussion forums are typically never closed.  Anybody who is trying to do this is more than welcome to post back with any tips here.

 

 

Best Regards,

John Passiak
0 Kudos
Message 4 of 6
(4,947 Views)

Regarding the use of CompactDAQ devices in the cDAQ-9188 chassis, this is supported beginning in Data Acquisition Toolbox 2.17 which was released along with MATLAB R2010b.

To access CompactDAQ devices in any of the CompactDAQ chassis you will need to use the new Session-based interface of Data Acquisition Toolbox. Start to learn about it here:

http://www.mathworks.com/help/toolbox/daq/bskwpai.html
http://www.mathworks.com/help/toolbox/daq/bskx95j.html

On this page http://www.mathworks.com/products/daq/demos.html
scroll down to the section "Using CompactDAQ Hardware from National Instruments".
It contains extensive demos that will help you get started.

Sherryl

Sherryl Radbil
Data Acquisition Engineer
The MathWorks
Message 5 of 6
(4,908 Views)

Thank you very much for your info Sherryl, it seems that everything will be much more easier with the new Session Based Interface. 

 

I'll let you know my hands-on experience soon...

 

Cheers, 

 

Marcos

0 Kudos
Message 6 of 6
(4,898 Views)