LVDT offset before running the program

Hi all

I use an LVDT to measure the movement of the ground. This must take into account both the consolidation and swelling and therefore requires the LVDT to move in both directions. As a result, the voltage must be reset after the LVDT is pushed so that it can record both negative and positive direction. So far I managed to do it using a business structure that runs when the "zero" button is pressed. However, it comes into force once the program is run. What I need is a button "zero out" which can be used before the program is executed. I want so push in the lvdt, click on the "zero" button, then start running the program to avoid these initial tensions is recorded on the xy graph.

I found a vi file that does this, but it was very complicated and used old version of labview. I'm relatively new to labview and therefore could not follow the coding on it.

I've attached the vi file to make it easier to understand. Your help is greatly appreciated

See you soon,.

Gurung

Two screen grabs show how I did the same 'Auto zéro' function when you use an LVDT to measure displacement, I was also saving strength at the same time then graphically representing the post record results.

On the first race the true / false loop is set to TRUE, in this case the displacement is subtracted from zero to provide compensation, this offset value is then passed to the shift register where it remains as a constant for subsequent itterations of the main loop, while the value is simply passed straight through the true / false loop with nothing done to it on all iterations after the first.

The offset value is then added to the data read from the LVDT to provide a number of displacement from zero since all that the program was headed all first. There is a 'Save' button on front of who's in a hurry to start and stop recording data - hope this is a help - Mike

Tags: NI Software

Similar Questions

  • Display a text box before running a program

    I am designing a new interface for a pulse on LabView duplicator and I wanted to display text on the front before running the program. I managed to create text boxes that appear after the code begins to run, but I was wondering if there was a way to display these text boxes before the code runs.

    Maybe I'm misunderstanding / simplistic, but if you have a string indicator (text box - as you call it) you can simply type in what you want the initial value of the being, and then right click and select 'data operations.  Then choose "Use current default".

  • A previous program installation was never completed. You must restart your computer to complete that installation before running the installation of Skype program. Setup will now close

    I get the following information on the screen.

    Skype information

    A previous program installation was never completed. You must restart your computer to complete that installation before running the installation of Skype program. Setup will now close

    Original title: installation of Skype in Windows 7 Professional

    Hello

    Please contact Microsoft Community.

    I understand that you are facing the question on Skype.

    I will definitely help you with this.

    Please provide the information below.

    1. are you an error code?

    2. don't you make changes to the pc before that?

    I suggest you go through the links below:

    Refer to the suggestion given by John Rubdy replied on May 27, 2011:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_programs/unable-to-install-Skype/c00745e0-39b1-49FA-b3b0-c6ed5feab9bf

    Also check out the link below:

    https://support.Skype.com/en/FAQ/FA11033/why-do-i-get-a-Windows-Installer-1618-error-code-when-i-install-Skype

    I hope this helps. Please post back with the State of the question and we will be happy to help you further.

  • have windows Defender installed on xp.updates come to him, he will not refresh. I find no shortcut to run the program. Any help

    Defender of the installed window xp. Updates, download the program, but do not install. Cannot find the shortcut to run the program. Any help?

    Hi MichaelMc Leish,

    You did it changes on your computer before this problem?

    You can follow these links and check if the problem persists.

    Troubleshooting of Windows Defender

    How to troubleshoot Windows Defender definition update

    Hope the helps of information.
    Please post back and we do know.

  • Flash.ocx required to run the program...

    Hello

    I push myself a little crazy by an error message which began this afternoon.  I use a program called Activstudio and until today it worked fine.  This morning I went to update the flashplayer from adobe on my system and uninstalled the existing adobe products.  Now, I get an error message that says that this version of windows does not have the file flash.ocx that is required to run the program.  I have installed and uninstalled adobe Flash Player and shockwave player on a number of occasions now, I also searched on the net for about 4 hours to try the tips people gave for similar problems.  A good idea to copy the file flash.ocx and rebonding it in the c: windows\system32\macromed\flash folder, but the file flash.ocx does not exist so I can't do that.  I even downloaded the file flash.ocx by himself and place it in the folder, but nothing seems to work...  I don't have the original to the program software CD as it is a program I have given by a school for educational purposes...

    any help would be very welcome because I can't access one of my lessons...

    Nina

    Hi neeny468,

    Try the system restore and verify the result. If this does not help, then you will need to get the software to reinstall the program successfully.
    Step 1: Restore the computer to an earlier time when it was working fine
    a. Click Start, type system restore in the search box and then in the list click on the system restore program.
    If you are prompted for an administrator password or a confirmation, type your password or click on continue.
    b. in the System Restore dialog box, click on choose a different restore point and then click Next.
    c. in the list of restore points, click a restore point created before you started having the problem, and then click Next.
    d. click Finish.
    e. restart the computer and check if the problem persists.

    See What is system restore? : http://windows.microsoft.com/en-US/windows-vista/What-is-System-Restore

    You can also post your query to the adobe forums as they may be able to help with this:http://forums.adobe.com/index.jspa

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • "The editor has been blocked to run the program.

    What is the ground of this prob?

    "The editor has been blocked to run the program.
    Please give me rply soon!

    Hello

    1. when exactly you get this prompt?

    2. could you please develop the question?

    3 have there been recent changes to the computer before the show?

    Please refer to the below link mentioned before asking your question so that you can provide all the relevant information for us to help you:

    Suggestions for a question on help forums: http://support.microsoft.com/kb/555375

  • Is there a way to know if the current modules are compatible with the latest upgrade of Firefox before running the update?

    I want to know if my Add-ons and current themes are compatible with the latest update of Firefox before running the update.

    Hello azdec.

    You can check the add page - we in addons.mozilla.org so it's just one or two. In my view, there is an extensions in the Gallery of modules that allows you to see if your modules are compatible with the newer versions of Firefox. But you'll have to look for them, because I don't know how it's called.

    I remind you that if you want an add-on to be compatible with a newer version of Firefox, you must contact its author.

    In addition, the version of Firefox you are using right now has been suspended and is no longer supported. In addition, it has known bugs and security problems. I invite you to upgrade to the latest version of Firefox, for maximum stability, performance, security and ease of use. You can get it for free, as always, to getfirefox.com.

  • Can I get a "schedule" of labview makes when it runs the program?

    Can I get a "schedule" of labview makes when it runs the program? that is how long it spends making each sub vi, and what order it's them.

    See you soon

    The execution Trace Tool kit is an add-on. If you do not your package of discs... maybe try a demo version?

    Spy OR get loaded with BT (or one of these things).

    Start > programs > National instruments > NI Spy?

    Ben

  • Button execution without running the program

    Hello

    Normally, when I am pressing the button "Run", it runs the program. How we prevent execution of the program, until I want to activate? For example, I have 3 feeds on my box of pxi, and I don't want to run the program until I have all my set value: voltage, current limit, output function and etc... Then I you press the as button (enable or together) to fix some tension to some power. I'm using Labview 8.6. Thank you.


  • Initialization of the LEDs before running the second test.

    I am novice programmer Labview using LV 8.6.  I have an application where I have a lot of lights to indicate success or failure throughout my application in many different cases. After running these tests test that passed are indicated on the front panel with a light green. These failed tests are lit with a red LED. Is there an easy way to initialize all the LEDs return to their shutdown state before running the test a second time without reload the application?

    Here is a small example. First the Boolean values are changed to true, then they return to their fake. Does that help?

  • Cannot run the program: "Sage 50 accounts.

    Original title: .net framework

    using windows xp, you try to run sage 50 software accountign, called wise, they said I have a problem with the .net framework, have "repaired".net Framework, with microsoft technical support and the program does not start, suggestions?

    What is the latest .net framework you have? (or the list of all if possible)

    You get specific errors when you try to run the program?
    If you right click on the program that you try to run, and then select "run as" and then "uncheck" the box to "protect my computer...". "then press OK. You get different results?
    Let me know. I'll see what I can do to help.
  • How to run the program success unlock the screensaver with password?

    Hello

    As I wrote in the title I'm looking for a way to run the program when the user unlock screensaver (station ultimate windows) which is secured by password.
    I need it for security reasons.

    Best regards

    This should be easy to set up using the Task Scheduler .

    (1) launch of Task Scheduler of Panel > administrator tools > Task Scheduler , or type Task Scheduler in the start menu.
    (2) use Action > create a task to start.
    (3) set up your task by giving it a name and by providing credentials if necessary.
    (4) under triggers tap new and choose on workstation unlock . You can choose to trigger the task for any user or group, or a specific user.
    (5) under Actions tap new and then locate the program that you want the task to run. You can add arguments here or point to a script.

    If you need assistance with setting up your task, try the Help menu in Task Scheduler task or by mail here.

  • I can run the program in my computer?

    Original title: Ican, run the program in computer may
    -----

    phone call for example justvoip

    Hello

    always check the compatibility of vista programs on the link below

    http://www.Microsoft.com/Windows/compatibility/Windows-Vista/default.aspx

    If a program is compatible with vista you can try right click on the setup.exe, and then selecting run as administrator

    It is not compatible with vista, you can try running it in a previous operating system mode

    This does not work for all programs

    read the information below

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-compatibility-mode/

  • Windows Live OneCare: I downloaded Windows Live OneCare scan my computer and everytime I run the program it gives me the same results.

    I downloaded Windows Live OneCare scan my computer and everytime I run the program it gives me the same results.

    But he never cleans or removes anything just the same results each time.  How to clean my computer?

    Found registry 7, 1cleaned, 6 errors.
    0 was ignored by the user.

    COM/active (1 error, 0 has been ignored by the user)
    File type associations (4 errors, 0 has been ignored by the user)

    System softward (1 error, 0 has been ignored by the user)

    Found 3140,6 MB, cleaned or compressed
    1.3 MB of temporary files and other
    C:\
    D:\

    Network security
    open ports 0

    Hello

    Are you logged on as ADMINISTRATOR when you access the scanner?

    Some errors cannot be fixed by the scanner, and many of those who are not at all important.

    Check-in of the Windows Live a Forums

    Security scan bulletin boards and return products
    http://OneCare.live.com/site/en-us/community/default.htm

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Signature problem when you run the program BluetoothDemo on Blackberry 8320

    Hello

    I try to connect from my computer to the Blackberry 8320 using a serial Bluetooth transceiver.  The "BluetoothDemo" program is not function properly.  When I run it, I first see a white screen with "Bluetooth Sample" at the top.  I click on the trackball and I get a menu with the options 'Listening to connections' and 'Full Meno'.  I click on listen for connections and a screen pops up that says "connect to an external device and then type something...» "I type something on the Blackberry and the letters appear, but no other options appear to verify a Bluetooth connection.  I have already associated the Bluetooth with Blackberry, but the connection failed appears when I run the program BluetoothDemo. When I click the trackball again, I see the full menu with "Serial Port close',"Get DB", etc..

    In my view, that there is a problem with secure API signatures.  Obviously the 'BluetoothDemo' program is not run after the first steps.  When I debug on Blackberry, I see the following output from the console, which leads me to believe that there is a problem with signatures:

    ocusHistory: Focus lost; Home screen App; Component net.rim.device.apps.internal.ribbon.launcher.RibbonIconField
    FocusHistory: Acquired Focus; Home screen App; Component net.rim.device.api.ui.MediaController
    JVM: bklt @286061: timer
    JVM: bklt @286061: idle 15
    JVM: bklt @292270: setTimer 15
    FocusHistory: Lost Focus; Home screen App; Component net.rim.device.api.ui.MediaController
    MWC: BluetoothDemo (4738) No sig 0 x 33
    From BluetoothDemo
    MWC: BluetoothDemo (4738) No sig 0 x 33
    BluetoothDemo (167) started
    BluetoothDemo (167) foreground
    FocusHistory: Acquired Focus; Home screen App; Component net.rim.device.apps.internal.ribbon.launcher.RibbonIconField
    FocusHistory: Lost Focus; Home screen App; Component net.rim.device.apps.internal.ribbon.launcher.RibbonIconField
    FocusHistory: Lost Focus; Bluetooth demo app. NULL component
    FocusHistory: Acquired Focus; Bluetooth demo app. Component net.rim.device.api.ui.menu.DefaultMenuListField
    FocusHistory: Lost Focus; Bluetooth demo app. Component net.rim.device.api.ui.menu.DefaultMenuListField
    BT: allocSerialPort a0d729a8
    BT: sdpAddRecord
    BT: allocSdpAttributeData
    FocusHistory: Lost Focus; Bluetooth demo app. NULL component
    BT: SppWrite-1 failed: 1
    Unable to write data. Exception: java.io.IOException: BtSppWrite failed

    I was puzzled at first running the program of BluetoothDemo and initially built and generated a file alx for the com_rimbluetoothserialportdemo program, which I think is used by the BluetoothDemo program.  The com_rimbluetoothserialportdemo program is currently connected to Bluetooth tx/rx, as indicated by the status of remaining devices firmly on instead of flashing (when BluetoothDemo runs the status light flashes, indicating no connection). When I switch between workspaces in which I have these projects, the set of keys is not signed, and I have to sign in again, which seems to cause the keys in the other workspace to become not signed.  As further evidence of the strange signature problem, sometimes when I run either on the Blackberry there is an error that says that the application is not signed.

    I want to delete the workspace and the file alx com_rimbluetoothetc could be a step in the right direction.  Do I have reason to assume that the 'no sig 0 x 33' is a problem with API signature secure?  Could BluetoothDemo access to com_rimbluetoothserialport and be denied because there no signatures?  Thanks for any help you can provide.

    Not sure that your reading of the code is correct.

    _dout.writeInt (JUST_OPEN);
    _dout. Flush();

    These two statements will write out - which seems to be the first thing the code does.  Then it goes into a loop of reading, but suppose a specifically formatted data.

    In my test, I removed these and replaced with something that I thought he would be working and I'm depending on the device.  As noted yesterday picked up O the data of a GPS puck - these things just send data, they never expect anything in return.  So my code looks like this:

    byte [] buffer = new byte [1024];
    for (;;) {
        int len = _din.read(buffer);
        String justRead = "Read: " + Integer.toString(len) + " bytes: " + new String(buffer, 0, len) + '\n';
        System.out.println(justRead);
    }
    

Maybe you are looking for

  • Update but not approved app in the market projection

    Hi, I got my update for my trusted application and it shows the number of correct version on the market page, but when you try and update / uninstall and reinstall it is still the previous version. To make things even more complicated on the State an

  • How to configure TB to work with Filemaker 10?

    Hello Thanks for any help you can offer. I'm on a Macbookpro on 10.6.8. I want to send e-mails via Filemaker Pro 10.0v1. Thunderbird 31.0 is my default e-mail client. I think I must also configure mac Mail somewhere in this process. These e-mails wil

  • NSInvalidArgumentException iCal

    Hello Since a few days, I can't launch more calendar. I have an error message as mentioned in the subject. I have this message in the accident report: Request for clarification: "Reason for termination due to an untrapped exception"NSInvalidArgumentE

  • Toshiba EX_100 PLC program Windows.

    Hello, I am looking for programming of PLC Windows software that can be used for the controllers of EX_100 from Toshiba. I have the DOS program, but I need a Windows program. I need a way to program several old Toshiba EX_100 automatons of laptops ru

  • is it possible to add a functional command line to the Active Desktop interface

    Name of the operating system: Microsoft Windows XP ProfessionalOS version: 5.1.2600 Service Pack 3 Build 2600 you are not sure if it did as a function of available any OS, but is it possible to get a command line as a windows active desktop?