Executable file do not write in tdm/PDM files.

Hello

I wrote a wrapper around a VI that controls the entries to designed the hardware and monitors the outputs for the prolonged lifetime of testing purposes.  We use compact DAQ for control and data acquisition.  We do not wish to moor a LabVIEW license for six months to run the desired test, I compiled an executable and built an installation program.  Everything worked without problems on a PC with LabVIEW and everything seemed to work well on a PC without LabVIEW with the executable... until I decided it was time to start analyzing the outputs recorded (tdms files).  The application is able to not control my material, no problem, I could see it passes through different States and key measures that I display on the user interface are valid, but the log files are simply cannot be created, not even an empty file.  At the lowest level, the open storage VI [TDM] is called to open or create the file (filename is entered by the user or created with timestamp if he did not) and each 'bit' of data is written by writing data [group of channels] and write data [channel] live on the PC with LabVIEW, the output files are created without problem.

Did not work with executables before.  How can I start to debug (without installing LabVIEW on the PC in question - and when all goes well when run on a computer with LabVIEW installed)?  Have tried to build the executable with active debugging, but do not know how to "enable" debugging or a walk through as in LabVIEW... or if it's even possible...  I don't get warnings or errors during the race.  Is there something special I need to do in the construction of my executable or installer, particularly writing executables TDMS files?

Thanks in advance

-Andy


Tags: NI Software

Similar Questions

  • new components written in tdm/PDM file not found

    Hello

    I try to record some simple thermocouple data in a file of tdm/PDM.  I run my vi and it seems to work perfectly. I use the example started get NEITHER 9213 as base and added tdms open, PDM defined properties, PDM write, and PDM closes.  I can see the data in streaming on the waveform table, but when I hit stop and pick up the saved file I can't find it.  What I am doing wrong?

    Thank you


  • executable file does not run subgroups

    Hi all!

    I have to write a labview program that runs several screws according to what the user wants. Thus, in order to test different screws if something goes wrong, that I built a managed event structure with a controller of the tab. Each tab has a secondary that points to a VI that I need control of the main panel, once the application is running. Everything goes perfectly until I build the executable when everything is loaded by hand, but I can't control anything! (I continue to press the buttons, but they do not activate anything). All the buttons of an event in my control structure (measures DC motor, Records control, stop measures, etc.)

    In the attached picture, there is an example with my VI which controls a power supply for a motor continuous. This is supposed to be controlled by the button 'Set of tension' and every time you click this button the user can simply update the voltage until they are satisfied. However, despite the fact that everything works in the main labview VI, the executable file does nothing!

    No idea what I would be missing / doing wrong? How are we supposed to use supPannels in order to work in an executable file?

    Thanks for any help anyone can provide!

    simm01

    The compiler does not include in this context, the way constants. You will need to 'always include' in construction, or replace them with a static ref VI, in which case they will automatically be included in the compilation.
    /Y

  • Can not run the executable file by LV7.1

    Hi all

    I'm surprised, I can't build and run the executable file LV7.1.

    I used to write a few vi with LV7.1 and built the executable according to these vi. It was no problem to build and run this executable file at that time. Now I can open these vi well with LV7.1, bu I can't run this executable file, it will be a mistake, please refer to the attachment. I'm trying to compile an executable file according to a simple vi, and then I can't run this exe file much more.

    Can you help me solve this problem? Thank you in advance.

    Evan

    @Christian: this is not correct.

    One of the reasons to do this is if LV 7.1.1 is installed, and then you install an application, including the runtime engine built in 7.1. It corrupts the execution engine.

    See here: http://digital.ni.com/public.nsf/allkb/680E61A4D02158A186256F7A0073C228

    Daniel

  • whenever I try to, the open, Tunes, I have, get, message:, the file, "Ditties", is, on, to, locke d, drive, or you do not, write, permissions, for, this, file., Suggestions, to get on the past, this?

    whenever I, try to open it, Tunes, I have, get, the, message:, the folder, "Ditties", is, on, to, locke d, drive, or you do not, write, permissions, for, this, file., Suggestions, to get over the past, this??

    How about you post that again without commas and maybe then I'll read it?

  • The file I tunes is on a locked disk or you do not write to this folder permissions

    install iTunes on pc tha

    The file I tunes is on a locked disk or you do not write to this folder permissions

  • error: could not write the destination file (1 003)

    I am trying to export 40 photos of Photos.  I just installed OX El Capitan.  Only 13 of them get downloadable.  For the rest, I get this message: error: could not write the destination file (1 003)

    I tried to manually fix the library but still does not work (command + option + opening photos).

    And I do not have a backup on icloud photo library I have a backup on an external drive...

    You try to export the originals of your photos or revised versions?

    When you try to export photos to?

    You try to export to a folder on your system drive or a folder on an external drive?  If an external drive, which is the file system? And how the player is connected?

    You have permissions to write to the folder, when you export to?

  • LabVIEW FPGA: Not possible to create an executable file that uses the FPGA in Simulation Mode? I get a weird error code

    When I try to create an executable from a host VI that has an "Open FPGA VI" reference who has run, the value "Dev computer w / Sim i/o" value, the application is built without error but when I try to run it, it opens with an arrow broken to run and has the following error:

    "VI has an error of type 2302200.  The full development of LabVIEW version is necessary to correct mistakes. "In fact, he repeats this message two times in the same window for some reason any.

    Moreover, I * have the LabVIEW full development version and I use 2010 SP1

    While the error message is not as clear as it could be, you're right: you cannot run an executable file that tries to run an FPGA VI in the simulation.  It would be nice if there was an error in compiling.  I always forget to switch to run on the target FPGA before building my application and discover the error until I have it copied on the system in the laboratory.

  • Based on file format is not write to file, if there is an error defined by the user?

    While using the function in file to create a text file of some test results, I've noticed that if there is an error format on the error stream VI seems to work fine, but the Format of the file function is not actually write data to the file. I never noticed this behavior in Labview on any another function while if there is an error in this function does not work. As a general rule, if I don't want to run a section of the code when there is a mistake I have to surround themselves with a case statement and run the error stream in the case selector ignore.

    I've noticed this in a test application where I generate set errors when certain failures occur during my test, but I'd like when even the application to write my log file no matter if there is an error of no. In this case if my defined errors occur it does not write a log file. I deliberately to clear all errors before calling my VI of logging that I really don't want to do.

    So my question is why this behavior is present in the Format based on file? If it is expected that behavior are there other features that this happens with that I don't know everything?

    I have attached a VI that illustrates this behavior.

    The vast majority of the functions with an error to not not run if an error is present. In General, if a function runs with an error (i.e. close VISA), noted in the help it works even with a mistake.

  • File object property will not write as digital 0 in TS 4.1.1

    Hey everybody,

    So, I came across a weird problem and I was wondering if it was a 'feature', or if I'm missing something.

    Basically when I write a digital 0 to a file property object, using the Write method of the API, it doesn't seem to be written.  I enclose a simple example of what I want to accomplish.  Here are the steps of reproduction:

    1 - Open the movie file in TS 4.1.1

    2. run the sequence

    3 ignore the error the first time, it appears up... it has to first create the file.

    4. insert any value other than 0

    5 - run the new order (shouldn't get an error this time)

    6 see if the returned value is the same as that in which you initially set

    7-type 0 as the new value

    8. run again the sequence (no still no error... assuming you did it right)

    9. see if the returned value is 0. If you see what I see that it is not 0, this will be your original value.

    Any thoughts are appreciated.

    Thank you

    Jigg,

    If you use the ReadWriteOption RWOption_EraseExistingObject or RWOption_EraseAll when writing to the file, you will get the behavior, you need.

    The cause belongs to two.

    (1) one who is to minimize the consumption of storage space and files and to maximize speed, TestStand generally does not write default values. When reading in a file, if the value does not exist, it is assumed to be the default value.

    (2) without the readwrite Erase options, when you write to an existing file, it just adds new information to the file and does not delete the old information. For example, without erasing it would also leave previous subproperties writes to the file too.

    It is a reasonable argument to make that when you write a property with a default value, a default value already stored in the file should be deleted. I'll save this issue for future investigation, however, you really should be using one of the options delete anyway as I doubt you want to subproperties of previous writing be kept in the file either.

    Hope this helps,

    -Doug

  • executable file does not appear in the list of programs

    After installation of my executable it does not appear in the list of all Windows programs. I've built a lot of executable and installers before but this is the first time I see this. The folder is created in the Program Files (x 86) directory and the program performed well when I double-click on the .exe.

    This sw was initially developed with LV10 with WinXP then moved to LV2012 with Win7 64 bit and then to LV2013 and it uses a plugin architecture (I'm still not very familiar with this).

    I also have these following questions:

    1. I don't remember so many folder created after building an exe file (see photo "filelist.png") before moving this application to LV2013, why all these dataX folders are created? (associated with the plugins?). Except for the data folder containing my ini and xml configuration files these folders all contain a single mnu file.

    2 - Why are there some records of pilot instrument included in the compilation? (Agilent, Keithley and Tek) I'm also using other equipment, and they do not appear in the construction. These problems with the build because of their tree VI live I had to either check turn debugging on or off the use of the diagram structure on these screws diagram which is certainly not the right way to do it.

    3. probably the most important, what would be a document of reference on how to create an executable and a Setup program for an application architecture plugin.

    Thank you

    Ben64

    You use LVOOP you use the NI Report Generation Toolkit, which is implemented using OBJECT oriented programming. Already this explains some of the additional folders that you see.

    Other components are of course part of lvlibp (packed project library) and where it will not integrate the EXE itself. Also their dependencies... which may explain support directories (data1, data2,...).

    Referring to other settings, the log file does not help much. So we can not tell you why the installation program does not create a program shortcut in "start > programs". If you check the "shortcuts", you should be able to see if there is a routine in the Setup to create such a link or not. If the parameter is there, but the installation fails to create, it can be connected to the user rights that you use to run the installer...

    Norbert

  • Exec System does not work in the executable file

    Once again I have to do something stupid!

    I use the Exec System to start/stop services. It works fine on my development machine, but on a stand-alone pc only Runtime installed with a license, he simply could not start/stop services!

    I did some research and found it we configure the executable file or an alternative is to use .net to achieve this goal. I couldn't stick with Exec System to achieve this?

    Thank you very much

    Waris K

    Sounds to me like a permission error - you are running as an administrator on the development computer, but as a less privileged user on the other computer? Exec system returns an error (try adding a simple error handler)?

  • path of the image file that links do not correctly in the executable file

    I have a jpeg file in a project that I'm building which is not loading when run as an executable file.  The executable seems to be looking in the same directory that the image file was originally instead of the support folder where the image is deployed.  On another machine, the exe will look for the image in the directory, that were found on my machine.  When I drag the image file of the project on the block diagram Explorer, it creates a constant path of file indicates where the file is located on my machine.  This does not seem to update when I build the exe.  The image file is included in the source files.  Any help is appreciated!

    A constant path is... Yes indeed constant! It's not automatically change whenever someone might move the file too, whatever his imagination made her do. He does not maintain a link to the actual file it could use later to detect that the file has been moved elsewhere. In fact Windows has quite such a mechanism.

    So if you want to access an external file to your executable application to first do a correct path when running. My approach is to put in a directory from a VI file that I put in my application. Then in this VI use the way of getting current VI, band name the VI of it and add the location relative to the other file to it.

    If you do something like this:

    The project directory

    Directory of the utility

    My Location.vi

    Data directory

    MyResource.jpg

    in system development, then:

    The application directory

    MyApplication.exe

    Data directory

    MyResource.jpg

    in the application of the construction.

    With this provision, it doesn't matter even if you use the old format of executable LabVIEW 8.x or the new default format since LabVIEW 2009.

    My Location.vi is just a VI that takes a relative path in the entry (in this case "... / directory/MyResource.jpg data" called the "Current path to VI" node, use 'Band path' to remove the name of VI, then build to add this entry path, and this is!.)

  • Clean install of Windows 10 on Aspire E3 - 574 G does not download executable files

    Hello

    Hope that get responses. A few weeks back I brought a new laptop Acer Aspire E5 - 547g here in Sweden. I have my own MSDN subscription and decided the get rid of default Windows 10 OS I had with the laptop. I downloaded the copy (Enterprise) MSDN and installed a clean place. Then I started to deal with the problems. Any browser that I use, I can't download executable files on the internet. Her work very well with zip files but executable can't do. I put avast license but could not able to download the installation from their site. Not only avast, I can't download any executable. The download will for centuries without updating of the progressbar. If I try to download using download managers, the download is 99% blockage. I've formatted the OS and installed clean several times. I tried different versions of MSDN Windows 10, the result is the same. I was frsutrated on it. I real need is supported now. I hope that I'm not the only one who has experienced this situation.

    "I didn't understand most of your answer." What is my English or the technical parts. With a MSDN and several copies I'm assuming you'd understand.

    With all your changes, the common factors are only the BIOS and an external firewall/router. So if you have a second PC on the same subnet it is the same way or it downloads the extensions correctly.

    BTW when you say 'clean install' are reformat you the drive first?

  • CD/DVR Player does not read the executable files on some CDs.

    It reads files on the CD, but not an executable file. I have two computers identicle, so I can check the CD on the other to see if it works. Some CD will start auto and others do not - and when I try to search the CD thanks to explore, there are only available data files & text. Example: new Canon printer installation software not start.with game automatic or manual, since there is no file to run. The same CD works on my other machine. I replaced the CD/DVR Player with a new and got the same results. Reinstall the driver didn't work, makes me think that something in Windows is enabled or disabled causing this problem, but I don't know what it could be. I have autoplay on, and it used to work fine until recently. Help! A final clue: he's going to play the CD in Safe Mode?

    Hello

    Check your antivirus/security program. The just maybe not clear enough as is
    always load chunks of itself into memory. So uninstall it and run its creator for removal tool
    avoid problems causing scraps left. Here are the recommendations to
    use during the test and even permanently.

    List of tools to clean/uninstall anti-malware programs
    http://social.answers.Microsoft.com/forums/en-us/msestart/thread/407bf6da-C05D-4546-8788-0aa4c25a1f91/

    Here's what I use and recommend: (these are all free and very effective versions.)

    Avast and Prevx proved extremely reliable and compatible with all I have
    launched on them. Microsoft Security Essentials and Prevx have also proven to be very
    reliable and compatible. Use MSE or Avast and Prevx, Prevx 3 but not all.

    Avast Home free - stop any shields is not necessary except leaving Standard, Web, and
    Operation of the network.

    Prevx - Home - free

    Windows Firewall

    Windows Defender (is not necessary if you use MSE)

    Protected IE - mode

    IE 8 - SmartScreen filter WE (IE 7 phishing filter)

    I also IE always start with asset if filter InPrivate IE 8.
    (It may temporarily turn off with the little icon to the left of the + bottom
    right of IE)

    Two versions of Avast are available 5.x and 4.8 x

    Avast - home - free - 5.x stop shields you do not use (except files, Web, network, &)
    Shields of behavior) - double click on the icon in the Notification area - real time Orange - click on the
    Shield that you want to stop - STOP. To stop the Orange icon to show an error indicator-
    Click on the Orange icon - top right - settings - click on the status bar - uncheck shields you
    disabled - click OK
    http://www.avast.com/free-antivirus-download

    Avast 4.8 x - home - free - stop shields, you don't need except leaving Standard, Web,.
    and the network running. (Double-click the blue icon - look OK. - upper left - Shields details
    Finish those you don't use).
    http://www.avast.com/free-antivirus-download#TAB4

    Or use Microsoft Security Essentials - free
    http://www.Microsoft.com/Security_Essentials/

    Prevx works well alongside MSE or Avast

    Prevx - home - free small, fast, exceptional protection CLOUD, working with other security
    programs. It is a single scanner, VERY EFFICIENT, if it finds something come back here
    or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    PCmag - Prevx - Editor's choice
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Also get Malwarebytes - free - use as scanner only. If you ever think malware and that
    would be unusual with Avast and occasional Prevx running with the exception of a low level cookie
    (not much), to UPDATE and then run it as a scanner. I have a lot of scanners and they
    never find anything of note that I started to use this configuration.

    http://www.Malwarebytes.org/

    ==========================================================

    Other methods would be to use the clean boot method to see if you can determine whether something
    interfere with the operation of the drive.

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Autoruns - free - see what programs are configured so that it starts automatically when
    your system boots and you connect. Autoruns also shows you the complete list of the registry
    and where applications can configure Auto-start for the files settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

Maybe you are looking for