||Re: Does dbase work with pole display
||Thu, 10 Oct 2019 03:09:46 -0400
Thank you Mervyn,
This worked well without the length errors but the thing now is data from the two lines appeared on one line. Something like no carriage return.
Again which command can I use to clear data from the pole. Something like putting finishing touches to this code.
Am so grateful.
Mervyn Bick Wrote:
> On 2019-10-08 12:12 AM, Emeka wrote:
> > Thank you Mervyn,
> > When I clicked the Display text button, It displayed errot of 'variable undefined' LENGTH in line 612 and 613 and 'variable undefined' SENDSTR in line 616 of serialcomm.cc. Then when I click ignore severally, it will display my text on the pole display meaning its opening the port. Please how do I correct this error and continue.
> The good news is that your computer is at least talking to the pole
> display. Now all it needs to do is to talk sense. :-)
> I'm afraid it's probably nearly 20 years since I last used
> serialComm.cc. My computer doesn't have a serial port so the little test
> form I posted previously was completely untested. Even if I had a
> serial port installed it would be difficult to sort out problems as I
> don't have a similar pole display to play with.
> serialComm.cc may not accept single characters as a string so my attempt
> to send reset and cursorOff messages may be causing the problem. On the
> other hand, I don't recall problems sending single commands to a modem
> but that was a long time ago. Back in the days when I was working I
> also had access to a Data Analyser which was a great help in fixing
> I suggest you start by replacing the pushbutton1_onClick() event handler
> with the following.
> function PUSHBUTTON1_onClick()
> oS = form.serialcomm1
> If this works type two new messages into the entryfields and see what
> happens when you click the pushbuttton.