Call a command out of an array for a sequence test.

Hello Everyone,
I am using a test VCR with serial lanc commands for testing tape. I need to set up a test sequence so that the machine will Rewind,Record,Rewind,Play. I need to do the play and rewind over for a loop of 4 cycles. I am going to chart the RF wave form to check the tape performance. I have set up a case structure to do this by issuing a serial write in each case. This works but it is rather messy. I want to set up a command array and index a certain command at a certain time. I am not sure how to go about this since I am a Newbie. I am using Win2K and lab view 7.1. Thanks for your time.

Hi JCFR,
We don't have native support for LANC. Although, there might be different ways in which you might be able to communicate with the device. Does Sony provide a Software Development Kit (SDK) that has all drivers
needed to manipulate (acquire images, change settings, etc.) the camcorder using external software? If the SDK is an ActiveX
control or a DLL, you should be able to call it from LabVIEW.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies

Similar Messages

  • ACE - unable to execute various show commands. Error: Called API timed out

    Hi I am runnng version A2(2.3)  on a HA ACE setup.
    I have noticed today that issuing various show commands such as 'show run' and 'show probe' on the active ACE have suddenly stopped working. On hitting return the ACE sits there for a while non respondant before finally outputting an Error: Called API timed out and then returning to the command prompt. It only seems to happen on show commands that would generate a lot of output, for example a 'show version' works. I have also noticed a delay sometimes in logging into the active ACE which has again only come to light today.
    We havent made any changes recently and this behavior has not been seen before.
    I could only find one similar posting which kind of suggested that a high logging level may be to blame for this issue, we are running at debugging level but have since the ACE's were brought into play over 12 months ago (yep i know logging at that level is far from ideal).
    Production traffic does not seem to be affected at present.
    Apart from reudcing the logging level I am not sure what else could be causing this issue, has anyone come across this one before?
    Unfortunaltey the 'show resource usgae in one of the commands that wont work'
    A 'show cpu'  command shows nothing above 10%
    Though multiple context are configured (3), the default resource allocation is in place between all three.
    Thanks for taking the time to read.

    Thanks for the response I will take a look at that Bug ID.
    In the end as you have already suggested above I ended up failing across to the standby ACE and powering down/up  the affected ACE module from the switch CLI. This seems to have restored all functionality. Even a soft reload command prior on the affected ACE didnt take affect.

  • Sosound coming out of the speaker for calling people on 5s

    So sound is coming out of the speaker for calling people on 5s

    Hi zachfromlondon,
    Thank you for visiting Apple Support Communities.
    I'm reading that as "No sound is coming out of the speaker…"
    If so, please follow the steps in this article for help.
    iOS: Can't hear through the receiver or speakers
    If that is not the issue, try the appropriate section here.
    iPhone: Hardware troubleshooting
    Best Regards,
    Nubz

  • Calling linux command line in Java

    Hi guys,
    I met a problem about calling linux comand in java program.
    In linux, I type :
    similarity.pl -type WordNet::Similarity::vector -file /home/csunix/fzsu/exam.txt
    it returns:
    Loading WordNet... done.
    Loading Module... done.
    good#a#1 nice#a#1
    good#a#1 nice#a#1 0.885813537770033
    dog#n#1 cat#n#1
    dog#n#1 cat#n#1 0.712603873475428
    good#a#6 nice#a#1
    good#a#6 nice#a#1 0.822428178005622
    From above, we can see that it works well, similarity.pl is a perl program for computing similarity between two concept, and -type and -file are the parameters.
    Now I want to use java to call these command, and here is my code:
    public static void main(String[] args) {
    try{
    String command="similarity.pl -type WordNet::Similarity::vector -file /home/csunix/fzsu/exam.txt";
    Process p=Runtime.getRuntime().exec(command);
    BufferedReader br=new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line=null;
    while ((line=br.readLine())!=null){
    System.out.println(line);
    }catch (IOException ex){
    ex.printStackTrace();
    But noting is print out. I also add the full path for similarity.pl, like /home/csunix/fzsu/similarity.pl in the variable "command", but still the same.
    I also change variable "command" to a string array in this way:
    String command[]={"/home/csunix/nlplib/WordNet/2.1-F7/perl/bin/similarity.pl",
                        "-type","WordNet::Similarity::vector","-file","/home/csunix/fzsu/exam.txt"};
    Again, I get nothing from it.
    Can anyone point out how to solve this problem?
    Thanks,
    Joe

    Crosspost.
    Don't do this if you want help!
    This question is answered on "New to Java".

  • OpenScript- assertAttribute method never times out for DOMObject (web test)

    Hi all,
    Whenever I have an assertAttribute test on a web.button, web.link, web.textBox, any specific object type, the test works as expected, and fails as expected when the object isn't available...
    However, when I'm trying to do a similar test on a div element, I have tried both DOMObject and DOMElement (web.element and web.object), and in either case, if the object doesn't exist when the test gets there, the assertAttribute call will just hang FOREVER, even though the global timeout value is set to 5 seconds. :-\ Two examples:
    For a button, this will time out in 5 seconds and fail the test if the button isn't available:
    web.button("{{obj.Navigation.btnSearch}}").assertAttribute("Button text", "value", "Search", TestOperator.StringExact);
    But for a div, this will just wait forever:
    web.object("{{obj.Navigation.lblWelcome}}").assertAttribute("Welcome message", "innerText", "Welcome {{username}}", TestOperator.StringExact);
    Any ideas? I can work-around by testing if it's existing first, then calling assertAttribute next, but to me, it feels like a minor bug in OpenScript on these object types...
    -Troy

    I commented out the export line (I don't have CS3, only an old version of CS) and it seems to work fine. the problem, then, is with the export line, and (at a guess) the issue might be the odd way you've specified the document. instead of using the export command in a document tell block, try 'export current document in live_folder as...' and see if that helps.

  • ASAP:stored proc calling Unix commands

    i want an Oracle stored procedure to call unix commands as well as do sqlldr ... opern.
    requirement is :
    the stored procedure needs to do :
    for all files in a Directory:
    do
    { .. use sqlldr to insert data in tbls
    .. move the processed file into another directory
    so,for ls &mv commands i need the Command/way out.
    null

    Hi Jorma,
    It's been a while since I did it, but I successfully did what you
    are trying to do. All I did was "load" the remote interface and
    "stub" class into the database using the "loadjava" utility. My
    environment was Oracle 8.1.7 on SUN (Sparc) Solaris 7.
    Although I haven't tried it, you may be able to invoke a servlet
    from your java stored procedure. The advantage over RMI is that
    you don't need to generate and load a "stub" class. Naturally, you
    would use the "java.net.URLConnection" class to invoke a servlet
    on some web-server/servlet engine which you can communicate with
    using "streams" -- java.io.InputStream and java.io.OutputStream
    Also, I understand that there is now a "oc4jclient.jar" (not 100%
    sure of the name) file that can be "loaded" into the database,
    which allows you to contact EJB's in Oracle's OC4J product. I
    think you can either do this directly, or indirectly using JMS
    over Oracle AQ.
    [JMS = Java Messaging Service]
    [AQ = Advanced Queueing]
    Good Luck,
    Avi.

  • Using a Variable in SSIS - Error - "Command text was not set for the command object.".

    Hi All,
    I am using a OLE DB Source in my dataflow component and want to select SQL Query from the master table  I have created variables v_Archivequery
    String packageLevel (to store the query).
    <Variable Name="V_Archivequery" DataType="String">
         SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
         FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
         ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
         Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)
        </Variable>
    I am assigning this query to the v_Archivequery variable, "SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
    FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
     ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
    Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)"
    Now in the OLE Db source, I have selected as Sql Command from Variable, and I am getting the variable, v_Archivequery .
    But when I am generating the package and when running I am getting bewlo errror
     Error at Data Flow Task [OLE DB Source [1]]: An OLE DB error has occurred. Error code: 0x80040E0C.
    An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80040E0C  Description: "Command text was not set for the command object.".
    Can Someone guide me whr am going wrong?
    Please let me know where am going wrong?
    Thanks in advance.
    Thankx & regards, Vipin jha MCP

    What happens if you hit Preview button in OLE DB Source Editor? Also you can use the same query by selecting SQL Command option and test.
    Could you try set the Delay Validation = True at Package and re-run ?
    If set the query in variable expression (not in value), then Set Evaluate As Expression = True.
    -Vaibhav Chaudhari

  • Call/video not working between Cisco jabber for Windows and VCS control C40s

    Hello,
    I've been struggling with no luck how to make a call using Cisco Jabber for Windows 9.6.0 registered to CM 8.6.2 with intercluster ICT to another CM 8.6.2 where we have a VCS Control 7.0.2 via GK H225, and all C40s are registered as H.323.
    The VCS has interworking between H323 and SIP, however not sure if there is any problem with that. Assuming it is ok, not sure either if I'm facing any interoperability issue because in my remote site I have C40 (H323 registered at VCS and SIP listening mode) and cisco jabber for windows which is SIP based.
    If is not possible, would I be able to change my C40 from H323 to SIP at VCS, or have both H323/SIP registered at VCS? If so, will I need to change as well instead of GK I'll have to establish a SIP Trunk between the CM and VCS?
    Another thing I do not believe either I would be able to have one VCS connected with two clusters, right?
    I'm just trying to find a solution in case my current topology is not compatible, but feel free if you have any better idea to make it work.
    Anyway here is what is happening:
    When I make a call from my cisco jabber windows to C40 using alias number. The call is being redirected just fine to the C40 and it rings, however when someoene or the auto answer picks it up, the call dropped right away.
    However, if I enabled the MTP in my CSF device, the call gets longer before dropping. I was even able to see my jabber " start video" turns green, before was grayed out all the time and the call dropped faster. I hear a fast busy tone. 
    I'm able to provide SDI traces, logs, diagnostic sip/h323 calls from VCS in order to know for sure if this is an incompatible issue or something I can workaround.
    Let me know if someone of you are interested in read these logs or could point me on the right direction.
    Thanks!

    Ok,
    I have looked at both logs. I have to mentinon though that you didnt
    provide the log that shows the h323 setup between cucm and the VCS. This
    is  most likely because the call originated from a different cucm than
    the ones you provided the logs from.
    The call would have orginated from the first cucm in the cucm group of
    this trunk: Name=RL_TRUNK_VIDEO
    The cucm ip will be : 10.252.53.10.
    This is the VCS log that confirms where the h323 request originated
    from:
    pr 10 22:50:29 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:29,187"
    Module="network.h323" Level="DEBUG":  Src-ip="10.252.53.10"  Src-
    port="54000"
     Received RAS PDU:
    Having said that here is my analysis of the logs that you sent..
    Jabber sent an INVITE to CUCM and advertised all the codecs (audio and
    video it can support)..
    Observer that Jabber says it doesnt support G729 anexB
    21:55:16.576 |//SIP/SIPTcp/wait_SdlReadRsp: Incoming SIP TCP message
    from 10.223.20.73 on port 54677 index 90661 with 2220 bytes:
    [862370,NET]
    INVITE sip:[email protected];user=phone SIP/2.0
    Via: SIP/2.0/TCP 10.223.20.73:54677;branch=z9hG4bK000029d3
    From: "4122107" <sip:[email protected]>;tag=00059a3c78000011000070b0
    -00000e65
    To: <sip:[email protected]>
    Call-ID: [email protected]
    Max-Forwards: 70
    Date: Fri, 11 Apr 2014 01:55:16 GMT
    CSeq: 101 INVITE
    User-Agent: Cisco-CSF/9.4.1
    m=audio 19252 RTP/AVP 0 8 18 105 104 101
    c=IN IP4 10.223.20.73
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:105 G7221/16000
    a=fmtp:105 bitrate=24000
    a=rtpmap:104 G7221/16000
    a=fmtp:104 bitrate=32000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=sendrecv
    m=video 28878 RTP/AVP 97
    c=IN IP4 10.223.20.73
    ++++Now lets observer the capabilites exchange during h245 negotiation
    between cucm and VCS++++
    Here CUCM advertises its caps to VCS (afterreceiving caps from VCS)
    Note that G729A, G729AB, G729 is all advertised..
    Apr 10 22:50:31 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:31,017"
    Module="network.h323" Level="DEBUG":  Src-ip="10.252.53.10"  Src-
    port="45660"
     Received H.245 PDU:
     value MultimediaSystemControlMessage
    ::= request : terminalCapabilitySet
     capabilityTableEntryNumber 2,
           capability receiveAudioCapability :
    g729wAnnexB : 6
           capabilityTableEntryNumber 3,
       capability receiveAudioCapability : g729AnnexAwAnnexB : 6
           capabilityTableEntryNumber 4,
           capability
    receiveAudioCapability : g729 : 6
    capabilityTableEntryNumber 5,
           capability receiveAudioCapability :
    g729AnnexA : 6
    ++++++
    After doing MSD (master slave determination, we move to the OLC phas e..
    Here we see that the far end..c40 wants to use G729AB for media++++
    Apr 10 22:50:31 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:31,783"
    Module="network.h323" Level="DEBUG":  Src-ip="10.224.114.11"  Src-
    port="11163"
     Received H.245 PDU:
     value MultimediaSystemControlMessage
    ::= request : openLogicalChannel :
       forwardLogicalChannelNumber 1,
    forwardLogicalChannelParameters
         dataType audioData :
    g729AnnexAwAnnexB : 20,
         multiplexParameters
    h2250LogicalChannelParameters :
    +++Next VCS sends G729AB as the codec to use to CUCM+++
    Apr 10 22:50:31 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:31,784"
    Module="network.h323" Level="DEBUG":  Dst-ip="10.252.53.10"  Dst-
    port="45660"
     Sending H.245 PDU:
     value MultimediaSystemControlMessage
    ::= request : openLogicalChannel :
       forwardLogicalChannelNumber 1,
    forwardLogicalChannelParameters
         dataType audioData :
    g729AnnexAwAnnexB : 20,
         multiplexParameters
    h2250LogicalChannelParameters :
    ++++The next thing we get is an OLC reject from CUCM and this is where
    th call drops++
    Apr 10 22:50:31 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:31,790"
    Module="network.h323" Level="DEBUG":  Src-ip="10.252.53.10"  Src-
    port="45660"
     Received H.245 PDU:
     value MultimediaSystemControlMessage
    ::= response : openLogicalChannelReject :
    forwardLogicalChannelNumber 1,
       cause dataTypeNotSupported : NULL
    Apr 10 22:50:31 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:31,790"
    Module="network.h323" Level="INFO":  Dst-ip="10.224.114.11"  Dst-
    port="11163"
      Detail="Sending H.245 OpenLogicalChannelRejResponse
    +++We then receive a call release from cucm with cause code of 47:
    resource unavailable++++
    Apr 10 22:50:32 TWELDVCS01 tvcs: UTCTime="2014-04-11 01:50:32,365"
    Module="network.h323" Level="DEBUG":  Src-ip="10.252.53.10"  Src-
    port="50913"
     Received H.225 PDU:
     Q931
       Message Type: Release
    Complete
       Call reference flag: Message sent from originating side
    Call reference value: 0x7b
       Info Element : Cause
         Location: Usr
       Cause Value: Resource unavailable
       Info Element : User User
       Length = 22
    Suggestions:
    Change the region setting between the ICT trunk to VCS and Jabber to use
    G711 and test again.

  • Why won't Apple give out the unlock code for an iPhone 3Gs when the contract was honored and I am still an AT

    Why won't Apple give out the unlock code for an iPhone 3Gs when the 2  year contract was honored and I continued to be an AT&T customer with an iPhone 4. I wanted my old 3gs unlocked so my daughter could use it overseas when she is deployed. AT&T service over there *****, the international plan was not worth it. The individual SIM cards per country are much more reliable and cheaper. Teslestial in Iraq and Afghanistan, Telecom in Croatia,Vodafphone in Germany and Italy.  Why Apple will not unlock these phones for our military to utilize is incomprehensible to me.  These young men and women are fighting for these Apple people to go to work every day, safe, to live lives they have become accustom to yet releasing a phone to use on another network they can't do at least for the military.... WHY APPLE??  WHY?   A good excuse not some of the many lame excuses I have received on the phone many times. AT&T states it is Apple that will not allow them to unlock the phones...  Please tell me why?  All I want Is my daughter to have a phone I trust, to be able to call me when she is given the free time to do so and I trust the apple phone.
    Apple, please reconsider your stance on this issue.  I am having a hard time understanding why you will not unlock the iPhone. 
    A simple code could allow me to talk to my daughter while fighting for our country the Great USA.  Apple should be on the front line and enabling those fighting for our life, liberty and pursuit of happiness to use unlocked phones on reliable local GSM networks.
    I honestly hope that someone who has some sort of authority to begin allowing the release of unlock codes, and not forcing people to unlock their phones with some program produced by some hack just to be able to use your wonderful phone.  That is is in a nutshell, People love the iPhone so much that they want the ability to use it on the most reliable GSM carrier available to them.  That should be a major compliment. Even men and women on the front line want your phone. I agree, my service is not the best where I live either, love the GSM technology so stay with it, but if I had the ability to change to the other GSM network that has much better coverage in this area of the country I would change. To change now I would not have my iPhone and that I will not part with. 
    Apple, please reconsider opening up the lock code and allow your gem of a phone to be used by many more people in many more areas and most importantly overseas fighting for our country.  I know if this is really thought about Apple would understand and come to the conclusion to release the unlock codes, and stop the people from hacking in to use the iPhone on other networks.
    I would love for my daughter to be able to use my iPhone 3gs while fighting for our Free country.
    A response would be appreciated.
    Thank you.
    An Apple customer for 10 years, phones and computers.
    P

    Defiled:
    I did sign a two year contract and completed that contract. The 3gs is no longer in service. My daughter is going overseas to protect you and your family. I was attempting to find a way for her to have a reliable phone that could offer her some connection with home as she travels through the middle east.  She travels in missions all over.
    At&T unlocks other phones of theirs why not the iPhone?  AT&T says that Apple will not give them the code, it is not the carrier.  If I would have known this situation would have come up I would have bought and unlocked 3gs phone"Deggie" .  My main complaint is that Apple has not good excuse as to why they will not allow their phones to be unlocked from services well, AT&T .  I bought the phone full price, completed the contract terms, even went for and iPhone 4 with another2 year contract, along with owning an apple computer... I love the product.  My main issue is give me a good answer as to why you won't allow a phone to be unlocked. It doesn't hurt Apple, People still have to buy the phones from them, and use their App store and iTunes.
    Sorry, just upset about my daughter heading over there, boots on the ground, and just pray she will be safe. Would have liked to facetime her while she is in the airports and in specific areas allowed for that.
    Please don't come down on me for asking this question. I understand all the contracts etc.... but to single out the iPhone specifically to not unlock after contract is over does not seem fair.
    Thank you for your responses.

  • How can I use a 1 double array for this

    I would like to use one double array where I am using 2 single arrays, can this be done?
    thanks
    import java.text.NumberFormat;
    import java.util.Locale;
    class Mortgage3
              public static void main(String[]argv)
              //Variables
              //allows for currency format
              NumberFormat formatter = NumberFormat.getCurrencyInstance(Locale.US);
              double prin;                              
              double month_payments;
              double monthlyinterest;   
                    //standard integer
              int months;     
                    //array for the different interest rates
                    double[] interest = {0.0535,0.055,0.0575};
              //array for the different terms
                    int[] term = {7, 15, 30};
                    for (int i = 0; i < 3; i++)
              //values for the variables
              prin = 200000;        //principle amount of the mortgage
                    monthlyinterest = (interest[i] / 12);          //monthly interest
              months = (term[i] * 12);               //total amount of months in the 30 yr term
              //monthly payment calculation
              month_payments = (prin * monthlyinterest) / (1-Math.pow(1 + monthlyinterest, - months));           
              System.out.println("\n\n\t For a loan amount of " + formatter.format(prin));
              System.out.println("\t With an annual interest rate of " +interest[i] * 100+ "%,");
              System.out.println("\t your payments will be " +formatter.format(month_payments)+ " per month");
                    System.out.println("\t for a term of "+term[i]+ " years or " +months+" months.");
    }

    I would like to use one double array where I am using 2 single arrays, can this be done?It can, but why not write a Rate class or other data structure more suited to the purpose?

  • Does anyone know of an IPhone app to lock myself out of my phone for a certain period of time?

    Does anyone know of an app I can use so that I can lock myself out of my phone for a specified time interval? There are times where my phone becomes a distraction and it would be easier to just lock myself out of it for 45 mins than to go to the trouble of putting it somewhere were I won't notice it and it will be too far away from me to just pick it up and start searching social media sites as procrastination.

    It's called "SelfControl". It can be a little hard to learn to use but it's worth the effort.

  • Need ANI details of calls landing during Out of business hours

    Hello All,
    Our Contact Center management has raised a new requirement to report with the ANI details of calls landing at any skill groups during put of business hours.
    Options that we have is
    1. Webview report - Call Type 22 and 23
    But in this, If we specify put of business timings and generate the report it will give the number of calls and not its ANI.
    2. Call detail report from our custom report application.
    Here the problem is, this report will give details of calls landing during business hours alone. The reason is that only the calls that utilizes VXML ports in CVP gets to this custom report. The calls coming in during of hours is handled at ICM level and to play the out of office hours prompt it utilizes CVP port not VXML and terminates the call.
    Is there any way to get this ANI details without having to modify this custom report much. Please assist in this. Let me know if you need any more details.

    That's pretty strange.
    Let's just see how you are doing this. Once you detect the out of hours situation in your Routing Script (either by checking a Global variable refreshed by an Admin script or by having a Time of Day node directly in the routing script), do you set a Call Type?
    Then after setting the call type, I assume you play a CVP message and Release the call. Correct?
    When you query the TCD on this call type you should only see your after hours calls. Let's look at one of the calls.
    You should see two rows in the TCD, one with the DNIS of your number on the gateway, or from the PSTN carrier, and one with the VRU transfer label (say 8111111111) - maybe that's in the DigitsDialed column, I'm not in front of an HDS database and can't check. This is all you should see for a call that comes out of hours.
    Both these legs should have the same RouterCallKey with different RouterCallKeySequenceNumbers.
    Do you see this?
    What is happening with another call at a similar time with a different RouterCallKey ? That doesn't make sense.
    Maybe you could do a query and show us the output?
    Regards,
    Geoff

  • My iPhone4 doesn't appear to have "FacTime" (App), yet when I "ring" it from my iPad's FaceTime, I hear a faint ringing tone but nowhere to answer the call? Anyone out there suggest what's wrong? (going to the App Store and searching "FaceTime" brings iPa

    My iPhone4 doesn't appear to have "FacTime" (App), yet when I "ring" it from my iPad's FaceTime, I hear a faint ringing tone but nowhere to answer the call? Anyone out there suggest what's wrong? (going to the App Store and searching "FaceTime" brings apps that have icons different to that of my iPads!)

    Yeah, I know I can restore it, but I might as well go ahead and try. I just finished a backup for icloud and itunes to make sure, I'll go ahead and restore it and set it up as new and see how that works. Seems like I have no other options at this point, I'd still like to know what they did with the Download tab in itunes store, if they removed it or if I'm just overlooking it.

  • Call unix command in sqlplus script

    Hello, I wanna to know how to call a unix command in the sqlplus script.
    For exemple,
    I've a sqlplus script to lauch a oracle report, after the report is generated, I wanne to replace the output file in an other directory.
    So that, I have to call the unix command mv here in the sqlplus script
    How can I do it?**
    I completed my situation:
    I don't have dbms_scheduler untility in my database.
    Thanks a lot for your help
    Edited by: user11930885 on 17 janv. 2010 14:53

    Yes, at the begining, I'll tried the unix shell by calling SQL.
    I've the problem of passing the parameters through.
    It seems to me
    we can use
    Host in the SQLPLUS to run the unix command.
    but I've written it in my sqlplus script, it doesn't work. so I wanna to find an exemple how to use HOST in sqlplus script?
    I would have loved to give you an example..but its not unix on my laptop.
    But what i can tell you is...u should be doing otherway round.
    Not calling Unix commands from SQL but calling SQL's form unix.
    You got shell scripts for that.
    Write a shell script. Login to SQL execute your code.
    exit from sql and then move your file with MV. That's it.
    Do post how far you get after trying this.

  • Please help me arrange my hard drive setup, testing out different Raid arrays.

    Hi folks! If I could bother you for your time to help me figure out what the best options are for my computer setup that would be much appreciated!! I'm editing mostly RED footage so 5K and 4K files.
    Here's what my computer build is right now:
    Asus Rampage IV Extreme
    i7-3930K CPU (OC'd to 4.4ghz)
    64GB ram
    GTX 680 video card (2GB model)
    Windows 7 Pro
    Mostly Premiere CS6 and After Effects
    Here's the fun part and the part that I'm still baffled by regardless of how many videos and searches I've done online, what to do with my hard drives!?
    Right now I have my Mobo setup in Raid mode with these plugged in to the motherboard;
    2 x 250gb Samsung pro SSD's on 6gb/s ports (Raid 0) (Windows 7 OS)
    2 x 300gb WD Velociraptors 3gb/s ports (Raid 0) (empty)
    3 Ware 9750-8i Raid controller +
    8 x 3TB Seagate Barracuda drives ready to rock and roll.
    Now based on everything I've read, I'm leaning towards setting up 4 x 3TB drives in Raid0 for my footage (making constant backups with synctoy onto an external Drobo)
    4 x 3TB drives in Raid0 for exporting footage. (with continuous backups)
    That leaves me wondering where's the best place to setup Media cache, cache files and project files and anything else. Also I've left the OS pagefile on the SSD's but wondering if I should set that up somewhere else?
    Using Crystal Disk mark, I'm getting these results so far:
    OS on Samsung Pro SSD's in Raid0
    The 4 x 3TB drives in various Raid setups:
    Raid0
    Raid5
    Raid10
    Velociraptors in Raid0
    All this is due to many months of recent work on a computer build that would get bogged down and editing became painfully slow. I'm trying out a proper dedicated Raid card instead of just 2 drives in Raid0 off the motherboard hoping this will make a big difference.
    Any expert advice on here would be greatly appreciated!!!!

    Let's start with the easy part:
    C: SSD for OS, programs & pagefile
    D: 2 x Veliciraptor in raid0 for media cache and previews
    With 8 disks available on the 3Ware controller you can go many different directions and they depend on your workflow. Let me give two extreme examples and then you may be pointed in the right correction for your editing practice.
    Workflow consists of quick and dirty editing, usually one day or less and multiple export formats each day (example Vimeo, YouTube, BDR, DVD and web), or
    Workflow consists of extensive editing, usually a week or longer and exports to a few formats at the end of the editing (example BDR and DVD only).
    If your typical workflow looks like 1, your idea of two 4x raid0 arrays can work, because the load is rather nicely distributed over the two arrays. Of course the drawback is that there is no redundancy so you depend very much on the backups to your Drobo and restoring data after data loss can be time consuming, coming from the Drobo.
    If your workflow looks more like 2, then you can consider one 7x raid5 array for projects and media and a single drive for exports. That means that your raid5 will be noticeably faster then either of the 4x raid0 arrays you considered and offer redundancy as well. As a rough rule of thumb, a 4x disk raid0 will be almost 4 times faster than a single disk, a 7x raid5 will be around 5 - 5.5 times faster than a single disk. You profit from the extra speed during the whole editing week or longer.
    The export to a single disk may be somewhat slower, but how long does it take to write say 25 GB to a single disk? Around 160 seconds. If you use a hot swappable drive cage, you can even use multiple export disks, say one for Client A, another one for Client B, etc. In your initial idea of a 4x raid0 that time may be 40 seconds, so you gain around 2 minutes on the export, but lose that in the whole editing week.
    Just my $ 0.02

Maybe you are looking for

  • Getting the Data from a DefaultTableModel

    Hey, I have a table that utilizes a defaultTableModel to store the information. What I want to do is get the information from that table model as a 2-dimensional array? Is this possible? I have googled for a while, and still can't find anything. At f

  • Leopard Startup Problem on MacBook Pro 15" 2.5 GHz

    When secure deleting trash it took over 30 minutes to delete a 1 GB file so tried to stop. As this failed I pressed ctrl /cmd and power button to force a restart. On restart the computer starts but fails to get to login screen. Tried running 'Disk Ut

  • Portal repository upgrade problems

    I upgraded a ORACLE 8.1.6.3.0 database to 8.1.7.2.0 and JVM but 9 classes remained invalid, removing and reinstalling jvm I lost all Portal30 JAVA stuffs. Who has found a clue to make it correct.

  • Can't get my tools to work in photoworks

    Having touble with some of my tools in photoworkshop (CS4), like the blur tool doesn't respond, making it very difficult to do touch ups. Any ideas? Should I uninstal, then reinstal?

  • Table where system id is stored in CRM

    Hi everybody, I'm currently implementing a solution and got the id of the source and target system. I need to know which ID belongs to which system. The id is an 32 long and alphanumerical. I know there is a table in CRM where the logical system are