Winsound not working in 64-bit Session-based interface

1 vue (au cours des 30 derniers jours)
Jon
Jon le 29 Août 2011
Hello, I'm using a new version of Matlab (R2011a, 64-bit, win 7) and the whole "session-based" data acquisition environment it totally new to me (and not user friendly at all...). I'm trying to put together a demonstration using "winsound", something I was able to do with older versions of matlab. However, the sound card does not show up in the daq.getVendors list.
I've tried to run Matlab in windows XP SP 3 compatibility mode and that still forces me to use the new "session-based" environment (uggg!).
How can I get the sound card to work like it's supposed to (ie: in previous 32 bit versions of matlab)?
Can I force my 64-bit version into 32 bit mode to do data acquisition?
Can I just default to the legacy system? The new session-based system supports next to nothing and it's very chunky and not user-friendly at all.
Jon

Réponses (1)

Desiree
Desiree le 29 Août 2011
On 64-bit MATLAB on 64-bit Windows, you can only use the session-based interface. The session-based interface furthermore works only with CompactDAQ boards, so not winsound.
To use the legacy interface with winsound you can install the 32-bit version of MATLAB on your 64-bit Windows. Please also note the information under:
  2 commentaires
Jon
Jon le 29 Août 2011
do you know if/when the data acquisition toolbox will be supported on 64-bit machines? CompactDAQ boards are such a limited part of the hardware spectrum for data acquisition, compared to the serial, PCI, PCIe stuff they supported under the previous versions. I'm actually shocked (and dismayed) that 64-bit systems cannot make use of legacy hardware (legacy meaning hardware from 6 months ago in some cases).
And I'm at a university that supports only the 64-bit version for windows 7 which is a real pity.
Desiree
Desiree le 29 Août 2011
You can always contact MathWorks directly in order to find out more. You will probably not get exact information about when the legacy interface or non-CompactDAQ boards will be supported but it is always possible to submit enhancement requests.
Please also see:
http://www.mathworks.com/matlabcentral/answers/2495-when-shall-i-contact-mathworks-technical-support-and-how

Connectez-vous pour commenter.

Catégories

En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by