Why can I receive data in the analyze
window, but not after I activate WinWedge?
The fact that you are getting data in the analyze window and
not when the wedge is activated implies that the communication is
established and the wedge is receiving data.
The first thing you should check is whether or not the WinWedge
Window (when Activated) is displaying your data. If the data appears
there but not in your application, then check which Mode you are
in (Keystrokes or DDE) and verify that the settings are correct.
It is important to realise that Setting the Wedge for DDE Mode will
not result in the data being sent to any open Window like it can
in keystrokes mode. In Excel for instance you must write macros
to actually manage the DDE transactions.
There is also a small number of applications (such as applications
that run in a DOS Window) that cannot receive the keystrokes from
WinWedge. Try sending the data into Notepad and see if that works,
if it does then it could be an incompatibility with the application
you are trying to send the data to.
If no data appears in the WinWedge Window when it is activated
then the record structure is not defined properly. To correct this
problem take another look at the data in the Analyze window and
make sure that the "Start of Record Event" and the "End
of Record Event" have been defined properly. By default, WinWedge
expects a carriage return as the end of a record. This will appear
in the Analyze window as a music note character. If you do not receive
this character from your device then it means that WinWedge received
your data but is still waiting for this carriage return character
to signify the end of the record before transmitting the data to
your application. To correct the problem change the end of record
event to a time delay between records, a fixed number of bytes received
or a character that your device does transmit such as an ETX.
If you are confident that your start and end of record events are
correctly defined, make sure that you have selected the proper parsing
and filtering parameters for each field. Check your delimiters or
field lengths, and try removing any filters you set to see if that
corrects the problem.
Finally, if you are inputting very large data records, you may
also need to increase the size of the serial input buffer.
Why does data go into Notepad and not
my application when I activate the wedge?
The reason that the data is going into Notepad is because it
is the default setting in WinWedge. If you want the data to go into
another application, you must specify that application by entering
the appropriate "Application Title Bar Text". To specify
the application, choose the "Send Keystrokes To" option
under the MODE menu and specify the appropriate Title Bar Text for
the application that you want to send data to. The title bar text
is the text that appears in the title bar of the applications
main window. If you want the wedge to launch your application the
first time it receives any data, you can also specify the full path
for the applications executable file name in the text box
labeled "Command Line". Note: You must specify the full
path. For example if you have any application called Excel.Exe under
the directory "C:\MSOFFICE", then your complete path would
be C:\MSOFFICE\EXCEL.EXE.
How do I place a date and time stamp to
my data?
You can use the following six keywords to place the date and
time stamps: {Year}, {Month}, {Day}, {Hour}, {Minute}, and {Second}.
If you would like the date and or time stamp placed before the data,
then you would place the date and time stamp functions in the "Record
Preamble" text box. If you would like the date and time stamp
to be placed after the data, then you would place the function in
the "Field Postamble" text box. For example if you only
want the date stamp before the data, then you place the following
keywords in the "Record Preamble" text box. {Month}/{Day}/{Year}.
How do I set up WinWedge to continuously
send out prompts at regular intervals?
The "Timer Controlled Output" can be used to send
a string or prompt to a device at a specific time interval. To set
up the timer controlled output select "Serial Output Strings"
from the DEFINE menu and specify the time interval and the timer
controlled output string that you want sent out the serial port.
If you want the timer to be enabled as soon as the wedge is activated,
then check the "Enable Timer On Activation" option. If
you are using the wedge in send keystrokes mode, then you can enable
and disable the timer from the QUIT menu after the wedge has been
activated or you can use the [TIMER-ON] and [TIMER-OFF] DDE commands
to turn on and off the timer.
Can the Wedge run in the background
while I work with another program in the foreground?
It is possible to work with another program while WinWedge is
running on the same PC. There are several ways that you can set
up WinWedge to work. If you simply want to log data to a disk file,
you can set up WinWedge in "Log To Disk" mode and all
data will be logged to a disk file in the background while you work
with some other program in the foreground. In a similar manner,
you can set up WinWedge to communicate with another application
using DDE (Dynamic Data Exchange). With DDE, again, all operations
occur in the background so you can have WinWedge and the application
that is receiving data from the Wedge running in the background
while you work with another program in the foreground.
WinWedge can also be configured to convert incoming serial data
to "keystrokes" and therefore trick other programs into
accepting the incoming serial data as if it were being typed in
on the keyboard. In order for this to work correctly, the other
application must be running in the foreground, which makes it more
difficult to work with a separate application while collecting data
with the Wedge.
Is WinWedge Year 2000 compliant?
WinWedge is designed as a tool for inputting serial data from
instrumentation into a PC. It is not an application that stores
data or acts as a database where date information plays any role
in the functionality of the product.
It generally does not have anything to do with dates and times therefore
the year 2000 issue does not affect the product to any great extent.
Although it does have some simple date and time stamping capabilities,
in the vast majority of applications, the Wedge is not used to generate
date information. In WinWedge for Windows, the system date is used
for all date functions and is generated by the operating system
(which is fully year 2000 compliant).
Some of the date stamp functionality in the Wedge has been designed
to provide the year portion in a 2 digit format with the century
portion of the date either excluded altogether or hard coded by
the user. In the rare circumstances where a user has the Software
Wedge configured to provide a full four digit year portion in a
date stamp, you may have to edit their configuration for the Wedge
to hard code in a "20" instead of a "19". This
process is trivially easy. (After making the change you should not
need to do it again for another 100 years.)
Can WinWedge be used to implement Modbus
Protocols?
WinWedge does not have the ability to calculate check sums or
make logical decisions on data. This means that it does not directly
support any high level protocols like modbus. It does not mean that
you cannot use WinWedge to communicate with modbus devices. You
can, in most cases, implement any protocol that you like, including
Modbus, using features of the application that will be using the
Software Wedge.
For example, you could use the macro language in whatever program
you are feeding data into to implement the protocol, and then simply
use the Software Wedge to do the serial input and output. If you
were using a program like Excel, Access, Wonderware, Fix DMACS,
etc., you could use the macro or script languages in these programs
to calculate any necessary checksums on your data or perform logical
functions to control the flow of data. WinWedge would simply act
as a tool providing the other application with a way to both send
and receive serial data.
Why is it that when I use the Auto_Close()
macro (from the examples in the manual) to close WinWedge automatically
Excel causes a General Protection Fault in Module Excel.exe?
This only happens in Excel 2000 when you choose Exit from the File
menu, it does not happen if you click on the X in the top right
hand corner of the application. Normally when you quit an application
that was connected via DDE to another application, the DDE Links
are automatically terminated, but a bug in Excel 2000 causes this
error. To fix the problem add the following line of code to the
end of the Auto_Close Macro:
DDETerminate chan
Will WinWedge work with Windows 2000/XP?
Yes. All current versions of WinWedge including the 16 bit versions
will work with Windows 2000 and XP. Versions released prior to 1998
may not work correctly, and we recommend you upgrade to the current
release. To check your version go to the Help Menu and click
on About.
When Trying to use the Port > Analyze
feature or Activate WinWedge on a Windows NT/2000/XP machine you
receive the error "Com n not available".
Possible causes of this error include:
When Trying to use the Port > Analyze
feature or Activate WinWedge on a Windows NT/2000/XP machine you
receive the error "Set Com State Failed."
This error is caused by your buffer size settings. NT based systems
will not accept settings that are not an integer multiple of 2.
For example setting your Input buffer size to 32767 will cause this
error, but setting it to 32766 will not.
When Trying to use the Port > Analyze
feature or Activate WinWedge on a Windows NT/2000/XP machine you
receive the error "Set Com Time Outs Failed."
Usually the same or similar error will occur when trying to access
that com port from another piece of software such as HyperTerminal.
In most cases removing the com port in the Device Manager and restarting
Windows (which will then automatically detect the com port and reinstall
the driver) will resolve this problem. If after restarting the problem
has not been resolved manually reinstall the driver: Open the Control
Panel, double click on the System Icon, click on the Hardware Tab
then open the Device Manager. Scroll Down to the Ports and doble
click on the problem port. Click on the Driver Tab and select Update
Driver. Let Windows search for a suitable driver and even if it
says the current driver is the best one make sure you follow through
the wizard until it is finished. This will reinstall the Driver.
No reboot should be necessary.
When Trying to use the Port
> Analyze feature or Activate WinWedge on a Windows NT/2000/XP
machine you receive the error "Unable to allocate queues, try
reducing buffer size."