Need to run VI on boot or call from other application

I am looking for the most basic way to get Labview to run a VI upon bootup or call from another application (without having to hit the run button on the toolbar.) I would rather not have to build an application; I don't want to buy the professional version. I want my data acquisition to recover from a power outage reboot and keep going without human intervention. Is there a way to build an init that launches the VI in run mode? A colleague of mine has convinced me labview is the way to go for a new experiment, but this is one stumbling block that needs to be resolved. Thanks for any help you can give.

i have used the startup folder to run labview vi's on several machines and it *can* work just fine.
however, sometimes there is a timimg problem and i get the message 'vi not found,' then labview usually loads the vi and runs - but leaves the error message, which can cause problems with later operations.
today i had this problem with a 3.4 G HP machine running Win200. Labview 7.1 & DAQmx.
my work around solution is to use the *MarcroScheduler* program. i call a it from the startup folder. it does the following
(a) start Labview 7.1
(b) wait 1 minute
(c) execute the vi.
without the wait state, Labview 7.1 will not run the vi properly.
good luck with your applications.
cu,
larryb

Similar Messages

  • Create DLL from labview and calling it from other application

    I have an application built using Labview. I wanted to create DLL out of it. The application has
    two String inputs start and stop buttons and two status indicators.
    1. How to itegrate start and stop buttons from function prototype?
    2. Does Labview created DLLs requires labview runtime engine when it is to be called from other application?
    Can some one help on this.
    Solved!
    Go to Solution.

    Hi Yuvish,
    1) They should be boolean inputs to your VI. But does it makes sense to provide a stop button input at the start of your VI? (THINK DATAFLOW!)
    2) Yes, the LV-RTE is needed...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Do I need an online number to get a call from some...

    Hello,
    Do I need an online number to get a call from someone in Europe who is calling from their computer?

    Hey the question is what you want to do Sir.
    Skype bare and free provides you means to talk voice and video from the application with all your friends who have Skype too on their side. Though you need to connect with them first. Add them manually or through some importing to your contact. There you have the basic capability.
    Then you can add with credit or subscription (I personally think that the subscriptions now with 50% off yearly are absolutely great) a few services. 
    1. Outgoing voice calls to real numbers. They have plans for landlines and mobile with diff prices for diff countries. Again check the promos now for good deals.
    2. Incoming voice calls from real numbers when you buy the online number. Alas its not available for all countries yet.
    3. You can set your ID so when you call / outgoing voice, people can recognize you.
    4. To go number that can let you call long distance and abroad as local call.
    And more I guess.
    I find their outgoing call quality as unparalleled to any other provider. Call quality from Canada to Israel is usually on par as land line and superior to Bell.

  • Is there a Flag indicate if the seq is called from other one or run independ

    Is there a Flag that indicate if the seq I am running is called from other seq. or it is running independently?

    Hi FMB,
    There is not really a flag but there is a property call RunState.CallStackDepth you can check.
    If this is greater than 0 then there is a caller sequence. Therefore to find the name of the caller sequence you would use NameOf("RunState.Caller.RunState.Sequence").
    For every increment in value of the CallStackDepth you would add "RunState.Caller." to the beginning of the lookup string.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • HT6337 How can i receive calls from other devises (non iOS) on my iPad

    I wanna get messages and phone calls from other devices on my iPad
    is it possible?

    Really? I can get calls from anybody on my iPad and Mac using Continuity.
    https://www.apple.com/ios/whats-new/continuity/
    iPad and Mac, now answering the call.
    Sometimes when your iPhone rings, it’s not where you are. Maybe it’s charging in another room. Or it’s buried in your backpack. But your Mac or iPad is sitting right there. Now you can make and receive phone calls on those devices as long as your iPhone running iOS 8 is on the same Wi-Fi network. Incoming calls show the caller’s name, number, and profile picture. Just click or swipe the notification to answer, ignore, or respond with a quick message. And making a phone call from your iPad or Mac is just as easy. Simply tap or click a phone number in Contacts, Calendar, or Safari. It all works with your existing iPhone number, so there’s nothing to set up
    You do need to have an iPhone on the same Wifi network though. But any call from any phone (does not need to be an iPhone) that can come in to your iPhone, can be picked up on a supported iPad or Mac.

  • Since i update my iPhone 5 with IOS 7.0.2, I start to have serious problems to call or receive calls from other telephones: is not possible to open the call at the first try. Somebody have the same problem?

    Since i update my iPhone 5 with IOS 7.0.2, I start to have serious problems to call or receive calls from other telephones: is not possible to open the call at the first try. Somebody have the same problem?

    Try
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data

  • Execution Times of Stored Procedures Called from Other Stored Procedures

    If I execute sys.dm_exec_procedure_stats, it will produce execution times of my stored procedures executed recently.
    However, stored procedures called from other stored procedures do not show up.
    Is there code that can return the execution times of stored procedures even though they are called from other stored procedures.

    Look at the example. It is counting nested execution.
    CREATE PROC z1SP AS SELECT * FROM Production.Product;
    GO
    CREATE PROC z2SP AS SELECT * FROM Production.Product WHERE Color is not null; EXEC z1SP;
    GO
    SELECT object_name(2002822197), object_name(2034822311);
    --z1SP z2SP
    EXEC z1SP; EXEC z2SP;
    GO 10
    SELECT * from sys.dm_exec_procedure_stats
    database_id object_id type type_desc cached_time last_execution_time execution_count
    16 2002822197 P SQL_STORED_PROCEDURE 2014-12-16 13:02:45.170 2014-12-16 13:02:46.717 20
    16 2034822311 P SQL_STORED_PROCEDURE 2014-12-16 13:02:45.460 2014-12-16 13:02:46.687 10
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Im visiting alaska and receive calls from other carriers

    Im visiting alaska and cannot receive calls from other carriers. Other than verizon or cricket. Please help. Not even home phones im from texas visiting missing all my calls. I can text and receive text

    The messAge say when someone calls is The number or code you dialed is incorrect

  • Calling from the application Slow vs. Running through SQL developer Fast

    Alright, we write many applications that make use of calling stored procedures in packages to return data. This is the only time i have ever encountered this issue and have not been able to pinpoint the cause.
    This application is very data-centric and is filled with calls to stored procedures and I would say about 80% run fine as in the time required to run is about the same as in SQL Developer maybe just a little slower due to the amount of data that may be returned to the application. The other 20% run horribly slow from the application and run lighting fast in SQL Developer and i cannot figure out why.
    I have traced the code right up to the .Fill on the Oracle.DataAccess.Client.OracleDataAdapter and that is where it just holds either for a long period of time or just forever, some of these i haved waited hours for and they have not finished running.
    For Example: I created a new page in the project and it makes a request through the use of ajax, when the request file is reached it performs two stored procedures from the same package (the only two procedures in the package). Both procedures take in three varchar2's and have an in out cursor, the cursor is returned into a datatable in the VB. The first query runs in a couple seconds returns the correct data etc. The second query, which takes .2 seconds on average to run from SQL Developer, just runs and runs and i have never actually even waited for it to finish because it takes so long. The specific example i am trying only returns 1 row with 7 columns, so there is not a large amount of data being passed back.
    I have seen this sort of thing happen on occasions, but everytime it was usually because the package was not compiled and was waiting on a view to finish before compilation and after killing the view it was fine. But this issue seems to happen randomnly with certain procedures and not others all in the same package.
    This issue happens on the same procedures everytime which would lead me to believe it is the procedure, but running them in SQL Developer shows me this is incorrect because they run exceptionally fast in some cases. I even went so far as to restart the entire database just in case there was some sort of lock causing this issue but this did not fix the issue.
    I have verified parameters, cursors, debugged the procedures, stepped every line of code, tried deleting and readding the oracle.dataAccess reference. I can't seem to figure this one out.
    It is causing alot of wasted time because i am forced to wait a horribly long time for these queries in order to test. If anyone has any clues, hints, or ideas as to what this could be please let me know! If the same issue exists when the application is moved into production it will be unnacceptable and the application utterly unusable.
    Thanks in Advance for any help!
    -Jarrod

    Hi,
    This is consistently reproducible with the problem procedure/operations? Total WAG here, but I've seen cases where having support for distributed transactions enabled causes the database to disable certain optimizations. Try setting Enlist=false in your connection string.
    Otherwise, I'd recommend enabling 10046 database trace and client side sqlnet trace to capture the problem behavior for further investigation. Oracle support can certainly give you a hand with that if needed.
    Hope it helps,
    Greg

  • How do you use the windows User32.dll Library functions to read variables from other applications that are running

    I am trying to read a text box from a programme running at the same time as my Labview application using calls to the Windows
    User32.dll. I believe I need to find the window handle for the 'form' containing this text string and use this together with
    various other defined input variables to access the sting.
    I have no experience of using this 'Call Library Function Node', but have an understanding of the 'C' programming language. Does anyone have
    example Labview code showing how this might be done.
    Thanks

    If you're trying to access information that's being displayed in the window of another application and that application has no ActiveX interface, then yes, Windows calls can be used. There's a very good example on calling DLLs that ship with LabVIEW. Open the Example Finder (Help->Find Examples) and switch to the Search tab. Enter "Call" in the search box and open the VI "Call DLL". Run the VI, select any of the examples, and click the "Open Example VI..." button. That shows you how to call a DLL.
    Now, given that you have no experience in calling DLLs, have only an "understanding" of C (which to me means you have never written something like a DLL), and don't seem to know that much about what Windows functions you may need, you're going to find this route pretty difficult, especially since you have to deal with Windows API calls, which are not always that easy to do from LabVIEW.
    Let me propose an alternate solution. Go over to http://www.autoitscript.com/autoit3/ and download AutoIt. This is an automation tool that allows you to automate just about anything you want. It has an ActiveX interface that you can call from LabVIEW. I've attached an example VI that shows you how to use it to get the value of a text box from one of the tabs in the computer "System Properties" control panel applet.
    Attachments:
    AutoIt Example (v7).vi ‏25 KB

  • ProgressMonitor in thred, call from other class

    Hi all
    I have a problem using the ProgressMonitor... I just want to update the progress from another class.
    So what i was thinking was:
    I could implement a method that invoked the thread, and thereby updating the progress.
    The problem occurs when the calculating steps is going. The parent class calls ProgressDiff fine but it doesn't update it, it doesn't even show anything. Just when the task is finished it says, simulation done!!
    I have tried searching alot on these forums, and on google, but all methods implementing progressmonitor uses a call from within the class. <- Not what I want. :=)
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.beans.*;
    public class ProgressDiff extends JFrame {
        public ProgressMonitor progressMonitor;
         public int tll;
        public ProgressDiff(int maks, String set) {
              super("Progress");
              setSize(250, 100);
            progressMonitor = new ProgressMonitor(null,
                                      "Differentiere og l�ser\n" + set,
                                      "", 0, maks);
            progressMonitor.setProgress(0);
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              setProgressTal(0, false);
              setLocationRelativeTo(null);
              setVisible(true);
        public void setProgressTal(int fremGang, boolean done) {
              tll = fremGang;
              SwingUtilities.invokeLater(new Update());
              if (done) {
                   Toolkit.getDefaultToolkit().beep();
                   JOptionPane.showMessageDialog(null,
                        "Simuleringen er f�rdig."
                        , "F�rdig",
                        JOptionPane.INFORMATION_MESSAGE);
         class Update implements Runnable {
            public void run() {
                   if (progressMonitor.isCanceled()) {
                   Toolkit.getDefaultToolkit().beep();
                   JOptionPane.showMessageDialog(null,
                        "Simuleringen er f�rdig."
                        , "F�rdig",
                        JOptionPane.INFORMATION_MESSAGE);
                   } else {
                        progressMonitor.setProgress(tll);
                        progressMonitor.setNote(String.format("Completed %d%%.\n", tll));
    }Any help would be apreciable!!
    Thx.

    Thx for the reply, I now have a working Progressmonitor which i easily can control
    import java.awt.Toolkit;
    import javax.swing.ProgressMonitor;
    *  Use of a ProgressMonitor. This class implements an easy to use progressmonitor for use in other classes.
    * @author     Nick Andersen
    * @created    4. marts 2008
    * @version    1.00
    public class ProgressMonitorSetup {
         private ProgressMonitor progressMonitor;
         private String title;
         private int min;
         private int progress;
         private int max;
         private String note;
         private String complete;
         private String cancel;
         private String completeTotal;
          * Constructor af ProgressMonitorSetup
         public ProgressMonitorSetup() {
              title = "K�rsel af langt job";
              min = 0;
              max = 100;
              complete = "Fremgang: ";
              cancel = "Job afbrudt.";
              completeTotal = "Job f�rdigt.";
              note = "";
          * Constructor af ProgressMonitorSetup
          * @param  title          The title in Progressmonitor
          * @param  min            The minimum value in the progressmonitor
          * @param  max            The maximum value in the progressmonitor
          * @param  complete       Beskrivelse af Parameteren
          * @param  completeTotal  Beskrivelse af Parameteren
          * @param  cancel         Beskrivelse af Parameteren
         public ProgressMonitorSetup(String title, int min, int max, String complete, String completeTotal, String cancel) {
              this.title = title;
              this.min = min;
              this.progress = min;
              this.max = max;
              this.complete = complete;
              this.completeTotal = completeTotal;
              this.cancel = cancel;
              note = "";
          *  S�tter title attributten af ProgressMonitorSetup object
          * @param  title  Den nye title v�rdi
         public void setTitle(String title) {
              this.title = title;
          *  S�tter minimum attributten af ProgressMonitorSetup object
          * @param  min  Den nye minimum v�rdi
         public void setMinimum(int min) {
              this.min = min;
          *  S�tter maximum attributten af ProgressMonitorSetup object
          * @param  max  Den nye maximum v�rdi
         public void setMaximum(int max) {
              this.max = max;
          *  S�tter runningComplete attributten af ProgressMonitorSetup object
          * @param  complete  Den nye runningComplete v�rdi
         public void setRunningComplete(String complete) {
              this.complete = complete;
          *  S�tter complete attributten af ProgressMonitorSetup object
          * @param  completeTotal  Den nye complete v�rdi
         public void setComplete(String completeTotal) {
              this.completeTotal = completeTotal;
          *  S�tter cancel attributten af ProgressMonitorSetup object
          * @param  cancel  Den nye cancel v�rdi
         public void setCancel(String cancel) {
              this.cancel = cancel;
          *  Returnere cancel attributten af ProgressMonitorSetup object
          * @return    cancel v�rdi
         public String getCancel() {
              return cancel;
          *  Returnere done attributten af ProgressMonitorSetup object
          * @return    done v�rdi
         public boolean isDone() {
              if (progress >= max) {
                   progressMonitor.close();
                   return true;
              } else {
                   return false;
          *  METODEN
         public void close() {
              progressMonitor.close();
          *  METODEN
         public void initProgressMonitor() {
              progressMonitor = new ProgressMonitor(null,
                   title, note,
                   min, max);
              progressMonitor.setMillisToDecideToPopup(100);
              progressMonitor.setMillisToPopup(100);
              progressMonitor.setProgress(min);
          *  S�tter progress attributten af ProgressMonitorSetup object
          * @param  i  Den nye progress v�rdi
          * @return    Beskrivelse af den Returnerede V�rdi
         public String setProgressMessage(int i) {
              progress = i;
              progressMonitor.setProgress(progress);
              note = complete + progress + " af " + max;
              progressMonitor.setNote(note);
              if (progressMonitor.isCanceled() || isDone()) {
                   Toolkit.getDefaultToolkit().beep();
                   if (progressMonitor.isCanceled()) {
                        progress = max++;
                        return cancel;
                   } else {
                        return completeTotal;
              return note;
          *  S�tter progress attributten af ProgressMonitorSetup object
          * @param  i  Den nye progress v�rdi
         public void setProgress(int i) {
              progress = i;
              progressMonitor.setProgress(progress);
              note = complete + progress + " af " + max;
              progressMonitor.setNote(note);
              if (progressMonitor.isCanceled() || isDone() ) {
                   Toolkit.getDefaultToolkit().beep();
                   if (progressMonitor.isCanceled()) {
                        progress = max++;
                   } else {
    }Sry about the comment, and the danish... But this works really nice, if you place the swingworker around the method needing progressmonitor.

  • Wi-Fi Calling / iPhone Cellular Calls from other devices

    I have two new iPhones 6 models.  Both are on T-Mobile and running 8.0.2.  One is gray and one is white.
    When I tried to setup wifi calling on the gray phone (from the Phone settings screen), I got the following warning:
    "If you turn on Wi-Fi calling, your other devices will no longer be able to make or receive calls through your iPhone."
    This was not an implication that I expected, but I nevertheless selected "OK" and moved on.  When I tried to turn "iPhone Cellular Calls" back on (from the FaceTime settings screen), I got this warning:
    "Wi-Fi calling will be turned off to allow other devices to make and receive calls through your iPhone."
    In any event, what is strange is that the white iPhone did not give me these warnings--both wifi calling and "iPhone Cellular Calls" appear to be on/activated on the white phone.
    So, my questions:
    1)     Is wifi calling not allowed if you have iPhone Cellular Calls turned on?  If not, why not?
    2)     Why the inconsistency between the two phones?

    Okay.  And, what else do you need to do to enable the Continuity feature that allows you make/receive phone calls on your iPad via your iPhone?
    Connect your iPhone, iPad, iPod touch, and Mac using ...
    Phone calls
    With Continuity, you can make and receive cellular phone calls from your iPad, iPod touch, or Mac when your iPhone is on the same Wi-Fi network.
    To make and receive phone calls, here's what you need:
    Sign in to the same iCloud account on all your devices, including your Mac.
    Your iPhone and your iPad or iPod touch need to use iOS 8 or later. Your Mac needs to use OS X Yosemite.
    All devices must be on the same Wi-Fi network.
    All devices must be signed in to FaceTime using the same iCloud account. This means any device that shares your Apple ID will get your phone calls. Look below for instructions on how to turn off iPhone cellular calls.
    Wi-Fi Calling needs to be off. Go to Settings > Phone. If you see Wi-Fi Calling, turn it off.
    Turn off iPhone cellular calls
    To turn off iPhone cellular calls on your iPad or iPod touch, go to Settings > FaceTime and turn off iPhone Cellular Calls.
    On your Mac, open the FaceTime app and go to FaceTime > Preferences. Click Settings and deselect the iPhone Cellular Calls option.

  • Problem displaying WebHelp in firefox called from web application

    We're using RoboHelp 7.03. When the WebHelp is generated, it seems that the navigation topics all immediately begin with a few illegal characters. This isn't a problem in IE -- it ignores these characters and displays our help pages fine. In Firefox, however, the WebHelp loops when trying to open the main topic page and does not display the "Show TOC" link for the sub-pages. (The navigation pages I'm referring to are the skin files, whgdata files, whdata, etc.)
    I should note, this occurs only for the project that we're calling from within a web-based application we offer our customers. Firefox displays the WebHelp correctly when opened regularly from the browser.
    I did a search-and-replace operation on the WebHelp published for the web application. Removing the illegal characters took care of the problem, but I'm wondering if there is any way to remove these characters from the output so we don't have to remember to do the search and replace each time we publish the project? (It's in beta stage right now; we're going to be republishing the help fairly often.)
    I'm not sure if these will display properly, but the illegal characters look like this: 
    Thank you,
    Sasha M.

    Those characters are known as the BOM characters. See item 22 in http://www.grainge.org/pages/authoring/rh7/using_rh7.htm.
    You say the behaviour is different when you run the help independently and when the developers call the help. Could it be that you are viewing it from a different location? What if the help is run from the location the developer's use but independently of the application?
    Visit www.grainge.org for RoboHelp and Authoring tips

  • Same URL when called from other page when called directly behaves different

    Hi All,
    I am working on SRM 5.0 implementation , the open catalog interface applications are called from a link from the standard ITS  (thses catalog applications are developed in BSP) and then submited back to the ITS application using a URL :
    va r ret_URL = "<% = hook_ur l%>"   <--- this is the return URl to which catalog data is submited
    d ocument.f inal . action = ret_URL;
    d ocument .final .method = " P O S T ";
    d ocument. final. submit ( );
    This application is transfered perfectly if the catalog is called by clicking link on standard ITS application(EBP application) but if i enter the catalog URL(BSP Application URL) directly in the browser and hardcode the value of HOOK_URL (ret_url) in BSP application , the catalog is submited but it shows a blank page with javascript error 'window.opener.isLeanWP' is null or not an object .
    hook_url = http://sapupd.mycompanyname.com:8002/sap/bc/gui/sap/its/bbpsc02/?~OkCode=ADDI&~Target=_top&~Caller=CTLG&~client=200&sap-client=200&~language=EN&~HTTP_CONTENT_CHARSET=utf-8
    Kindly suggest the solution. We need to call the OCI application directly and submit it to ITS application using this hook_url.
    Regards,
    Anubhav

    Please post this question to the Portal Applications forum.
    Thanks,
    Jerry

  • Problem with BAPI BAPI_MATERIAL_SAVEDATA when calling from other system

    Hi All,
    I able create new material using the BAPI BAPI_MATERIAL_SAVEDATA in development system.
    but when i am calling this BAPI from other systems by passing the same values that i used in the development system . system is giving me an error ( in the return statement) saying that material number doesn't exists .
    Can any one have some pointers towards this ?
    Thanks & Regards,
    Praveen

    Hi,
    this FM BAPI_MATERIAL_SAVEDATA
    is used to extend a material to another plant
    for that you need to read the original data via BAPI_MATERIAL_GET_DETAIL and then select additional data from MKVE and save it via BAPI_MATERIAL_SAVEDATA with table parameter SALESDATA
    also check with
    BAPI_STANDARDMATERIAL_CREATE Create/Extend Material
    BAPI_MATERIAL_SAVEDATA - QM - Inspection Setup
    Problem in BAPI_MATERIAL_SAVEDATA
    Thanks&Regards,
    Naresh

Maybe you are looking for

  • Error Intall RWD Uperform 4.3 on Windows 2008 with Oracle 11G

    Hi, I need install RWD Uperform 4.3 on Windows 2008 with Oracle 11G. When tried install Uperform 4.3 occurs the next error: Product: RWD uPerform Server -- This Release requires Oracle 11.2 R2 ODP Client to be Installed. If you are not using Oracle,

  • Get Asset on the basis of PO NO.

    Hi Experts ,                Request you to help me out . I have  a Purchase Order Number (PO) .on the the basis of this  PO i want to get a corresponding                        Asset and Sub              Asset Number .                 Please help me

  • Problem when expanding Tree - Tree with nested table column

    Hi, i have created the tree using the Tree with nested table column. I have created a node called TREE_ROOT in the context. This node has few attributes which includes children_loaded, is_leaf, is_expanded. I have created the recursive node TREE_SUB

  • Benefit cost reporting in ad hoc query

    Is it possible to use ad hoc query to report on future dated benefit cost changes?  I have tried several different ways but have not been successful. I tried changing the date of the reporting period to match that of the effective date for the benefi

  • Animating a road map of our trip using CS5

    I would really appreciate help on this subject. I have a road map and want to show an animated line of the roads we travelled. I have tried using PS, where I opened the map, created a new layer, drew in the first part of our trip in red, saved that a