LabView program in command prompt

Hi all!

First of all, here is my config:

-Dev PC: Win 7 32-bit

-Target PC: Windows XP - 32 bit

-LabView 2009 - 32-bit

I need to design a program which one will be interfaced with an ERP. So it should not have a GUI and must be controlled by sending to command (MARKET / STOP / ABORT...) and send some status info (data of 10 or 15). For now, I'm only able to launch my program of command prompt and of the arguments passing. But I'm not able to send orders after this and disable the HMI.

Is it possible to do it with LabView? If yes how? If not, how can I interface my devices to LabView and manipulation program of these devices in another type of program that allows you to do?

Best regards

Harold.

On the only way that I know of to two programs to reliably talk to each other is using TCP.

Tags: NI Software

Similar Questions

  • HELP-I can't open things such as the restoration of the system or the command prompt, etc without being asked to "choose the program you want to use to open this file"

    HELP-I can't open things such as the restoration of the system or the command prompt, etc without being asked to "choose the program you want to use to open this file"

    so boring

    Hello

    Download and run the fixit tool from the link below and check if this solves the problem.

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

    Kind regards
    Afzal Taher
    Microsoft technical support engineer

  • Why I can't change the default program from the command prompt?

    Accidentally, I changed the default program to open the .py (Python script) files at the command prompt, now I can't change it back even in the Control Panel, the check box is gray. Also I tried the registry editor, I do not have the NoFileAssociate file.
    If someone could help that would be great!

    Hello

    This problem occurs when Windows thinks that the application already exists in the list. Change the name of the application may fix this problem. Please try the following if you do not want to rename python.exe


    Method [1]: Use the registry to change the application Associations
    ATTENTION: It is recommended that you create a restore point before you proceed
    • On the start menu, insert the following text and press ENTER: regedit.exe
    • Delete the following key
      Python.exe HKEY_CLASSES_ROOT\Applications\

    Thank you
    Have a nice day :)
  • How to program a chkdsk using the command prompt?

    could someone tell me how to plan (for once only, not repeatedly), windows automatically fix file system errors and find the attempt to recover bad sectors, using the command prompt? I want to perform this check to my external hard drive when windows are on the boot sequence, not on the 'normal' environment for those who want the truth revealed open their hearts and their secrets unseal right now until the now from now who complete memories for those who are now in this House only truth will be heard from the mouth

    Hello

    Start - type in the search-> CMD box find top - make a right click on - RUN AS ADMIN

    To the guest who is probably similar to C:\Windows\System32 >

    This type by replacing X with the correct drive letter.

    CHKDSK X: /f /r

    Where X: is the drive letter for the external drive - spaces after: and f.

    C:\Windows\System32>chkdsk X:/f/r

    I hope this helps.

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

  • Close a non-LabVIEW with the LabVIEW program?

    I have two programs running on the same computer.  One is a 3rd party software that collects data from a sensor and generates files.  The other is a LabVIEW application that analyzes the files before deleting them.  (The 3rd party software is written in LabVIEW, but closed source).

    I want to stop the 3rd party software automatically whenever my LabVIEW application stops.  If someone stops the LabVIEW application without stopping acquisition of data on the 3rd party software, hard drive fills up with files in one day about.  Not good!

    Is this possible without turning off the computer?

    "kill Task" in command prompt will help you achieve what you want? Use systemexec in LabVIEW to do this. After the back if this is not what you want.

    Mathan

  • How to hide the command prompt window when using exec system

    Hello, I use the exec system VI to do some transfers of files for a LabVIEW application.  I'm afraid that the black white scroll text command prompt window that appears when exec system is called might scare users this LabVIEW application non-tech savy.  Is there a way to hide the command prompt window?

    Feed a REAL running reduced entry.

    Mike...

  • Execution of multiple lines of command at the command prompt (windows)

    Hello

    I'm vascular using the command prompt in the windows to try to send a command to the microcontroller that is connected through TCP connection.

    I am able to use the normal cmd.exe to send the command but I am unable to send the command all successfully using labview.

    The Vi. I use the exec.vi system found in the labview connectivity section.

    Basically, I want to send is 'telnet A1' motion in the cmd.exe to establish a connection to the microcontroller, followed by "For A1 100 GO," which will be performed by the microcontroller to do what is necessary. But currently, the problem is that I can only establish a connection using the exec.vi system but can't send the second part of the message 'for A1 100 GB".

    My command line, I tried typing is cme.exe /K telnet A1 & for A1 100 GB. It seems that labview is only able to run the first part of the command. Y at - there no alternatives?

    Thank you for all your help.

    I suspect that there are problems of synchronization with this code. Forst, you should clean it to the top because it is very difficult to follow. Cables are hidden under objects, this is a lot bigger than a view type and the code is usually very disorganized. I also suggest that you look at using a state machine, but also a structure of the event to intercept the user interface events such as the Start button.

  • Run as administrator command prompt using the exec.vi system

    I have an application that will not open unless it is executed via the administrator command prompt.  I found a way to add a shortcut on my desktop to open (Administrator: elevated command prompt) but do not know how to open programically this program.  Does anyone have a quick and easy solution to this?  I want to open the administrator: elevated command prompt and then start writing my orders.

    Thank you!!

    Difficulty with the command line: cmd/r 'Elevated Command commandes.lnk ".

  • How to make a LabVIEW program auto adjust the resolution of the window

    How to make a LabVIEW program that I wrote auto adapt to any size window.

    You have a few options in fact.

    Right click on the VI icon on front panel (top-right). Then select Properties VI---> window size.

    You can check 2 boxes it: 1 maintain proportions of window for monitor resolutions 2. scale all objects on the Panel before the window resizes.

    I think 1 is the one you want.

    If you are not satisfied by the results, do what I usually do. Create a different front for different resolutions by changing the resolution of your development computer. Detects on the resolution of the computer code target of your executable file, and then open the Panel before which best fits. If a PC has none of the resolutions you display a message that prompts the user to change the resolution, before it run your executable file.

    I hope this helps. I know it is one headache but what else can you do.

  • a way to talk to the command prompt without using exec.vi system

    I had used exec.vi system in recent weeks to send commands to the command prompt and then bring back the exit in labview. All of a sudden this week the vi does not work and I can not even an exec.vi system output when I send the same commands that I sent before. I was wondering if there was another way to send & receive orders from the cmd prompt in labview without using exec system?


  • command prompt screen appears at startup

    Hello

    on startup, I get a screen with the message C:\DOCUME~1\user\STARTM~1\programs\startup\lost.exe command prompt

    CPU NTVDM encountered an invalid statement CS:11e8ID.06ez op: 636 c 617373
    (16-bit MS-DOS Subsystem) choose close to terminate the application
    Yahneev

    Whatever lost.exe is, he has a problem.  Or the other

    • Reinstall (if you know what it is and what to keep),
    • uninstall it (in Panel of > Add/Remove Programs), or - at least -
    • Remove lost.exe from C:\DOCUME~1\user\STARTM~1\programs\startup\

    To remove:
    copy and paste or type

    C:\DOCUME~1\user\STARTM~1\programs\

    in the start > run box, and then click OK.  The folder opens in Windows Explorer. You can then select and remove lost.exe (if you have not unchecked "Hide extensions of known file types' in tools > menu folder Options, you won't see that lost (without the .exe)).

    FYI, the "long file name" different folders in this path are

    C:\Documents and Settings\Utilisateur\Menu Menu\Programs\Startup

    If use you it in the start menu > run box, surround it with double quotes ("")

  • XP Pro do not include USB drives in the command prompt, but are listed in my computer

    I'm having problems with my CD/DVD drive (not written) and I'm doing a bootable ISO... file flash memory this procedure requires using the command prompt: diskpart, list disk, etc. when I get home "list disk" all I get is the HARD drive... USB key is not there... it's listed in my computer and in the remove hardware in the system tray... even in the BIOS there is a USB bootable devices...

    Any help will be appreciated, because I need to see the flash memory in the command "list disk".

    Thanks in advance!

    Hi abbasbd,

    Follow the steps in the article.

    Advanced troubleshooting tips for General USB for Windows XP problems

    Your CD or DVD drive is missing or is not recognized by Windows or other programs

  • How can I run CHKDSK /F on a blue screen on Windows XP? I can not at all to a command prompt.

    I accidentally shut down my computer for an update.  Now I can only get a blue screen with a message saying that a problem has been detected and I need to disable or uninstall any anti-virus, backup utilities or disk defragmentation.  He told me to check my hard drive configuration and to search for updated drivers.  Then it is said to run CHKDSK /F to check for hard drive corruption.  The technical information is: 0 x 00000024 (0 x 00190203, 0x8638c6c8, 0xc0000102, 0x00000000).  I can't run Windows in safe mode, I can't seem to run in its final configuration, nor can I get it to go to a command prompt - it just goes back to the blue screen.  I also tried to put in my XP disc that came with the computer, and it helps not at all either.

    Unfortunately, the Microsoft Answers forum still does not prompt for any kind of information system when a new question is asked, so we don't know anything about your system.  Not knowing the basic information a problem prolongs the frustration and the agony of these issues.

    Maybe someday the dialog box 'ask a question' forums XP will ask these questions automatically when a new thread is started so I don't have to ask every time.  It might even be possible to solve a problem in a single response when enough information is provided.

    I think I'm about to lose hope on this fantastic.

    The question was preceded by a loss of power, aborted reboot or abnormal termination? (This includes the plug pulling, buttons power and removing the battery).

    These can cause corruption in the file system that must be fixed before you do anything else.

    If none of these events occurred (or even if they have not taken place), you must verify the integrity of your file system before anything else (especially "try" things).

    There is zero logic to begin to try to begin to try to modify or copy files to a hard drive that has a corrupted file system, so this must first be fixed using the XP chkdsk program and run chkdsk on your hard drives may solve your problem completely.

    Use the XP Recovery Console to check the file system on your HARD drive and fix the problems and then try to start your system - this may be all you need to do.  Or, you are welcome to just start trying things that might work.

    Boot into the Recovery Console Windows using an XP bootable installation CD.

    If you have no XP bootable media (or aren't sure you have) create a bootable XP Recovery CD of Console and do not forget.

    This is not the same as recovery disks that may have come to a store to purchase the system.

    You can make a bootable Recovery Console CD by downloading an ISO file and burn it to a CD.

    The ISO bootable image file you need to download is called:

    xp_rec_con. ISO

    Download the ISO from here:

    http://www.mediafire.com/?ueyyzfymmig

    Use a new CD and this simple and free program to burn your ISO file and create your bootable CD:

    http://www.ImgBurn.com/

    Here are some instructions for ImgBurn:

    http://Forum.ImgBurn.com/index.php?showtopic=61

    It would be a good idea to test your bootable CD on a computer running.

    You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive.  These adjustments are made before Windows tries to load.  If you miss it, you will need to restart the system again.

    When you start on the CD, follow the instructions:

    Press any key to boot from CD...

    Installing Windows... going to pronounce.

    Press 'R' to enter the Recovery Console.

    Select the installation that you want to access (usually 1: C:\WINDOWS)

    You may be asked to enter the password (usually empty).

    You should be in the folder C:\WINDOWS.  It's the same as the

    C:\Windows folder that you see in Solution Explorer.

    The Recovery Console allows base as file commands: copy, rename, replace, delete, chkdsk, fixboot, fixmbr, cd, etc.

    For a list of the commands in the Recovery Console, type help at the prompt of commands or read on here XP Recovery Console:

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/recovery_console_cmds.mspx?mfr=true

    A good idea before you start things must first verify the integrity of your file system by using the chkdsk command.

    In the command prompt window, run the chkdsk command on the drive where Windows is installed to try to fix any problems on the afflicted player.

    Running chkdsk is fine, even if he finds no problem.  It won't hurt anything to run it.

    Assuming your boot drive is C, run the following command:

    CHKDSK C: /r

    Let chkdsk finish to correct the problems, he could find.

    It may take a long time for chkdsk complete or they seem to be "stuck".  Be patient.  If the HARD drive led blinks always, chkdsk is something.  Keep an eye on the amount of the percentage to be sure that it is still making progress.  It may even seem to go back sometime.

    You must run chkdsk/r again until it finds no error to correct.

    Remove the CD, and then type "exit" to exit the RC and restart the computer.

    You have not to set the BIOS to boot the disk HARD since the CD won't be.

  • system files and command prompt does not work

    For the last two weeks, I'm having a nightmare. I disabled system restore and when I turned it on again every thing had stoped working (microsoft word and works procedssor), the user account micxrosoft help and support).

    I tried using command prompt, but it does not work properly. When I typed in the shadow of the list he has the right to copy, my name and disturbing without clichés present in this system.  When I go to system restore I just get ablank screen white. If I go into system the control panel says that my C drive is followed.

    I don't know what else to do Windows XP came with the perchase of my little computer. I only am not computer savvy very please check all instructions fool proof. Please HELP, as all I want for Christmas is saystem restoration. Thank you very much

    Please provide additional information on your system:
    What is your system brand and model?
    What is your Version of XP and the Service Pack?
    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..
    The afflicted system has a CD/DVD drive work?
    You have a true bootable XP installation CD (it is not the same as any recovery CD provided with your system)?
    It seems that your system has or has had a malware infection.
    What is the issue that you are experiencing that you think that the system restore will be remedied (or you are just convenient)?  System Restore is not a time machine...
    You should be able to get your system restore calendar works again quite easily, but who will not only relieve your system of malware.
    Don't forget to fix the problem and the difficulty not only the symptom of the problem.
    If you disabled the system restore and he turned his back, which removes all points existing restoration (this is how it is supposed to work).
    I run a few scans of such malicious software indicated below, then work on all the remaining issues.
    Sometimes malicious will afflict your system restore to prevent you to find and remove malware.  It would much rather you trick into thinking that you need to repair or reinstall your XP when it is not necessary.  System Restore is sometimes so afflicted, you need to reinstall the system restore (you don't have to reinstall XP - just reinstall the system restore).
    No matter what you use for protection against malware, I do so and then only begin to solve any problems:
    Download, install, update and do a full scan with these free malware detection programs can solve any problems:
    Malwarebytes (MMFA): http://malwarebytes.org/
    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/
    It can be uninstalled later if you wish.
    Restart your system and resolve outstanding issues.
    If your system restore calendar is always to show just a blank white screen, do the following:
    The scans using own it may also be necessary to re-register some dll (or you can do this part first, but you still have to do the scans).
    Re-record the dll is correct, even if they do not need re-registration.  You can also re-register the dll before the scans that can solve the problem, but the scans are always recommended.
    Click Start, run, and in the box enter orders following one at a time.  Click the OK button to execute each command one at a time:
    regsvr32 jscript
    regsvr32 vbscript
    regsvr32 /i mshtml
    The last order for mshtml load the DLL but can also contain a harmless warning depending on your environment.
    Check your system restore calendar now.

    Do, or do not. There is no test.

    Someone please tell me how to make figgy pudding like these kids keep saying they won't until they get some.

    I decided to implement the points for a new puppy instead of a pony!

  • my laptop keeps going to start page.__No regardless of which option to choose, that is to say. safe mode, safe mode, safe mode with command prompt, the last known good configuration, start windows normally, it's always the same

    my laptop keeps going to the start page. No matter which option I choose, IE. safe mode, safe mood with networking, safe mode with command prompt, last known, good configuration start windows normally, it always comes back to the same screen. saw this post before and the invloved boot cd solution. I have not a cd ROM is there another way to solve this problem. Thank you people

    Thank you for taking the time to make this post very informative, excellent. Without the machine test myself that I can't be sure, but based on the age of the computer and what you wrote I suspect for lack of material. It could be something simple like the hard drive or RAM or something more serious like the motherboard. I wouldn't recommend replacing any material on such an old laptop.

    As long as the hard disk has been physically, you can recover your data easily. If the hard drive has failed, then you will need to send the drive to a professional drive savers data recovery company. It is quite expensive ($500-3700), but they can usually recover your data. Some insurance policies cover also, professional data recovery in order to check with yours. But let's be optimistic. ;-)

    IMPORTANT - If there is no question that the drive is at fault - there are noises, for example - and the data is crucial NOTHING else ON THE DISC. Whenever launch you this player you can destroy data. If this is the case, send the drive to a professional data recovery company.

    I'll give you the information on how to test the hard drive to see if it's good physically and how to recover data when you can't in Windows but in doing these things requires a certain level of computer skills. You know yourself the best and that it would be better to take the laptop to a competent local professional. If you do this, do not use a type of BigComputerStore/GeekSquad of the place. Get recommendations from family, friends and colleagues.

    A. test equipment

    Test the hard drive with a diagnostic utility downloaded from site of the disc mftr. or use SeaTools for BACK of Seagate. You create a bootable CD with the files you download. You will need a third party burning software to do as the free ImgBurn, Nero or Roxio. Burn as an image, not in the form of data.

    http://www.ImgBurn.com

    http://www.Seagate.com/www/en-us/support/downloads/SeaTools/seatooldreg
    http://Seagate.custkb.com/Seagate/CRM/selfservice/search.jsp?docid=201271 (how-to)

    Boot with the CD that you have done and do a full test of the reader. You will probably need to change the boot order. Your Dell can give you a temporary boot menu if you press F12 as the computer starts. If so, use your arrow key to select the CD drive. Otherwise, press F2 to enter in Setup (BIOS) and change the order of boot on the CD drive first. If the disk fails all physical tests, it must be replaced. Although readers of the laptop cost around $60, you should really consider if it is to put money in such an old machine. You can replace the disk, but the laptop is definitely at the end of its normal life and something else is doomed to failure.

    There is information about the RAM test and other materials here:

    http://www.elephantboycomputers.com/page2.html#Hardware_Tshoot

    B. retrieve data detach a healthy disk when you are unable to Windows

    1 remove the drive and put it in a box of USB drive or use a USB adapter. Attach it to a computer that is running a working XP/Vista/Windows7 installation. Use the work of Windows Explorer to copy the data to the hard drive of the system to the rescue and burn data on cd or dvd.

    2. you can start the target computer with a Bart PE (if you use XP) or a Linux live CD like Knoppix and retrieve the data in this way. General information about the use of Knoppix for this are:

    You will need a computer with two cd records, which is an engraver of CD/DVD OR a USB stick with a capacity to hold your data OR an external USB hard disk formatted FAT32 (not NTFS) *. Download Knoppix .iso image file and create your bootable CD. If you do this in a previous (XP or Vista) operating system, you will need the third burning like Nero, Roxio or the free ImgBurn software (Windows 7 can burn .isos natively). Burn as an image, not in the form of data. Then boot with the CD that you created, and Knoppix will be able to see the files in Windows. If you use the USB key or an external hard disk, right-click on its icon (on the desktop) to get its properties and uncheck "read only". Then click on it to open it. Note that the mouse action by default in the window manager used by Knoppix (KDE) is a simple click to open instead of double-click traditional MS Windows. If you want to burn CD/DVDs, use the K3b program.

    * My understanding is that you can now write on NTFS from Linux partition. If you wish to do this, Google for instructions on the use of the NTFS driver.

    http://www.Knoppix.NET
    http://www.nu2.nu/pebuilder/ - Bart PE Builder

    C. recovery of activity for the future - http://www.elephantboycomputers.com/page2.html#Backing_Up MS - MVP - Elephant Boy computers - Don ' t Panic!

Maybe you are looking for

  • Recover password does not

    I get email when you try to retrieve my password, but using the link in the email or the seizure of message code produces this message every time... "Sorry, we couldn't find a Skype account for you. Please contact customer service for assistance. »

  • Reduction of storage

    my phone begins to show the alert of low storage since yesterday. After the removal of a few photos and videos, I managed to release about 1 GB of space. But the low storage alert popped up again in just 15 minutes. I have not download or update the

  • Non-genuine window

    Window used for 2 years and a half window then simply update, now system say this not genuine window?

  • In Excel 2007, copy the conditional formatting cells is very slow

    I've just upgraded to Excel 2007 (SP 2) since 2000 in the hope that it would be faster.  I have a large spreadsheet consisting of a database of about 5000 lines and a number of leaves each grids showing cells of 7 x 7 with conditional formatting in e

  • Why don't my Aero Peek standing?

    I fly over an open program on the taskbar, and the glance stands for a fraction of a second, then goes.  Subsequently, if I right-click a calendar entry in Outlook preview appears and disappears after a fraction of a second.  I think they are related