How to clear screen on eks-lm38962 OLED back to starting point
I am just starting out with LabVIEW for micro controllers and have a project that is about to be due. I have a Stellaris eks-lm38962 board that I download the program to. The point of the project is to draw pixels on the OLED screen similarly to an Etch-A-Sketch. I have everything completed except one small problem. My display is supposed to clear out when i press the select button and then start back at 0-0 (top left). My screen clears but the cursor stays where it left off. I have no idea how to get the cursor to go back to the starting point. If anyone can offer any suggestions, I would greatly appreciate it. I attached a screen shot of my block diagram. Case 16 is the one displayed because that is the one giving me problems. I need some way to tell the clear display icon to start back over at 0,0 whenever I press select. Thanks in advance.
Attachments:
Block Diagram.docx 59 KB
Why don't you post the actual VI? I can't really see anything in that small picture.
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Similar Messages
-
Which escape sequence is to clear the screen ? I am using windows. In Linux is: System.out.print("\033c"); But it doesn't work in Windows. Please help ..............
If you load ansi.sys in your sys.ini, the following should work: \033[2J\033[H
-
How to clear screen V2.0 ???
Somebody told me to load ansi.sys in system.ini file. Please tell me how to. Thanks...
Gosh isn't http://www.google.com amazing. 2nd site found:
http://www.computerhope.com/ansisys.htm -
I am new to AE and am trying to animate an arrow on a map. If anyone know of a good tutorial I would appreciate it.
How about a sample project? Dropbox - bendyArrow.zip
It's an oldie but a goodie that will still open in CC -
How to invoke a short lived process using web service start point?
I have a custom short-lived process that does not take any input parameter. I am able to successfully invoke the process from LiveCycle Workbench ES2. I want this process to be invoked by a java client through a web service call. Apart from the web service URL of my process (which looks like
http://<server>:<portno>/soap/services/MyApplication/MyProcess?wsdl&lc_version=9.0.0&versi on=1.0) do the java client know anything else? Any authentication is required?
My intention is to just find out what all the consumer of this process needs to know to invoke it through a web service call.
Was anybody able to test a short-lived process through a web service invocation from SoapUI?I am not a programmer but I did find this article on he Developers Resource site that might lead you in th eright direction:
http://www.adobe.com/devnet/livecycle/articles/java_soap.html
Paul -
How to clear Purchage return (T.code. F-41)
Hi
My dear friends...
when i post purchase return document using F-41, always showing pending traction means it showing open item.. how to clear that purchage return..
when i post purchage invoice, outgoing payment also it showing open item.. how to clear that open itemm..
i will give full points..
Thanks for your information..
Ashok kumarHi,
Good morning and greetings,
As per standard SAP process, the purchase return is normally accounted through transaction code MBRL and at that same time the system clears the open items as well, provided the purchases are accounted through Purchase order.
Please reward points if found useful
Thanking you
With kindest regards
Ramesh Padmanabhan -
How to clear text fields when the user navigates back to the screen
Hi,
Does anyone have any idea on how to clear the text input fields and dropdown boxes when the user navigates back to the screen, say for e.g. create screen?
My issue is that i have plenty of fields in the create screen within a form. Is there a way to avoid programaticaly blanking out every field and just do it at the form level using an api to reset to a state before the user entry?
ThanksThis code allows you to make it more generic, and you would need to tweak it if there are more than TextInput controls, but it should provide some ideas.
As far as using states, you could use SetProperty to set the text to empty, but that might be messier.
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.containers.FormItem;
import mx.controls.TextInput;
import mx.events.IndexChangedEvent;
import mx.core.Container;
private function clearSreen(evt:IndexChangedEvent):void{
var view:Container = tn.selectedChild as Container;
for each(var child:Object in view.getChildren()){
if(child is FormItem){
var subchild:DisplayObject = child.getChildAt(0);
if(subchild is TextInput){
TextInput(subchild).text = "";
]]>
</mx:Script>
<mx:TabNavigator id="tn" resizeToContent="true"
change="clearSreen(event)">
<mx:Form id="frm1" label="View Number One">
<mx:FormItem label="First name:">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="Last name:">
<mx:TextInput/>
</mx:FormItem>
</mx:Form>
<mx:Form id="frm2" label="View Number Two">
<mx:FormItem label="Address1:">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="Address2:">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="City:">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="State:">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="Zip code:">
<mx:TextInput/>
</mx:FormItem>
</mx:Form>
</mx:TabNavigator>
</mx:Application>
If this post answers your question or helps, please mark it as such. Thanks!
http://www.stardustsystems.com
Adobe Flex Development and Support Services -
How to clear parameters defined in selection screen on back button
Hi,
I have a report with parameters, few being input fields, and check boxes. After report is executed when user selects the back button, the selection screen is displayed again but with the old selection values. I want to clear them.
So in the Initialization even I added the code to clear all these parameters;
CLEAR: p_aaa, p_bbb, p_ccc.
I debugged and control passes through this code but still the fields are not cleared and they retain the old input values.
How to clear them ?
thnks>
Rob Burbank wrote:
> Yes he did. My mistake.
>
> But isn't this what he wants? To clear the Selection screen so that something has to be entered?
>
> Rob
IMO, he only wants to clear the selection screen parameters on the click of 'BACK' button
in the list screen. If the OP clears the selection screen variables in AT SELECTION-SCREEN OUTPUT
even, the values assinged to the selection parameters in the INITIALIZATION and with the DEFAULT addition of the PARAMETERS and SELECTION-OPTIONS statements will also be overwritten even when the report is executed for the
first time.
-Rajesh. -
How to clear the screen in java?
Hi,
How to clear the screen in java without using any loops?
ThanksJust paint with your background color to let the old paintings vanish.
-
Selection screen / how to clear values in screen parameters parameters
Hello ,
I am developing report . It is simple one with standard screen 1000 ( Not Dynpro ).
On the screen I have several parameters and select options . When I run program , display list
and press the "Back" Button from tool bar ,entered values still remain in screen parameters.
I code I did 'clear' of parameters , so after pressing "back" button and before selection screen
is displayed the parameters show up as initial ( empty ) but once selection screen is displayed
the values are in parameters again .
Can you advice how I can clean up the values from screen parameters .
Thank youHi,
Try the below code....
DATA: executed TYPE n.
SELECT-OPTIONS : selop1 FOR sy-datum.
INITIALIZATION.
executed = 1.
AT SELECTION-SCREEN OUTPUT.
BREAK-POINT.
IF executed = 1.
executed = 0.
REFRESH: selop1.
CLEAR : selop1.
ENDIF.
Regards
Arbind -
I was trying to backup my iphone to the computer, I got some message that said it didn't finish an update and now the iphone is stuck. It has the itunes symbol and the usb cable picture on the screen, any ideas as to how to clear this???
Put your phone in Recovery Mode & restore it, as described here:
http://support.apple.com/kb/ht1808 -
How to clear the DOS screen through java program
how to clear the DOS screen through java program
Just some Friday fun. Use the telnet program that comes with Windows and supports VT escape sequences.
import java.io.*;
import java.net.*;
public class AutoTelnet {
private static Socket s;
public static void main(String[] args) throws Exception {
Thread t = new Thread() {
@Override public void run() {
try {
s = new ServerSocket(5555).accept();
} catch (IOException ex) {
ex.printStackTrace();
t.start();
Process p = new ProcessBuilder("cmd", "/C", "start", "telnet", "127.0.0.1", "5555").redirectErrorStream(true).start();
t.join();
PrintStream ps = new PrintStream(s.getOutputStream());
ps.println("Screen will be cleared in 5 seconds");
ps.println("5");
Thread.sleep(1000);
ps.println("4");
Thread.sleep(1000);
ps.println("3");
Thread.sleep(1000);
ps.println("2");
Thread.sleep(1000);
ps.println("1");
Thread.sleep(1000);
ps.println("\u001b[2J");
Thread.sleep(5000);
} -
How to clear the text in the Text Editor
Hi all,
I created a Text editor and also i am having language field in the screen.
whenever i change the language auomatically the text has to change when the text exists for that
language.
this is working fine, but when the Text exist , the text editor should be blank.
But it is carrying the Previous editor text itself into it .
How to clear the text in the Editor.
Regards,
MadhaviHello Madhavi
The simple report ZUS_SDN_TEXTEDIT_CONTROL shows how to switch the texteditor contents when changing the language.
*& Report ZUS_SDN_TEXTEDIT_CONTROL
*& Thread: how to clear the text in the Text Editor
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145272"></a>
*& By default the itab GT_OUTTAB contains texts in DE and EN.
*& To switch the language directly enter into the command window:
*& LANGU=DE, LANGU=EN or LANGU=FR
REPORT zus_sdn_textedit_control.
TYPE-POOLS: abap.
TYPES: ty_t_text TYPE TABLE OF as4text
WITH DEFAULT KEY.
TYPES: BEGIN OF ty_s_outtab.
TYPES: language TYPE spras.
TYPES: text TYPE ty_t_text.
TYPES: END OF ty_s_outtab.
TYPES: ty_t_outtab TYPE STANDARD TABLE OF ty_s_outtab
WITH DEFAULT KEY.
DATA: gt_outtab TYPE ty_t_outtab,
gs_outtab TYPE ty_s_outtab.
DATA: gd_language TYPE spras.
DATA: go_docking TYPE REF TO cl_gui_docking_container,
go_textedit TYPE REF TO cl_gui_textedit.
DATA: gd_okcode TYPE ui_func,
gd_repid TYPE syst-repid.
START-OF-SELECTION.
PERFORM fill_texts.
gd_language = syst-langu.
PERFORM init_controls.
* Link the docking container to the target dynpro
gd_repid = syst-repid.
CALL METHOD go_docking->link
EXPORTING
repid = gd_repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc NE 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM set_text_editor.
* NOTE: dynpro does not contain any elements
" ok-code => GD_OKCODE
CALL SCREEN '0100'.
* Flow logic of dynpro (does not contain any dynpro elements):
*PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
*PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'. " contains push button "DETAIL"
* SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
TRANSLATE gd_okcode TO UPPER CASE.
CASE gd_okcode.
WHEN 'BACK' OR
'EXIT' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN 'LANGU=DE' OR
'LANGU=EN' OR
'LANGU=FR'.
PERFORM get_text_editor.
SPLIT gd_okcode AT '=' INTO gd_okcode gd_language.
PERFORM set_text_editor.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form FILL_TEXTS
* text
* --> p1 text
* <-- p2 text
FORM fill_texts .
* define local data
DATA: ld_string TYPE string.
gs_outtab-language = 'EN'. REFRESH: gs_outtab-text.
ld_string = 'Good morning'.
APPEND ld_string TO gs_outtab-text.
APPEND gs_outtab TO gt_outtab.
gs_outtab-language = 'DE'. REFRESH: gs_outtab-text.
ld_string = 'Guten Morgen'.
APPEND ld_string TO gs_outtab-text.
APPEND gs_outtab TO gt_outtab.
gs_outtab-language = 'FR'. REFRESH: gs_outtab-text.
ld_string = space.
APPEND ld_string TO gs_outtab-text.
APPEND gs_outtab TO gt_outtab.
ENDFORM. " FILL_TEXTS
*& Form INIT_CONTROLS
* text
* --> p1 text
* <-- p2 text
FORM init_controls .
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
* repid =
* dynnr =
* side = dock_at_left
* extension = 50
* style =
* lifetime = lifetime_default
* caption =
* metric = 0
ratio = 90
* no_autodef_progid_dynnr =
* name =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT go_textedit
EXPORTING
* max_number_chars =
* style = 0
* wordwrap_mode = wordwrap_at_windowborder
* wordwrap_position = -1
* wordwrap_to_linebreak_mode = false
* filedrop_mode = dropfile_event_off
parent = go_docking
* lifetime =
* name =
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
gui_type_not_supported = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " INIT_CONTROLS
*& Form SET_TEXT_EDITOR
* text
* --> p1 text
* <-- p2 text
FORM set_text_editor .
BREAK-POINT.
CLEAR: gs_outtab.
READ TABLE gt_outtab INTO gs_outtab
WITH KEY language = gd_language.
CALL METHOD go_textedit->set_text_as_stream
EXPORTING
text = gs_outtab-text
EXCEPTIONS
error_dp = 1
error_dp_create = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " SET_TEXT_EDITOR
*& Form GET_TEXT_EDITOR
* text
* --> p1 text
* <-- p2 text
FORM get_text_editor .
CLEAR: gs_outtab.
CALL METHOD go_textedit->get_text_as_stream
EXPORTING
only_when_modified = cl_gui_textedit=>true
IMPORTING
text = gs_outtab-text
* is_modified =
EXCEPTIONS
error_dp = 1
error_cntl_call_method = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MODIFY gt_outtab FROM gs_outtab
TRANSPORTING text
WHERE ( language = gd_language ).
ENDFORM. " GET_TEXT_EDITOR
Regards
Uwe -
How to clear data in Table Control.
hi! all
How to clear the data in table control.
i have a Table control which displays column A data from the previous screen and allows to enter column B and column C and i have a button CLEAR, when i click CLEAR button the Data displaying in table control has to be cleared. how to do it.
Regards,
NagulanHi,
Loop over the internal table of table control & clear data from table control.
loop at tctab.
clear tctab.
modify tctab.
endloop.
Best regards,
Prashant -
What is the purpose of F-03 clearing? How to clear GL account there in F-03
HI,
What is the purpose of F-03 clearing? How to clear GL account there in F-03.Please help me in understanding the concept.
Thanks
SupriyaHello,
There are cases where you pass some manual entries which might not have cleared against the other related item, THOUGH the balance has been ZERO. Like cases where you reverse logistics invoice through MR8M, then entry gets reversed but they are still open items. Like some GRIR accounts might have debit and credit entries for same purchase order and the balance MIGHT have become ZERO, but still they are open item. To clear all these open itesm (changing the status of the open items to cleared items, you need to use F-03)
Please go to F-03 and give the GL account which want to manually clear the debit and credit items.
Normally you will this kind of activity for clearing account, where there is no automatic clearing mechanism explained in OB74.
now click on open items. (if you know any specific things like document number etc. you can fill them, then they will act as a FILTER and only those document numbers you feeded will be appeared)
Now select the items you want to clear. Deselected all other you do not want to clear. Selected items will be in blue colour and the difference at the end of the screen MUST be ZERO to post (unless you configured otherwise)
Click on save button.
The entries passed will GL Account A Dr and GL Account B Cr. Meaning that there is no implication but posting the debit and crediting the same account and clearing the status of the line items from OPEN to CLEARED.
Hope I am clear.
Regards,
Ravi
Maybe you are looking for
-
How to video out without closing the lid ?
Dear all, I have a macbook from the latest generation with an external screen plugged on the DVI. If I want to use the screen as main display and not the one from my macbook, I need to close the lid of my laptop and reactivate it with my bluetooth mo
-
No Rate. Foreign currency invoice does not have an exchange rate assigned to it.
Hi, working in oracle applications 11i. We have encountered the above issue in an invoice. I have run autorate request and I can see that the invoice and all its distribution lines has the exchange rate. but when we submit it for validation it shows
-
My Studio Display screen has gone black -- power light stays on steady. For a few days it would work fine for 30 mins., then go black, come back, then go black again intermittently. Now it's completely black. Any suggestions to fix? G4 quicksilver
-
View list of all songs in itunes match
Hello, Is there any way to see a list or even create a document with all the songs I have uploaded to Itunes Match, besides just seeing them displayed in Itunes? Thanks
-
Why no oracle for intel mac?
Our company uses intel macs for oracle development & production, currently we having to run the windows 10g db under XP in Parellels which is a poor solution. Does anyone in Oracle know of a release date? Is Oracle not supporting Macs? If not, we wil