home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 2323
Discussions: 188,405, Posts: 2,243,658, Members: 232,645
Old May 8th, 2003, 11:25 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Oct 2001
Posts: 45
Getting a beep

I am a novice user here also:
The problem is this, We are using a Signametrics digital multi meter ISA card to take a reading and then save the value into excel. The macro that Wes wrote works except that the BEEP that we need so the tester can tell if he got a valid value is not working exactly right. Can you use a DLL instead of the beep?
We have a DLL for the DMM that takes the reading, is there one we could use to play a wave sound? It has to be 100% reliable.
The beep we are using is the win-2000 default beep thru the on board sound.


Last edited by booshky : May 8th, 2003 at 11:38 PM.
booshky is offline   Reply With Quote
Old May 9th, 2003, 01:02 AM     #2 (permalink)
Ultimate Member
 
Join Date: Oct 2001
Posts: 21,029
If the DLL is a com object then yes you could call it from a macro. Possibly from an API call but not sure how difficult that is from VBA.

Should PM a mod to close the other thread.

vass0922 is online now   Reply With Quote
Old May 11th, 2003, 10:32 PM     #3 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
Quote:
The macro that Wes wrote works except that the BEEP that we need so the tester can tell if he got a valid value is not working exactly right. Can you use a DLL instead of the beep?
We have a DLL for the DMM that takes the reading, is there one we could use to play a wave sound? It has to be 100% reliable.
The beep we are using is the win-2000 default beep thru the on board sound.
How are you trying to 'beep' in the macro?

How do you know the macro accepts a value from the DMM, but doesn't beep?

Why does the 'tester' need a beep? Perhaps MsgBox?

Getting an excel macro to 'beep', should be pretty easy.

Some dumb ways:

Call (ExecCmd??) a DOS batch file that beeps.

Call (ExecCmd??) a java program that does this:

Code:
//ASCII code for Bell, which will beep thru soundcard
System.out.print("\007");

qball is offline   Reply With Quote
Old May 12th, 2003, 12:35 AM     #4 (permalink)
Member
 
Join Date: Oct 2001
Posts: 45
Qball: Thanks for the reply.
The Macro accepts the value from the DMM and it puts the data into a cell just as we want it to. The Dmm card by it self has no sound features. I can see the new value put into the cell.
The tester needs the beep ( that was my first question too ) because the circuts are such that if you look away from where you are, you get lost. The beep is critical to this process.
Getting an Excell macro to beep was easy on the first machine I set up for them with a PCI DMM. This one is an ISA card that we used before on a 486 like four years ago. The PCI version is $2k so they balked at getting that. Thanks for the help..
booshky is offline   Reply With Quote
Old May 12th, 2003, 11:12 PM     #5 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
Quote:
Getting an Excell macro to beep was easy on the first machine I set up for them with a PCI DMM. This one is an ISA card that we used before on a 486 like four years ago. The PCI version is $2k so they balked at getting that. Thanks for the help..
Maybe I'm wrong, but this seems more of a macro issue than hardware.

As you state the macro puts value in cell, so hw and macro working, thus not ISA/PCI problem (else no value?).

So answer the questions about how the macro beeps, or no help.

Quote:
The tester needs the beep ( that was my first question too ) because the circuts are such that if you look away from where you are, you get lost. The beep is critical to this process.
Your definition of critical is different than mine.

Tester can be blind, but hears really good? Tell tester, "no lookey away". Better yet. "look at this cell, if it get's value/value change, workey".

What are the DMM specs and how do they compare to the capabilities of ISA and PCI buses?

Tho if macro gets value from ISA/PCI card and can place in cell, what is the next line in the macro after that?
qball is offline   Reply With Quote
Old May 13th, 2003, 09:37 PM     #6 (permalink)
Member
 
Join Date: Oct 2001
Posts: 45
Quote:
Maybe I'm wrong, but this seems more of a macro issue than hardware.
That is what I was thinking at first, because all the hardware works, sound card, speakers, computer, DMM card. The problem is the BEEP is not RELIABLE for some reason. It works perfect for 20 readings then skips one. Some times when you stop the macro it plays all the BEEPs that it skipped, like it saved them up. Very weird.
Quote:
As you state the macro puts value in cell, so hw and macro working, thus not ISA/PCI problem (else no value?).
I have come to believe that it is a hardware/software incompatibility.
Quote:
So answer the questions about how the macro beeps, or no help
The macro beeps because he has a line that reads BEEP. ( Works on the other machine, Wes said he has used BEEP for years )
Quote:
Your definition of critical is different than mine.
The person running this has 30,000 parts to check and they all have to work. Looking up at the screen between rows is impossible. Thanks for your help
( we ordered the PCI DMM card yesterday so this is it for me )
Booshky

Last edited by booshky : May 13th, 2003 at 09:50 PM.
booshky is offline   Reply With Quote
Old May 13th, 2003, 10:39 PM     #7 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
Quote:
The problem is the BEEP is not RELIABLE for some reason. It works perfect for 20 readings then skips one. Some times when you stop the macro it plays all the BEEPs that it skipped, like it saved them up. Very weird.
Which is why it is most likely macro issue, not:

Quote:
I have come to believe that it is a hardware/software incompatibility.
For the 20 or so readings, YOU are getting value, and beep, then value, NO beep. The point being you are getting value, but not always beep. Thus, hw is functional. The macro code for beep, as you stated, is problem.

Very weird, no. Since stopping macro can restore lost beeps? Ever get a bepp without value?

What you are experiencing is the difference between synchronous and asynchronous events? Seems reading value from card is synchronous and beep asynchronous.

See if PCI card works, or same problem occurs...
qball is offline   Reply With Quote
Old May 14th, 2003, 10:42 PM     #8 (permalink)
Member
 
Join Date: Oct 2001
Posts: 45
Quote:
See if PCI card works, or same problem occurs...
I will try that as soon as I can.
booshky is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Most Active Discussions
Is It Just Me? (2929)
3-days in and no threads about Gaza (161)
Misery Loves Company... (2145)
I think I just killed my computer w.. (24)
CPU wont boot (8)
New Build ( Finally ) (7)
Folderchat Weekday thread (444)
Building a gaming computer advice (5)
RCA 52Inch HDTV wont turn on (5)
Recent Discussions
How to increase my ram? (6)
CPU wont boot (8)
Powerdirector 7 (0)
trouble playing Blu-ray through.. (14)
BATCH FILE WONT OPEN!!! HELP!!! (5)
wishin i could edit my aol prof.. (1)
Problem with boot and motherboa.. (1)
What is L2 Cache??? (1)
Netgear HDX101 Powerline HD Eth.. (4)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 09:20 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28