LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DTMF Decode

I'm using LabView 5.1 to perform tuning on a Small Office / Home Office PBX
unit. This was my first
major LabView project. The UUT requires separate channel configurations for
each tune point. To achieve
this I'm sending it DTMF commands via a serial modem.

Now for the problem: the UUT responds back with a 2 digit DTMF response which
I need to confirm. I can
hear the response on the modem's speaker: Can I detect it, and decode with
LabView? I've tried the "serial
port read" to no avail. Any help would be much appreciated.

Thanks

Larry
0 Kudos
Message 1 of 4
(3,417 Views)
Hi Larry,
If you put your modem into voice mode, any DTMF digits that may be present
on the line will be detected by the modem and returned via the serial port.
For the Rockwell modem chipset, the command should be "at#cls=8" and go
off-hook by sending "ata". But sending dtmf tones while in voice mode is
different from when not in voice mode. E.g. to send dtmf "123" is
"at#vts=1,2,3" compared with "atdt123" when the modem is not in voice mode.
Note that each detected dtmf digit by the modem are preceded with the "\10"
code. Best way to try it out is to use the hyperterminal program on
windows.

I hope I understand your problem correctly and hope that this works for you.
Let me know.

Fresh regards,
M Peter Liew.

Larry Gregory wr
ote in message
news:38eca65b@newsgroups.ni.com...
>
> I'm using LabView 5.1 to perform tuning on a Small Office / Home Office
PBX
> unit. This was my first
> major LabView project. The UUT requires separate channel configurations
for
> each tune point. To achieve
> this I'm sending it DTMF commands via a serial modem.
>
> Now for the problem: the UUT responds back with a 2 digit DTMF response
which
> I need to confirm. I can
> hear the response on the modem's speaker: Can I detect it, and decode with
> LabView? I've tried the "serial
> port read" to no avail. Any help would be much appreciated.
>
> Thanks
>
> Larry
>
0 Kudos
Message 2 of 4
(3,417 Views)
M Peter
Thanks for your response. Sorry it took me so long to get back to you. I
just now got the chance. I tried to E-Mail you, but it kept coming back "Undeliverable".
Yes; it sounds like you understand my problem (Decoding DTMF w/ LabView),
and I like your suggestion. Souds like it will work. Thanks again.

Larry

"M Peter Liew" wrote:
>Hi Larry,>If you put your modem into voice mode, any DTMF digits that may
be present>on the line will be detected by the modem and returned via the
serial port.>For the Rockwell modem chipset, the command should be "at#cls=8"
and go>off-hook by sending "ata". But sending dtmf tones while in voice
mode is>different from when not in voice mode. E.g. to send dtmf "123" is>"at#vts=1,2,3"
compared
with "atdt123" when the modem is not in voice mode.>Note that each
detected dtmf digit by the modem are preceded with the "\10">code. Best
way to try it out is to use the hyperterminal program on>windows.>>I hope
I understand your problem correctly and hope that this works for you.>Let
me know.>>Fresh regards,>M Peter Liew.>>Larry Gregory
wrote in message>news:38eca65b@newsgroups.ni.com...>>>> I'm using LabView
5.1 to perform tuning on a Small Office / Home Office>PBX>> unit. This was
my first>> major LabView project. The UUT requires separate channel configurations>for>>
each tune point. To achieve>> this I'm sending it DTMF commands via a serial
modem.>>>> Now for the problem: the UUT responds back with a 2 digit DTMF
response>which>> I need to confirm. I can>> hear the response on the modem's
speaker: Can I detect it, and decode with>> LabView? I've tried the "serial>>
port read" to no avail. Any help would be much appreciated.>>>> Thanks>>>>
Larr
y>>>>
0 Kudos
Message 3 of 4
(3,417 Views)
Hi Larry,
To reply to my email, you need to remove the "no-spam" part of my email
address. I put it there so I don't get junk mail from the bots going
through the newsgroups looking for email addresses to send junk to. Best of
luck for your project.

Fresh regards,
M Peter Liew.

Larry Gregory wrote in message
news:38f5d491@newsgroups.ni.com...
>
> M Peter
> Thanks for your response. Sorry it took me so long to get back to you. I
> just now got the chance. I tried to E-Mail you, but it kept coming back
"Undeliverable".
> Yes; it sounds like you understand my problem (Decoding DTMF w/ LabView),
> and I like your suggestion. Souds like it will work. Thanks again.
>
> Larry
>
> "M Peter Liew" wrote:
> >Hi Larry,>If you put your modem into voice mode, any DTMF digits that may
> be present>on the line will be detected by the modem and returned via the
> serial port.>For the Rockwell modem chipset, the command should be
"at#cls=8"
> and go>off-hook by sending "ata". But sending dtmf tones while in voice
> mode is>different from when not in voice mode. E.g. to send dtmf "123"
is>"at#vts=1,2,3"
> compared with "atdt123" when the modem is not in voice mode.>Note that
each
> detected dtmf digit by the modem are preceded with the "\10">code. Best
> way to try it out is to use the hyperterminal program on>windows.>>I hope
> I understand your problem correctly and hope that this works for you.>Let
> me know.>>Fresh regards,>M Peter Liew.>>Larry Gregory

> wrote in message>news:38eca65b@newsgroups.ni.com...>>>> I'm using LabView
> 5.1 to perform tuning on a Small Office / Home Office>PBX>> unit. This was
> my first>> major LabView project. The UUT requires separate channel
configurations>for>>
> each tune point. To achieve>> this I'm sending it DTMF commands via a
serial
> modem.>>>> Now for the problem: the UUT responds back with a 2 digit DTMF
> response>which>> I need to confirm. I can>> hear the response on the
modem's
> speaker: Can I detect it, and decode with>> LabView? I've tried the
"serial>>
> port read" to no avail. Any help would be much appreciated.>>>> Thanks>>>>
> Larry>>>>
0 Kudos
Message 4 of 4
(3,417 Views)