Creating GUI interface for cof

I am attempting to create a GUI interface on Labview that will read the measurements from a load cell ( Futek model L2331) that is connected
through a DAQ interface and  will output Coefficient of friction measurements vs time.  I would also like to be able to save the data to a file (eg...excel). 
Can anyone help me out with this?
JC

What I suspect you need, more for comparison than anything else, is the Force in Newtons not the strain in µ strain.
So one technique is to leave the input in volts and then figure out how many grams of weight gives how many volts from the load cell, and applying the necessory factors to give the force in Newtons unless of course your working in Christian units (lbs force).
Either way, strain or volts you are going to have to calibrate the input. Unless the factors are all ready supplied. to arrive at the following
"The
coefficient of friction is simply µ =  Fspring /Fnormal
=  Fspring /(mblock ·g
), g=9.81 m/s²"  Notice that there is no mention of strain here but force.
Strain is defined as: - "The relative deformation of an object subjected to stress. Hence, strain is dimensionless."
Don't forget to get the sense of compression and tension correct for the displayed units.

Similar Messages

  • Creating Model Interfaces for GUI Layer

    I'm trying to avoid directly using a class from my model layer in my GUI. But I need to use a method in my class lets say, "setPropertyFoo(object)". So is it worthwhile to create an interface for my class, have my class implement the interface, and then use the interface in my view layer just for this one method? And the broader more general question is, is there a point at which one should not create interfaces? Are interfaces, though a standard of proper OOP programming, ever a symptom of an underlying poor design structure if they are needed in some way? I would hope not but I'm still learning.
    // Model layer
    public class MyClass implements MyInterface
         private Object foo;
         // For simplicity
         public void setPropertyFoo(Object obj)     
              foo = obj;
    public interface MyInterface
         // Just this...Just this one method...
         public void setPropertyFoo(Object obj);
    // View layer...
    MyInterface face = Factory.createMyClass();
    public void valueChanged(ListSelectionEvent event)
         <.....>
         face.setPropertyFoo(list.getSelectedValue());

    Your response sounds sensible to me. Thanks.
    Part of any piece of software will be about behavior.
    Part will be about data. Face it, a lot of what
    software does is move data around. IMHO, at boundaries
    between layers or modules (e.g. the DTO/DAO/VO for
    moving data between a database and your program), or
    wherever conversion occurs (to/from XML for instance)
    you may need some getters and setters.I agree.
    I try to avoid get/set in my code, but if I find I'm
    writing a whole bunch of goop just to achieve that
    grail, I stop and think about whether concealing that
    particular object's state really needs to be
    sacrosanct. And when I do provide access to that data,
    it's not just blind get/set that sets or returns any
    and all fields directly.This is helpful. It makes me think that there may be alternative means of achieving the same end without directly calling "set" on a field. Interesting.
    Off the top of my head, if
    you're doing a lot of passing objects as parameters to
    methods that just call getters and setters and act on
    the results, as opposed to saying
    object.doSomethingThatModelsABusinessAction().This is helpful too. I think I see what you are saying here.
    Using my example in the first post, I could modify it and say...
    // View layer...
    MyInterface face = Factory.createMyClass();
    public void valueChanged(ListSelectionEvent event)
         face.selectionResponse(list.getSelectedValue());
    // Then the model class...
    Public class MyClass implements MyInterface
         private Object foo;
         // For simplicity
         private void setPropertyFoo(Object obj)     
              foo = obj;
         public void selectionResponse(Object obj)
              setPropertyFoo(obj);
              // At least this gives the object more control
              // over whether or not to set the property at the
              // selection...
    }But I also appreciate what you've shared about the danger of the extreme point of view. From just what I've tried, I've been able to determine that it is possible to twist up a simple application and create more design flaws by attempting to eliminate each and every set or get method. So It's reassuring that I can leave some in where it makes sense to do so.

  • Any gui interface for java db (derby ) such as oracle give sqldeveloper

    hi master
    sir any gui interface for java db (derby ) such as oracle give sqldeveloper that create table and view only mouse clicking
    how i get derby gui interface
    thank'
    aamir

    try db visualizer
    http://www.minq.se/products/dbvis/

  • Do we need to create message interfaces for idocs and rfcs thatare imported

    do we need to create message interfaces for idocs and rfcs thatare imported
    from sap server
    in scenarios from sap system to file or vice versa
    i knew that we need not create message types
    do we also skip creating message interfaces

    hi,
    you create an abstract message interface for IDOC only if you want to use
    them in a BPM (integration process)
    for more about IDOCs have a look at my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Creating GUI's for simulators.

    Hey all,
    I am VERY new to Java. Can anyone point me in a direction to get more information on creating GUI's for simulators?
    Thanks in advance.

    Encephalopathic wrote:
    overrule wrote:
    Would your advice be extended to Jesus? I mean that he learn how to crawl before he tried to walk on water?I haven't learned that prog language.It's more about IQ isn't it, but okay, I'll give it to you in easily understandable terms - if you're dumb shut up.

  • Creating an Interface for a class: error

    Hi there,
    I'm new to Java as you'll see from the question.
    I created a class "Bicycle" and then went on to create an interface for it "InterBicycle" only I get the following error:
    bad class file: C:\Documents and Settings\Melanie\Bicycle\src\bicycle\InterBicycle.java
    file does not contain class bicycle.InterBicycle
    I checked in the bicycle folder and the "InterBicycle.java" file is there.
    Does anyone know where I am going wrong?
    Butterfly82

    Hey, thank you for that petes.
    Silly mistake on my part, I was just reading about Inheritance and then went on to reading about Interfaces.
    Changing this I came up with another error for each of the methods implemented by Bicycle.java:
    C:\... applyBreaks(int) in bicycle.Bicycle cannot implement applyBreaks(int) in bicycle.InterBicycle; attempting to assign weaker access privileges; was public
    Here is the code I have (Taken from The java Tutorial):
    package bicycle;
    class Bicycle implements InterBicycle {
        int cadence = 0;
        int speed = 0;
        int gear = 1;
        void changeCadence(int newValue) {
            cadence = newValue;
        void changeGear(int newValue) {
            gear = newValue;
        void speedUp(int increment) {
            speed = speed + increment;
        void applyBreaks(int decrement) {
            speed = speed - decrement;
        void printStates() {
            System.out.println("Cadence: " +cadence+ " Speed: " +speed+ " Gear: " +gear);
    package bicycle;
    interface InterBicycle {
        // List of the methods that the Bicycle class holds/implements
        void changeCadence(int newValue);
        void changeGear(int newValue);
        void speedUp(int increment);
        void applyBreaks(int decrement);
    }

  • How to create custom GUI interface for Cisco router?

                       Hello,
    I am working on a Cisco solution and I have my router configured for the solution I need. However, if a non-cisco person needs to use my solution then I think he will need a GUI interface which will have few "buttons" which when clicked will run some Cisco commands on Cisco router to make it work. Is there a way to design such GUI interface which is compatible with Cisco routers? I know Cisco has SDM, but that is too involved and detailed, which is useful only for people who know atleast a little bit about Cisco. Here I am looking at crowd who will have 0 knowledge of Cisco.
    Please let me know if something like this can be done. If yes, how and how easily?
    Thank you.

    There are lots of ways to do this - you can use SNMP or even HTTP to push or pull commands from Cisco devices. How easy it is to create a GUI depends on your programming skills. I would guess a simple web page triggering backend scripts would be the easiest way to do this.

  • GUI interface for non-global zones

    My Goal:
    Create multiple zones, each running different services thus eliminating the need for multiple servers w/out using VMware.
    What I'm realizing:
    Everything I've read points back to non-global zones being only a console based environment. Does anyone know if it's possible to login to non-global zones with a GUI interface?
    Thanks,
    Rick

    We use the CDE login mechanism. From the CDE login screen on the global zone:
    [] Select Options, Remote Login, Enter Host Name from the CDE login screen.
    [] Enter the hostname (not the zone name!) of the non-global zone in the Enter the host name box.
    [] Click OK.
    [] Once the CDE login screen appears with the hostname of the non-globalzone listed at the top, log in as sysadmin.
    Notes: If the non-global zone or the system was recently booted, wait a few minutes and check to make sure that the cde-login service is running using the command:
    svcs -a | grep cde-login
    Also, if you have restricted /etc/Xaccess, you'll need to add your non-global zone to it.
    Message was edited by:
    r2ad
    Message was edited by:
    r2ad, http://www.r2ad.com

  • How to create WEBGUI interface for own-created program

    Hi experts!
    Could you please suggest me:
    Some of our end-users have to work with WEBGUI interface. In T-code VL02N we have our userexit SAPLZSDEXIT (Screen 0110). And in WEBGUI we don't see this tab in VL02N. I think I have to generate web-interface for this screen. But how I can make it? This screen was developed by our ABAP-ers in se51 t-code.

    Solved

  • Create an interface for SRM , RFQ

    Hi ;
    I am trying to develop an interface in XI to post 'Request For Quotation' into SRM system. Can anybody help me on this.. Any kind of help is greatly appreciated. Thanks,

    Hi,
    In XI you will seeing the namespace http://sap.com/xi/EBP. In that you will have the interface RequestForQuotationResponse_CreateOrChange_In. Use this interface directly as inbound interface and it will be having the message type and data type.
    So you create outbound datatype, message type, messageinterface and do message mapping and interface mapping as your requirement.
    So your scenario will be like File - XI - Proxy etc. I dont know how you are getting your source. So Source instead of file it may change depending upon your requirement.
    Satish

  • How to create an interface for extractors from CRM to BI/BW

    Hi Experts,
                    My aim is to bring in data from CRM source to BI/BW target so for that we have found few extractors in CRM side which we need to use in BI. I would like to know how i can achieve this. I knw we can use web services for this, but i want to knw the procedure involved in doing this. I have mentioned few extractors which has to come from CRM system to BI/BW target system. Current we dont have these extractors in our BI/BW system. Also we dont have the connection to that particular CRM source. Please advice what has to be done for the above.
    Extractors
    1. 0CRM_FM_BPO
    2. 0CRM_FM_FND
    3. 0CRM_FM_FND_ATTR
    4. 0CRM_FM_FND_EXPENSE_TYPE_TEXT
    Thanks in advance
    Shiva

    Hi,
    First we need to create a RFC Connection between CRM To BW system. BASIS persons will create this connection.
    [Connection between Source Systems and BW|http://help.sap.com/saphelp_nw70/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm]
    1.After that we can need to activate data sources in RSA5 in CRM system,
    2.post processing in RSA6 in CRM.
    3.Replicate source system in  BW system.
    those data sources will come to BW.
    Do Business content activation in BW. After you can create Info packages and load data.
    Regards,
    Madhu

  • GUI Interface FOR OAS 9i

    Dear All,
    I've installed OAS 9i all the package but I wondered that I
    don't have any GUI tool to manage the OAS like the old version
    4.0.8.
    IS it true that we only configure using the text files pointed
    to by help.
    Or Is their any other tool to use.
    Thanks
    Adel

    Louis,
    Citrix and/or Terminal Server are currently the only supported environments similar to what you have mentioned.  I am not currently aware of a partner in the US or Canada who has developed a GUI like the SAP R/3 GUI that you mentioned.  Possibly another contributor to SDN may have seen this?
    HTH,
    Eddy

  • Need information on how to create Idoc Inbound Interfaces for Business Sys

    Hi,
    I'm losing it.
    Can anyone point me to some documentation or an example of how to create inbound interfaces for Business Systems in PI 7.1.
    Here's the scenario
    I'm working on a B2B integration process which sends inbound idocs to an ECC 6.0 system.
    I've created the Business System communication component  but under the Inbound Interfaces it is blank.
    I want to have MBGMCR.MGBMCR03 as an inbound interface.
    But I forget how to get it there.
    For Business components you can just add the inbound interface.
    I've already defined the Business System in the SLD pointed it to the correct Tech System, imported the idoc definitions in the Enterprise Service Builder and set up IDX1, IDX2 to ensure the metadata exists in PI.
    But for Business systems the hep says that it's got to come from the SLD.
    Outbound/Inbound Interfaces
    For each business system, the interfaces that are installed on the business system are also entered in the SLD. These interfaces are displayed in this frame. You cannot add any other interfaces.
    I know I've done this before, but I can't remember how.
    Cheers,
    John

    Hi John ,
    Please have a look at the following links which might be of help to you
    PI 7.1 IDocs interfaces act as operations
    http://www.sdn.sap.com/irj/scn/weblogs;?blog=/pub/wlg/7933
    /people/peter.gutsche/blog/2008/10/27/what146s-new-in-sap-netweaver-pi-71
    There is a section in the following link on IDOC , have a look at the links in that section
    https://wiki.sdn.sap.com/wiki/display/XI/ImportantBlogsand+Notes
    Best Regards

  • User Interfaces for Lists

    hi,
    How to create user interfaces for lists
    thanks.

    HI,
    The R/3 system automatically, generates a graphical user interface (GUI) for your lists that offers the basic functions for list processing, such as saving or printing the list. If you want to include additional functionality, such as pushbuttons, you must define your own interface status. To create a new status, the Development Workbench offers the Menu Painter. With the Menu Painter, you can create menus and application toolbars. And you can assign Function Keys to certain functions. At the beginning of the statement block of AT END-OF-SELECTION, active the status of the basic list using the statement: SET PF-STATUS ‘STATUS’.
    Cheers,
    Chandra Sekhar.

  • Variable Selection For User in Web Interface for BPS

    Hi All,
    I've created a manual Input sheet in BPS0 to upload target sales. User need to select the month, plant and then enter the target amount for each category. Its working fine.
    Now I need to create web interface for user to upload the data every month. Using BPS_WB I've created the interface (with help of Wizard). I'm getting the input sheet. But I'm not able to get screen where user can select the parameters?
    How to get this? It should work like web report, where user select the report variables then execute. Only difference here is user will have to enter the data for selected variable.
    Thanks in advance.
    Regards: Gaurave

    Hi....add the variables to a folder along with the layout. Then create the web interface.

Maybe you are looking for