Control frequency and number of cycles

I am trying to use a stepper motor and a motion controller to control a push rod. The push rod will fatigue sutures that are attached to a valve. My question is if there are any sample codes in labview that will help me control the frequency and the number of cycles. I will also have a load cell to give me a force profile.

Hello,
Have you looked at the Motion shipping examples for LabVIEW? There is a particular example, One-Axis Move (Accel - Max Velocity - Decel).vi, which is located at:
C:\Program Files\National Instruments\LabVIEW 7.1\examples\Motion\FlexMotion\One Axis.llb
This example allows you to control the acceleration, deceleration, velocity, and target position (in counts) of the movement. There are a number of other shipping examples located in the C:\Program Files\National Instruments\LabVIEW 7.1\examples\Motion\FlexMotion directory that may be of additional assistance in developing your code. I would suggest starting with the One-Axis Move example first, though.
Take a look at that example and let me know if you have any additional questions on this issue.
Regards,
Scott R.
Applications Engineering
National Instruments

Similar Messages

  • Is there a way to cycle a while loop on its own and only controlled by the number of cycles?

    Hello everyone, 
    Newcomer here, recenlty just took core 1 and 2 the past couple of months
    is there a way to cycle my while loop so that the daq assist receives the same outputs from the list box table? So pretty much I need the VI to be able to read the voltages and time values from the list box and then execute them, I've manage to do this, but then I need it to stop for a given time and then execute again the same voltages. This would be controlled by a control for "number of cycles" input. 
    Can someone tell me why my "Emergency Stop" button doesn't stop the VI?
    Why is my data logging only outputing one result if I have it to read ever min?
    My wave form graph isnt plotting the temperature results, does it have somthing to do with the while loop?
    I know this is a lot of questions, I'm just trying to solve this and learn from it.
    Attachments:
    TEST RIG 11 10-28-13.vi ‏298 KB

    You took core 1 and 2!!!  Please tell me NI didn't teach it.  I'm not trying to harp on you too bad because I think the instructor is more to blame.  You have many wires going the wrong direction, multple loops doing nothing, and one loop that will never stop so even if all the others did there would be no way to stop your program, a Stop button that is read only once at the start of the application and then is never read again (so stop will never work).  You have the inner loop running forever, but even if it did stop it would run the outer loop forever, your enums should be typedefed, uninitialized shift registers when not needed, dynamic data types, far too many express VIs...ouch.
    To answer your question.  If you have a while loop that needs to run 5 times, why not use a for loop? Then wire a 5 to the N terminal.  If you do have to use a while loop for what ever reason, use the i terminal as a condition to stop.  It will start at 0 and count up so a value of 4 means it will be executing the 5 time.  If the value equals 5 then stop.  Get the Array size of the Listbox and set your for loop to run for each item.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • FM for checking EAN control digit and Number Range

    Hello All!
    Anybody know what functional module is used for checking correctness of EAN ?
    Parameters:
    exporting ean11, ean type
    importing EAN_Ok
    I need to do this check procedure when I upload additional EANs via artmas (but it doesn't matter).
    Best Regards,
    Eugene

    Check FM EAN_CHECK. There are other FMs also starting with EAN_*.

  • Sampling frequency Fs and number of sample #s in a waveform

    Hi there,
    It is probably a stupid question but I am still going to ask it:
    I do not completely understand why in the "Basic Function Generator.vi"  there is a distinction between the number of samples #s and the sampling frequency Fs..?
    What is the purpose to have more or less samples in the generated waveform then specified by the sampling frequency of the signal?
    I hope this question make sense (or am I missing something obvious)?
    thanks,
    Best,
    Renaud 

    rihns wrote:
    I am sending those values to an AO (to a mechanical system that reproduce the sended waveform) and record the signal with an AI. My problem is that when I reduce the number of sample as explained in the previous message, I enhance the number of cycles i.e the time of the signal seen by the AO but it does not seem to apply to the AI... see attached image (Fs = 305000 #s=30500 AO is in white AI is in red)
    Why does the #s only affect the time of AO and not the one of AI? (the number of cycle is the same though, only the time base is different)
    I think we need to see some code in order to get the full picture of what you are doing.  The number of samples of the AO should have nothing to do with the AI.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How do you control number of cycles shown on chart

    How do you control number of cycles shown on chart?  I've selected a sweep chart and I'm not seeing the vertical bar on the chart when the program runs.  This is probably because I'm not seeing a full cycle of the periodic signal I'm trying to display.  I need to set the chart to display multiple cycles.  Any help will be greatly appreciated.
    Solved!
    Go to Solution.

    Right click the chart and set the desired number of points in the history buffer (right-click...chart history lenght...). Then set the x-axis not to autoscale and to cover your full history range.
    LabVIEW Champion . Do more with less code and in less time .

  • Frequency and duty cycle measuremen​t

    Hi Friends,
    Its been very helping from the day 1 i started psoting my questions to this forum...
    Now again its time to seek ur help...
    My req is something like i  have a sound waveform (say a tone) saved as a .wav file.
    Say suppose 1.wav.................
    I need to evaluate this wave at a particular interval and should be able to calculate duty cycle, dB level, output frequency and peak to peak voltage similar to a CRO.
    I already tried with the below VI but its showing for the entire .wav, so need to do some modifications which attains my req, but i am not sure where to kick off....
    So anybody who have worked or developed similar VI in past ,please share your exp's
    Thanking you in advance.
    Cheers,
    Suneel.V
    Attachments:
    Duty_Cycle.JPG ‏91 KB

    Joe/Jeremey,
    I am facing some new issue with the VI,
    Frequency and Duty cycle are coming but the problem is something like the JPG attached.
    Its not frequent and only coming for a particular part of the waveform
    Is it waveform (.wav) dependent, if so let me know how to debug this.
    Attached the VI (modified), snapshot of error and also wavefile (.wav)
    P.S: error coming only when the yellow lines selected to the first quarter of the wave.
    Cheers,
    Suneel.V
    Attachments:
    delete_b.zip ‏12 KB
    Waveform_Extractor_With_Duty-Cycle_July11.vi ‏151 KB
    error_midlevel1.JPG ‏133 KB

  • Set Article which control batch and serial number at component level

    Dear experts,
    I have some concern about set article as  the requirement for sale set my company would like to control inventory at component level and at the component level we required to control batch and serial number.
    So, when posting GR of sale set article system will auto split material to control inventory at component level with MVT 319 and in this step should possible to manual define serial number for component.
    Example
    Header Sale Set A  (Activate valuation type)
    Comp1 : B (Activate serial number and control serial number during GR ref PO , control Batch)
    Comp2 : C (Control Batch)
    GR : Header Sale Set A
    Expected Solution : System should automatic to split to comp1 and comp2 , for Comp1 B will require to input serial number.
    Fact : During testing, system auto split to comp1 and comp2 for comp1 I can input serial number but after save the serial number that I input are gone.
    I 'm not sure that for set article can we control serial number at component level? If anyone have the expereince in this. Please help ?
    Best Regards,
    Kate

    Dear experts,
    I have some concern about set article as  the requirement for sale set my company would like to control inventory at component level and at the component level we required to control batch and serial number.
    So, when posting GR of sale set article system will auto split material to control inventory at component level with MVT 319 and in this step should possible to manual define serial number for component.
    Example
    Header Sale Set A  (Activate valuation type)
    Comp1 : B (Activate serial number and control serial number during GR ref PO , control Batch)
    Comp2 : C (Control Batch)
    GR : Header Sale Set A
    Expected Solution : System should automatic to split to comp1 and comp2 , for Comp1 B will require to input serial number.
    Fact : During testing, system auto split to comp1 and comp2 for comp1 I can input serial number but after save the serial number that I input are gone.
    I 'm not sure that for set article can we control serial number at component level? If anyone have the expereince in this. Please help ?
    Best Regards,
    Kate

  • How to count the number of cycles in sine wave

    Hi,
    I am new to Labview.  I have labview 8.2 version and my dataacquisition is NIDAQPAD6015.  I could write a program to generate a sine wave of desired frequency through simulate signal. My question is how do i measure the number of cycles for this sine wave as soon as I run the program. Hope my question  is clear.
    Ravi Mokirala

    To find the offset (which in this case is the Y value midpoint around which the sine wave is symetrical):
    Capture more than one cycle.  Find the min and max values.  Subtract Min from Max and divide by 2.  Then subtract this result from the Max value (or add the result to the Min value).  This is the offset.
    To count the number of cycles where the offset is unknown, just use the first data point value as a reference.  If the next data point is more positive, then count the number of times that the first data point is repeated and the next data point is more positive.  Of course with DBL data type, you probably would not get the exact same value as the first data point, so you need to use In Range with a very tiny limit.  It all depends on your signal amplitude, frequency, and sampling rate.
    Example:  Lets say your first data point value is 0.5 and the 2nd point is 0.55.  You need to look for another value that is between 0.48 and 0.52.  Then read the very next data point value.  If it is greater than the previous value, add one to the cycle count.  If it is less than, you are at half a cycle, do not add to the count.
    - tbob
    Inventor of the WORM Global

  • Position drift during the stepper motor controlled back and forth motion

    Hi everyone there,
    I get a headache position drift problem during the stepper motor controlled back and forth motion. I have been wroking on the problem for the last two weeks, and still can not figure it out. So I write down here my problem in hope of getting some clues from those have some experiences in stepper motor motion control.
    My goal is to use a stepper motor to drive a beam flage fixed onto the shaft to go back and forth for a certain angle, and this back and forth motion needs to be stable and reproducible within hours. With the SMD1 stepper motor driver, I only need to send in a pulse train to control the number of steps(the pulse frequency defines the stepping rate), and another pulse to controle the direction (i.e., cw or ccw). To do this, in LabView, I used the counter of the DAQ board to produce a finite pulse train to step the motor, and used one digital line to produce a pulse to switch the direction every 500ms, the timing is contolled by the software.(I used the oscilloscope to monitor these two pulses, the pulse train produced by the counter looks very stable, and delay between the pulse edges of the direction pulse and the pulse train is also very stable within 500ms. There seems no software timing problems at such a long delay.)  And this labview controlled motor appears to work perfectly as I required, the motor steps a defined number of steps at one direction, and then steps back at the origin position. But after running for a few minutes, the back position shifts gradually(I can not observe a obvious shift at the first few minutes) with repect to the origin position(the position I start running). I looked it up at the manual and also the website, I got a clue that this might because the motor steps at the resonace frequency of the motor and hence misses or takes extral steps sometimes. So I changed the steping rate from 1Hz to 1000Hz to see if the shift disappears or gets smaller at certain frequency range, but the shift always exists.
    I did observe the shift got smaller within the same running time when change the step model from full step (1.8degree/step)to half and quarter step model. According to this, the motor did miss steps (or pulses) during running, the quarter step model has smaller shift due to the smaller steps.  But I also noticed that the motor always shift at one direction, no matter I started with clockwise or counter-clockwise, this seems really strange to me. Because the motor should shift at each direction with the same probability if we assume the motor missis steps randomly.
    There is something must be wrong, either the labveiw program or the motor, but I don't even know a clue of this weird shift problem. And because of this, I haven't made any progress in my lab for the last three weeks. So any suggestions could be very helpful for solving this headache and will be really appreciated.
    Thanks a million in advance and Merry Christmas!
    Li

    Hey, Brian Beal,
    Thanks for your quick response. "accel" and "decel" mean acceleration and deceleration, am I understanding right?
    If yes, then I don't have these in my LabView program, I just generate one TTL pulse train and one TTL pulse with LabView and send them into the SMD1 stepper motor driver.
    The pulse train steps the shaft, and the other switchs the direction.
    Yesterday, I confirmed that if the motor steer always at one direction either CW or CCW, then the stepping were very stable, no missing or extra steps happen for hours.
    And I also observed that the motor took one extra step  from time to time when the direction changes. And this only happens when the direction switch from CW to CCW. (bizarre!)
    I guess this indicates that some pulse noise happens when the motor switch the direction too often.  But I just don't have any clue for irregular extra steps.

  • In Pages document, how do I search for word and view its frequency and page numbers in a sidebar?

    I have a long document and I want to be able to search for certain key words and phrases, and then see how many times they appear in the document and exactly where.  How do I conduct this sort of search and viewing?  In the past, in Pages and Word, I've been able to view my "finds" in a sidebar but I can't figure out how to activate that service anymore.
    Thanks!

    Here is a word frequency concordance Automator Service that works in both versions of Pages. It does not present a page number reference. It is by descending count, and alphabetically, within the repetitive counts as shown in the image here. In any document, you select the text to process, then Menu > Application Name > Services > Frequency. The Service will open TextEdit with the n-pages of scrollable results. It is 16 pt Helvetica Neue for legibility.
    Here is the code:
    on run {input, parameters}
         try
              set mySelection to input as text
              set formatted_result to concordance(mySelection)
              if formatted_result is not null then
                   set textHeading to "Word Frequency List"
                   tell application "TextEdit"
                   activate
                         set NewDoc to make new document with properties {name:"Concordance"}
                         make new paragraph at beginning of text of NewDoc with data textHeading & return
                         make new paragraph at end of text of NewDoc with data formatted_result
                         tell text of NewDoc
                               set font to "Helvetica Neue"
                               set size to 16
                               set color of paragraph 1 to {0, 0, 65535}
                         end tell
                        end tell
              else
                        display dialog with title ¬
                         "No input selected" with icon stop ¬
                          giving up after 15
              end if
         on error errmsg number errnum
                    display alert ¬
                               "AppleScript Error" message errmsg & "[" & errnum & "]" as critical ¬
                                  giving up after 30
         end try
         return input
    end run
    on concordance(mySelection)
    -- Use Ruby to count word frequency and alphabetically sort words
        set rb to ¬
        "selected = String.new\nfreqs = Hash.new(0)\nselected = ARGV.join('  ').gsub(/[,.]/, \"\")\n
         words = selected.split(/[^\\w-]+/)\nwords.each { |word| freqs[word] += 1 }\n
         freqs_sorted = freqs.sort do |a,b|\n\t
         a.last == b.last ? a.first <=> b.first : b.last <=> a.last\nend\n
         freqs_sorted.each { |k,v| printf \"[ %8s ]          %s\", v, k }"
        do shell script "/usr/bin/ruby -e " & rb's quoted form & space & mySelection's quoted form
    end concordance
    Launch /Applications/Automator and choose New Document, then click the Service icon, and then select the Choose button.
    On the left, you will have a list of Libraries from which to choose workflow items. Find Library > Utilities. In the adjacent column, locate the Run Applescript workflow. Click on it, then drag and drop it in the large workflow window to your right.
    At the top, you can select Service receives text in any application. Leave Output replaces selected text unchecked.
    In your Run AppleScript workflow window, you will see AppleScript boilerplate. Click on it and press command+A, then backspace to delete this content. Copy and paste the above code into this Run AppleScript workflow window. Press the Run button in Automator's upper right corner. If (and it should) a TextEdit window pops up, you are good, and you want to press File > Save. A dialog box will pop-up where you can name your Service. I called my Frequency, you may wish to call it something else. Once you have save it, you can exit Automator. Services are deposited in yourlogin directory/Library/Services.
    If you have a Pages document open with text, either select it, or command+a to select the entire document. Now, you select your Service via Pages > Services > Frequency. This will now pop-up a new TextEdit document with the results. If you want to save this new document, you must use option+File to Save as...

  • Is there an APP to monitor call usage and number of texts sent

    Is there an APP to monitor call usage (in minutes) and number of texts sent etc so I can ensure I am keeping within my contract? I am getting my 3GS on Thursday so do not know if the phone has this facility already inbuilt or whether there is an app I can buy to do this for me?
    Thank you for any help and info to answer my question.

    Unless O2 has an app available via the iTunes app store that provides for this as AT&T does for the iPhone sold in the U.S., I don't believe so.
    The iPhone includes a usage indicator for Call Time and Cellular Network Data usage, which can be reset on a monthly basis based on your billing cycle, but there is no usage indicator for the number of messages sent or received.

  • How can i dynamically varie the location and number of major grids in XY graph.

    Hi All,
        I'm supposed to plot some statistics in X-Y graph with x-axis scaled on time stamps. The plot generated has only one  major grid. Can I have a control over the location and number of major grids dynamically?
    Thanks,
    Saravanan.T 

    Hi Saravanan,
    use a property node "X scale.Range.Increment" to set the spacing of the major grid...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Control File and SPFILE Autobackup command struck

    O.S Version:
    Linux Version "Red Hat Enterprise Linux Server release 6.2 (Santiago)
    Linux version 2.6.32-220.13.1.el6.x86_64 ([email protected]) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Thu Mar 29 11:46:40 EDT 2012
    2.6.18-308.16.1.el5  x86_64
    Tape Archiver : HP Data Protector
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Problem :
    In one of our environment,  OEM grid 11g scheduled Level 0 backup struck at the Control File and SPFILE Autobackup.
    RMAN Script:
    run {
    2> backup format '<%d_%s:%t:%p:%f>.df' incremental level 0 cumulative database;
    3> sql 'alter system archive log current';
    4> backup format '<%d_%s:%t:%p>.al' archivelog all not backed up;
    5> }
    RMAN Configuration
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name TestDB are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 45 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO 'TestDB_%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'TestDB_%F';
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS  'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=TestDB,OB2BARLIST=Siv_ORA_TESTSrvr1_TestDB_DB,OB2BARHOSTNAME=TESTSrvr1)';
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DG_TestDB_UAT_DATA_01/TestDB/TEMPFILE/snapcf_TestDB.f';
    RMAN Log:
    1.    Backup started at 07-SEP-2013 07:09:46
         Finished backup at 07-SEP-2013 07:16:38
    Wherein the Control file backup started at 07-SEP-2013 07:16:38 failed at 09/07/2013 12:44:38.  It kept struck for  5 Hours.
    Starting backup at 07-SEP-2013 07:09:46
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: SID=250 instance=TestDB device type=SBT_TAPE
    channel ORA_SBT_TAPE_1: Data Protector A.06.20/370
    allocated channel: ORA_SBT_TAPE_2
    Finished backup at 07-SEP-2013 07:16:38
    Starting Control File and SPFILE Autobackup at 07-SEP-2013 07:16:38
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_SBT_TAPE_1 channel at 09/07/2013 12:44:38
    ORA-19506: failed to create sequential file, name="TestDB_c-2078060264-20130907-ff", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
       Vendor specific error: Cannot find requested element ERR(-2)
    ORACLE error from recovery catalog database: ORA-03113: end-of-file on communication channel
    Process ID: 2045
    Session ID: 89 Serial number: 36509
    RMAN> delete noprompt archivelog all backed up 1 times to sbt;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 09/07/2013 13:00:07
    RMAN-06004: ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE
    RMAN> **end-of-file**
    Why does the RMAN Backup struck at Controlfile , SPFile autobackup?

    Hello;
    I believe the issue is caused by your media management software. You should contact your media management vendor.
    Try the same operation to disk and I bet it works.
    Best Regards
    mseberg

  • MISSION CONTROL, LAUNCHPAD, and FULL SCREEN APPS (one month later)

    I'm pretty good embracing a new thing when it comes along.  I downloaded LION the day it come out, which was over a month ago at this point. On that day, I immediately found MISSION CONTROL and LAUNCHPAD both uninituitve and pointless.  Unhandy iCandy.   And of FULL SCREEN APPS?  Not necessary on an iMac anyway.
    So I quickly sought out quick solutions to 'fix' these new features.  Launchpad and full screen apps have the advantage that they can be simply ignored.  This is a good thing.  Mission Control, on the other hand, got in the way of a beloved feature for me:  what was once SPACES and EXPOSE.  That is, I couldn't simply ignore MC because I still needed the previous helpful features in Snow Leopard.
    My solution was kind of surprising and eye-opening.  It's complicated to explain but I thought I'd share.  This conclusion is likely best suited for someone not using a small screened Mac.  It turns out that most users (with big enough screens) don't really need Mission Control, Launchpad, Spaces, or Full Screen apps. 
    At all.
    Let's go through that conclusion, one by one:
    FULL SCREEN APPS
    If you have a relatively big screen (20 iMac for instance), why do you need Safari full screen?  Unless you intend to sit across the room from the computer, no reason.  And there's lots of bright empty space when you do this.  Do you need the Mail app full screen?  If you need reading glasses, maybe, but otherwise, nope.  I find it's easier just to stretch out an app pretty big and leave it at that.
    Full screen apps DO offer a nice feature which is making your desktop, menubar, and dock go BYE BYE.  I can see where sometimes this is a useful feature, but typically -- NOPE.  Typically I want access to my dock (to switch between open apps without the added step of cancelling full screen first), and typically I want access to my menubar so that I can glance up and see what time it is or find an app menu quickly.
    The only feature I find worthy of praise with full screen apps is that they hide the clutter on your desktop.  But there's an app in the Mac App Store which makes your desktop icons vanish with the touch of a button (CAMOUFLAGE).  I mean, what's the point of a wallpaper if you bury it with desktop clutter or eliminate it with full screen apps?  If it's a busy and distracting wallpaper, umm... you picked bad wallpaper.
    LAUNCH PAD
    LAUNCH PAD offers an iOS experience inside OS X.  At first I thought it was completely silly.  After a month now, I kinda get why it's there.  Kinda.
    You see, before LP, to duplicate it's functionality, you'd have to organize folders yourself.  Put folders of various apps together.  Place them somewhere in the finder heirarchy.  Then drag those folders into the part of the dock with the trashcan.  Then you could click them open and have access to similarly themed folders of apps.  The problem here, of course, is that unless you're a power user, you'll never do this.
    So Apple thought, AH-HA, we'll just drag into OS X a paradigm that users already get from iOS.  Clumping apps together any way you like them.  The misfire, if you ask me, is not allowing users to drag the new iOS folders straight into the dock when finished.  That is to say:  copies of said organized folders.  It's as if Apple's software people have complete contempt for the dock -- and are desperate to have users abandon it.
    My problem is that I like having folders in my dock of stuff I need.  It just works, as Steve says.  Going to the same EXACT place every time I need anything is more intuitive and graceful than ADDING an app called Launchpad that launches you into a different finder altogether.  Makes zero sense and THIS is why I say, like FULL SCREEN APPS, LP can basically be abandoned.
    By the way:  need proof that Apple has complete contempt for the Dock?
    MISSION CONTROL/SPACES
    A month has passed since MC was introduced and SPACES was eliminated.  I dare anyone to tell me why either is needed at all.  Before you get iMiffed, humor me for a moment and hear me out.
    The notion of SPACES was that it's a neat way to keep like minded open apps together.  I totally bought into this, back in the day.  So much so that I was iMiffed when it was gone in Lion.  But let's look at this closer.
    The REASON why we needed SPACES was that we could have WAY too many windows open at once on a Mac.  Right?  A big mess of windows covering each other up.  Suppose you're surfing in Safari but need iTunes?  But iTunes is hidden.  So what did you do?  You went to Spaces as step one, moused over to your iTunes space as move two, and then clicked it as move three.  Seems like a great solution until the day you discover that you could simply click on iTunes in the dock as move one and arrive at iTunes.  As one step.  Period.  Really simple, right? 
    Why have Spaces and apps dance around when you can just click the app you want and be done with it?  That's the critical observation to make in order to follow my entire line of reasoning.  Sure, it may look really cool and make Windows machines look like junk, but at the end of the day, why add two steps to something you might do 100 times a day -- switching between apps.
    So why OH why did Apple add Spaces?  Simple:  because too many apps were visible at once in one 'desktop' window.  So if you can build many new desktops, there might only be one or two in each.  Great solution.  Right?
    Wrong, as it turns out.  Because we still have the two extra steps.  It's a weak solution.  And it's in complete contempt of the Dock, which as it turns out, offers the strongest solution.
    The strong solution would be that only one app is visible in your Mac's window at all times.  Say you're in Safari.  Despite having 12 other apps open, you only see Safari.  Your dock tells you that you have other apps open, but nothing else sits in your window BUT the app you're using.  So you want to go to iTunes?  So click on it in the dock and Safari vanishes and iTunes emerges by itself.  No other windows.  What could be simpler?  (This app is freeware known as ISOLATOR.)
    If you download and try ISOLATOR, you'll say, umm, okay, but wait:  sometimes I do want more than one window in view.  Okay, fine, turn it off then.  From the handy menu bar menu.  I find that 98% of the time I need ISOLATOR on.  Mileage may vary.
    So let's recap.  One third party software removes distracting desktop clutter, the other removes distracting app windows.  Both can be toggled on and off from the menu bar.  One is free, one costs $2.  These two solutions remove the only real feature of FULL SCREEN APPS and make SPACES and it's newfangled cousin MISSION CONTROL pointless.
    Need that last one explained?  Well, what's Mission Control but a variant of spaces?  To invoke MC and switch to the needed window are those same two annoying steps Spaces added into the mix.  Nothing was fixed.  Plus, like spaces, you must invest time and energy organizing such spaces.
    Why bother?  And so I ask again:  can somebody who's read and tried the above carefully explain to me why Mission Control, Launchpad, and Full Screen Apps are really needed at all?  (Outside of small screened Macs.)  Doesn't the dock and these two sharewares together solve most problems?
    Am I missing something?

    I agree with everything you said about full screen apps, mission control and launchpad. For apps that made sense to run full screen, they already could under SL. Launchpad is totally unnecessary and Mission Control is a mere shadow of Expose and Spaces.
    However, I feel you have not given due credit to Spaces. The point of Spaces is to let one organise logical desktops for different tasks, not just a way to reduce the number of windows on display. For example, I have a Space for software development where I run Xcode and the iPhone simulator, a Firefox window showing perhaps documentation or some other websites pertaining to software development, a Finder window that is opened in the folder with my design docs. I have another Space where I have the remote login sessions, yet another Space with another Firefox window where I do general surfing and emailing. I can switch between these spaces using a keyboard shortcut, which is much quicker than having to lift my hand off the keyboard, move it over to the mouse, move the mouse pointer over the Dock, find the app and click on it, only to find that it has switched to the wrong window of the app.
    Without Spaces, organisation of my desktop is disrupted each time I want to switch task, whereas Spaces allows me to drop everything I am doing, go and do something completely different for a while and go back to my exact previous environment. I have a 27" iMac so am not short of screen space but I use Spaces extensively. BTW, switching Spaces using a keyboard shortcut is a lot faster on SL than the equivalent on Lion, thanks to the gratuitous screen animation of the latter.

  • I can only backup the datafiles but not the control files and SPFiles

    Hello, all,
    I am using the Oracle 10g on a linux server which runs redhat 9. I want to backup the whole database to the disk, but not the flash recovery area. It is /rawdata. I will show how I configure the backup part in EM. Is there anything wrong?
    1. the ARCHIVELOG is on
    2. under Administration, in the All Initialization Parameters, I remove the string value of “log_archive_dest_1”. After that, I go to the SPFile and remove the string value of “log_archive_dest_1”
    3. configure backup settings and policies. The Disk Backup Location field is set to /rawdata. Select Image Copy for Disk Backup type. Test Disk backup is successful.
    4. go to Policy page. Select “Automatically backup the control file and server parameter file (SPFile) with every backup and database structural change.) input /rawdata into the filed: Autobackup Disk Location
    Select “Optimize the whole database backup by skipping unchanged files such as read-only and offline datafiles that have been backed up”
    Select “Retain backups that are necessary for a recovery to any time whin the specified number of days (point-in-time recovery)
    Accept the default of 31days
    5. go to Schedul Backup
    6. select customized from the backup Strategy drop-down menu. Select the Whole Database
    7. in the Options page, select “Full backup” in the Backup Type section. Select “Online Backup” in the Backup Mode section. Select “back up all archived logs on disk” in the Advanced section.
    8. in the Setting page, select “Disk”
    9. in the Schedule page, accept the default job name and description. Select Immediately to execute the job immediately.
    10. just submit the job.
    After several minutes, the job is failed while the Prebackup and Postbackup are succeeded. The log says:
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle. All rights reserved.
    RMAN>
    connected to target database: ORCL10G (DBID=770753237)
    using target database controlfile instead of recovery catalog
    RMAN>
    Starting backup at 11-OCT-06
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=268 devtype=DISK
    channel ORA_DISK_1: starting datafile copy
    input datafile fno=00001 name=+DATADG/orcl10g/system01.dbf
    output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSTEM_FNO-1_68hvin50 tag=BACKUP_ORCL10G_000_101106111844 recid=108 stamp=603544772
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45
    channel ORA_DISK_1: starting datafile copy
    input datafile fno=00003 name=+DATADG/orcl10g/sysaux01.dbf
    output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSAUX_FNO-3_69hvin6d tag=BACKUP_ORCL10G_000_101106111844 recid=109 stamp=603544813
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:35
    channel ORA_DISK_1: starting datafile copy
    input datafile fno=00005 name=+DATADG/orcl10g/example01.dbf
    output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-EXAMPLE_FNO-5_6ahvin7g tag=BACKUP_ORCL10G_000_101106111844 recid=110 stamp=603544829
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15
    channel ORA_DISK_1: starting datafile copy
    input datafile fno=00002 name=+DATADG/orcl10g/undotbs01.dbf
    output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-UNDOTBS1_FNO-2_6bhvin7v tag=BACKUP_ORCL10G_000_101106111844 recid=111 stamp=603544835
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:08
    channel ORA_DISK_1: starting datafile copy
    input datafile fno=00004 name=+DATADG/orcl10g/users01.dbf
    output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-USERS_FNO-4_6chvin87 tag=BACKUP_ORCL10G_000_101106111844 recid=112 stamp=603544841
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
    Finished backup at 11-OCT-06
    Starting Control File and SPFILE Autobackup at 11-OCT-06
    piece handle=/rawdata/c-770753237-20061011-05 comment=NONE
    Finished Control File and SPFILE Autobackup at 11-OCT-06
    RMAN>
    Starting backup at 11-OCT-06
    current log archived
    using channel ORA_DISK_1
    archived log /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_cqhvf270 not found or out of sync with catalog
    trying alternate file for archivelog thread 1, sequence 1062
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 10/11/2006 11:20:54
    RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
    ORA-19625: error identifying file /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_puhkv41f
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    RMAN>
    Recovery Manager complete.
    It seems the system tries to find a file “arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_cqhvf270” in /rawdata. I just can not understand.
    What should I do? Any advice is highly appreciated!
    Qian

    the string value in the field of 'log_archive_dest_1" under "All Initialization parameters" is "LOCATION=+DATADG/orcl10g/". The same value was in the field under SPFile.
    I reset these values and tried to backup the whole database. The same error appeared. The log says:
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle. All rights reserved.
    RMAN>
    connected to target database: ORCL10G (DBID=770753237)
    using target database controlfile instead of recovery catalog
    RMAN>
    Starting backup at 11-OCT-06
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=245 devtype=DISK
    channel ORA_DISK_1: starting datafile copy
    input datafile fno=00001 name=+DATADG/orcl10g/system01.dbf
    output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSTEM_FNO-1_6ghvj9rd tag=BACKUP_ORCL10G_000_101106043753 recid=114 stamp=603563922
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45
    channel ORA_DISK_1: starting datafile copy
    input datafile fno=00003 name=+DATADG/orcl10g/sysaux01.dbf
    output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-SYSAUX_FNO-3_6hhvj9sq tag=BACKUP_ORCL10G_000_101106043753 recid=115 stamp=603563963
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:35
    channel ORA_DISK_1: starting datafile copy
    input datafile fno=00005 name=+DATADG/orcl10g/example01.dbf
    output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-EXAMPLE_FNO-5_6ihvj9tu tag=BACKUP_ORCL10G_000_101106043753 recid=116 stamp=603563977
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15
    channel ORA_DISK_1: starting datafile copy
    input datafile fno=00002 name=+DATADG/orcl10g/undotbs01.dbf
    output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-UNDOTBS1_FNO-2_6jhvj9ud tag=BACKUP_ORCL10G_000_101106043753 recid=117 stamp=603563984
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
    channel ORA_DISK_1: starting datafile copy
    input datafile fno=00004 name=+DATADG/orcl10g/users01.dbf
    output filename=/rawdata/data_D-ORCL10G_I-770753237_TS-USERS_FNO-4_6khvj9uk tag=BACKUP_ORCL10G_000_101106043753 recid=118 stamp=603563990
    channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
    Finished backup at 11-OCT-06
    Starting Control File and SPFILE Autobackup at 11-OCT-06
    piece handle=/rawdata/c-770753237-20061011-07 comment=NONE
    Finished Control File and SPFILE Autobackup at 11-OCT-06
    RMAN>
    Starting backup at 11-OCT-06
    current log archived
    using channel ORA_DISK_1
    archived log /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_cqhvf270 not found or out of sync with catalog
    trying alternate file for archivelog thread 1, sequence 1062
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 10/11/2006 16:40:05
    RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
    ORA-19625: error identifying file /rawdata/arch_D-ORCL10G_id-770753237_S-1062_T-1_A-586368151_puhkv41f
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    RMAN>
    Recovery Manager complete.
    Why the system keeps trying to find files under /rawdata? It is the destination, not the source.
    Any help is appreciated!
    Qian
    Message was edited by:
    QianChen

Maybe you are looking for

  • How do i install mysql on windows server 2012 r2 using powershell(automate)??

    i have a requirement of installing the mysql server with one click deployment using power shell by passing the parameters needed into the mysql console. can i achieve that ? can  anyone help me in doing that? thanks in advance. Suresh Gaddam

  • WAAS Express devices went offline in Central manager

    Hi all, after a long time i have a new issue in our WAAS environment. We're running several WAAS Express devices. And a few weeks ago i integrated them into our WAAS Central Manager. The registration of WAAS Express device was done on basis of "waasx

  • I'm fed up with Mountain Lion. Is there a way to return to Snow Leopard?

    Every thing was fine until the "upgrade". Now I can not print, stream music via Airport, or use any other device on the wirless net. Computer can't find them. Plus I'm com[pletely conused over ICloud and would like to eliminate it completely.

  • Infrared image on camera

    Suddenly, when I'm taking a photo, it look like an infrared image.

  • Invoice in FI-AP and FI-AR

    Hello, Is it possible to edit a paper invoice when using transaction FB60 ou FB70 in standard SAP (or other transactions in FI applications maybe)? Do we have no other choice than to use SD and MM applications to do so or make a specific development?