Hello Guest it is March 29, 2024, 05:11:31 AM

Author Topic: About V.B. script  (Read 5403 times)

0 Members and 1 Guest are viewing this topic.

About V.B. script
« on: November 08, 2016, 05:46:39 AM »
Hello, everybody,

Want to write  V.B script in Mach3 environment to have ‘beep‘ sound from the computer. Is it possible and how is it?

Thanks,

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: About V.B. script
« Reply #1 on: November 08, 2016, 06:02:00 AM »
Not sure about the beep but i think you can make it play a .WAV audio file.
Re: About V.B. script
« Reply #2 on: November 08, 2016, 10:13:17 AM »
I checked Mach3 Vx Marco Prog. Ref pdf document, but nothing found about it!
I just want to save an output I/O line which is used to operate an added buzzer hardware...

Thanks,

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: About V.B. script
« Reply #3 on: November 08, 2016, 10:33:56 AM »
From the Cypress Enable Language Reference...

The command  Beep
Sounds a tone through the computer's speaker.  The frequency and duration of the beep depends on hardware, which may vary among computers.
 
Tweakie.
PEACE
Re: About V.B. script
« Reply #4 on: November 08, 2016, 01:21:00 PM »
Thanks,

But it still doesn't work, maybe the computer‘s speaker problem or its connection problem! I need to take time to repair it...

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: About V.B. script
« Reply #6 on: November 08, 2016, 01:56:37 PM »
Most pc's beep when they boot up - does it do this?

If not maybe your speaker is dead or the connector has popped off the board.
Re: About V.B. script
« Reply #7 on: November 09, 2016, 03:03:46 AM »
No, it doesn't.

It is a second hand desktop. I haven't yet opened it up to check. In my memory of the old stuff desktop, there were a whole bundle of wires. If there were any of them disconnected, it was difficult to figure out which one went to which jumper post pin...!

Thanks,

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: About V.B. script
« Reply #8 on: November 09, 2016, 03:12:34 AM »
The speaker is usually just two wires, they usually go to a post pair marked "spkr"

They do get knocked or left off easily.

:)

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: About V.B. script
« Reply #9 on: November 09, 2016, 03:40:24 AM »
If it’s any help, with almost all of the PC’s I have owned speakers have had to be connected to the sound card to enable the V.B. (Cypress Enable) ‘Beep’ to be heard.

However, my present PC has it’s integrated sound card set-up to play any sound file (.wav, etc.) through it’s small internal speaker (until such time as a jack is inserted into the ‘speaker out’ when all audio is then routed to an external sound system).
With this set-up the V.B. (Cypress Enable) ‘Beep’ command (actual sound determined by Windows system sounds) is heard without any external speakers (My PC has SoundMAX Integrated Digital HD Audio).

Tweakie.
PEACE