How open an application with labview

I need to open an application to use a camera and store data before using tis data in labview but i don't now how to call an app in a VI

Look for "System Exec", it's in the Communications palette.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • What is the easiest way to open an application from Labview?

    I need to open an application from labview and depending on a user's selection, load one out of a group of files for the application that is opened. I need to know what is the best or easiest way to open an application and load a file that is used by the application based on a selection.

    Here is the response that I got from Cognex when I asked them about how to do this. Do you understand what they are talking about?
    In order to do something like this you will probably want to look into the Display Control/SDK for In-Sight. The Display Control gets installed along with In-Sight Explorer and includes a control that can be used in an environment like Labview to communicate with In-Sight sensors while the SDK is an enhanced version of the Display Control that gives you more control and functionality. I am not very familiar with the Labview environment so I will give some code snippets in VB.Net and hopefully you can adjust them as necessary. Specifically I see 3 possible avenues to do this:
     1) Using the Display Control you have access to many of the dialog boxes that are used in In-Sight Explorer including the Load Job dialog box. You can spawn this dialog box through a line of code similar to cvsInSightDisplay1.Edit.OpenJob.Execute(). I am not certain if the Labview environment will be able to spawn and display this dialog though. 2) With the addition of the SDK (additional purchase) you can directly access sensor properties including the job. There is a method called LoadJobFile to load jobs from on the sensor and LoadJobFileLocally to load jobs from the host machine. A typical line of code might be cvsInSightDisplay1.InSight.File.LoadJobFile("myjob1.job").3) If Labview cannot handle the dialogs and the SDK is not an option for you then you may still be able to do this using Native Mode commands. Native Mode commands are sent through a socket on the telnet port (typically port 23). Keep in mind that you will need to handle the username/password prompt and response when you first open the socket before issuing any Native Mode commands. The command to load a job file from the sensor would be the Load File command which would be a string similar to "LF myjob1.job". The Native Mode commands are documented in the In-Sight Explorer help file. 

  • How to run applications with options in IDEs like Netbeans

    Hi, I'm new to the Netbeans IDE and I'm wondering how to run applications with options.
    Normally I'd enter the following in the command line:
    java -Djavax.net.ssl.keyStore=mykeystore -Djavax.net.ssl.keyStorePassword="..." TLSServer
    java  -Djavax.net.ssl.trustStore=mytruststore -Djavax.net.ssl.trustStorePassword="..." TLSClient localhostProblem is, I've no idea how to do the same thing in IDE's like Netbeans and I can't any settings to add options like "-Djavax.net.ssl.keyStore=mykeystore" before running the application. Any help will be appreciated.
    Message was edited by:
    Wolfgard

    Right-click the project, click properties, clicl run, and add parameters to VM Options.

  • How can i do with labview program,when i have 20 different values,and 1 want to add it with constant value.and how to get the results?

    how can i do with labview program,when i have   20 different values,and 1 want to add it with constant value.and how to get the results?

    Why do the 20 values have to be different? The same code should work even if some are equal.
    What do you mean by "get the result"? The result is available at the output terminal and all you need is a wire to get it where you need it. That could be an indicator, another operation, or even a hardware device.
    What is the data type of the 20 values? An array? A cluster? A bunch of scalars? A waveform? Dynamic data?
    LabVIEW Champion . Do more with less code and in less time .

  • How to build applications from LabVIEW with Diadem?

    Dear all,
    I got a question regarding a LabVIEW application with integrated DIADEM report VIs (DIADEM Report). My problem is that the computer, on which the application shall run, has no DIADEM installed.
    For LabVIEW it is clear to install the RUNTIME engine, which works on PCs without installed LabVIEW, but is there something similar for DIADEM available?
    Thanks for your help in advance.
    Best regards,
    RidderM
    Message Edited by RidderM on 01-09-2008 07:39 AM

    No, I don't think it is possible.
    The LabVIEW VIs call the Activex interface of DIADem, I was also exploring this and the best I could think of is to contact a computer that has DIADem installed to run the LabVIEW-DIADem connection there.
    However I didn't ask it to NI.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Re:open an application with restore mode

    hi friends
    i need to open an application in restore mode how can i do this , for example i need to open a powerpoint in restore mode
    please tell me it so urgent
    thanks in advance
    regards
    vino

    Look for "System Exec", it's in the Communications palette.
    LabVIEW Champion . Do more with less code and in less time .

  • How to develope application with multiple schema

    Hi,
    In my application, there is 3 schema, forms are from different schema, but the database is one. How should I manage it, When i open the form with different schema I am not getting the expected result,
    I am using Oracle 10g Forms & Database
    Thanks in advance
    Rizly

    hi,
    what database-user is the user connected with, when executing the forms ? Is it one of the three schemaowners or has each logical user his own database-user?
    About your db-objects:
    I would create 3 roles, one for each schema, and grant the needed privileges for one schema to the according role
    Example:
    CREATE ROLE RL_SCHEMA1;
    GRANT SELECT, INSERT, UPDATE, DELETE ON SCHEMA1.TABLE RO RL_SCHEMA1;
    ...Then you can grant the roles to the databaseuser you are connected with at runtime.
    If you use named users (each logical user has it's own database-user) then you assign each user only those roles he needs.

  • Controlling Solenoid Valves for a water level application with LabVIEW:

    Hello,
    I am trying to control the water level in a tank using solenoid valves with LabVIEW.
    I have an ultrasonic sensor that is going to measure the water level in the tank, I have the working VI (attached) for how the sensor measures the water level, I have made the vi so that it measures the distance the water level is away from the sensor (the sensor is attached to the top of the bucket). The vi which is attached also calculates the volume as more water is added into the bucket (the bucket is frustum shaped). 
    What works: VI interacts with ultrasonic sensor. VI measures the distance the water level is away from the sensor, VI calculates the volume in the bucket as more water is added. 
    What I am trying to do now: I want to have another bucket (filled with water) sitting above my bucket with the sensor on it, and with a solenoid valve attached to that bucket, and another bucket sitting below my bucket with the sensor on it (not filled with water). I want to interface these solenoid valves with LabVIEW in a way, that the user can enter in say "70%" as the desired percentage of water in the bucket with the sensor, and LabVIEW controls the the valve on the bucket to fill up the bucket with the sensor up to 70% and if there is any overshoot, there will be another valve attached to the bucket with the sensor that will let water out to go into the empty bucket).
    Basically, turn on and off the valves based on how much more water needs to be added into the bucket and what the desired percentage is. 
    The equipment that I have is:
    Ultrasonic sensor: http://www.amazon.com/Ultrasonic-Module-HC-SR04-Distance-Arduino/dp/B004U8TOE6
    Solenoid Valves: http://www.ebay.com/itm/ws/eBayISAPI.dll?ViewItem&item=290763981675&ssPageName=ADME:LU:US:3160
    3 buckets.
    I need some ideas on how I can complete the rest of this project. Thank you in advance! Please see the attached vi.
    Attachments:
    Sensor.vi ‏28 KB

    Thinking off the top of my head, if it were me, I'd start with the master-slave design pattern.
    In the master loop, put your vi for reading the level.
    In the slave loop, put very simple logic that looks at the value coming from the notifier and takes one of three actions each time a notification is received:
    If the level is greater than the setpoint (+some "empirically determined" hysteresis value, say 1-2%) open the valve to let water out of the middle bucket.
    If the level is equal to the setpoint (+- the same hysteresis value) make sure both valves are closed.
    If the level is less than the setpoint (-the same hysteresis value) open the valve to let water into the middle bucket.
    Repeat until you're done.
    You will probibly want to figure out a better way to stop things than what is shown in the design pattern template - using an error to stop works, but in the long run limits your options.
    Oh yes, when shutting down, there is one thing that you will need to be sure that you do - to prevent wet feet. But I'll leave that for you to figure out as well.
    Mike...
    PS: This is homework right?
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Cannot build application with labview 7.0

    I had built application previously using labview 6.X while some of the V.I. are without block diagrams, but I couldn't do that any more with labview 7.0 as a error will be prompted, why is this happening & are there difference in application builder between labview 7.0 and previous version? Must I load those V.I. without block diagrams dynamically now ?

    Unfortunately it is impossible to build application with newer version with VIs without block diagrams, which saved in oldest version.
    from ni web site:
    "National Instruments does not recommend saving VIs without block diagrams because LabVIEW needs the block diagram to recompile the VI after an upgrade. When you upgrade LabVIEW, you must find a version of the VI that includes its block diagram to recompile it. Such a version did exist before the block diagram was removed because it is impossible to create a new VI without a block diagram."
    "Based on that information, it should be clear that once a VI is saved without diagrams:
    You cannot open or run the VI on any other version of LabVIEW, older or newer."
    More information:
    http://digit
    al.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/00a6bacda1c01a0786256b60006163e7?OpenDocument
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/28c4cb0cf83e1a1d862566e2007a2a9c?OpenDocument
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/fee732f4b1541b9586256bf0006a78ca?OpenDocument
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/0649a3350de20aa186256d91007b3d61?OpenDocument

  • How open a report with Viewer 2008 without using Visual Studio and Java

    Hi,
    There is a way to open a report (with parameters) save in a web server with Crystal Report Viewer 2008 without using Visual Studio or Java ?
    I've an asp page and i want to open this report using some command (I know asp, vbscript and html)
    In the past it was very easy because we use CR 9, but now it's already many days im looking for a solution but seem impossible.
    I know the craxdrt.dll is not included with Crystal Reports 2008.
    It seem me i can use OpenDocument, but i'm not sure. Someone has some easy example to help me ?
    Remember i have only Crystal report viewer 2008 on the server and on the clients.
    Thanks in advance

    If you are looking to create a web application or view report through a web server using only Crystal Reports then you do have to either use Java, or .NET.
    If you have Crystal Reports server or Business Objects Enterprise you can use OpenDocument to view managed reports but this does require one of our server products.
    Trevor.

  • How to create applications with forms61?

    I am using forms6i. i want to know how to create a standalone
    application with this. please give me what are the components
    required to create an application with forms6i. can i use
    crystal reports to generate reports instead of oracle reports
    with the combination of forms?

    Well to create a stand alone application all you need is the
    executable (FMX) and the runtime - thats it!
    As for using Crystal Reports - yes you could use ORA_FFI to
    integrate.
    Regards
    Grant Ronald
    Forms Product Management

  • Opening JNLP application with mobiles??

    It's possible to open a application .JNLP with a mobile dispositive? blackberry, nokia, windows mobile...?? It will be possible..??
    My idea is not to programming a new specific application for mobile, i want to can work with my existing .jnlp application for pc's.
    Thanks a lot for your orientation

    One day.. i supposse.. the mobiles will have enough potency and ram memory for execute the same java programms like a PC. Then not will be necessary to program 2 different programms depending the platform. May be.

  • How to hide applications with out having to type command+option+H?

    How can you hide applications with out having to type command+option+H?

    Click the middle bubble/button.  The app will "move" in the dock to the far right next to the trashcan.

  • How can capture audio with labview

        I desired to make a audio equalizer vi using lab view. Audio will be taken from microphone. How can I capture sound from microphone with labview?

    See the example "Sound Card AutoPower Spectrum" This allows you to sample from an input device through your sound card, and take a spectrum.  you should be able to bin the spectrum by frequency bands, and show the histogram of frequencies.  You probably can even selectively resample and scale the frequencies, mix the signal and output the new sounds but I hav not tried this (I am not an audiophile so this is beyond my scope of expertise)  Good luck  ,
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Was on a website when I got a message asking what I wanted to open the application with and I told it Firefox and now it won't open at all.

    Was on a website when a box opened up asking me what I wanted to run the application as and I clicked on Firefox - now I can't use that website.

    You should never select Firefox as the application to handle a file if you get an open with dialog.
    Firefox wouldn't ask this if it can handle the file.<br />
    You will have to remove that action in Tools > Options > Applications
    *http://kb.mozillazine.org/File_types_and_download_actions
    See also:
    *https://support.mozilla.org/kb/Managing+file+types
    *https://support.mozilla.org/kb/Firefox+keeps+opening+many+tabs+or+windows

Maybe you are looking for