Are sure that the cable connects to RS232 seral port at one end, and to parallel port at another? Could it be a modem cable with DB25 male for the modem end and DB9 female for the PC? Get a straight DB9 to DB9 cable and try with it.
Regarding software, it is very easy to write code based on...
I was the sloppy engineer that first suggested using a 3ph drive for a 1ph motor in this thread. I was puzzled at the voltage and power values mentioned in the original question; and suggested a wrong solution without thinking much. Fortunately, jraef and buzzp corrected my error.
The phase...
A 5 volt AC motor? 0.5 HP at 5 volts? Could you confirm the values? Are you sure that it's not a DC motor?
Putting aside my confusions about the voltage and power values, you can always use a three-phase drive with a single phase motor. Just use two of the three terminals. The 3ph drive...
Dear Enque,
Your problem is to sort a group of records, on the value of a particular column.
I do not know what your program exactly does, but I think it collects multiple sets of related data, and analyzes them. In order to solve this type of problems systematically, you need to understand...
Hi Noel,
Get the input parameter from the user with your VB code, and then use this value in the query strings. Like the following.
Private Sub Command0_click()
Dim strInput As String
strInput = InputBox("Please enter parameter")
DoCmd.RunSQL "update Transactions set Amount = " & strInput &...
You are using DAO based data control. Use ADO based control ADODC instead. That will recognize Access2000 and derivatives alright.
From Project->Components menu select "Microsoft ADO Data Control 6.0" and the ADODC control will be added in your toolbox window.
Regards
Yeasir...
Hi,
VB6 has several data access technologies. DAO is the oldest of these. DAO cannot recognize MSAccess formats beyond Access97. But there is another technology called ADO that can recognize Access2000. I'm not sure about Access2002, but possibly it can handle that also. If you make an...
What nbucska originally mentioned, is called EscPOS standard. It is a printer commandset, specified by Epson, for point of sale system printers.
This standard includes many formatting commands, as well as some specific POS related commands like cutting receipts, printing bar codes and opening...
Hi folks,
I'm sorry that my promised "few minutes" turned out to be one whole month!
Anyway, here is the Windows VC++ code for accessing serial port. This sample contains a class for serial port data I/O. The main function assumes that a modem is connected at the port, and inquires...
C code for GSM modem acces through comm port in Unix.
I used this for controlling Siemens C35 handsets. It is well tested for that particular phone. The OS was SCO OpenServer. Porting to Linux should not be difficult.
I'll post C++ codes for Windows a few minutes later.
#include <stdio.h>...
Unfortunately the VB function Replace doesn't work for control characters, so, you have to do it the long way.
Private Sub ConvertFile( _
ByVal strInFileName As String, _
ByVal strOutFileName As String _
)
Dim strInFileContent As...
Hi,
Most of the data enabled GSM sets are exactly like an external modem. They support all the AT commands, plus some manufacturer specific additional commands. This is from software side.
From hardware side, the communication interface is a bit inflexible for some handsets. I worked with...
Your problem description is not complete.
1. It seems that you have a special I/O card with a RS485 port on your PC. Is it?
2. The DOS program seems to use a special object file, moxa-cl.obj, while linking. Do you have that file?
3. Windows NT does not permit direct hardware access. There...