How to generate control limits in control chart
I want to generate a X bar chart with control limits, sample size is Fix- 1.
SPC criterion I selected is 020 ie Task List characteristics/ Material.
1)Sampling Procedure I used- Fixed-1
2)Valuation mode I used- Attrib non conforming units/ manual.
3)Control chart I am using is 110- Shewart chart for X bar.
But when I click for control limits in chart it is saying control limits for track 1 could not be calculated.
Could anyone guide me, how to generate control limits for this graph. Sammple size will alwyas be 1.
Please let me know should I change control chart type in this case.
Hi Jaison,
You should use valuation mode - SPC valuation in sampling procedure.
Also you have to use sampling procedure with inspection points.
as practically every hour or depending on the frequency decided we collect the measurements and calculate the SPC.
now after correction in the sampling procedure create new inspection lot and check SPC.
try out and revert.
Regards,
Anil
Similar Messages
-
Passing Control Limits into SPC Charts - Part 2
I'm able to pass control limits (LCL, CL, UCL) into my SPC chart but it's not woking quite as I expected. If I look at the raw data detail, I see:
Date Prod LCL Mean UCL
Oct-2005 298265 100000 150000 200000
Feb-2006 298171 120000 150000 160000
Aug-2006 198144 75000 125000 175000
Mar-2007 2144 40000 100000 160000
Aug-2007 144 40000 100000 160000
I would have assumed that the LCL, Mean, UCL from the first row (100000, 150000, 200000) would "take effect" on that row's date (10/2005) and continue for all FUTURE data points until the first subsequent date that had a different LCL, Mean, UCL value(s) but, looking at the SPC chart, it seems whenever there is a change in the LCL, Mean, UCL, the values apply to data points PREVIOUS to that row's date.
I'd like users to enter LCL, Mean and UCL data into a control limits database whenever there is a change in the values that should be applied to future points but I don't think that's the way the SPCChart template works.
Any thoughts?
DavidDavid,
If you need a simple model for the data store of your user defined Control Limits, along with their effective dates, you can use the ControlLimitDetail table that is part of the QualityPortal database schema. The Comments and SuppressedDataPoints tables are already used by the iSPCChart applet when the user interacts with the right-click menu for recording point comments and suppressing data points, so this table (along with SpecificationLimitDetail) can be leveraged if you need a place to put them.
I emulated your situation here on my 11.5.3 system - it does seem to project the dotted lines backwards from the record based association, so you may have stumbled onto a problem with the chart. Please enter this into the customer support portal so that it can be properly addressed.
Regards,
Jeremy -
How to generate web svc data control from WSDL in 10.1.3 to secure web svc
When I try to connect to web service via https, I get the error:
WARNING: Unable to connect to URL: https://remove.site.com/service
java.security.PrivilegedActionException: javax.xml.soap.SOAPException:
Message send failed: javax.net.ssl.SSLException: SSL handshake failed:
X509CertChainIncompleteErr Exceptionjava.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException:
java.security.PrivilegedActionException: javax.xml.soap.SOAPException:
Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
Process exited with exit code 0.
There does appear to be this dependency on Oracle Wallet, which I saw when I set:
System.setProperty("HTTPClient.log.level","1");
which showed Using Wallet:
and nothing after it.
AFTER I set:
System.setProperty("javax.net.ssl.Keystore", "f:\ewallet.p12");
System.setProperty("javax.net.ssl.KeyStorePassword","mywallet12");
I saw the "wallet" being used, but still ended up with the same error. I'm only trying to use the "test client" that the web service "generate web service proxy" produces.
The stack trace was:
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
at model.runtime.ProcessOrderBinding_Stub.processOrder(ProcessOrderBinding_Stub.java:95)
at model.ProcessOrderPortClient.processOrder(ProcessOrderPortClient.java:177)
at model.ProcessOrderPortClient.main(ProcessOrderPortClient.java:143)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:120)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:110)
at model.runtime.ProcessOrderBinding_Stub.processOrder(ProcessOrderBinding_Stub.java:78)
... 2 moreIronically, the same certificates that I loaded into the java keystore using Keytool and 10.1.2 connect to the same service without an error, using the notes as described here:
http://andrej.racchvs.com/archives/2004/04/
and
http://radio.weblogs.com/0132036/2004/02/13.html
When I created the data control for the WSDL in 10.1.2 (jdev), I didn't end up with as many files and only needed to set two system properties, and change the following lines to use Apache SOAP and I could invoke the web service as a data control as well:
1. references to OracleSOAPHTTPConnection changed to:
SOAPHTTPConnection
// import oracle.soap.transport.http.OracleSOAPHTTPConnection;
import org.apache.soap.transport.http.SOAPHTTPConnection;
2. comment out:
setTransportProperties
getTransportProperties
How can you connect to a remote web service using HTTPS with JDeveloper 10g and use the Oracle wallet?
Can someone provide specific steps to get it working based on having a WSDL file to start with?
Thanks!Hello,
I have the same problem. I am trying to consume a CRM On Demand's Web Service from JDeveloper 10 g (version 10.1.3).
The main method from my Client is:
System.setProperty("HTTPClient.log.level","1");
System.setProperty("javax.net.ssl.Keystore", "C:\\jdevstudio1013\\jdk\\jre\\lib\\security");
System.setProperty("javax.net.ssl.KeyStorePassword",PASSWORD_KEYSTORE);
crmod.DefaultClient myPort = new crmod.DefaultClient();
ListOfContact list= new ListOfContact();
ListOfContact outList= new ListOfContact();
Contact[] contacts=new Contact[2];
Contact contact=new Contact();
// Login WS (HTTPS)
idSesionFull=conexionWS_CRM.logon(constantes.URL,constantes.USER,constantes.PASSWORD);
System.setProperty("javax.xml.rpc.service.endpoint.address", URL);
System.setProperty("javax.xml.rpc.security.auth.username", USER);
System.setProperty("javax.xml.rpc.security.auth.password", PASSWORD);
System.setProperty("javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY", URL);
// Add contacts
for (int i = 0; i < contacts.length; i++) {
contact.setContactId("WSCRM"+i);
contact.setContactFirstName("JDeveloper"+i);
contact.setContactLastName("prove"+i);
contact.setCellularPhone("77777777"+i);
contact.setExternalSystemId("1234"+i);
contacts=contact;
list.setContact(contacts);
outList=myPort.contactInsert(list,"OFF");
Contact[] results = new Contact[2];
Contact result = new Contact();
for (int i = 0; i < contacts.length; i++) {
results=outList.getContact();
System.out.println("Add contact with ID:"+results[i].getContactId()+" nom:"+results[i].getContactFirstName());
// Logout WS (HTTPS)
conexionWS_CRM.logoff(constantes.URL, idSesion);
} catch (Exception ex) {
System.out.println("error: "+ex);
ex.printStackTrace();
conexionWS_CRM.logoff(constantes.URL, idSesion);
The JDeveloper's log is:
LOGIN OK!!
sessionString:JSESSIONID=8d928b0b231c911e83d79ff74b9eaa7795b54d784b1b.e3iRbxmNaNb0ahqLa34LbhiMe0; path=/Services; secure URL:https://secure-ausomxgfa.crmondemand.com/Services
System.setProperty("HTTPClient.log.level","1"), print the following:
{Thread-10} [0:50:39.15] Version: Oracle HTTPClient Version 10h
{Thread-10} [0:50:39.46] Conn: Nagle's Algorithm is disabled
{Thread-10} [0:50:39.46] Conn: Setting Socket Idle Timeout to 10 seconds
{Thread-10} [0:50:39.46] Conn: Setting Maximum Authorization retries to 4
{Thread-10} [0:50:39.62] Conn: added module HTTPClient.RetryModule
{Thread-10} [0:50:39.93] Conn: added module HTTPClient.CookieModule
{Thread-10} [0:50:39.93] Conn: added module HTTPClient.RedirectionModule
{Thread-10} [0:50:39.93] Conn: added module HTTPClient.AuthorizationModule
{Thread-10} [0:50:39.93] Conn: added module HTTPClient.DefaultModule
{Thread-10} [0:50:39.109] Conn: added module HTTPClient.TransferEncodingModule
{Thread-10} [0:50:39.109] Conn: added module HTTPClient.ContentMD5Module
{Thread-10} [0:50:39.125] Conn: added module HTTPClient.ContentEncodingModule
{Thread-10} [0:50:39.156] Conn: chunking set to true
{Thread-10} [0:50:39.156] Conn: chunk size set to 4.096
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request method: POST
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: Content-type : application/x-www-form-urlencoded
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) creating output stream
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: SOAPAction : "document/urn:crmondemand/ws/contact/10/2004:ContactInsert"
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: Content-Type : text/xml; charset=UTF-8
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Setting request property: Content-Length : 1173
{Thread-10} [0:50:39.171] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Connecting ...
{Thread-10} [0:50:39.218] Conn: Creating Socket: secure-ausomxgfa.crmondemand.com:443
{Thread-10} [0:50:39.453] Conn: using SSL version Oracle
{Thread-10} [0:50:39.515] Using wallet:
{Thread-10} [0:50:39.796] Conn:
{Thread-10} [0:50:39.796] Conn: Retrying request
{Thread-10} [0:50:39.796] Conn: Creating Socket: secure-ausomxgfa.crmondemand.com:443
{Thread-10} [0:50:40.31] Using wallet:
{Thread-10} [0:50:40.265] Conn:
{Thread-10} [0:50:40.265] Conn: Retrying request
{Thread-10} [0:50:40.265] Conn: Creating Socket: secure-ausomxgfa.crmondemand.com:443
{Thread-10} [0:50:40.500] Using wallet:
{Thread-10} [0:50:40.734] Conn:
{Thread-10} [0:50:40.734] URLC: (https:secure-ausomxgfa.crmondemand.com:443) Disconnecting ...
Unable to connect to URL: https://secure-ausomxgfa.crmondemand.com/Services/Integration due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
error: java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
at crmod.runtime.Default_Binding_Stub.contactInsert(Default_Binding_Stub.java:506)
at crmod.DefaultClient.contactInsert(DefaultClient.java:210)
at crmod.DefaultClient.main(DefaultClient.java:138)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:144)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:121)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:169)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at crmod.runtime.Default_Binding_Stub.contactInsert(Default_Binding_Stub.java:490)
... 2 more
Process exited with exit code 0.
And I am working without Proxy Server.
The steps I have done to obtain the keystore are:
1) Obtain the certificate from https://secure-ausomxgfa.crmondemand.com/Services/Integration and save as .cer
2) With this certificate I have generated the keystore:
C:\jdevstudio1013\jdk\jre\bin keytool -import -v -f DIR_CERTIFICATE_DOWNLOADED -keystore server.keystore -keypass PASS -storepass PASS_FROM_server.keystore
PASS=I have put an invented password
Any idea to solve the error? Is necessary a certificate with a keystore to connect HTTPS Web Service from JDeveloper 10g?
Thank you an regards.
Edited by: user2349857 on 05-nov-2009 4:18
Edited by: user2349857 on 05-nov-2009 4:25 -
How to generate event on other control within one event
Hello
I am using event structure.
When program is inside the event case of one control, I want to trigger the �mouse down� event on another control at that time (without operating that another control),
so that next time, another control�s event is called.
I have many controls and hence thrir event cases , after which I want to trigger a specific event case corresponding to a button control.
(I wish to keep the contents of button2 case inside the event only)
In attached example:
When user clicks �button 1� or �button 3�, event must be generated so that contents of �button 2� event are executed when program comes there next time
Thanks
Attachments:
Trigger_Other_Event.vi 35 KBSorry, I just noticed that you only use LabVIEW 6.1 where signaling properties are missing.
Here is a simple solution for LabVIEW 6.1:
- set all buttons to latch.
- set all button events to "value changed"
- merge the timeout event with event 2
In event cases 1 and 3 set timeout to zero, in all other cases to -1 (no timeout).
See attached example. I placed a 500ms wait.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
Trigger_Other_EventMOD.vi 31 KB -
How to Generate Excel XY Scatter Smooth Chart in LabVIEW?
Hi all
First of all i am a beginner. We can plot the XY Scatter Smooth graph in excel using Report Generation toolkit but how can we generate that in labVIEW? In my application maximum we use only 5 points to plot a graph. From the graph we want to find the X value for a fixed Y value. Manually how i do is i will create an XY Scatter smooth graph in excel and will find the Y value. If we plot this 5 point in LabVIEW it will not be smooth curve and i tried many curve fitting subVI's for making it smooth. But we cannot generate the plot exactly that of excel. Is there any way to read the chart from excel?
Please help me.
Thanks & Regards
Rajesh R. NairRajesh, I believe I may have what you are looking for. I have some images of the code I have made that generates a XY scatter smooth graph in excel based on a two dimensional array of X and Y points.
The Code:
The Result in Excel:
Please let me know if this is what you are looking for,
Shadowfeld
Attachments:
Code.vi 18 KB -
How to generate an s-curve graph/chart in labview
I would like to generate my s-curve shape in a visible graph in a labview vi. Are there any quick/dirty vi's that can take position, accel/decel, vel and jerk value, and plot this into a time graph? Something akin Motion Assistant...
I am able to construct a trapazoid graph using basic algebra within lab view, but cannot find a good formula to compute an s-curve. I am familiar with converting the jerk value to actual counts/s^3, but from there on, I do not know how NI-Motion calculates to accel, decel and velocity times. Thanks.Hello,
What versions of LabVIEW and Motion Assistant are you using? Motion Assistant 1.2 exposes its API to LabVIEW and these functions can be accessed by opening LabVIEW and navigating to All Functions >> NI Measurements >> Motion >> Motion Assistant. Using these VIs, you can set up a move and use the Get Move Profile VI to obtain an array of points for the velocity profile.
Beyond this method, there is no straightforward way to obtain those datapoints.
If you have any questions about this method, please let me know.
Regards,
Scott R.
Applications Engineer
National Instruments -
12.1: SPC Chart - Calculate Control Limits logic/rules?
Hi,
I'm using 12.1 SP4 Patch 4 currently.
1. For SPC charts, there is a checkbox for Calculate Control Limits under the Control Limits for the Upper Chart Tab. What rules/formula does MII use for calculating the control limits? (I tried it and it looked correct but users want to verify how it calculates). See link for example: http://gunston.gmu.edu/708/XmR.asp?E=0
2. What does it do if Limits already exist for the input data set? Ignore the calculation?
3. Can this be set dynamically and refresh the SPC chart? (Set the Calculate Control Limits
UpperCalculateControlLimits Boolean property and refresh the chart? I've sometimes had issues setting these dynamic properties and having them take effect in charts so want to verify)
Thanks,
Kerby1. I think you would already have the SPC help PDF document that has the formulas in it - Rob or Leey? In general, 3 sigma or standard deviation above and below the centerline(mean) based entirely upon the dataset returned by the underlying query template.
2. The Auto-Calc will take precedence over static limits, and the chart will use them accordingly. I'm not entirely sure, but if you look at the Summary Statistics popup from the applet you'll see EFFECTIVE and EST properties that will vary based upon the Auto Calc being enabled.
3. Yes, you should be able to 'check' the box through JavaScript and have the chart update with them. If you have issues with specific script then go ahead and post that snippet as a separate thread.
Regards,
Jeremy -
How to create and use Webservice controls using WSDL in weblogic portal10.3
Hi All,
I have WSDL , How to create webservice controls using the WSDL in weblogic portal 10.3 and use those controls to invoke those webservice methods?
please give me the documents links for this.
Thanks
Venkata SarvabatlaAs far as I remember, Controls can be called only from Pageflows, BackingFiles, Another Control (Like control calling another control) etc. In pageflow we use annotation @Control and give control classname and a varialbe for that. I am pretty sure this annotation may not work from normal java class and in your case a JAVA JSR Class.
If you installed the samples, refer the samples from WLS: C:\beawlp103\wlserver_10.3\samples\server\examples\src\examples\webservices. They have lot of fully ready to work samples with instructions. I used clientgen ant task. But you can use standard SUN JDK Command "wsimport" also to generate the java files from the WSDL. Open any command prompt. If java is in classpath, just run wsimport and that should give an idea.
Goud -
Controlling the Boolean Controls and generating Numeric Output correspondingly
Hello everyone,
I am working on a project of electrode activation, here I was thinking that how could I control one electrode at a time and generate a numeric output of it correspondingly. I want to substitute each electrode with a an LED on Front Panel and generate numeric value of each LED on Block Diagram.
So it can be divided into two parts
1- Control the Boolean outputs
Here, my target is that if I have 5 leds who are used as Boolean control, should be controlled in such a way that only one of them glows at a time and the remaining turns off.
I mean that for instance if #3 was glowing and the user pressed #2 then #3 should be turned off and only #2 glows.
2- Generating Numeric value correspondingly
Then according to the position of LEDs I want to generate a numeric value correspondingly, like previously output 3 was coming and the output 2 comes when second LED glows.
I request all the participants on this group to help me on it.
Regards
Solved!
Go to Solution.Thanks very much Dennis, Its really what i need.
But i have a bounding in the radio button to place all option together.
Since i am activating the appropiate electrode on the body, all the options could not come vertically or horizontally.
So can you pls guide me how can i make my 5 electrode behave like a radio control.
Thanks once again. -
How to populate data in table control .
hi all,
i put matnr no. in screen no. 103
validation is done at that screen only.
now when i want to modify dat record
when i put matnr no. at screen 103
so how i will get all data of dat number to table control screen.Hi Darshan,
Here is a detailed description of how to update data in table controll.
Updating data in table control
The ABAP language provides two mechanisms for loading the table control with data from the internal table and then storing the altered rows of the table control back to the internal table.
Method 1: Read the internal table into the Table Control in the screenu2019s flow logic. Used when the names of the Table Control fields are based on fields of the internal table.
Method 2: Read the internal table into the Table Control in the module pool code. Used when the names of the Table Control fields are based on fields of the database table.
Method 1 (table control fields = itab fields)
In the flow logic we can read an internal table using the LOOP statement. Define the reference to the relevant able control by specifying WITH CONTROL <ctrl>
Determine which table entry is to be read by specifying CURSOR <ctrl>-CURRENT_LINE.
After the read operation the field contents are placed in the header line of the internal table. If the fields in the table control have the same name as the internal they will be filled automatically. Otherwise we need to write a module to transfer the internal table fields to the screen fields.
We must reflect any changes the user makes to the fields of the table control in the internal table otherwise they will not appear when the screen is redisplayed after PBO processing, (eg, after the user presses Enter or scrolls) However, this processing should be performed only if changes have actually been made to the screen fields of the table control (hence the use of the ON REQUEST)
PROCESS BEFORE OUTPUT.
LOOP AT ITAB_REG WITH CONTROL TCREG
CURSOR TCREG-CURRENT_LINE.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT ITAB_REG.
MODULE MODIFY_ITAB_REG.
ENDLOOP.
MODULE MODIFY_ITAB_REG INPUT.
MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
ENDMODULE.
Method 2 (table control fields = dict. fields)
If using a LOOP statement without an internal table in the flow logic, we must read the data in a PBO module which is called each time the loop is processed.
Since, in this case, the system cannot determine the number of internal table entries itself, we must use the EXIT FROM STEP-LOOP statement to ensure that no blank lines are displayed in the table control if there are no more corresponding entries in the internal table.
PROCESS BEFORE OUTPUT.
LOOP WITH CONTROL TCREG.
MODULE READ_ITAB_REG.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP WITH CONTROL TCREG.
CHAIN.
FIELD: ITAB_REG-REG,
ITAB_REG-DESC.
MODULE MODIFY_ITAB_REG
ON CHAIN-REQUEST.
ENDCHAIN.
ENDLOOP.
MODULE READ_ITAB_REG OUTPUT.
READ TABLE ITAB_REG INDEX TCREG-CURRENT_LINE.
IF SY-SUBRC EQ 0.
MOVE-CORRESPONDING ITAB_REREG TO TCREG.
ELSE.
EXIT FROM STEP-LOOP.
ENDIF.
ENDMODULE.
MODULE MODIFY_ITAB_REG INPUT.
MOVE-CORRESPONDING TCREG TO ITAB_REG.
MODIFY ITAB_REG INDEX
TCREG-CURRENT_LINE.
ENDMODULE.
Updating the internal table
Method 1
PROCESS AFTER INPUT.
LOOP AT ITAB_REG.
CHAIN.
FIELD: ITAB_REG-REG,
ITAB_REG-DESC.
MODULE MODIFY_ITAB_REG ON CHAIN-REQUEST.
ENDCHAIN.
ENDLOOP.
MODULE MODIFY_ITAB_REG INPUT.
ITAB_REG-MARK = u2018Xu2019.
MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
ENDMODULE.
Method 2
PROCESS AFTER INPUT.
LOOP WITH CONTROL TCREG.
CHAIN.
FIELD: TCREG-REG,
TCREG-DESC.
MODULE MODIFY_ITAB_REG ON CHAIN-REQUEST.
ENDCHAIN.
ENDLOOP.
MODULE MODIFY_ITAB_REG INPUT.
MOVE-CORRESPONDING TCREG TO ITAB_REG.
ITAB_REG-MARK = u2018Xu2019.
MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
ENDMODULE.
Updating the database
MODULE USER_COMMAND_100.
CASE OK_CODE.
WHEN u2018SAVEu2019.
LOOP AT ITAB-REG.
CHECK ITAB_REG-MARK = u2018Xu2019.
MOVE-CORRESPONDING ITAB_REG TO TCREG.
UPDATE TCREG.
ENDLOOP.
WHEN u2026
u2026
ENDCASE.
ENDMODULE.
Hope this will solve your problem.
Regards,
Pavan.
Edited by: PAVAN CHANDRASEKHAR GANTI on Aug 3, 2009 12:48 PM -
Dear readers,
I have been trying to work out how to get labview to detect the event when a 'string' control has been modified, where the user has finished editing the string either by 1) pressing the enter key on the keyboard, or by 2) taking the focus away from the string control again. For example.. if I use the mouse to click on the string control and then I type 1234 into the box, I would like to have a routine that does something once the user hits the Enter key of the keyboard, or when the user takes the focus away from the string control again by clicking on something else. I would like the routine to respond even when the user didn't change anything in the text box (such as when we mouse-click on the edit box to go into edit mode, and then mouse-click on something else to remove the focus with no changes to the contents in edit-box).
The purpose of my routine is to have a edit-box for a user to change for example the centre-frequency of a vector network analyser, so that the centre-frequency of the network analyser can change once the user finishes entering a new value in the text-edit box by hitting Enter key after the number is keyed in. Even if the user has clicked on the edit box, but changes their mind by mouse-clicking on something else to remove focus from the edit box, I would still like labview to detect the event when the control loses focus, so that the centre frequency can be updated anyway (to the same value that was already in the edit box).
So far, I've tried set the string control option to 'limit to single line', so that I can try to scan for a carriage return .. '\n' ... pattern in the string. Unfortunately this doesn't work because labview doesn't seem to attach the '\n' to the end of that single line.
Could someone please suggest ways to set a flag when a user hits Enter during text-edit mode of a string control, or when focus has been removed from the string control?
While I've only described my problem for controlling a single control parameter on the gpib device, I'd like to make this feature work so that I can do the same kind of thing with other control parameters as well.
Thanks so much in advance.
KennyHi Kenny,
instead of using the event structure, you can directly achieve to what you want by the KeyFocus property of the string control.
- Enable Limit to single line option
- Create the property KeyFocus in read mode and connect an indicator
Each time you click on the string to modify it KeyFocus is True; when you click away or hit Enter KeyFocus is False.
You can toggle your settings when KeyFocus changes from True to False.
Alberto -
How do I set up parental controls on my apple account, I want to censor the books that she's dowloading. We use the same account Thanks!
Turning off in-app purchases and the App Store itself would be the best bet for you. You can always unlock these features as needed and lock them again.
Apart from restricting purchases, there are a number of other restrictions you can setup. You can even setup a safe browser with remote parental controls from the App Store, like the one from Mobicip. You may find this tutorial to be helpful: How to setup Parental Controls on the iPad.
Hope this helps.
Disclaimer: This response is posted by a Mobicip representative who may stand to gain indirectly from it. -
How to get background color of controls ?
Hello everyone.
How to get background color of controls ?
When we use AWT/Swing,
we can get background color of component by using Component.getBackground()
It is regret that I can not find any method for such a method in JavaFX.
And how do we detect the change of background color of controls ?
Best regards.Hi Tadashi,
try this.
@Override
public void start(final Stage primaryStage) {
primaryStage.setTitle("Test ChangeListener");
Button btn = new Button();
btn.setText("change background");
btn.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
primaryStage.getScene().setFill(Color.rgb(
(int)(Math.random() * 255),
(int)(Math.random() * 255),
(int)(Math.random() * 255)));
StackPane root = new StackPane();
root.getChildren().add(btn);
primaryStage.setScene(new Scene(root, 300, 250));
primaryStage.getScene().fillProperty().addListener(new ChangeListener<Paint>() {
@Override
public void changed(ObservableValue<? extends Paint> arg0, Paint arg1, Paint arg2) {
System.out.println(
"old color: " + arg1.toString()
+ ", new color: " + arg2.toString());
btn.getOnAction().handle(null);
primaryStage.show();
}Peter -
How to find out which data control do the page layout components come from?
hi,
work in Jdev 11.1.2.3
After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
--i cannot find data control related information in the property pallete for the page layout component.
Regards.This information can be found in the page definition file.
Select the field in the page and then click the binding tab. -
How to change the size of control´s prompt?
No matter the size of data to be displayed in the view suface prompt, the controls have the same size.
Does anyone here know how to change the size of control in surface prompt?HI,
In order to change the size of a radio button... one way you may consider is to Customise the Radio Button.
Place a Radio Button (RB) on the FP of a VI, Right-Click the RB > Advanced > Customise...
Click the Mode Button (most Left button) for Edit Mode
Right-click the radio button (the round image) now, you will see a list of actions i.e. Copy to clipboard, import picture ...You will see Four images under the 'Picture Item', those are the images that you will need to replace.
Prepare Four Images of the similar but larger expected size
*** Copy the 1st new image to clipboard. Back to the Picture Item and select 1st image. Then, select Import Picture (to replace the existing image)
Repeat *** for all four images.
Once done, change the mode back to original. Save the *.ctl
You are now ready to use the customised radio button!
Quick sample attached (sorry for the poor images created )
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com
Attachments:
IFK_RButton_Large.ctl 11 KB
Maybe you are looking for
-
IOS: Device not recognized in iTunes via wifi
After updating my iphone 5 to ios 7.1, my device is not recognized in itunes for mac... obviously I have updated itunes too but the device still is not seen by itunes. I've tried to reboot both iphone and mac.. but still does not work... any tips?
-
Hi to all. I have installed SLS 10.6.2 in a mini Mac. My hostname is macsvr.pss.mx My domain is pss.mx. My primary zone is pss.mx When registering a new user his direction of mail appears to me [email protected] instead of [email protected]. Can you
-
Hii all I configured control file autobackup on and take a backup whole database with "backup database;" command and RMAN> transport tablespace users tablespace destination 'c:\Transport' auxiliary destination 'c:\Auxi'; I am receiving ; RMAN-03015:
-
Dynamic URL with report column not showing
I created a URL based on a report column in select report region, however instead of seeing the URL link I see the whole text , what am i doing wrong ? Fee Detail select col1, col2, CASE WHEN DPF_CLIENT_FEE_TYPE ='THPSCL' THEN 'Fee Detail' ELSE NULL
-
Change the end point URL in WSDL for web-service
Hi All, Morning , could someone please help us with this question, we are stuck with this currently. In SOA Suite 10g as well 11g we have a jsimple Java class whose one of the methods is exposed as a web service. In the project it has created the WSD