Call a visual basic executable file with arguments command line using LABView

Hi all

I try to call a visual basic executable file with a command line using LABView 2014 argument. What I'm trying to accomplish executes an executable file that communicates with a device via a COM port. So, I would open the .exe with a command line argument to communicate via com 3 using the SYSTEM Exec VI. It seems that the command prompt window flashes and closes and then nothing happens. Not a lot of discussions about this on the forum. Any help would be greatly appreciated. Thank you.

With some programs, instead of passing in the string:

Somefile.exe

Instead, you can use:

cmd /c "C:\Full Path\to the EXE\Somefile.exe"

Can you tell us what exactly you are trying to run?

Tags: NI Software

Similar Questions

  • Compare 2 PDF of the file through the command line using the Acrobat SDK

    Hello

    I want to compare 2 by command line of the PDF using the Acrobat SDK, is it possible?

    My needis to create Automation for comparison in .net, c# technology to compare files of 100.

    Could you be it someone at - it one please let me if the Acrobat SDK kit supports integration with .NET and is it possible to call the term comapere.

    OK, Acrobat is not suitable. It is not technically suitable for the server; also no license. It doesn't have a command line, only OLE user interface.

    There are Acrobat PDF library, allowing development in C/C++. But I think that there is no function to compare. You will need to implement one yourself, which is a probably a lot of work. What kind of comparison do you want? If you just want to know if the files have changed at all you can use all the checksums without any API. Or are you looking for any Visual change? Or text change...?

  • How to open a file with the extension .odg using Vista?

    How to open a file with the extension .odg using Vista?

    Hi Defiant503,

    Thank you for visiting the forums of answers.microsoft.com.

    I did some research and a file ending with .odg is an OpenDocument Document OpenOffice/StarOffice (Ver 2) of graphics by Sun Microsystems, Inc.    This means that in order to open this file, you will need this program to open it.  You will not be able to open this file with Vista.

    I hope this information helps.

    Kavita M
    Microsoft Answers Support Engineer
    Visit the Microsoft Answers Feedback Forum site
    and let us know what you think.

  • I'm trying to create a PDF file with several signature lines in that anyone can "Sign" by using their digital signature CAC (Common Access Card) active. The goal is to have a single document that people can open, sign on a designated line and save the doc

    I'm trying to create a PDF file with several signature lines in that anyone can "Sign" by using their digital signature CAC (Common Access Card) active. The goal is to have a single document that people can open, sign on a designated line and save the document (replacing the existing document) and close. Then another person can open the same document digitally sign another area of the form, save it, and close it. So on, and so on. Is there a way to do this? At the end of the day, I would end up with a PDF file with literally hundreds of signatures to enable different ACC everywhere...

    I don't understand what the problem is. In the post of the davidr96549424 on May 8, 2015 07:58 you presented a structure of a correct document. Is the issue of the creation of this structure in a PDF file? For this, you will need an Acrobat, not reader.

    XI in Acrobat, select Tools-> forms-Edit. Click 'No' on the form fields 'detect '. In the tasks Panel that opens, click on "add new field". Select "Digital Signature" and move it to the location in the document where you want to than the appearance of the signature to be. Repeat that for signature fields as you want. Users will sign by clicking on the prepared unsigned signature field which shows the dialog box "sign. Do not forget that as TSN has noted that a digital signature applies to the entire document. The entry in the document where it is is irrelevant. Each next signature covers all previous signatures.

    Your users can also sign a document from anywhere that they want without signature fields already prepared. For this select fill & sign-> work with certificates and the type of signing you want to sign up with. A dialog box that will tell you a rectangle for the appearance of signature rises and after you draw the rectangle of the dialog 'Sign' rises.

    PDF/Acrobat doesn't have a limit on a number of signatures in a PDF document. But! Don't forget that when you open a PDF file with Acrobat/Reader signatures valid all of them and takes time (several seconds - until 10 - for every signature), so if you have several signatures of dozens of their validation open can take a long time.

    I don't know how build you your workflow so that each person signs the same PDF and saves it. Economy runs on the same computer where the PDF is stored. You'll have to decide how to allow different people to have access to the same PDF. They, of course, you may sign this only one-at-a-time PDF.

  • Deployment of final application with the command line Question

    OK so I have my finished application.

    on a folder in my office called "CODBOUG".

    So I tried different methods to run the application and complete the test on the Simulator with the command line. But it's just too much. So I need your help community!

    I tried:

    BlackBerry-deploy-installApp-package CallofDutyBlackOpsUltimateG

    uide.bar - device 192.168.18.128

    I'm a little lost with the help of the command line, if someone could guide me on the right lane.

    I'm on windows, btw.

    Thank you.

    When you run a command, Windows will search in a series of directories for this program to run. The list of directories is stored in what is called an environment variable. You must add the path to the bin of the sdk at this variable directory (e.g. C:\Program Files (x 86) \Adobe\Adobe Flash Builder Burrito\sdks\blackberry-tablet-sdk-0.9.3\bin).

    You can access the path variable by right-clicking on my computer > properties. Select the Advanced tab and click on approx. Variables.

    Under System Variables, search PATH and edit it. Add the path to the sdk bin directory (make sure that there is a semicolon, that separates the directories).

    Open a command line window in the directory where your .bar file. When you run the command, Windows will look for blackberry - deploy and can be found in the directory that you have added to your PATH variable so to run it.

  • How to remove a shortcut with the command line?

    How to remove a shortcut with the command line?

    How to make a backup of the local users and groups with command line?

    You delete a shortcut, just as you would remove any other file.  A shortcut will end with the extension ".lnk".  So assuming you are trying to remove the shortcut named "Shortcut.lnk" which appears to the user 'Bob's Office, you use the button Delete (del) or 'clear' command by specifying the full path to the file.  (Remember to put filename in quotes if there is a space anywhere in the path or name) as in:

    del "C:\documents and settings\Bob\Desktop\Shortcut.lnk".

    What kind of a backup 'users and groups' you want to do?  If there is a backup of the users and groups as written in the registry, a good registry as C:\WINDOWS\ERUNT backup program that will make the command line.  If you are trying to backup all users and their data as well, then you are better off with a backup program.

    HTH,
    JW

  • with the command line remote reboot

    I know not how to remote shutdown of a pc on our network using the command-line using this...

    Shutdown - r f t 0 - m ComputerName

    But how to do it with my mac to pc?

    Again, you can not. The commands only work with the same OS.

    Yes Mac to Mac, Windows, Windows, etc.

    You will need to find some kind of package of administration remote cross-platform.

  • remove the material with the command line

    I have a virtual machine that is powered on and in a cluster and I need to migrade. the vehicle currently has a cdrom installed but I can not change it (the cdrom is grayed out) is there a way to remove these devices from the virtual machine in VC with a command line so I can migrate? (it's really just the cdrom which is holding it up. Oh and the kicker is I can't restart the VM,...

    Hello

    I have no version of ESX 3.0 coming down more, but you can try to do it by using vimsh as follows:

    Connect to the Console on your ESX host and enter as root:

    vimsh
    

    Now to get the ID of your virtual machine in question for help (scroll through using shift page up / page down if you must)

    vmsvc/getallvms
    

    Note the ID of virtual machine, for example, it can be a number like 4400

    Find the key to your VirtualCDrom by querying the hardware devices to your virtual machine.

    vmsvc/device.getdevices 4400
    

    Scroll to the top again and note the key, in my case, it's 3000

    Now, disconnect the CD-ROM device by running:

    vmsvc/device.connection 4400 3000 false
    

    Use true if you want to connect the device.

    Just tested on VMware ESX3.5 and it worked very well there.

    --

    Wil

    _____________________________________________________

    Visit the new VMware developers at http://www.vi-toolkit.com wiki

  • Error while trying to run a visual Basic (.vbp) project in Visual Basic 6.0 with Windows 7 (64-bit) Enterprise saying "error access to registry system.

    Hi guys,.

    In my last computer the VB6 project worked with Windows XP but now I changed to Windows 7 and I can't run some application in visual Basic 6.0 that I still...    (I'm meaning to open the .vbp file to run in the environment of VB6 and not talking is not running the .exe).

    When I open the .vbp (from Visual Studio Enterprise 6.0), then comes an error saying "The system registry access error" only on this Windows 7 (64 bit)...

    I can not changes made in VB6 or compile programs is it my Windows 7?   There must be a solution that I think... something to execute or modify.

    By the Way this is my first post on Microsoft Answers and hope to get lucky on that first and solve my problem; (O)

    Thanks for any information

    M.

    Hello

    1 are logged as administrator?

    2. is it works much earlier?

    Method 1: Try to "Run as Administrator". VB6 needs to access the registry, and user account control sometimes gets in the way.

    Method 2:

    You can check the following link and check if it solves the problem:

    PRB: Error access to the system registry ' Message When displaying VB/VBA references.

    http://support.Microsoft.com/kb/269383

    Method 3:

    As you may have run the program under Windows XP, you can try to run it in compatibility mode and check if this solves the problem. See the following link for more information.

    Make older programs in this version of Windows

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    Registry warning

    To do: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/)

    How to back up and restore the registry in Windows.

    For additional help with this specific technology, please ask your question to the MSDN Visual Basic Forums.

    http://social.msdn.Microsoft.com/forums/en-us/vbgeneral/threads

    I hope this helps.

  • Creation of stand-alone executable file with similar library files without errors of link

    I have an Executive Test that is run on two different test systems. Each stand has another card ARINC429. The old card use 429dll32.lib, while the most recent map use pci429.lib. Test Exec code only loads a single library file (using LoadExternalModule) depending on what the test bench has the card, but since there are many similar functions in both, ICB does not test Exec be built as a stand-alone executable.

    In CVI 5.0.1 I opens the "Create stand-alone executable file" and select "add files to the executable. I check the 429dll32.lib and the pci429.lib to include in the creation of executable, and then click 'OK '. When I click 'OK' to create the executable I have several link errors, one for each function both .lib files have in common.

    Is it possible for each of these .lib files to be included in the compilation without having to create two separate executables?

    eatmontr:

    If you use LoadExternalModule(), you need not include the .lib files in the Executive test project.  Refer to the CVI for LoadExternalModule help.

    Here's the info on the help:

    LoadExternalModule loads an external object module file. You need not list the file in your project or loaded as a module of an instrument.

    The file may be an object (.obj) file, a library file (.lib) or a library (.lib) import DLL.

    Here are a few articles to OR who can help.

    To access the plug-ins with CVI (with sample program) http://zone.ni.com/devzone/cda/epd/p/id/133

    How do I call dll if I have two functions with the same named in two different dll? http://digital.NI.com/public.nsf/allkb/5299ED8D43F3B5FE852563BF0056EBA6

  • How Windows to determine which file to run with some command line commands?

    I had someone ask me an interesting question, and I really didn't have a good answer for them.  We were talking about the command prompt.  I showed them how they could start some programs simply by typing a command at the command prompt.  Their question is how is it, some files require a full path to start?  Also how the Windows does not know which file to run when the 'explorer' simple as orders are entered?

    Thanks in advance!

    Hi, Deedubbadoo,

    Their question is how is it, some files require a full path to start?

    You can have some files in the same directory that share the same file name but have different extensions. For example, you might have a file named compta.com can launch an accounting program and another called Accnt connects your system to the accounting system network.

    The operating system searches for a file by using default file name extensions in the following order of precedence: .exe, .com, .bat, and. cmd to run Accnt so that compta.com exists in the same directory, you must include the .bat extension in the command line.

    If a component of a path is a file name, it must be the last element

    Therefore: Explorer

  • How to open my computer and how to access local drives, opening files with voice command

    I want to access my computer and opening of the local disks and playing the music or video file in voice command using the windows speech recognition

    Hi Raj_957,

    Thanks for posting in Microsoft Communities.

    I suggest you follow the steps in the article.

    Set up speech recognition

    Let us know if you need more assistance. We will be happy to help you.

    Thank you.

  • Transfer TDMS file cRIO 9076 PC locally using Labview code problem

    Dear all

    I use LabVIEW 2013 with cRIO 9076 for datalogging PDM.

    I try to transfer the logging queue (.tdms) cRIO to the computer via the LabVIEW FTP software. The transfer is OK but computer I can't open the file-68007 error.

    It's ok when I copy the cRIO on computer file ( ftp://192.168.2.102 and manually copy the file)

    How can I fix the ploblem and LabVIEW FTP allows us to trnasfer file.tdms?

    Thanks and greetings

    Luong.Tran

    This might be useful:

    http://forums.NI.com/T5/real-time-measurement-and/TDMS-files-corruption-when-using-FTP/m-p/2331550

  • Create shortcuts with the command line switches

    I have three versions of Word on my computer. (I know, I'm a masochist).

    There are times when I want to run one of them in safe mode. Those who get me if I run winword.exe /a in the run window let you guess.

    I know I can get it by including all the way, but it's a pain.

    I would like to make a few shortcuts in Windows that would do this for me. However, I don't know how to add the command line switches. I used to be able to properties (similar to editing a .pif file) but it doesn't seem to be an option.

    You * need to locate executable files and create each shortcut via right click on the executable file.  Shortcuts Microsoft Office may not be "real" classical shortcuts

    Right click and change the shortcut.  In the 'Target' box, add at the end command line switch.

    For example... I found the 64-bit Microsoft Office 2010 Word executable here:
    «"C:\Program Files\Microsoft Office\Office14\WINWORD."» EXE ".

    and created a shortcut on my desktop.  The "target", said:
    «"C:\Program Files\Microsoft Office\Office14\WINWORD."» EXE ".

    I added the / a that you pointed at the end, the target is now:

    «"C:\Program Files\Microsoft Office\Office14\WINWORD."» "EXE" /a

    In fact - the after typing all that above, I realized that there is a Microsoft Knowledgebase Article... Google worked and I do not use it.  Heh

    How to use the line switches of start command to start Word 2010, Word 2007, Word 2003, Word 2002, and Word 2000 (Method 2).

  • Creation of files via the command line

    I'm trying to create a file of access database via a command line similar to right-click, click New and then click Microsoft Access database not only from a window (unless I can call this command line window).  Does anyone know how to do this?

    The Right-click/New command is really just make a copy of a file stored in your templates folder.  So to do the same thing from the command line, you would simply use the command COPY and make a copy of your template file (an access database empty).

Maybe you are looking for

  • Cannot install utilities on Satellite L670D-103 with Win7 32-bit Toshiba

    Hello I have a problem with my brand new Satellite L670D-103. To install my design software (AutoCAD_32bit), I had to install a 32 bit OS. So, now, I'm running under Windows7 32 bit and my CAD software works great, perfect. The problem is that I can'

  • How to change owner and cloud settings ipad?

    My wife now has an iPad 4 and I inherited his iPad 2. We have all two accounts iCloud. How to customize the 2 without spoiling its 4? I simply sign the cloud and then connect? Is there something other 'wise Apple' I have to do for the "total change i

  • Satellite L505 - update the BIOS didn't

    Indicated by the TEMPRO software that came with my laptop L505 (1.5 months) I've updated the BIOS version but to halfway the process order and fan running at high speed and nothing more. After an hour, the only option that had left me was to unplug t

  • W530 RAID

    I have W530 with DVD player (without predefined lenovo raid function). Can I use caddy for second HDD and config I raid. Do I need special caddy (lenovo brand) or I can another ysé. I want to RAID 0 with 2 ssd Kingston v300.

  • Switch time delay between 3 and back!

    Hello I'm trying to figure out how can I switch between three cases in a case structure for a while between each switch. For example: I have three cases in a structure of case (case) {0,1,2} where zero is the default case. What I want to do is to sta