필터 지우기
필터 지우기

Is it different to use the Data Acquisition Toolbox with a National Instrument USB 6212 under 32 bit or 64 bit Matlab?

조회 수: 2 (최근 30일)
I had at Matlab R2008 (32 bit) a program which use the Nation Instruments measurements box. Now I have a 64 bit Matlab and get the following error message with the same m-file. Is it caused of the of the changing to 64 bit version and I must change this at the m-file or do I need an additional tool? At the m-file at line 33 (error) I have : NiDaqDevices = daqhwinfo ('nidaq');

답변 (1개)

Usha Duddu
Usha Duddu 2015년 9월 10일
Hi Daniel
I understand that you are getting "The Daq Legacy Interface is not supported on this platform" error on using "NiDaqDevices = daqhwinfo ('nidaq')" command in 64 bit MATLAB. This is because 'nidaq' adapter is supported by Legacy interface. Also 64 bit MATLAB does not support Legacy Interfaces with the device vendor of National Instruments. Below is the link to supported interfaces for various vendors- http://www.mathworks.com/help/daq/choose-the-right-interface.html#bs6l1l2
Hope this helps.
-Usha
  댓글 수: 1
Walter Roberson
Walter Roberson 2015년 9월 10일
To expand a bit: the older DAQ interface, now called the Legacy Interface, relied upon 32 bit drivers. It is not possible in MS Windows, Linux, or OS-X to call 32 bit code from 64 bit applications. It is certain that you will not be able to use the Legacy Interface from any 64 bit MATLAB, not unless the operating systems themselves get improvements that are unlikely at this point.
The only operating system that I have personally seen that supported mixed application sizes was Cromix, which supported mixing 32 bit Motorola 68000 applications with 16 bit Zilog Z80 applications (a different processor completely!) by using a reserved 4Kb section of memory for communications. In those days, we resented the fact that 4 Kb was taken away from what we could use, as the entire system only had 64 Kb or 128 Kb of memory (256 Kb if you were wealthy enough.)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by