Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET4
I am using the below code to show the text in the pole display.But iam having one issue i.e how to display the message in different line (have 2 lines). I dont know how to set the cursor position.I really appreciate if any one help me.
 
Iam using RPD-200SU.Speicification are
 
Display method- VFD display
 
Number of character -20 columns x 2 lines
 
Character type-5 x 7 dot matrix
 
private void button1_Click(object sender, EventArgs e)
        {
 
            SerialPort sp = new SerialPort();
 
            sp.PortName = "COM1";
            sp.BaudRate = 9600;
            sp.Parity = Parity.None;
            sp.DataBits = 8;
            sp.StopBits = StopBits.One;
            sp.Open();
            sp.WriteLine ("                                        ");
            sp.WriteLine("Hi welocme here");
 
            sp.Close();
            sp.Dispose();
            sp = null;
 
        }
Posted 24-Jul-12 8:38am
Edited 24-Jul-12 8:40am
v2
Comments
Sergey Alexandrovich Kryukov at 24-Jul-12 14:53pm
   
What cursor? Why do you think such kind of display can have cursor? Did you try just to output the line of more than 20 characters? Are they simply wrap to the second line?
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You should talk to the people who created it - http://www.riopos.com/[^] - they should provide technical support and will know more about their product than we will. If they don't, then find another supplier and demand your money back!
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

It's not working on windows 7 64 bit
  Permalink  
Comments
lewax00 at 3-Dec-12 12:13pm
   
If you're having a similar problem, please create your own question instead of adding a solution to someone else's. And use more detail than "it's not working" when you ask your question.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

A lot of these pole displays use a standard controller (like the HD44780 chip) driven by a microprocessor and connected via a USART to the computer via a serial link or thru something like the FTDI chip for USB. The problem is that the control "language" the display understands is not standard... meaning even though the display controller wants to see a 20H on it's data lines (parallel by the way) doesn't mean the micro is looking for a hex 0x20 sent to it to blank the display and send the cursor 'home'. You aren't talking directly to the display controller but the micro that is driving the display controller.
 
Therefore there is also no guarantee what the command set will be or event that the micro will line-wrap what you send. Quite the opposite has been my experience... they will often just run the text off the display.
 
The key here is that the vendor should have a programming guide with the commands available... just as the first solution implied. You will find that there are control codes you need to send to the display to get it to do things. For example, there will be a "clear display" code which will clear it and put the cursor at 0,0. There will be a code to position the cursor... It typically takes a line number and a position where it will move the cursor to and subsequent printing will begin. You will also find there should be a control code to turn the cursor on or off and make it blink. You should be able to have total control over the display once you know all of this information.
 
Unfortunately the vendor will probably be the only place to get this information. Since they likely wrote the code for the micro that runs it (or purchased the code/controller) they should be able to give you the info. You might try looking for commands for other serial-based LCD and VFD displays. You might get lucky and find a compatible control set. These guys don't typically reinvent the wheel when they offer one of these things.
 
And if those guys don't give up the goods, find one that will. LCD/VFD pole displays are a dime a dozen... you should be able to find one more friendly to your cause.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

Instead of sending
sp.WriteLine ("                                        ");
            sp.WriteLine("Hi welocme here");
try this
 
sp.WriteLine("1st line"); 
sp.WriteLine((char)13 + "2nd line"); 
to clear display try
sp.Write(Convert.ToString((char)12));
 
Almost all of them use similar command set, check this one from Bixolon for their bcd1000 Customer Display http://www.goodson.com.au/download/manual/samsung/user/bcd1000_Command_Manual.pdf[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.141022.2 | Last Updated 30 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100