09-28-2007 10:58 PM
Hi AnalogKid2DigitalMan,
The purpose of the test is to generate a pulse of 500uS so as to make sure that the relay will not switch. . . At this point it looks like a software solution is not possible, then I am looking at a hardware solution. Please see below link for more details:
http://forums.ni.com/ni/board/message?board.id=232&message.id=5837&jump=true
Thanks,
Frank
09-29-2007 12:26 AM
Hi Frank,
I'm looking at a 500us pulse coming from the TX pin (3) of COM1 on my PC. If you can live with a pulse that goes from -10V to +10V (for the pulse duration) then back to -10V, the attached VI shows how. All it does is configure the port to a baud-rate of 2000 hz. The "pulse" is the stop-bit of a single byte. ![]()
Cheers!
09-29-2007 02:23 AM
@tbd wrote:
Hi Frank,
I'm looking at a 500us pulse coming from the TX pin (3) of COM1 on my PC. If you can live with a pulse that goes from -10V to +10V (for the pulse duration) then back to -10V, the attached VI shows how. All it does is configure the port to a baud-rate of 2000 hz. The "pulse" is the stop-bit of a single byte.
Cheers!
09-29-2007 05:51 PM
Thanks, Gabi1!
I'm still not sure it's going to help (if 0-5V is needed), but kudos and stars always make my day - so here's 5 right back at you.:
![]()
Cheers.
09-30-2007 03:35 AM
@tbd wrote:
I'm still not sure it's going to help (if 0-5V is needed),
09-30-2007 10:00 PM
Hi tbd,
Thanks very much! Excellent solution . . . I will use this vi with a RS232 chip from maxim to convert +/-10 to 5V solution. I have tested and it works great!
Kudos and many stars to you for this great idea. ![]()
Thanks again,
Frank
09-30-2007 11:51 PM
Hey Frank, thanks for the follow-up.
It's good to receive feedback, yea or nea, but especially "Yeah"! ![]()
Cheers.
10-01-2007 05:17 PM
Hello Everyone,
Excellent discussion! It looks like the original question has been answered here and in this thread by Yardov. For future reference, please do not start multiple threads for the same question. Having each question in a single location makes it easier for future forum users to find solutions to problems that they might have.