plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use a serial port as a Square wave Generator

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> RUtilities
View previous topic :: View next topic  
Author Message
ratko
Member 3
Member 3


Joined: 20 Jul 2012
Posts: 524

PostPosted: 19/06/2013 22:22    Post subject: Use a serial port as a Square wave Generator Reply with quote

Use a serial port as a Square wave Generator
Richard L. Grier made a good work.
A RS-232 serial port may be used as a counter/timer and frequency meter, with certain limitations.
This application uses of one of the hardware input handshaking lines to count pulses and to make measurements in code based on pulse timing. This example uses the Carrier Detect (DCD) input line plus ground, but either Dataset Ready (DSR) or Clear to Send (CTS) input lines might be used instead.
Use a serial port as a Square wave Generator Use a serial port as a Square wave Generator
Download:
http://home.comcast.net/~hardandsoftware/Use%20the%20serial%20port%20as%20a%20Pulse%20counter.doc
Download the EXE (Note the .NET Framework 4.0 is required and must be installed on the target PC).
http://home.comcast.net/~hardandsoftware/FrequencyCounter.zip

Here is an another application and description that may be of interest
Use a serial port as a Square wave Generator Use a serial port as a Square wave Generator
Download:
http://home.comcast.net/~hardandsoftware/SquarewaveGenerator.doc
http://home.comcast.net/~hardandsoftware/SquareWave3.exe

Enhanced Serial Port Object for Visual Studio™ 2008 an Visual Studio 2010
Copyright © Richard L. Grier 2010
Use a serial port as a Square wave Generator Use a serial port as a Square wave Generator
http://home.comcast.net/~hardandsoftware/enhanced_serial_port_object_for.htm
Download the Enhanced SerialPort code now.
http://home.comcast.net/~hardandsoftware/TestEnhanced.ZIP
http://home.comcast.net/~hardandsoftware/TestEnhancedSerialPort.zip
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> RUtilities All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro