Interfacing Labview with .EXE file

I need to create a GUI in labview that can interface and run dos commands (codes) from .EXE file.how can I achieve this.
Please advice.

...and in general it will not help posting the same question in various forums..., as here

Similar Messages

  • Stand alone labview application (.exe file) does not run properly

    Hi all,
    I am trying to make a stand alone labview application to run on another computer ( I have never done this before).
    I went through the tools->build application prompts and was able to build an exe file.
    the program is supposed to control a power meter and make power measurements then save them to a text file.
    When I run the exe file, on the same computer I compiled the exe file on, the program generates a text file to save data to but it can not communicate with the power meter.
    There are some sub-VIs and a dll file that are used to communicate with the power meter. Could it be that I am not telling labview to correctly
    include these files when I create an executable?
    What are some common problems that occur when generating stand alone applications that could be causing my issues?
    And does anyone know of any good tutorials on generating stand alone applications in labview other than the NI help files?
    Thanks for your help,
    Solved!
    Go to Solution.

    edCubed wrote:
    Hi Bill, thanks for your suggestions.
    I haven't tried to run this app on another computer yet. I'm just trying to run it on the computer it was developed on.
    The computer I developed it on has all the drivers/resources I need to control the power meter.
    Also, I don't know how to include the VISA runtime with my installer. could you explain how this is done?
    This is the first time IV tried to turn any labview programs into stand alone exe files so I don't anything about how to do it other than what I've seen in youtube videos and help files.
    If you know of any good tutorials that will help me figure this out I would appreciate it.
    Thanks,
    My fault - I didn't read that this was the same computer.  I know the very end of Core 3 studies shows how to build an executable and installer, but even that is very general.  I'm not sure if there exists a tutorial on how to do it.
    As for including the runtimes, when you build an installer, you have to include the runtimes that your executable will need.  It's fairly straightforward.
    Since it won't run on the machine that built it, I'll have to think about it a little bit...
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Conditional Interface Determination with Flat Files

    Hello,
    I have one sender interface (dummy) which could either hold a flat file or an XML file. On receiver side there is one system with two receiver interfaces, one should be used for the XML structure and one for the flat structure.
    My requirement is to have a conditional interface determination with an (exclusive) OR logic. Pseudo code:
    The XML structure has "submission" as root node. So I use the condition (/submissioin) EX to determine whether it is an XML file and I check with not(/submission) EX to determine whether it is a flat file. However the condition does not work using a flat file ("Unable to find an inbound interface"). Could it be, that the conditional expression never is true in case a flat file arrives? How can I achieve this requirement?
    What I additionally do with the flat file is just calling a Java Mapping that sets dynamic attributes for a file receiver, the flatfile itself is dumped on a file system without any addtional conversion logic.
    Thank you for your advice.

    How can I ingnore a message in case a condition applies? I am just aware of the fact that you can ignore messages in case NO condition applies.
    Couldn't you simply reverse the logic and use "not equals"? Or perhaps you can use the EX operator to alter your conditions... here is more info on the EX (exists) operator
    Re: ConditionEditor: Check if element is empty
    What is best practice in this case? Should I use a "dummy receiver"? However if I use a dummy receiver I think I would receive a "interface determination not found" error. How would you do that?
    I've never found the need to work with dummy receivers so I cannot comment there.

  • Installing Windows 7 with .exe file

    Hello there.
    I partitioned my HD to have at least 30 gigs for Windows, except it doesn't have the option to install with a .exe file.
    I'm currently under the microsoft academic alliance and need to emulate windows in order to run a program made only in the windows environment. I downloaded Windows 7 from the MAA site but there seems to be no way to run a .exe during the BootCamp installation process.
    So my question is: is there a way that I can install Windows 7 with BootCamp using the .exe download file?
    Thank you for your time

    NO.... he has a workstation, and not MBP, nor are "drivers already loaded."
    How I would proceed -
    Install Windows on its own drive. 
    Pull all the other drives.
    Boot from Windows 7 Pro DVD
    Forget Boot Camp Assistant, it doesn't do anything - unless you really want to install Windows on the SAME drive as Mac OS - not ideal and not what most of Mac Pro owners do.
    Just insert your OS X DVD once Windows is up to date - helps to buy the SP1 OEM version $129.
    Run Apple SETUP.exe (Boot Camp 3.0.x drivers) and update with ASU or manually to 3.2.
    No you don't need to go back and use that ATI. And you dont' want to be in the situation of changing from ATI to Nvidia and all the hassle that adds. you are fine.
    The Mac Pro is as close as anything to a standard Wintel workstation. 
    Add MS Security Essentials or KIS or whatever you favor. KIS2011 or NIS2011 are good, MSSE 2.0 is free and based on their enterprise product.
    AV-Test.org Test Security-Software

  • Interface labview with the test board to identify opamp pins automatically

    is it possible to interface LABVIEW to a test board in such a way that the input, output pins of an op amp (8, 10, 14, 16 pin opamps) are identified automatically when DUT is placed in the socket

    pratheek wrote:
    Thanks alot. pin numbers are variable. I need to test the functional and test parameters for 8, 10, 14, 16 pin opamps.
    The first thing you need to do is ensure that +VCC, -VCC, and GND are always connected to the correct pins.  I think the best way to do this is have preset wire options that you manually select with some switches (reduces the complexity of the LabVIEW controlled wire switching).
    pratheek wrote:
    The desired out put for my project is to check the functionality of the opamps
    I understand the end goal, but what you need for first specity is the test sequence.
    1. Identify In/Out pins & number of op-amps.  What is the sequence for this??? What voltages do you apply to the various pins and what is your desired outcome???  How do you identify each pin as in/out and whether they are for OpAmp1, OpAmp2, etc.  Since this sequence will inevitabely apply voltage to the output pins, make sure your test sequence doesn't damage the chips.
    2. After identfying each op-amp, what is the test sequence for evaluate its "functionality"??  Do you wish to evaluate the gain for various resistor combinations in an external circuit????
    3. Now with your test sequences outlined, you can finally begin on getting LabVIEW to implement these functions.  I'd use the DAQ digital outputs to a decoder (3-to-8 or 4-to-16).  Use the outputs of the decoder to control switches (these switches control the connections between a second DAQ and the test pins).  A third DAQ may even be necessary to control the selection of various test resistors.  Keep in mind that each of these switches will add resistance to the path so your evaluation must be made measuring the voltages at the op-amp pins (not using the sourced voltage values).  Planning the full measurement sequence and requirements before you start will not only help guide your program's development but it will tell you which DAQs are useful and how many you will need.
    This is quite an undertaking and we can't really provide any help on the LabVIEW end until you have a full write up of what you want to happen and how (step-by-step details).  Once you have that, start thinking about the sequence of events your code will have to follow to make it happen, then come back for guidance/help.

  • Interface Labview with custom board

    Hello, I want to use Labview with a board I designed. To be brief my board has an Altera FPGA, some memory, and a fiber-optic transceiver. I want to develop a Labview program to display the data I'm receiving from my fiber-optic transceiver. I want to know if this is possible to have Labview interface with a non-National Instruments board? What do I need in order for Labview to work with my board. In my previous design I had the received data written directly to the computer's main memory. Could I do something like that, just tell Labview where in memory to get the data to be displayed?
    thanks,
    joe

    Absolutely. I'm doing that right now with VISA. Look at the posting here. There are some links there in how to procede.

  • Create boot cd with .exe file in OS X

    I'm trying to creat an install disc for Windows. Is it possible to create a CD ROM that will boot with a .exe file in Windows using OS X.
    Many thanks.

    You say boot with an .exe file. Do you want it to boot Windows (which doesn't use an .exe file per se as the boot methodology) or do you want it to start the CD automatically and run this .exe file?
    If so, make an autorun.inf file with the instructions to do that. To figureout how, try a Windows forum or just look at any autorun.inf file so you can see the wording. It is just a text file. Called autorun.inf of course.
    To make a bootable CD (to boot the PC) you will need Nero or some similar Windows application.

  • Need help with exe file.

    I am attempting to get an exe file to play on load. How would
    I insert the exe file in dreamweaver 8 to play when the page loads.
    Very similar to loading a flash movie. The file is created with an
    exe extension and I can not change that or recreate. any help is
    appreciated. Thanks

    In general you cannot do this on anything other than an
    intranet. Is that
    where you are working? If so, then you would have to
    investigate using
    ActiveX to fire that exe file - check the Microsoft site....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "brananc1" <[email protected]> wrote in
    message
    news:ee265m$lct$[email protected]..
    >I am attempting to get an exe file to play on load. How
    would I insert the
    >exe
    > file in dreamweaver 8 to play when the page loads. Very
    similar to loading
    > a
    > flash movie. The file is created with an exe extension
    and I can not
    > change
    > that or recreate. any help is appreciated. Thanks
    >

  • Error occur while interface labview with power and harmonic analyser

    hello,
            i done a project to test coreloss of motor. i our project we met some some trouble while interfacing labview software with navonip power and harmonic analyser through rs 232 communiation.i generate some error msg when i am using *IDHN? command to communicate with this hardware......  so i need ur technical support

    You will have to supply more info on the error(s) you encounter. Is there a command that does work as expected?
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • File copy does not work with exe files

    I used BufferedReader and BufferedWriter to make copy of an exe file in local drive. Nothing was strange in this code. But I wonder the newly created exe file is denied "..exe is not a valid win32 application" by Windows. I could see the bytes are copied. Is that something like header of exe file is damaged etc ??

    Readers and Writers are for text. For binary data use InputStream and OutputStream.

  • Any way to use an App Tab with exe File (such as Thunderbird.exe)?

    I'm trying to set up an App Tab in Firefox 4 Beta (9) to call up Thunderbird. But when I put the location of the exe file in the address window, Firefox sends me to the download manager, and won't open the file otherwise. I'm assuming you can't open an exe file in Firefox, but is there another way to get a tab that will open Thunderbird so I don 't have to do it separately? Thanks

    Try the Get Mail extension: <br />
    http://webdesigns.ms11.net/getmail.html
    ''''' "Get Mail's default path is set to access a normal Thunderbird install in Windows." '''''

  • Problem With EXE File In WAR

              Hi,
              I have a web application packaged as a war file which contains a EXE file. I also
              have several JSP pages within the same WAR that point to the EXE file. When using
              basic authentication, there is no problem. The client can click on the link and
              gets prompted to save the EXE file.
              The problem happens when I use form-based login. When the user gets prompted to
              save the EXE file, the '.exe' extension is lost, and the file is therefore saved
              without the .exe extension.
              Does anyone know what's going on, nad how I can correct this?
              Thanks very much.
              Dan
              

    This application is purely doing analysis of data taken by a different system. The data is input to this code by using dialog to identify the path to a stored data file and then this code does some pulse analysis. But there is no GPIB, serial port or anything (?) that I know of hardware wise is involved. Nor do I think there is any NI-VISA involvement.
    The numeric value is a time (in seconds) between two events in the data file. The value should be close to 12.5 usec or 12.5E-6 as read out by the numeric indicator. On all the machines where this code works ok, that is what you get but on this one laptop we consistently get 0.00E+0. If it wasn't for the E+0 telling me that at least this indicator is reading in scientific notation, then I
    would think somehow this indicator just had the wrong format or precision but since the E+0 is there, it seems to say that zero is being fed into this point in the code.. ??
    Also, I had the owner of the laptop tell me how many folders he found in his C:\Program Files\National Instruments. His answer was three, Data Socket, Measurement Studio and Shared. And inside Shared he has at least the 6.1 Run Time Engine as he would have to have to run these executables. But he DID NOT have NI-VISA. Does anyone think it would need to be there??
    Also, we tried the .ini file approach that was suggested in another post but that didn't help... Any thoughts?? thanks... paris1

  • The root cause for the case that "cannot close labview-generated exe file"

    Hi All, I have a big program including a lot of things. When I converted it to an exe file, it cannot be closed properly. I used to load the dynamic vi in this program and cannot close it by clicking "X" of the window. Now I have removed that dynamic load but still cannot close the exe. Could anyone give me some advice? Thank you!

    Hi Freelance_LV, thank you for your advise, here is a program for a USB dongle. Here are the answers:
    for now, questions:
    1. how are you closing the EXE? Panel close (X) on the top right corner/stop or exit button on the GUI?
    [A] I use (X) on the top right corner but it did not work. But when I use exit button on the GUI it worked.
    2. Or are you using a FP Close invoke node?
    [A] No
    3.how are you handling the event for Panel close or for Stop/exit button?
    [A] events are inside a sequence frame
    how many loops are running in parallel inside the EXE?
    [A] It is hard to tell. I am not the original creator of this code, but the main structure is this: a big "for" loop, inside there are some sequence frame, and some events in one of the frame.
    how are you stopping those loops when the panel is closed or a Stop/Exit button is pressed.
    [A] the main loop inlcudes some events, sequence frame, and something like this. And there is a subvi from some previous people's work to close USB. 
    have you checked if all the loops are closing when you stop the EXE?
    [A] Sorry I don't know how to check all the loops are closed.
    does this work well when you run the source code?
    [A] yes source code can be always be closed well.
    have you checked for any errors when yuo stop your EXE?
    [A] sorry I don't know how to check for errors?
    when you say it cannot be closed properly, there could be two things:
    1. the front panel/GUI does not close and it stays there. you cannot perform any GUI actions, or it seems to have hung.
    [A] Yes GUI still there. But cannot perform any GUI actions.
    2. the GUI closes but you can still it in the task bar below, you will have to use the Task manager to force close the executable.
    [A] Not this case.
    Thank you very much!

  • Interface LabView with IP camera which supports MPEG4

    Hi,I would like to know is there anyway in which LabView can interface with an IP camera that only supports MPEG4?
    I need a simple program where LabView is able to capture live video or image from camera and save them as a file which can be send through email.

    Hello
    Even i am unable to interface my android smartphone camera with labview even when i used IP Webcam and droidcam.
    Although it has been interfaced as it shows my cam in MAX but it doesnt show the camera in the program i made for video acquisition.
    the same program works well for my laptop camera.
    I am attaching the screenshots as well.
    Hope u help me out with.
    Also if possible can you guide me through a link of its tutorial if i am wrong.
    Attachments:
    Capture1.JPG ‏30 KB
    Capture2.JPG ‏43 KB
    MAX 1.JPG ‏119 KB

  • Interfacing LabVIEW with Meta Morph Journal

    Hi
    I'm just starting a project where I must fully automate an experiment involving a microscope and a microfluidics manifold. I am planning to use LabVIEW to control the manifold and Meta Morph Journal to program the motions of the microscope stage and I'm wondering if it's possible to interface the two (i.e. have one talk to the other to coordinate the actions).
    Thanks

    Hi Shaheen,
    You can get started by followind this tutorial which explains how to add your instrument so that MAX can see it and establish communication with the device.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

Maybe you are looking for

  • Getting the filename of a placed image inside a smart object

    Hi I'm wondering if I can get any help with a problem I'm trying to overcome for a friend of mine. My friend is a photographer who does a lot of schhols work (pupil portraits) and wants to create a little document similar to this (very simplified) ve

  • Apple Script Help

    Hi,   I wrote the below script to delete files of a particular folder, but now I want to do that to the Documents folder. I tried using this script but it didn't work. Any ideas? Or any entirely different script that might work. Thanks. tell applicat

  • Mac installer wont even start...

    Hi, On my very old and wise G4 at home, the installer crash at startup, even when the installer is copied on "real" hard drive, not the mounted DMG... EXC_BAD_ACCESS (0x0001) KERN_INVALID_ADDRESS (0x0001) at 0xda000000 Thread 0 Crashed: 0 CSMemDispos

  • Nano 5 cannot by synced with unknown error 13019; can't download restore

    I know there are variations on this problem, but I didn't see any quite like what I'm experiencing. New Nano 5. Connected it to itunes it synced ok. The next time I attempted to resync, I got unknown error 13019 and it wouldn't sync. I reset the Nano

  • Connection drops/slows down on new Macbook Pro but works perfectly on older

    Hello, I have 3 Macbook Pro's and one AirPort Extreme (bought dec 2008), *all has been working flawlessly* for a year until about two-three weeks ago. *This is what happens:* _Old Macbook Pro (2007)_ - *Works perfectly 100% of the time*, always at le