Labview command-line interface

Hi,
I have another simple Labview question.   I am trying to determine if Labview is suitable for my purposes.  I have no data acquisiton needs and Labview was suggested to me as a language for GUI development.  I am going to start learning Labview to give it a fair shake for GUI development, because I have some experience in C# and Java.  However, the graphical programming aspect of Labview might be advantageous.  My question is Can Labview be used to develop a command-line application?
Thanks for your help,
Will

OK, so you just need a command-line version of the application you already have? LabVIEW has an application method that allows you to get the command-line arguments passed into a LabVIEW app:
This will allow you to call a LabVIEW app from the command line and pass in some arguments. The LabVIEW app doesn't need to display a GUI.
Note that when I say "LabVIEW app" I mean code that you've compiled into an application that you run with the LabVIEW Runtime Engine. I'm not referring to the LabVIEW application itself.
Message Edited by smercurio_fc on 03-06-2008 12:28 PM
Attachments:
Example_VI_BD.png ‏1 KB

Similar Messages

  • Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a product through telnet or serial interface

    Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.

    If I understand correctly, you want to do the following:
    1. Create one or more tab-delimited files that specify a series of query strings (that LabVIEW will send to your products) and expected reply strings (that LabVIEW will look for in response to each query)
    2. Run your LabVIEW program (the test engine) and have it execute one or more test scripts from file using either TCP/IP or serial communication to your units under test
    3. Track how many of the queries are met with the expected response, and output an indication of whether each step passed or failed
    If this is close to correct, then I've attached a sample test file and LabVIEW VI as an example; I chose the TCP/telnet method because it allowed me to use the ni.com Web site to simulate my tes
    t hardware. If you happen to own the LabVIEW Internet Toolkit, there's a VI called "Telnet Play Script" in the Telnet palette that does something fairly similar using TCP. The same general model would also work for Serial communications.
    Hope it helps,
    John Lum
    Attachments:
    test_engine.zip ‏24 KB

  • Advice on constructi​ng a test engine and formatting a spreadshee​t test file to perform command line interface testing on a product through telnet or serial interface

    Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.

    Hello j. smith,
    TestStand gives you the ability to create "sequence files" which are lists of tests to be run sequentially or in parallel. These tests can be written in any language: LabVIEW VIs, C/C++ DLLs, EXEs, ActiveX objects, .NET Assemblies, etc.
    You can run your TestStand sequence files from a command-line prompt using the following syntax:
    \bin\SeqEdit.exe" /quit -run
    This will launch the TestStand Sequence Editor (and optionally prompt you for TestStand login information if you have this configured), run your sequence file, then exit.
    If you're using the TestStand process model, it can output your results to a report file or database if you configure this. To use a TestStand process mo
    del to execute your sequence file, use the following syntax:
    \bin\SeqEdit.exe" /quit -runEntryPoint
    Here's an example:
    C:\>"C:\Program Files\National Instruments\TestStand 3.0\bin\SeqEdit.exe" /quit -runEntryPoint "Single Pass" "C:\Program Files\National Instruments\TestStand 3.0\Examples\Demo\C\computer.seq"
    Note that multiple sequences and sequence files can be specified on the command line.
    TestStand supports remote sequence execution using DCOM (Distributed COM), which is an east way to remotely execute tests. But as for running tests or commands through a telnet or serial interface, you would have need to check Windows documentation on how to execute command-line remotely like this.
    David Mc.
    NI Applications Engineer

  • How do I create a "command-line-interface" for a game?

    Hey people,
    For a game I need to make a DOS-like command-line-interface where the user has at least 3 options to answer with, does anyone know how to go about this?
    Hope someone here can help me out!
    Kind regards,
    Angela

    I'm not sure what part of this you are having difficulty with. Imagine for a moment that instead of asking for your end user to type something into a text-entry field and to monitor what they type (perhaps when the ENTER key is pressed), that instead you provide 3 buttons on your stage. Responding to a button press in this scenario is much the same as responding to typed user input - your movie does something based on user interaction. Going back to the user entered text scenario, a text or field sprite can detect the ENTER key being pressed and examine the string the user has entered, something like:
    on keyDown me
      if _key.keyCode = 36 then
        stopEvent
        sText = sprite(me.spriteNum).member.text
        case sText of
          "hack": -- do whatever you need to here
          "research":
          "wait":
          otherwise:
        end case
      else
        pass
      end if
    end

  • Oracle VM Manager Command Line Interface

    Can anybody suggest any tool for Oracle VM Manager Command Line Interface?
    Are they free?
    What kind of jobs we can automate using Command line?
    If they are not free is it worth spending money to buy them?

    Try public-yum.oracle.com
    and look at the oracle-addons channel below OEL.
    http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/oracle_addons/i386/
    Regards
    Sebastian

  • Can I use the Command Line Interface on Unix?

    Hi,
    We use 9iAS on Unix. We want to use Discoverer Command Line Interface on unix to export the worksheet query result. Can anyone know how to do this? I couldn't find out the command similar to dis5usr.exe for windows version.
    Thanks.
    Richard Qiu

    Hello Richard
    You can use the Discoverer EUL Command Line for Java utility. This was released with Discoverer 10g (9.0.4).
    Please refer to the documentation for more information on how to use this command line interface: 'Oracle Discoverer EUL Command Line for Java User's Guide 10g (9.0.4), Part No. B10274_01 (PDF)' The document is available from OTN at http://otn.oracle.com/documentation/discoverer.html
    Regards
    Discoverer Product Management

  • -info XML format for Compressor's command line interface?

    Hi Everyone,
    I've got a brand new copy of Final Cut Studio HD that I'm using for an encoding project. I'm trying to figure out how to use Compressor's command line interface. I want to give it a MPEG-2 file and a .scc (closed caption) file. I can see how to specify the source file, but I'm having trouble figuring out how to specify the SCC file. As best as I can understand, I'm going to need to use the -info <XML> option, but I haven't found any documentation for this. Can someone point me to the appropriate documentation?
    Thanks!
    - Kevin

    I get an error when I do exactly what you suggested. My problem is not if the XSU is able to locate the xml file because I know it is able to parse it since it picks up an error in it such as if I make the "ROW" element "row" - ie small caps instead of big which is not recognised by XSU. I use the url of the xml file as specified when I open the xml file in internet explorer. The XSU does confirm it inserts the document successfully with my original command but the document simply doesn't get inserted into the table. Specifically, if anyone is to insert the xml file I have shown in Oracle, how would it be approached successfully?
    Your help is very much appreciated.

  • Command Line Interface

    Hi all,
    I am trying to write a program with a command line interface and I am running into a few problems.
    I read the commands issued by the user as :
    BufferedReader in = new BufferedReader(
                new InputStreamReader(System.in));
    String command = in.readLine();Question 1. Is this the right way?
    Question 2. I have to read a password from a user. How do I stop the echo of this password (or change the echo to something like *)? Is it possible to do that from a Java program?
    Question3. While the user is typing a command, the system wants to output a message. This jumbles up the echo of the command the user was typing. So I need to show the message from the system on a new line, and then again show the command the user was typing .. or something similar which keeps the whole thing neat. How do I do it?
    Some of these requirements might not be possible to implement because of the inherent limitation of the command line interface. :-)
    Please help me with this.
    Thanks,
    Binil

    I raised this issue also in another thread.
    Actually I am pretty p.o. This issue pops up over and over again but the people at Sun systematically deny the problem and simply do nothing about it. I know, it's not as interseting as EE, 3D graphics or Swing, but it is asked for by many peaople over and over again.
    I simply don't understand what is so difficult in the method:
    System.in.setEcho(boolean) or System.in.setEcho(char)
    Your solution will work, but it is not platform-idependent. That os what Java is all about or am I wrong?
    hi,
    yah thatz the correct way to read things typed
    typed in the command prompt. Am not sure whether you
    will be able to mask the character typed to show a *
    (but i supoose itz not possible). If you are going
    to do any CLI have a look at JNICurses library
    available at
    http://home.att.net/~psantoro/jnicurses/jnicurses.html
    hope that was useful.
    cheerz
    ynkrish

  • Command line interface to Crystal?   Batch job to refresh report data?

    Hi All.
    I have some users who do certain work and then want to print an updated report.  However they only have the report viewer.  As they work at night, they can't ask me to refresh the report.
    Is there a facility to schedule jobs like this in Crystal?
    Is there a way to create a batch job that will automatically refresh the report?
    Is there a command line interface to Crystal?
    Has anyone got a suggestion for some other means of solving my problem?
    Thanks.

    are you using crystal enterprise as your portal? that has a scheduler.

  • Command line interface to "code cache" memory pool utilization

    I need to monitor the usage of the "code cache" memory pool through a command-line interface, but it doesn't seem to me that the jstat tool is able to give me any information about this particular memory pool. Are there any other tools that is able to give me the details I need? I'm using both JDK 5 and 6.
    Edited by: normann1974 on Jul 10, 2008 9:40 AM

    Typically, this is a class path Problem when the JVM is unable to locate a
    class. Are you sure that the class listed as missing below is included in
    your class path?
    Michael Girdley, BEA Systems Inc
    Learning WebLogic? Buy the book.
    http://www.learnweblogic.com/
    "Pascal Guillot" <[email protected]> wrote in message
    news:3a5df1ee$[email protected]..
    >
    I seem to be running into dificulties when attempting to use theweblogic.Admin class for any commands from the command line
    I am running from a Solaris 5.7 box, and java version 1.1.6, and weblogic6.0 server is running in the background
    Anytime I attempt to run the class:
    java weblogic.Admin <commandofsort> (followed by any neccessary args) Iget the following error msg:
    >
    java.lang.NoClassDefFoundError: javax/management/AttributeList
    at weblogic.management.commandline.CommandLineArgs.<init>(CompiledCode)
    at weblogic.Admin.main(Compiled Code)
    (I can successfuly invoke most of the utililities in the utils classhowever)
    >
    any ideas?
    Pascal

  • Oracle Express 10g - a way to terminate in SQL Command Line interface

    I've downloaded Oracle Express 10g and use the SQL Command Line interface to execute SQL*Plus -- a really simple window / interface without hardly any smarts. In other Oracle installations' SQL*Plus, I'm used to be able to do a Ctrl C to terminate the current SQL that's being executed and the session is still active and I can keep using it. But with the Oracle Express 10g SQL Command Line interface, when I do a Ctrl C the currrent SQL is terminated -- but so is the whole dang session and the window goes away too. There must be a way in the Oracle Express 10g SQL Command Line interface to simply terminate th current SQL results without losing the whole dang session!!! This is so incredibly frustrating it's not even funny. HELP!!!!

    I think your answer is in this thread:
    Re: stopping a query
    Regards, Marc

  • How to get the command line interface for WRT160NL router

    hi,
    How can I get the command line interface for WRT160NL router. please suggest.

    If you’re trying to access the web-based interface of your router, just use its default IP address (192.168.1.1). The Username is left blank and the Password is "admin". Here’s a quick link on how to do that.

  • Newby question about command line interface

    Arch is my first linux distro and havnt used others yet.
    Just wondering, does Command Line Interface looks and functions all same on other distros?
    Because, if u can chose desktop environment like KDE, GNOME and Xfce with other Linux distros as well, then what is difference between others.
    Linux is still quite hard for me and just wanted to know if there is "special" stuff that arch can do.
    To me, they all looks same with same desktop environment...
    thanks

    When you mention the "command line interface" (CLI) there are a few things involved: a terminal emulator, a shell, and the programs you have installed. That said, as far as running programs goes
    The terminal emulator is the application that hosts/shows your shell. In KDE it's (by default) Konsole, GNOME uses gnome-terminal, others might use xterm, aterm, rxvt, rxvt-unicode or one of many others. Different emulators provide some extra features (e.g. tabs) and they all differ in memory usage, speed, and integration (or not) into a given desktop environment. That said, they all pretty much work the same for launching programs and operating in a shell: you type commands and press enter.
    The shell is what runs your commands and also provides some scripting capabilities. Generally, bash seems to be the most used as a default shell. You can change your shell if you wish, as some shells provide extra features like programmable command completion. Other shells are lighter or more POSIX-compliant. For a starting user, you're well enough off just using the default (probably bash) until you find a reason for which you must have a different shell.
    Finally, the programs installed will affect what you can run in a terminal. Different distros will have different quantities of programs installed by default. (Arch's base install is very minimal.)
    Now, with regards to Linux, at the end of the day all distros are Linux with some desktop environment (DE) and some Linux apps. The DEs and applications are taken from the same source, but some distros provide patches for extra capabilities or configuation. However, if you see something you like in openSUSE, say, you can download the software, patch it, and configure your Arch to work like openSUSE. Each distro, though, has its own focus and philosophy which affects:
    * how many and what applications are installed by default
    * amount of configuration required after install
    * stable vs. bleeding edge
    You can read more about this in the wiki reference above.
    So having said all that, Arch gives you a simple, minimal base install which you can then easily customize by app installation and configuration. It is reasonably bleeding edge, meaning application updates usually make it to Arch fairly quickly. With time and knowledge you can make Arch do near anything that another distro can do, but that's not really the idea behind Arch in my opinion.
    Hope that helps,
    j

  • Where is the command line interface in DW CS3 on a Mac?

    I have seen other forums where they instruct you to use the command bar or command line interface to set permissions and what not, but I do not see where that might be in Dreamweaver CS3 on a Mac. Can someone assist me in locating this feature?
    Thanks in advance,
    Todd Temple > T2 Design

    There is no command line interface in Dreamweaver. It's a tool for editing web pages.
    However, you can use Dreamweaver to set the permissions on web pages on your remote server like this:
    In the Files panel, select Remote view from the drop-down menu at the top right.
    Select the file(s)/folder(s) for which you want to change the permissions.
    Right-click and select Set Permissions from the context menu.
    Set the permissions in the dialog box that opens.
    As the dialog box warns you, this command does not work on all servers. If your remote server won't allow you to change permissions through Dreamweaver, you need to log into your hosting company's control panel, and change the permissions there. If you don't know how to do it through the control panel, ask your hosting company for help, as the method depends on the control panel used.

  • Switch workspace in command line interface

    Hi,
    I'd like to write a script that launches some applications, but in different workspaces. Is there any tool or built-in command to switch (and maybe also rename) workspace from a command line interface (terminal, script...)???
    Thanks a lot

    I forgot to say I would prefer to do it in CDE over Gnome...

Maybe you are looking for

  • Can't view pages in Hindi

    Hi, I'm unable to view pages in Hindi. I've looked for additional font packages but can't find them for Mac. I'm running OS 10.3.9, is that the problem? My friends can see http://www.bbc.co.uk/hindi/ in hindi, but I just see weird characters. Is ther

  • CASH FLOW per PERIOD

    Hi Gurus/Experts, really need your help since i'm stuck in creating Report Painter for Cash Flow. Below is the explanation of my case: My requirement is to make report for Cash Flow periodically (or per month). Already created Report Painter in FSI5

  • Help! I lost all my track numbers

    Playing with the Get Info I lost them all. Itunes still knows the numbers because I canb sort, but I can't display them. What can I do? dell   Windows XP Pro  

  • Adding/Editing "Old" Images

    A number of DNG images already existed on my HDD prior to installation of LR3. Now I would like to bring them into LR. Only practical way that I have found is, in Library view, to "Move" them from one folder to another folder. Just completed that man

  • Can't see Airport Express

    Hi everyone, I have been connecting both my Cube and my MBP to the internet via an Airport Express successfully for over a month now. Today I allowed Software Update to download and install the following to my MBP: 2007-03-24 13:18:10 +1100: Installe