Home > Archive > Matlab > January 2008 > BitsPerSample cannot be 24
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
BitsPerSample cannot be 24
|
|
| Bethany 2008-01-28, 8:19 pm |
| I am using the data acquisition toolbox (v. 2.11) with
R2007b+ and the winsound adaptor. I need 24 bits per
sample, but when I set 'BitsPerSample' on my
analogoutput/input objects to anything over 16, I get the
following error on the "start" command:
[color=darkred]
??? Windows Multimedia: The specified format is not
supported or cannot be
translated. Use the Capabilities function to determine the
supported formats.
This error goes away if I manually set the 'BitsPerSample'
back to 16 or 8. I haven't been able to learn what
the "Capabilities function" is.
I confirmed with the daqhwinfo(ao) command that 'bits' had
changed to 32 and the 'NativeDataType' had changed from
int16 to int32, so the "set" command seems to have been
successful, but the object won't run. Any help or
explanation would be helpful.
Thanks in advance!
| |
|
|
| Bethany 2008-01-30, 11:14 pm |
| Thanks, Sherryl. I read the winsound info, but my issue
seems to be independent of the sampling rate. I took your
advice and opened a tech support case, and if the answer
turns out to be broadly relevant, I'll update this thread
when it's resolved.
|
|
|
|
|