Tip: How to Avoid some tough LV 2009 Build & Run Problems

Hello,
I posted some tips I think may be useful to my fellow LabView 2009 programmers on the MathScript forum here:
http://forums.ni.com/t5/LabVIEW-MathScript-RT-Module/Avoid-MathScipt-Comments-in-EXE-Build-amp-Run-P...
Allthough some of the problems are MathScript related, the post contains information on how to avoid some other LabView 2009 problems as well. I thought this info would be interesting to other than "MathScript programmers":
The post contains information on how to circumvent the following problems:
* "The VI is not Executable. The full development version of LabView is required to fix the errors"
* Avoid that MathScript Comments are included in the EXE !
* Mathscript BUG: The Application Builder Includes ALL MathScript Comments in the EXE
* DSC Reference Problem in LabView 2010 DS1 release
* TagSrv Error "TagSrv.exe: This application has requested the runtime to terminate in an unusual way"
Geir Ove

Hello,
I posted some tips I think may be useful to my fellow LabView 2009 programmers on the MathScript forum here:
http://forums.ni.com/t5/LabVIEW-MathScript-RT-Module/Avoid-MathScipt-Comments-in-EXE-Build-amp-Run-P...
Allthough some of the problems are MathScript related, the post contains information on how to avoid some other LabView 2009 problems as well. I thought this info would be interesting to other than "MathScript programmers":
The post contains information on how to circumvent the following problems:
* "The VI is not Executable. The full development version of LabView is required to fix the errors"
* Avoid that MathScript Comments are included in the EXE !
* Mathscript BUG: The Application Builder Includes ALL MathScript Comments in the EXE
* DSC Reference Problem in LabView 2010 DS1 release
* TagSrv Error "TagSrv.exe: This application has requested the runtime to terminate in an unusual way"
Geir Ove

Similar Messages

  • Avoid MathScipt Comments in EXE, Build & Run Problems - NI Please Fix these Bugs!

    Hello,
    After 4 days of intensive work, I have finally found the solution for two major MathScript Problems:
    1) Mathscript Comments are included in your EXE File !!
        - Yes, if you do not watch your steps, the EXE will include all your % Mathscript Comments!
    2) Problems building, but even worse: An app that builds with NO Error and NO Warnings will not RUN and creates the following misleading Erro Message:
        "The VI is not Executable. The full development version of LabView is required to fix the errors"
        With absolutely NO hint to what VI have the problem.
    I have made myself an internal note how to avoid this problem. I am using LabView 2009, 2010 DS1 Release (I think this is 9.01) under WInXP SP2.
    Rather than retyping everything, I will post the full text of my Notes below. I also mention several other LV BUG in this note, so pleae read carefully.
    One is the TagSrv Error that occurs in LabView 2009 if I programatically deploy Shared Variables under the WinXP Development Environment. After this problem has occured, it will occur every time I restart XP, and in essense I have to restore to before I did this (thanks Nortong Ghost !!!).
    Below you can find the full unabridged version of my Build, Run and Bug Notes for LV 2009 / 2010 DS1 (9.01). Hope they can be helpful to my fellow LabView programmers!
    2010-07-03:
    Building under LabView 2009 / 2010 DS1 Release (version 9.01)
    Follow the steps below:
    a) To successfully build an EXE that also runs
    b) Avoid that MathScript Comments are included in the EXE !!!!!!!!!!!!!!!!
    Before Building:
    I) Recompile All  by pressing Ctrl+Shift and pressing the RUN button on the Application_References.vi
       Then Save All (about 1200 Vis are saved)
    II) Make Sure that NO User Defined Mathscript (and Mathscript Nodes?) define Empty Functions:
        This seemed to cause the following problem with the built EXE: The main VI will be broken, and a dialog reports:
        "The VI is not Executable. The full development version of LabView is required to fix the errors"
        MathScitp BUG: Empty Functions causes no Build Errorm but RUN Error:
        The following User Defined MathScript .m files are candidates:
        log_write() and log_clear() whith do_log_write() and do_log_clear() commented out, these functions are empty.
        When calls to log_write() and log_clear() where removed, the problem above vanished !
    Building the EXE:
    1) Additional Exclusions:
     -"Disconnect type definitions": YES
     - "Remove unused polymorphic VI instantces": YES
     - "Remove unused members of project libraries": NO (do not know if this is important)
    2) Advanced:
     - Enable Debugging: "NO"
    3) Mathscript BUG: The Application Builder Includes ALL MathScript Comments in the EXE if you use the New Build File Layout:
       IMPORTANT !!!!!!!!!!!!!
       Advanced:
       "Use LabView 8.x file layout": YES !!!!!!!
       Using the new layout, causes ALL COMMENTS FROM USER DEFINED MATHSCRIPT .M FILES TO BE INCLUDED IN THE .EXE !!!!!!!
    4) BUG: DSC Reference Problem in LabView 2010 DS1 release:
       In VI Deploy_Shared_Variables.vi we deploy alle Shared Variables using the "Deploy Libraries.vi" which is a part of the DSC option.
       As long as only deploying of Variables is used, using this VI should NOT require any DSC Runtime license.
       We have used this before with no compilation problems.
       However, starting with LV 2009 SP1 (or was it the DS1 2010 upgrade) LV will start nagging us to resolve references to tens of VIs
       in the DSC lib file ! Solution: Used press "Stop" on the dialog, and the Build will succeed and the EXE will work !
       Optionally, we could use the following Invoke node for the deployment:
       (see: http://digital.ni.com/public.nsf/allkb/04D9A85B6967EE87862571140065EEC6). Excerpt from this description:
      <<Right-click the block diagram to bring up the programming palette and go to Programming»Application Control and place the
        Invoke Node on the block diagram. Using the hand tool, click Method and select Library»Deploy Library>>
    5) LabView BUG: Do NOT RUn the Application under the WIn XP SP2 Development Environment if the APP Deploys Shared Vars:
       This will cause the Dreaded TagSrv Error:  "TagSrv.exe: This application has requested the runtime to terminate in an unusual way".
       After this Error has occured, it will reoccur each time WinXP SP2 is restarted, and (Network) Shared Variables will NOT work any more!
    Geir Ove
    Attachments:
    LabView_Tagsrv_Error.jpg ‏26 KB

    Hello Geir,
    I have tried to reproduce the behavior you are seeing where .m file comments appear in the final built executable.  However, I am unable to do so using LabVIEW 2009 SP1.  I have a caller VI with a MathScript node that calls the adder function in adder.m.  The contents of adder.m are as follows:
    % ADDER This function adds 3 to its input variable
    %   y = adder(x)
    %   INPUT: x
    %   OUTPUT: y, equal to x + 3
    function y = adder(x)
    y = x + 3;
    I have configured the build specification as you mention in steps (1) and (2):
    Additional Exclusions
     - "Disconnect type definitions" Yes
     - "Remove unused polymorphic VI instances" Yes
     - "Remove unused members of project libraries" No
    Advanced
     - "Enable Debugging" No
    At first, I did not include the adder.m file in the project.  I built the application and was not able to find the text "adder" anywhere in the EXE.  Then, I added the .m file to the project and put it in the "Always Included" section in "Source Files."  Again, I was not able to find the search text in the built EXE.  In step 3, you mention
    geirove wrote:    
       "Use LabView 8.x file layout": YES !!!!!!!
    but in the 5th post in this thread, you state
    geirove wrote:
    Compile using the new compile method ( Use LabView 8.x file layout": NO),
    I have tried both settings in the Advanced section, but again, I am not able to find any comments in the EXE.  I even added a call to the "path" function in adder.m.  This puts a warning glyph on the caller MathScript node and generates different code.  The EXE will return an unknown symbol error for adder (any VI with a warning glyph will not work in a built app), but I am not able to find any comments in the EXE.  This project is attached below.
    As for your other item with a broken EXE if you call empty functions, I am unable to reproduce this as well.  I have taken the last attachment to your third post in this thread (the log_write function) and called it from the caller VI as well.  The EXE runs just fine and I do not find any comments in this EXE either.
    Unfortunately, there was a rather serious issue in the LabVIEW 2009 MathScript RT Module, where some internal MathScript VIs could become corrupted when building executables.  Have you tried running the "Find Bad Instantiations" tool from this Knowledge Base article?  Simply installing the SP1 version on top may not have corrected any VIs that may be corrupted.
    Due to our difficulty in reproducing the issues you mention, could you modify the attached project or else attach a new project, appropriately configured, that builds an EXE with .m comments embedded in it?  This way, we can uncover any minute details that we're overlooking.
    Grant M.
    Senior Software Engineer | LabVIEW MathScript | National Instruments
    Attachments:
    MComments.zip ‏186 KB

  • How to avoid a timeout for a long-running query

    Hello,
    in my application I insert some rows in a temporary table on submit in a PL/SQL block on the page 1. Then I read these rows from the table on the page 2. Unfortunately the insert takes too long time, because I also have to make some other SELECTs etc in that block. That's why the application hits the Apache timeout for mod_plsql and HTTP error between pages 1 and 2.
    I have found some threads about this topic in this forum. There are some suggestions with meta refresh tag etc. I understand, that I have to implement some kind of processing page between the pages 1 and 2 to show a waiting message etc. But I could not find any ready "cook book" for such implementation.
    Could you please help me?
    Thanks in advance
    Andrej
    P.S. This application don't use AJAX code, so I would prefer a solution without AJAX.

    Hello Chris,
    I am not sure, how to implement this approach. So I would start on the page 1 a job (dbms_scheduler or dbms_job), which would create a temporary table in the background. The application should branch to the page 3 with a message "Please wait...". I have to poll the results of the job and branch to the page 2, when the job is ready and I can select from the created temporary table. So far I like this way very much.
    Could you please give me more details about the page 3 (polling page)? I have the following questions now:
    1. I assume I have to set the meta refresh tag on this page. But in which PL/SQL block can I poll for the running job (on load process?).
    2. How can I branch from this page to another page? If I only use refresh tag, how can I branch to another page only on the special condition (ready flag)?
    Thanks in advance
    Andrej

  • How to avoid getting bogus error messages when running a build file?

    Consider the following fragment in a build file:
    <var name="component.key" value="provisioning.include.atk"/>
    <var name="provisioning.include.atk.domain.hostname" value="localhost"/>
    <echoNested>component.key.domain.hostname=${${component.key}.domain.hostname}<
    /echoNested>
    When we run with ant -v
    Result:
    Property "${component.key" has not been set
    [echoNested] component.key.domain.hostname=localhost
    Expected result:
    [echoNested] component.key.domain.hostname=localhost
    Can someone explain why I am getting the message "Property "${component.key" has not been set"?
    Thanks,
    Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    In your ANT script you can not use "${${" together
    Please refer to http://jaysensharma.wordpress.com/2009/12/06/ant_basics/
    You can do something like this:
    *"build.xml"*
    <project name="webservices-complex" default="runSuccess">
    <property name="component.key" value="localhost" />
    <property name="component.key.domain.name" value="localhost" />
    <target name="runSuccess" >
    <echo message="${component.key}" />
    </target>
    <target name="runSuccess2" >
    <echo message="${component.key.domain.name}" />
    </target>
    </project>
    Edited by: Jay SenSharma on Feb 11, 2010 11:49 AM

  • How to avoid the same BW metachain to run in parallel?

    Hi Everyone,
    I had an issue in which the a metachain was triggered unexpectedly while it is already running. Hence parallel processing occurred.
    I just wonder if you have a proposed solution that will avoid this scenario. Possibly a chain/job set-up that can be integrated to that metachain that would check if there is already an active job running corresponding to that chain.
    I hope somebody can help me.
    Thanks a lot.

    Hi Kat,
    i extended the code of my first post. Please pay attention on the bold line "if chain_active NE 'X' AND SY-UZEIT BETWEEN ‘000000’ AND ‘013000’" -> This line effects that the chain will only be executed between the time 00:00:00 and 01:30:00. I hope this helps to solve your issue.
    Data it_logs type table of RSPC_S_LOG_F4.
    Data wa_logs like line of it_logs.
    data chain_active type boolean value '-'.
    CALL FUNCTION 'RSPC_API_CHAIN_GET_RUNS'
    EXPORTING
    I_CHAIN = 'myMetaChain'
    I_DATE = sy-datum
    TABLES
    E_T_LOGS = it_logs
    EXCEPTIONS
    FAILED = 1
    OTHERS = 2.
    Loop AT it_logs into wa_logs.
    if wa_logs-analyzed_status= 'A'.
    chain_active = 'X'.
    endif.
    endloop.
    *Now there is an additional check. The chain only starts if the system time is
    *between 00:00:00 and 01:30:00.
    if chain_active NE 'X' AND SY-UZEIT BETWEEN ‘000000’ AND ‘013000’.
    CALL FUNCTION 'RSPC_API_CHAIN_START'
    EXPORTING
    i_chain = 'myMetaChain'
    * I_T_VARIABLES =
    * I_SYNCHRONOUS =
    * I_SIMULATE =
    * I_NOPLAN =
    * I_DONT_WAIT =
    * IMPORTING
    * E_LOGID =
    EXCEPTIONS
    FAILED = 1
    OTHERS = 2.
    Kind regards,
    Andreas

  • How to avoid User Authentication Multiple times after run the Bo report

    Dear Experts,
    I am facing issue in BOBJ portal. we are trying to run report in portal and its working fine and running ME23N transaction from that report.
    Once we click on ME23N transacation from that report its opening new pop up window and data showing perfectly .
    But after close that pop up window and go back BO or BI TAB in portal its asking uid and password.
    But first time it's not asking. If I log out and login again then it will work but after run and close the pop up window and come back to BI or BO tab again is asking user ID and Password.
    I checked all Log on tickets and validity period and system connections every thing fine.
    Could you please Help me ...
    Regards
    Kalyan

    Hi Kalyan
    Is this any internet proxy server setting are there in browser? just bypass the proxy setting and then try the same
    BR
    SS

  • LabVIEW 2009 Build Path Problem

    [Cross Posted to LAVA]
    I had some code that worked fine on my home PC, when I moved it to work, the exe would not build due to errors.
    The errors coming back weren't that good at explaining the problem
    Until I got this one:
    Look at the path in the error:
    C:\Users\Developer2\Desktop\User Group Meeting\LabVIEW 2009 new features\code\02 intermediate\01 build specifications\build executable file paths\dist\application 9.0\my application.exe\LabVIEW 2009\vi.lib\addons\_ICON Library\String\_icon_lib_string.llb
    That path is referring to a VI inside my executable!
    This may be a bigger issue that I first thought  
    So my question is:
    If a have a path inside my build that would be relative to the executable and LabVIEW needs to resolve it, could that process fail depending on where the exe sits in a folder hierarchy?
    I guess this could have happened before? but it would be more likely now due longer paths!
    Message Edited by jg-code on 08-26-2009 05:20 AM
    Certified LabVIEW Architect * LabVIEW Champion
    Solved!
    Go to Solution.

    Solution in cross post
    Certified LabVIEW Architect * LabVIEW Champion

  • Pluggin container makes flash player crash. all is up to date. How to avoid this?

    Question
    pluggin container makes flash player crash. all is up to date. How to avoid this?

    First, download and run the Flash uninstaller: [http://kb2.adobe.com/cps/141/tn_14157.html http://kb2.adobe.com/cps/141/tn_14157.html] . You probably want the 64-bit version. After that has run, restart your computer, and then let's download a fresh version of Flash. Try downloading and installing it from [http://fpdownload.macromedia.com/pub/flashplayer/current/licensing/win/install_flash_player_11_plugin_32bit.exe here].
    Once you have flash installed again, start Firefox up, and see if you are getting any errors. If it works, awesome, if not, let's move on.
    Start Firefox up in [[Safe Mode|Safe Mode ]] (don't select any of the checkboxes that appear). If Flash works here, then it is one of your addons which is causing a problem.
    If we are still having a problem, try [[Updating your graphics driver|Updating your graphics driver]] .
    If none of these work, read [[Troubleshooting plugins|Troubleshooting plugins]] and let me know!

  • I'm receiving some personnal SMS (through iOS 5 imessage) on an old iphone I've already sold. How to avoid that?

    Hi,
    I used to have an iPhone 3GS, which I recently upgraded to iOS 5 and sold. This device doesn't have any of my personnal information inside anymore (several resets and reinstall iOS5 from an blank iTunes on a seperate computer) and doesn't have my chip inside anymore.
    I am using a new smartphone (not Apple) now and when I text friends who have iPhone (with iOS 5 and iMessage), I receive some of the personnal responses on the old iPhone. It seems those messages are sent through iMessage...
    How to avoid that? I sold this iPhone and I don't want the buyer to receive my personnal message + I don't want to miss them on my new phone!
    Thanks for the help.
    Franck.

    I would suggest you read the user guide.  There IS no Facetime App for the iPhone.
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
    < Edited By Host >

  • How to avoid database logon dialog on every action of refreshing reports

    I am using Crystal reports 208 SP2 and has a database connection to oracle database. Connection is esablished and report retrieves desired data, The problem is when ever i open this report ( which has this connection set) and do a refresh,  the report the LogOn dialog pops up.
    How to avoid or save this log on info such that it does not pops up the LogOn dialog when i open the report and do a refresh(F5).?

    Hi Don,
    Thanks for the reply. To try  your suggested approach, i need some clarifications .
    _Problem summary:for refrence, _
    I am following the steps mentioned below to establish a database connection, and fetch the data.
    1) I am using Oracle drivers for configuring the ODBC data source. As part of configuration i will specify the Oracle server name
    2) In crystal reports, Using "Database" menu, i open "Database Expert" dialog and "Make New connection" by specifing the data source mentioned in step 1). During this process, (ODBC)logon information will be filled in. The user ID and password used has all the rights to access the tables in the database. Logon will be successful and connection is established.
    3) Further i use the database table from the "Database Expert" on to the report and refresh(F5) to fetch the data.
    After step 3, I close the report  and reopen it. Now trying to refresh the database logon dialog pops up. I need to avoid this pop up
    Requesting Clarification:;
    1) You have specified "When you connect you have the option to use Trusted Authentication, check this option on". Where is this option. Is it in the crystal reports or is it available during data source configuration. Kindly specify.
    2) Here "Enterprise logon info that has been configured on the Oracle server." implies the oracle database login information right? If yes, this login details are available and i am using this logon information(i.e. UseriD and Password) during database connection.
    If No, Is "Enterprise logon info " is something which should be specifically enabled by DBA in oracle11g configuraion.
    Kindly suggest.
    Edited by: R Guru on Oct 17, 2009 7:32 PM

  • How to avoid Moire Effects (jiggered still pictures) using iM and iDVD.

    This is a discussion going on forever and forever in this forum. I had the problem of bad looking slideshows myself, and I am hearing the same tips over and over again that just don't work. This is what I found out on how to avoid moire effects in your still images, when you want to edit a slideshow using iMovie - and I personally think, this explanation makes a lot of sense.
    Try it on your own and you will have had the last bad looking still image slidehow on the TV screen ever!! Here we go:
    Like everybody here I am talking about the process of creating a slideshow incuding movie strips in iMovie to get as a final result a DVD with menus and such using iDVD.
    And the common problem with stills and iMovie 5.02 are the so called jiggered pictures iMovie creates. Call it a moire effect, if you'd like.
    Whenever full resolution still images are importet from iPhoto into iMovie, the quality that iMovie will spit out in the end is disgusting. Period. Just disgusting.
    It has nothing to do with that iMovie does not display it properly on the Monitor or we are just in preview mode - the results are bad there and will be bad (maybe even worse) on the TV screen.
    There is no SIGNIFICANT difference between wether the pictures are imported with KB on or off, whether they are imported as still frames or as video clips using iMovie "import" function. iMovie can treat the color fairly bad, overprocesses the pictures and - worst of all, the moiree effects you will see in the endresult are just very very bad. It is worse when the pictures are panning a lot (KB).. This is true for every picture containing a lot of detail (Trees, Forests, horizontol lines (stairs) etc.) - not so bad for closeup face shots, unless that person is really old
    There is no SIGNIFICANT difference on the result by how the iMovie project is fed into iDVD. When the movie is sent to iDVD using the iM command "send to..." the quality is worse (and you let iM render when it asks) than if the movie is dragged into the iDVD window - but again, the difference is not significant. The result will suck. The DVD will also look bad, when the iMovie is exported has high res quicktime first, before imported into iDVD. Again, its slightly better that way, but not significant.
    Whenever a slideshow is created in iPhoto and than exported to iDVD (or via being a quicktime movie through iMovie into iDVD) the result will be however stunning. But that totally defeats the purpose of iMovie and the degree of freedom of designing slidehows in a very appealing manner.....
    The problem I think lies in how iMovie processes still images. And this is not a bug, but more of a mathematical/programmatical problem. iMovie has to REDUCE THE RESOLUTION of your still. A 2000x3000 pixel image @ 300 dpi(roughly the dimensions of a 6 MP image) has to be downsized to a TV image (NTSC or PAL, whichever) which has a resolution of approximately 480x640. HD is accordingly higher. The amount of pixels has to be reduced. iMovie can do that. NOT GOOD. But it can. The problem starts when the picture is panning around (KB). iMovie makes a let us say 5 second movie @ 30 fps out of one still image. Almost every frame will be slightly different from the previous one due to the used KB effect. So, the routine of iMovie does this downsize calculation for each single frame - and it removes each time different pixels from the still image, due to a slightly different source still image. Got it?
    Now, when you look on how moiree effects occur (which is some weired math in it's own) than it makes sense, that we see all this jiggereing in horizontol lines of high res. patterns.
    I found that if I reduce the size of each image in Photoshop (or Photoshop Elements) prior to importing it into iMovie, the quality of the final product that iMovie and subsequently iDVD spits out in the end is AMAZING (reduce the dpi to approx. 72, so the image resolution is roughly 480x640). This is not a difficult process, because both programms (PS and PSE) handle BATCH PROCESSING. Just let the Mac work for a couple of hours or so.... its WORTH IT (and don't forget to make copies of the high res originals beforehand... :D).
    (before you resize, find out about how to properly resize and rescale an image!!!!)
    I am slightly annoyed that I found that out after producing a long long long long and really good slightshow, that is watchable but looks REALLY cheasy and cheap).
    I hope this helps out.
    Waenni
    Mini G4   Mac OS X (10.4.8)  

    I agree that iMovie's still image quality is embarassingly bad and has many bugs.
    Even with no Ken Burns, the sharp images tend to flicker on a TV because iMovie doesn't blur them properly.
    And as you very well described, iMovie's Ken Burns produces uneasy zooms/pans because the subpixel rendering is, uh, suboptimal.
    iMovie's immortal rendering bug when exporting non-Ken Burns'ed images to iDVD/tape doesn't make things any better.
    Yes, bicubically downsampling the input images to 640x480 or adding gaussian blur to the megapixel input images takes care of the flicker and uneasy zooms/pans, but as a side-effect the maximal zoom-ins are then TOO blurry.
    The best workaround is to use Photo To Movie's higher quality export setting. It has the best quality rendering engine (I recently compared it to Still Life and FotoMagico). Disclaimer: I'm just a satisfied customer of Photo To Movie.
    See also:
    http://www.sjoki.uta.fi/~shmhav/SVCDon_aMacintosh.html#slideshow

  • How to avoid password prompt in shell script for zip password protection

    Hi
    I am trying to set password protection to my oracle database export backup. Once the backup completed, it should compress with a password protection. Thats the plan. Initialy we were using the gzip for the compression. Then realized that there is no password protection for the gzip. Started using zip option. I tried using
    zip -P <password> filename
    But it was throwing below error.
    -bash-3.2$ zip -P expreports REPORTS_2013FEB14.dmp
    zip warning: missing end signature--probably not a zip file (did you
    zip warning: remember to use binary mode when you transferred it?)
    zip warning: (if you are trying to read a damaged archive try -F)
    zip error: Zip file structure invalid (REPORTS_2013FEB14.dmp)
    Not quite sure why.
    Then I used zip -e REPORTS_2013FEB14.dmp.zip REPORTS_2013FEB14.dmp
    But this prompting for the password. As I am trying to put the command in the script. It will be tough if it prompts for the password.
    I would like to know how to avoid the password prompting by saving somewhere or how the code should be written. Tried using expect feature of shell script. Below was the code I tried. It didnt work.
    [oracle@SF40V6636 test]$ cat repexp.sh
    zip -e REPORTS_imp.log.zip REPORTS_imp.log
    expect "Enter password:"
    send "imprep"
    expect "Verify password:"
    send "imprep"
    So please help in avoiding this password prompt or let me know how to change the code.
    Thanks
    SHIYAS M

    How about using gpg and adding a secret key to the requirement of a password? No one should be able to decrypt your file, not by knowing only the password.
    1. Generate a public and private key pair:
    $ gpg --gen-key
    When it shows "We need to generate a lot of random bytes…" open another terminal session and type "dd if=/dev/sda of=/dev/null" to create traffic. When the public and secret key created and signed you can Ctrl-C the dd command.
    To see what you have created:
    $ gpg --list-keys
    2. Encrypt and gzip your stuff:
    $ tar zcf stuff.tgz file_or_folder
    $ gpg recipient "Some Name" encrypt stuff.tgz
    $ rm -f stuff.tgz
    3. Decrypt and extract the archive:
    $ gpg batch yes --passphrase "password" -d stuff.tgz.gpg > stuff.tgz
    $ tar zxvf stuff.tgz
    Again, knowing the password alone will not let anybody decrypt your stuff.

  • How to avoid double-click to click-box

    Hello,
    until now I did not find a solution for this problem:
    I have created a training course for a specific application, and in this coure are some click boxes on which the user should click. On many click boxes should the user click only once but if he double-click the click box, in real application nothing happens. There is only one way to succes the action - one click. But in captivate when the user double-click the click box instead of one click it evaluate as success action (the click box is set only to one click, double-click checkbox is not checked).
    So my question is, is there any way how to avoid double-click in cases where the user should click only once? Or in case he double-click the click box to show failure caption?
    Many thanks.
    Lukas

    Hi all
    Interesting thread. Unfortunately, what would be needed here is some sort of a widget that would run some internal timer. Sure, you can try multiple Click Boxes and configure one with a Single Click and one with a Double Click. But the problem with that (as I see it) is regardless of what you might try, the Single Click will win out every time. Thus you would need a widget of some sort that would "listen" for a Double Click and respond appropriately.
    Tough call... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML   Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • How to avoid broken button?

    Hey guys, im  new in this forum and this is my first post haha little bit nervous ~
    I got some question  that i just want to clarify  . Well , I got ipod touch 4th gen 8gb 3 years ago . so  heres  the problem  my
    itouch home button is already broken  and  i dont know the reason , my  mother and i are planning to buy itouch 5th gen 32 gb  so  i just need some help from all of you guys how can i  avoid  broken  home button?  because i dont want to mess up my new itouch like i did with my 4th gen.
    Any tips on  how to avoid broken home button .
    Anyway   Thats all  thank you  very much   :)   haha~

    just keep it clean and do not get debris in the space between the button and case. No sticky finger or liquids either.

  • How to avoid Line Items(fields) in BAPI mapping.

    Hi
    Does any body help me for mapping between header and line items in BAPI..
    my scenario is filerfcmail(wokflow)!
    File is CSV based :
    (ex: 001150,,1123,JERM,08122006,,,
         ,,,ANN,,01082006,
    If you look at example csv file , there is some fields mixed with header and line items. But in RFC header can be 1 to 1 and line item should be 0 to Unbound.
    Now my problem is if I sent above example csv file as source :
    The payload coming like this(sxmb_moni) :
    </HEADERDATA>
    - <GLACCOUNTDATA>
    - <item>
      <COSTCENTER />
      <PROFIT_CTR />
      </item>
    - <item>
      <GL_ACCOUNT>738100</GL_ACCOUNT>
      <ITEM_AMOUNT>60000</ITEM_AMOUNT>
      <COMP_CODE>001150</COMP_CODE>
      <ITEM_TEXT>*777-8030-861</ITEM_TEXT>
      <COSTCENTER>7320</COSTCENTER>
      <PROFIT_CTR>7320</PROFIT_CTR>
      <ALLOC_NMBR />
      </item>
    - <item>
      <GL_ACCOUNT>738100</GL_ACCOUNT>
      <ITEM_AMOUNT>40000</ITEM_AMOUNT>
      <COMP_CODE>001151</COMP_CODE>
      <ITEM_TEXT>*777-8030-861</ITEM_TEXT>
      <COSTCENTER>6010</COSTCENTER>
      <PROFIT_CTR>6010</PROFIT_CTR>
      <ALLOC_NMBR />
      </item>
      <item />
      </GLACCOUNTDATA>
    You can find there is one more item coming after headerdata with null values. It means map reading first line and one by one , if any field found in rows which belogs to GLAccount(Line item), then it writing one more item after headerdata with that fields only.
    Remainig GLAccount data coming as per map after the item .
    Can you tell me how to avoid extra line items.
    Thanks,
    Sankar

    Yes, It exist..
    I cross checked ..with out givig fileds and giving some fields...its writing another items in after headerdata tag.
    hope you understand , what my problem..
    See: GLACCOUNTDATA under subnode
          item is 0 to unbound in BAPI side, because of this its reading all rows , and if find any field which belongs to GLAccount , then it writing another item tag after headerr data.
    Thnaks,
    Sankar

Maybe you are looking for

  • How to open a folder inside a folder, without closing the first?

    I can't find a way to open a sub-folder, inside a mainfolder, without closing the main folder. What's even worse, if you hold "option" or "command,"  (old OS9 muscle memory kicking in) it opens the new folder but wipes-out the ability to use the back

  • Java.libary.path  How to use it ?

    I wanted to access the windows registry from my java program. so i downloaded a jni package and set the classpath to it. i now get java.lang.Unsatisfiedlinkerror.no ICE_JNIRegistry in java.library.path ? How to rectify this ?

  • Adding soap header in java

    Can anyone please tell me how to add following security header in Webservices (WS 1.0 ) client using java code? (I m using axis 1.4) <soap:Header> <wsse:Security soap:mustUnderstand="1"> <wsse:UsernameToken> <wsse:Username>[email protected]</wsse:Use

  • Wireless Speaker Set Up

    Hello, Recently I purchased a new Laptop (Dell Precision 6700). Prior to this I was using a custom built Shuttle box, which connected to my Logitech x-540 Speakers easily. Now I'd like to connect my speakers either directly or wirelessly to my laptop

  • Passing Form Data

    I am currently having an issue in which I cannot resolve by myself. I have a login page in which a user logs in and is redirected to a control panel which list their current information. The problem is that when the user logs in, it pulls the first r