Configs and action sequences

Hello everybody.
I need to have a lot of config settings stored on disk. Well, I can do it
via text *.ini files and then read them during start of a application. But
as well I can use Global variable and change its values manualy (can I save
its defaults from VI?). So what is the best method? I mean best LabVIEW way.
Adn similar, I think, question. I have to implement several sequences of
controlling actions, that may be changed realatively frequently so.. Do I
need to rewire them everytime using LabVIEW, or it is the best to develop
some kind of a macrolanguage for the purpose? I don't like this idea,
actually.
I am using version 4.0.1.
Thank you in advance.
---Dmitry.

You could, as you experiment with your application, figure out what are the best values for your globals, set these values as default and the development enviroment (even an exe) will remember these values when you start it. The problem with this is if you ever want to change the values, you have to go in, change the value and re-save it as default. And in the case of an exe, you would then have to recompile and re-distribute it to all the computers using it. It is much easier to add the values to a simple ini file and distribute it with the application. It is very easy to change the values with any text editor and once the code is written (to read from an ini file) it is easy to duplicate wherever you need it.
i'm not sure what you are talking about in your second que
stion. Do you mean that the code that executes after a button push or twist of a knob on the front panel will need to change at runtime? Sometimes a button push will execute code A and sometimes it will execute code B? Could you give examples?
Jared

Similar Messages

  • Help!!! Button and action sequence...

    I am creating a relatively simple web site in FC, but I have run into a problem. I purchased a stock .mov file, which I converted in Flash CS5 to use as an intro to the site. In Flash, I added a button to enter the site. My resulting .swf intro works perfectly in Flash; but when I import into FC, the button no longer functions (the button states are preserved, but there is no interactivity - even when I use the "Add Interaction" panel in FC). Where did I go wrong?
    And, is there any way to access a specific frame of a file in FC?
    Thanks!
    Jane

    There is a nice converter in the CS5 suite called something like Adobe Media Converter I think. Use that tool and convert it to a flv instead. There is lots of things in Flash that I think runs in conflict if you embed a .swf with a FLVplayer from flash.

  • Using the same action sequence with multiple buttons and exclusive conditional interactions

    Hi all,
    first of all, pardon me for my english and if I post questions already answered, but I can't find anything about that.
    I'm new to flash and I decided to use Flash Catalyst to speed up the building process of a multimedia presentation for university.
    I have a menu with 10 buttons that change a text box on rollover (I converted it to a button label) and I need to reset the name of the current page on RollOut. Since the action sequence for it is the same of every button on one page, is there a faster way to apply the sequence than repeating it for every button? (I had to do it 10x10=100 times... and what if I made some mistake? )
    Another question is I want to disable the interaction of the menu button of the current page, but conditional interaction let me choose only an "if in state" condition an not a "if not in state". How can I do this? should I simply disable the button on that page?
    Thanks a lot for the help!
    Cheers from Italy

    I answered to myself by grouping buttons and disabling the button in his state.
    Thanks anyway!

  • Copy and paste action sequence?

    i have an action sequence set to play on application start, but i also want to set it up to play whenever a user navigates to that specific page

    Hello.
    You can't copy-and-paste action sequences yet.
    But you can if you were to open it in Flash Builder, but this would require a lot of 'fiddling about' with.

  • How can I stop an action sequence with another

    Hi,
    I am quite new to flash catalyst. I made a side with an office where you can click the phone to go to the status "phone". In there you should be able to call some virtuell people. I made buttons with names that trigger different action sequences with showing the name of the called person in the display and playing a sound file that sounds like a call. Now my problem is when I am clicking a different name while it is still in one action sequence, the other one shows up over the first and both sounds are playing at the same time.
    How is it possible to tell the action sequence to stop all others when it is started?
    Thank you for your help.

    Sorry, I'm a bit confused now. Just to clear this out:
    WDDOBEFOREACTION is for validating user inputs BEFORE Actions and HERE you can prevent actions from happening
    WDDOAFTERACTION is called JUST WHEN an action is happening for all visible Views (it's to prevent redundant code which would be equal for all event handlers)
    WDDOBEFORENAVIGATION is AFTER Actions and BEFORE navigation.
    Check the chart in the following Link (sorry it's german, english version seems not available, but the chart is in english nevertheless)
    http://help.sap.com/saphelp_nw73/helpdata/de/49/b8c706c7c26d7ce10000000a421937/content.htm
    In my opinion put an if clause into WDDOBEFOREACTION, check whether the respective field is filled; and in case it is filled, execute your method; if not, don't.
    That's why I am confused, you kind of answer your question within your question itself )) or I still don't understand what you want to accomplish.
    best regards, hope this helps you (if not, try to explain it even more detailed for me ;-D)
    Lukas

  • Action sequence using PS Elements 10

    Hello Group, first post here anyway, I am trying to make an "Action sequence" picture using PS Elements 10, example: I took a few pictures of a guy surfing and what I would like is to merge 3 or 4 shots into one picture (I hope I explained this right) SO what I would end up with would be a guy surfing on the same wave but it would show him on it in 4 different places although its just the same wave.
                      Thanks, James

    I am using Windows 7.  I think that the best path might be a third party conversion program.  Do you have a recommendation?
    Thanks,
    Fred Czerner
    <mailto:[email protected]> [email protected]
    M: 703-909-9001 (Preferred)
    H: 703-329-0098
    F: 703-329-0099
    NOTICE: This message is for the designated recipient only and may contain privileged or confidential information.  If you have received it in error, please notify Fred Czerner immediately and delete the original.  Disclosing, copying, distributing or taking any action in reliance on the contents of this e-mail by other than the designated recipient is prohibited.

  • Got action sequence to "loop" but it shows in all states - conditional statement to fix it?

    Using Flash Catalyst & Notepad (to open and alter the code in the "Main" MXML file) I'm able to "loop" an action sequence on the home state for my swf by changing the code as follows:
    ORIGINAL CODE
    <s:Parallel id="Sequence3">
    ALTERED CODE
    <s:Parallel id="Sequence3" effectEnd="Sequence3.play()">
    The desired effect is a sequence (of 4 images) that loops whenever a user is viewing the home state.  It is activated "On Application Start"
    The PROBLEM is that the loop continues in all other states (it appears in the background - behind the objects that are supposed to show up on the other pages and only begins to show up in each state when the sequence begins another loop).
    I am assuming I need a conditional statement --- something along the lines of:
    while (condition){ statements;}
    ...in other words, ONLY while currentstate = "Home" it should loop the sequence. What would be the correct code for this conditional statement and where would the conditional statement be inserted to loop the sequence as desired???  Or... is there another better way??
    My current code for this action sequence is:
    <s:Parallel id="Sequence3" effectEnd="Sequence3.play()">
                <s:Parallel target="{designlayer1}">
                    <s:Fade alphaTo="0" duration="500" startDelay="2100"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage2}">
                    <s:Fade alphaTo="0" startDelay="2100"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage3}">
                    <s:Fade alphaTo="0" startDelay="2100"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage4}">
                    <s:Fade alphaTo="0" startDelay="2100"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage5}">
                    <s:Fade alphaTo="0" startDelay="1650"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage6}">
                    <s:Fade alphaTo="0" startDelay="1800"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage7}">
                    <s:Fade alphaTo="0" startDelay="1950"/>
                </s:Parallel>
                <s:Parallel target="{designlayer5}">
                    <s:Fade alphaFrom="1" alphaTo="0" duration="0" startDelay="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="2650"/>
                    <s:Fade alphaTo="0" startDelay="5300"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage8}">
                    <s:Fade alphaFrom="1" alphaTo="0" duration="0" startDelay="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="2650"/>
                    <s:Fade alphaTo="0" startDelay="5350"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage9}">
                    <s:Fade alphaFrom="1" alphaTo="0" duration="0" startDelay="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="2650"/>
                    <s:Fade alphaTo="0" startDelay="5350"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage10}">
                    <s:Fade alphaFrom="1" alphaTo="0" duration="0" startDelay="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="2650"/>
                    <s:Fade alphaTo="0" startDelay="5350"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage11}">
                    <s:Fade alphaFrom="1" alphaTo="0" duration="0" startDelay="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="2650"/>
                    <s:Fade alphaTo="0" startDelay="4750"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage12}">
                    <s:Fade alphaFrom="1" alphaTo="0" duration="0" startDelay="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="2650"/>
                    <s:Fade alphaTo="0" startDelay="5000"/>
                </s:Parallel>
                <s:Parallel target="{designlayer6}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="5900"/>
                    <s:Fade alphaTo="0" startDelay="7900"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage13}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="5900"/>
                    <s:Fade alphaTo="0" startDelay="7550"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage14}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="5900"/>
                    <s:Fade alphaTo="0" startDelay="7900"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage15}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="5900"/>
                    <s:Fade alphaTo="0" startDelay="7750"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage16}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="5900"/>
                    <s:Fade alphaTo="0" startDelay="7900"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage17}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="5900"/>
                    <s:Fade alphaTo="0" startDelay="7900"/>
                </s:Parallel>
                <s:Parallel target="{designlayer7}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="8500"/>
                    <s:Fade alphaFrom="1" alphaTo="0" startDelay="11000"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage18}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="8500"/>
                    <s:Fade alphaFrom="1" alphaTo="0" startDelay="11000"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage19}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="8500"/>
                    <s:Fade alphaFrom="1" alphaTo="0" startDelay="11000"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage20}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="8500"/>
                    <s:Fade alphaFrom="1" alphaTo="0" startDelay="11000"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage21}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="8500"/>
                    <s:Fade alphaFrom="1" alphaTo="0" startDelay="10650"/>
                </s:Parallel>
                <s:Parallel target="{bitmapimage22}">
                    <s:Fade alphaTo="0" duration="0"/>
                    <s:Fade alphaFrom="0" alphaTo="1" duration="0" startDelay="8500"/>
                    <s:Fade alphaFrom="1" alphaTo="0" startDelay="10800"/>
                </s:Parallel>
            </s:Parallel>
    Thank you!!!!!!!!

    Figured out my issue...
    I had to select each layer for the 4 photo sequence and "Remove From State" for each layer.  If this is done with all layers except the "Home" state, the images show only where appropriate.
    So...   "Loop an action sequence" is really easy.
    I've seen a lot of complaining that "FC can't do it" but with a very simple code mod, I was able to do it WITHOUT using the video timer method.
    I should also mention that I've never worked with Flash at all before this project and am only self-taught in HTML (basics).  I was able to make a pretty good looking Flash component for a web site and never would have attempted it without FC.  I have to say, while FC is a bit limited, GUI-based Flash is a great add for Adobe and will save me over $2k per year in web admin.
    To edit the document in Notepad as mentioned in the first post:
    the full text can be found here http://www.judahfrangipane.com/blog/2010/09/03/flash-catalyst-jailbreak-for-flex-developer s/
    Editing MXML Documents
    To edit your projects MXML documents we first need to find the path to  the Flash Catalyst workspace. To do this publish your Flash Catalyst  project (CMD / CTRL + ENTER). Now, the browsers URL shows the path to  the project workspace. So in this URL,  "file:///Users/judah/Library/Application Support/Adobe/Flash  Catalyst/workspace/Project/bin-debug/Main.html", the project MXML  documents are located at, "file:///Users/monkeypunch/Library/Application  Support/Adobe/Flash Catalyst/workspace/Project/" when on a Mac.
    Flash Catalyst project files
    Project Files Description
    /src - location of the application source files
    /bin - the location of any additional flex libraries
    /bin-debug - location of testing swf
    /html-template - location of the html template that wraps around your application
    /src/Main.mxml - the main application file. make your application changes here
    /src/Main.css - the css stylesheet of the main application
    /src/components - the location of custom components and component skins
    /src/assets/graphics - location of optimized FXG graphic symbols
    /src/assets/images - location of images
    You can edit these XML documents in any text editor. To apply the  changes you need to save the file and refresh the Flash Catalyst  project. You can do this by opening the changed document in Flash  Catalyst code view. When we do this it will recognize the document has  changed and prompt you to use the newer version of the file. Select Yes.  If the project does not rebuild immediately publish it using CMD +  Enter.

  • Where do i find form and action java files

    I was trying to add a new menuitem to the web console. I have a jsp page like pag1.jsp and has pageForm and pageAction java file. Inside struct.config file I find that form and action files are placed under"com.thortech.xl.webclient.actions.tcAddCommentForm" , but when I search for the tcAddCommentForm, I coundn't find the file. Can u tell me where should I add my form And Action files

    Just what to you mean? The Info pane for the iPod in iTunes allows you to sync the iPod contacts and calendar with other calendars and contacts. There is no contacts or calendar in iTunes.

  • Export: ". exporting post-schema procedural objects and actions"

    Hi all,
    I am trying to do a full database export from the server and an import to another PC.
    I tried exporting recieved the following warnings:
    . exporting synonyms
    . exporting views
    . exporting referential integrity constraints
    . exporting stored porcedures
    . exporting operators
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting triers
    . exporting matrializes views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh grups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    EXP-00008: ORACLE error 903 encountered
    ORA-00903: invalid table name
    ORA-06512: at "SYS.DBMS_RULE_EXP_RL_INTERNAL", line 311
    ORA-06512: at "SYS.DBMS_RULE_EXP_RULES", line 142
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when callig SYS.DBMS_RULES.schema_info_exp
    . exporting user history table
    . exporting defualt and system auditing options
    . exporting statistics
    Export terminated successfully with warnings.
    I been through the forum and was advised to run the catalog.sql, then rerun the exp command.
    I did as suggested but the export hangs at the last line:
    Export donw in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions <- hangs here
    Is there a way to resolve this? Or should I approach another method?
    Any of your help is greatly appreciated. Thank you.
    Thanks and Regards
    San

    I am also trying to figure all the stuffs out. I try to answer as much as I know. Thanks.
    What is the export utility version?
    Using exp, "Export: Release 9.2.0.1.0"
    What is the import utility version?
    Using imp, "Import: Release 9.2.0.1.0"
    What version of Oracle database are you trying to export?
    9.2.0.1.0
    Into what version of Oracle database are you trying to import?
    9.2.0.1.0
    What are the database character sets and values of environment variable 'NLS_LANG' for each case?
    Not sure about this but I didnt change any parameters of the character set, should be
    WE8MSWIN1252
    Using WinXP OS, <- quite problematic, having a hard time trying to configure. :(

  • How to prevent PS from skipping steps in action sequence after encountering an error while batching

    Hi guys,
    Would really appreciate help. I've spent several days working on this.
    What I am trying to do is a long story, but the latest problem I've encountered is that when batch running an action sequence, and when PS encounters an error in a step in that sequence (e.g. a layer X is not available), it does not process the subsequent steps in that sequence.
    My action sequence involves auto aligning layers from 2 image files, one a PNG file and another a JPG file.
    I am batch running the action sequence on a folder of image files. The PNG and JPG files are arranged like this:
    1.jpg
    1-1.png
    2.jpg
    2-2.png
    Some steps in the action sequence apply to the first image file, by virtue of the fact that the default layer in a jpg file is named "background", while some steps in the action sequence apply to the second image file by virtue of the fact that the default layer in a png file is named "layer 0".
    When I run the action sequence manually, I will just click "continue" when an error message pops up, and PS will continue processing the subsequent steps in the action sequence. i.e. the sequence works exactly as I need it to.
    But when I run the action sequence through the Automate> Batch command, with the setting "Errors: log errors to file", I find that PS ignores the subsequent steps in the action sequence if an error message is encountered on a step, and moves on to the next image.
    This is a screenshot of my action seq:
    Is there a way to get around this? I am not proficient in scripting, hence I am here seeking the expertise of this community.
    Thanks,
    Jay

    Use sc command to put Windows Module Installer to disabled in your script after Enabling Hyper-v Role. When the system completely restarts, change it to Manual or Automatic.
    Note: I have not tested it, it is just my thought, if it does not work or something unexpected happens, it means your issue cannot be fixed this way.
    Juke Chou
    TechNet Community Support

  • ActionForms and Actions

    I have managed to make a console extension for my custom authentication provider. But there is one problem - how to handle submitted form data. Currently there is no quality tutorial at weblogic sites :( I found some but there are some steps skipped!
    I only know that I have to make Struts ActionForms and Actions. But I really do not know how.
    Could you please help me.
    Thanks a lot.

    Enyone pleeeeeeeeease.
    I find lot of contrary examples at web, but there are some ideas i could use. I only do not know how to make struts-auto-config-xxx.xml file. There are no manual for it :-(
    Help please.

  • Lenovo Yoga 2 13, Kali Linux 1.0.7, Ubuntu 14.04, Windows 8.1 install, config, and wifi fix.

    Lenovo Yoga 2 13, Kali Linux 1.0.7, Ubuntu 14.04, Windows 8.1 install, config, and wifi fix.
    I wanted to share an experience with everyone I hope will help others avoid what I have gone through the past 3 days. I bought a Yoga 11s that I loved but had some issues with the wireless, Lenovo being awesome replaced it with a Yoga 2 13. I love this laptop but ran into some issues with Linux install/wireless, which I wanted to show how to resolve in one place. Hopefully this will help someone else get through this quicker
    I am going to try and write this for someone with little Linux experience, if I miss the mark please let me know and I will clarify the best I can.
    For work I need Windows 8.1 and Kali Linux, while for home I prefer Ubuntu.
    My Yoga 2 13:
    I5 1.6 ghz
    8 GB ram
    256 GB SSD
    ORANGE!
    My requirements: 
    I need Windows
    I need Kali Linux (livecd, even with persistent mode was not an option as it would not save the wireless fix or system updates) – I would also like this on a USB drive and not the internal SSD
    I would like Ubuntu
    Needed to do this:
    1. 2 USB thumb drives (at least 8gb in size each) I used 2 Leef Supra 32GB drives. They are my favorite right now and are only about $27 at amazon.
    2. Phone that can USB Tether or a USB Ethernet card (External USB wireless will show as "Hardware Locked"). Again you can pick one up for sub $10 if you need the USB Ethernet route. I used my Galaxy S5, you will need to download 200-300 mb of items through this so make sure you have the data if you go that route.
    3. You may be able to get a USB wifi card to work if you do the following after boot. This only worked once for me.
                    a.Type ‘sudo rmmod iwlmvm’
    b.Type ‘sudo rmmod iwlwifi’
    4. ISOs of Ubuntu and Kali Linux (I used Ubuntu 14.04 and Kali Linux 1.0.7)
    5. Software to unzip the ISOs. I recommend 7-ZIP and will be referencing this in this guide.
    6. I will include the EFI boot files and the WiFi fix files if I can attach. Otherwise I will provide a link to them.
       Link: https://www.dropbox.com/s/puxnnoft3gn2b6l/WiFiFix.zip
    Recommended (these are just in case you corrupt something making your system not see any OS
    1.  I would call Lenovo beforehand and get a set of recover disks (this will take 2-3 days)
    2. In the meantime a USB Windows 8.1 or 8 ISO (the repair feature may save you)
    *Note: At many points in this guide I detail steps and commands. Please double check that you understand the step before proceeding. There are multiple points where a mistyped command or clicking the wrong option will cause your entire system to fail and you will need to reformat the entire drive and start over. This also will make One Touch recovery not work. Proceed with caution.*
    I did not need to disable ‘secure boot’ to do this, but keep in mind that you may need to.
    Steps:
    First let’s go through the installs, and then we will go through grub config and wireless fix
    1. In Windows scroll to computer and right click, select manage.
    2. Go to “Disk Management”
    3. Select the main HDD (notice Lenovo puts a stupid number of partitions on here)
    a. I deleted the D: drive on here, if you do this make sure to copy the drives over to your main C: drive. You will want to run each of the installers and repair the drivers after.
    4. I used the space from the D: drive and pulled a little more creating a 50 GB partition for Ubuntu and my swap file
    a. You can also add more space by right clicking your C drive and selecting shrink
    b. Do not format the partitioned data as this will make identifying it later much easier.
    5. Open a command line
                    a. Swipe from the right of the screen and select search
                    b. Type ‘cmd’
                    c. right click and select ‘run as admin’
    6. For Ubuntu: Type ‘diskpart’ into the command line
                    a. type ‘list disk’
    i. You should see 2-3 disks depending on if you have one or both usb drives in the laptop at the time. I would suggest only doing 1 at a time so you don’t lose track.
                    b. type ‘select disk $’ (Replace the $ with the number of the drive)
    c. ***** Before proceeding make sure you have the correct drive selected or you can ruin your Windows install and Lenovo one touch recovery will not fix it since we have changed the partitions *****
    d. type ‘clean’
    e. type ‘create partition primary’
    f. type ‘active’
    g. type ‘format  fs=fat32 quick’
    h. type ‘assign’
    i. type ‘exit’
    6. For Kali Linux: Type ‘diskpart’ into the command line
                    a. type ‘list disk’
    i. You should see 2-3 disks depending on if you have one or both usb drives in the laptop at the time. I would suggest only doing 1 at a time so you don’t lose track.
                    b. type ‘select disk $’ (Replace the $ with the number of the drive)
    c. ***** Before proceeding make sure you have the correct drive selected or you can ruin your Windows install and Lenovo one touch recovery will not fix it since we have changed the partitions *****
    d. type ‘clean’
    e. type ‘create partition primary size= 3272
    f. type ‘active’
    g. type ‘format  fs=fat32 quick’
    h. type ‘assign’
    i. type ‘exit’
    j. By doing this we can maintain a portion of this drive as the install CD and still have linux install/ liveCD if we need to run it on another machine.
    7. At this point the drive is ready to have the contents of the ISO copied over.
    8. Right click the ISO and select 7-zip then ‘zip to /’ This should unzip the ISO to the location of the ISO into a folder named exactly the same as the ISO.
    9. Once this is done for Ubuntu ISO it is done
    10. Kali requires a little bit more to be ready
                    a. Kali will need some files added for EFI boot. --$--
                                   i. Thanks to: https://forums.kali.org/showthread.php?271-How-to-EFI-install-Kali-Linux
                                   ii. EFI files are located within the wifi fix folder https://www.dropbox.com/s/puxnnoft3gn2b6l/WiFiFix.zip
    11. Now let’s start with Ubuntu
    Ubuntu install
    1.     Place USB drive into the laptop and press the “Lenovo boot” button next to the power button
    2.     Select ‘Boot Menu’
    3.     Select ‘EFI USB Device (Name of drive)’ Mine stated Leef Supra
    4.     Select ‘install Ubuntu’
    5.     Go through the Ubuntu install until you get to select the install drive
    6.     Once you get to the install portion it will ask you to select from one of 4 options. Select ‘Manually select partition’
    7.     Select the “Free Space” where we opened up some of the drive
    8.     You will need to create 2 partitions, I usually create the swap partition at the end of the drive
    a.     First I create the swap
                                              i.    Set at the end of the drive
                                             ii.    Set size to 1024 mb
                                            iii.    Set type to ‘swap’
    b.     Second create the ext 4 partition
                                              i.    Set to beginning of drive
                                             ii.    Set to remainder of the space
                                            iii.    Set type to ext4
                                            iv.    Set mount point to /
    9.     Finish the install and boot into Ubuntu
    10.   You will notice that your wireless is ‘disabled by hardware’ This is fine for the time being and we will worry about this after the kali install. If we fix it now for some reason after installing kali we get the error again and would just need to fix it again.
    Kali Linux install
    1.     Place USB drive into the laptop and press the “Lenovo boot” button next to the power button
    2.     Select ‘Boot Menu’
    3.     Select ‘EFI USB Device (Name of drive)’ Mine stated Leef Supra
    4.     From the grub menu select ‘install kali linux’ both graphical and text work. I much prefer text install
    5.     You will get a few errors through the install but that is fine
    6.     The first we see is about network hardware and ‘load missing firmware from removable media?’ – Select ‘no’
    7.     Then select no ethernet card
    8.     It will have you name your machine then it will ask you for the root password
    a.     If you want to just use root *not recommended* place the password here
    b.     If you wish to use a non-root account then leave these blank and it will ask you for a name, username, and password of the new machine *Very Recommended* - this will also add this user to the sudoers file
    9.     It will then ask you to ‘partition disks’
    10.   Select manual
    11.   Now here is where it can get a little confusing so read twice click once
    12.   Select the USB drive from this list
    13.   Mine shows up under (sdb) – Leef Supra
    a.     It could be sdc, sdd, sde, etc… depending on how many drives you have plugged in.
    14.   You should see one primary drive that is 3gb or so that is formatted as FAT32. – DO NOT TOUCH THIS PARTITION!
    15.   You should see the remainder of this drive as ‘FREE SPACE’ select that
    16.   Create a partition at the end at size 1024mb and swap
    17.   Then create another one for the remainder of the drive and set it to ext4 with mountpoint of /
    18.   Continue through the install after you should see an error warning you that ‘you may not be able to boot’ that is fine, select continue
    19.   Then select from the menu of all the options ‘continue without bootloader’
    20.   It should finish up then reboot on its own.

    First setup/boot/fix grub
    1.     You should  be able to boot up into GRUB2 menu now.
    2.     You may not see kali linux in this menu (make sure you have your towel and don’t panic!)
    3.     Boot into Ubuntu
    4.     Once you log in you should see that you still cannot use wireless due to being locked by hardware
    5.     This is expected
    6.     Let’s fix grub then we will come back to fixing wireless
    7.     Plug in your device to connect to the internet (USB Tethering or USB Ethernet)
    8.     Once you verify that you now have an internet connection run the following from terminal
    a.     ‘sudo add-apt-repository ppa:danielrichter2007/grub-customizer’
    b.     ‘sudo apt-get update’
    c.     ‘sudo apt-get install grub-customizer’
    9.     You can also edit the grub.cfg manually if you know what you are doing… I did not
    10.   Open grub  customizer
    11.   It should auto populate and you should see ‘debian (kali linux)’ somewhere in the list
    12.   It should be mounted to /dev/sdb2 or /dev/sdc2 depending on how many devices you have
    13.   At this point go ahead and save
    14.   Reboot and test that you can get into each OS
    15.   This is where my inexperience got me. I spent 2 of my days so I am including this error: If when you boot into Kali you get an error somewhere that says ‘/bin/sh: can’t access tty: job control turned off’ look above it for an error that looks similar to ‘ALERT! /dev/sdc2 does not exist. Dropping to a shell!!’
    a.     That error is due to the mount point being incorrect in grub, reboot and from within grub highlight the kali boot. Press ‘e’ then towards the bottom you should see ‘root=/dev/sdc2’ change this to ‘root=/dev/sdb2’ again the number doesn’t matter just make sure it stays the same.
    b.     Press F10
    c.     If this boots fine then you will need to go back and fix the grub.cfg or load into Ubuntu and open grub customizer again, it should fix this
    16.   Now you have 3 working OS on the machine with one being on a USB! Congrats!
    17.   You can remove the USB with no worry of screwing up your install, but you will not be able to boot into Kali Linux until you replace it. I would suggest only removing it and replacing it while the machine is powered off, but that’s just me.
    Fix Wireless
    Now is the time to do what probably ¾ of you came here for. FIX THE DANG WIRELESS. This is a huge problem from Lenovo’s side that I hope they realize how important Linux is and will fix. I won’t hold my breath though.
    Log into Ubuntu : This is well documented in the following forum post on page 3 by user Haohe:
    http://ubuntuforums.org/showthread.php?t=2215044&page=3
    His has you download quite a large file, mine should be much smaller.
    https://www.dropbox.com/s/puxnnoft3gn2b6l/WiFiFix.zip
    1.     Download the attached package with the fix.
    2.     Connect your USB internet device (tether or ethernet)
    3.     Place the packages somewhere easy to access, in this example I will place them under ~/Desktop/WiFiFix
    4.     Type ‘cd ~/Desktop/WiFiFix/’
    5.     Now we need to prep the tools we need.
    6.     Type ‘sudo apt-get update’ – we did this before, but you know, just in case
    7.     Type ‘sudo apt-get install linux-headers-`uname –r`’   Note around uname-r they are the ` symbol not the ‘ this is located just above the tab on the same key as ~.
    8.     Type ‘make’
    9.     Type ‘sudo cp /lib/modules/3.13.0-24-generic/kernel/drivers/platform/x86/ideapad-laptop.ko ~/ideapad-laptop.ko.backup’
    10.   Type ‘sudo cp ~/Desktop/WiFiFix/ideapad-laptop.ko /lib/modules/3.13.0-24-generic/kernel/drivers/platform/x86/’
    11.   Type ‘sudo modprobe -r ideapad-laptop’
    12.   Type ‘sudo modprobe ideapad-laptop’
    13.   Type ‘sudo rfkill unblock all’
    14.   Type ‘sudo modprobe -r ideapad-laptop’
    15.   Type ‘sudo mv ~/ideapad-laptop.ko.backup /lib/modules/3.13.0-24-generic/kernel/drivers/platform/x86/ideapad-laptop.ko’
    16.   Next we need to blacklist the ideapad module
    17.   Type ‘sudo echo 'blacklist ideapad-laptop' > /etc/modprobe.d/blacklist-ideapad.conf’
    a.     The first time I tried this it wouldn’t work. So I did the following
    b.     ‘sudo touch /etc/modprobe.d/blacklist-ideapad.conf’
    c.     ‘sudo vim /etc/modprobe.d/blacklist-ideapad.conf’
    d.     Enter     blacklist ideapad-laptop
    e.     Exit and save
    18.   Reboot your Yoga 2 13
    19.   Boot into kali and see if you have wireless, if you do then you are done. If not we will need to repeat this process with one small little change.
    Kali Wifi Fix
    1.     Copy the sources.list from the package provided
    2.     Replace /etc/apt/sources.list with the included
    3.     Some of the file path changes but the process remains the same from here.
    Congratulations you now have 3 OSes one portable to other machines and working wifi!
    Thank you
    SirGed

  • Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default

    in use:
    vRO 5.1
    eclipse 3.7.2
    vRo plug-sdk 5.1
    steps:
    1.create a plug-in project from samples(choose solar system)
    2.find the dar package and upload it by vRo configuration
    3.vRo configuration said upload successfully,but the solar system configuration is not properly configued..
    problem:
    Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default
    How to solve it??
    Thanks so much!!

    There was problem from crm side...its working now..

  • Problem with "Insert" and "Overwrite Sequence Content"

    I'm working with XDCAM footage. I like to take all the individual clips recorded on the XDCAM disc, and after getting them into FCP, taking them and putting them all in a sequence in FCP, then using that sequence as the source in the Viewer. This allows for quick scanning of all the clips, much as is it were a digitized tape.
    I recently found the "Insert Sequence Content" and "Overwrite Sequence Content" commands in FCP, and like them in that they actually put the individual clips into my project timeline, and not just the combined sequence (which looks more or less like a nest when dropped into my project sequence).
    Here's the problem: When I put IN and OUT points in the timeline, and "Insert or Overwrite Sequence Content" using the sequence containing all the clips, the video tends to be contained to between the IN and OUT points I set in the TIMELINE, but the audio tracks tend to expand past the OUT point I set in the TIMELINE, and I can't figure out why, or how to get around this.
    Any assistance would be appreciated.

    If you're inserting or overwriting, you're basically pasting the content that you've chosen. I wouldn't think the out point would be recognized, or even wanted. If you copied 5 minutes of clips and inserted it into a sequence with a 4 minute in/out point duration, do you want to only have the first 4 minutes inserted into the sequence? If you only place an in point, it will insert all the clips, starting at that point, and it will take up as much time as the clip content's duration.
    Am I missing something here?

  • Firefox will open 4 or 5 tabs fine, but then will not load any further websites after those first 4 or 5, or allow you to refresh one of those first tabs -- including about:config and the addon page

    Firefox 5 worked fine. I installed Firefox 7, and when I ran it, tabs would just say "connecting to..." and hang. Restarting did not help. Websites open fine in IE and Chrome. Disabled all firewalls and antivirus, did not help. Uninstalled and reinstalled Firefox 5, everything worked fine again. This was using Vista 64-bit.
    Upgraded to Windows 7, uninstalled Firefox 5, installed Firefox 7, had same problem. Uninstalled Firefox 7 completely (including the profile information, I saved that information in another folder), restarted computer, and installed Firefox 7 using a completely clean profile. Did not install any add-ons, checked to make sure all plug-ins were up-to-date, and updated plugins.
    Now when I start Firefox, I can load 3 or 4 or 5 tabs fine -- after those first few tabs are open, I cannot open or refresh any other tabs -- including about:config and the add-on manager -- I have to restart Firefox. The hangup doesn't appear to be related to what websites I am attempting to open, but it looks like the number is the problem. I have run through all of the FAQ procedures, including changing the max number of network connections to 48, and the problem does not seem to go away.
    As a side note, I had this same problem when I tried to go from version 5 to version 6 as well. Version 5 is the most recent version that worked on my system.

    Can you try Aurora - download it from http://www.mozilla.org/en-US/firefox/channel/
    And let us know how it works.

Maybe you are looking for

  • Move multiple clips at once

    I often have to move multiple layers of clips or still images and keep their position relative to each other. In AE and in PS I can select multiple layers and drag their position around freely, but in Premiere Pro, I can only drag one layer at a time

  • Why doesn't the local news part of the bbc news website update when content changes?

    i have BBc news as my home page and in Internet Explorer it updates regularly to show changes to local news headlines but this doesn't happen in Firefox. i have to change my location to get the lasetst local headlines. the only person who has enquire

  • Terminated with error: br REP-56048: Engine rwEng-0 crashed, job Id: 5778

    while running report i m getting following error Terminated with error: <br>REP-56048: Engine rwEng-0 crashed, job Id: 5778 I m unable to trace what is wrong currently i m using report application server 10.1.2.3.0 and delimited as desformat. I have

  • Incoming calls - phone not ringing

    Hi All, My landline phone doesn't ring when there is an incoming call. If I test it with my mobile, I can pick it up and the call connects. Outbound calls are also fine. This makes me think it's the ringer signal which isn't getting through. I have t

  • MBCFC004 problem with updation of batch characteristics

    hi, I am facing a problem in updattion of batch charactristics using exit MBCFC004.. EXIT_SAPMM07M_004  in user exit interface EXIT_SAPMM07M_004 there is one table parameter 'Values' which is used to update batch characteristics.      i am able to ad