Non mi prende una stringa passata come parametro (vede sempre il default)

Sto cercando di creare un'applicazione con Labview 7.1
Sto riscontrando i seguenti problemi:
1) nonostante abbia creato un connector collegato ad una stringa, qualunque sia il valore che passo all'eseguibile viene ignorato (carica sempre il valore di default)
2) inoltre gli dico di caricare dal path corrente un'immagine e la vedo solo in fase di debug (non viene caricata dall'eseguibile)
Per errore ho inserito l'indirizzo di posta personale, potete rispondermi a quella aziendale: [email protected]
Allego il file zippato dell'applicazione che sto cercando di sviluppare al fine di facilitarvi la comprensione del mio problema.
Grazie.

Per quanto riguarda 1), se vuoi passare la linea di comando al programma, devi usare la proprietà Command Line Arguments dell'oggetto Application.
In prova.vi c'è un esempio, dovresti generare l'eseguibile spuntando l'opzione "Pass all command line etc." nella scheda Application Settings.
La proprietà restituisce un array di stringhe: con la linea di comando
> prova.exe RF,127
otterresti prova nel primo elemento e RF,127 nel secondo; notare che con
> prova.exe RF 127
otterresti i parametri già separati come in uscita da Crea Array
Per quanto riguarda 2), quando generi l'eseguibile il vi path è del tipo    directory\nomeeseguibile.exe\nomevi.vi,    e non più     directory\nomevi.vi
per cui devi effettuare uno Strip Path in più. Per distinguere i due casi puoi usare la proprietà Application->Kind come mostrato in prova.vi
Paolo
Paolo
LV 7.0, 7.1, 8.0.1, 2011
Attachments:
Prova.vi ‏22 KB

Similar Messages

  • All'accensione il mac risulta essere lentissimo, nell'ingrandire e rimpicciolire pagine internet con safari l'immagine risulta frammentata.il prodotto è nuovo, non ha nemmeno una settimana...

    Possiedo un iMac, il prodotto è nuovissimo, non ha neanche una settimana.
    Ogni volta che lo accendo ci mette relativamente molto tempo per l'accensione e nel caricare pagine internet.
    Il problema maggiore che noto è che nell'ingrandire e rimpicciolire pagine internet a mezzo di Safari, il procedimento funziona a scatti, come se l'immagine venisse frammentata.
    Appena lo riavvio il problema non sussiste, ma non sono intenzionato a riavviare il computer ogni qual volta che lo accendo!

    Sorry for this rough Google translation.  It sounds like your zoom feature on Safari, which is controlled by the mouse or trackpad System Preferences from the Apple menu, is misbehaving.  Try disabling those shortcuts and instead use View menu -> Customize toolbar in Safari to add the small large Aa icons to it by dragging to the toolbar.  You can then use that to increase and decrease the text size of the browser window.
    Ci scusiamo per questa traduzione approssimativa Google. Sembra che la funzionalità di zoom su Safari, che è controllata con il mouse o il trackpad Preferenze di Sistema dal menu Apple, in modo anomalo. Prova a disabilitare le scorciatoie ed invece usare il menu Visualizza -> Personalizza barra degli strumenti in Safari per aggiungere delle piccole icone di grandi dimensioni Aa ad esso trascinando la barra degli strumenti. È quindi possibile utilizzare che per aumentare e diminuire le dimensioni del testo della finestra del browser.

  • Removing non-numeric characters from string

    Hi there,
    I need to have the ability to remove non-numeric characters from a string and I do not know how to do this.
    Does any one know a way?
    Example:
    Present String: (02)-2345-4607
    Required String: 0223454607
    Thanks in advance

    Dear NickM
    Try this this will work...........
    create or replace function char2num(mstring in varchar2) return integer
    is
    -- Function to remove Special characters and alphebets from phone no. string field
    -- Author - Valid Bharde.(India-Mumbai)
    -- Date :- 20 Sept 2006.
    -- This Function will return numeric representation.
    -- The Folowing program is gifted to NickM with respect to his post on oracle site regarding Removing non-numeric characters from string on the said date
    mstatus number :=0;
    mnum number:=0;
    mrefstring varchar2(50);
    begin
    mnum := length(mstring);
    for x in 1..mnum loop
    if (ASCII(substr(upper(mstring),x,1)) >= 48 and ASCII(substr(upper(mstring),x,1)) <= 57) then
    mrefstring := mrefstring || substr(mstring,x,1);
    end if;
    end loop;
    return mrefstring;
    end;
    copy the above program and use it at function for example
    SQL> select char2num('(022)-453452781') from dual;
    CHAR2NUM('(022)-453452781')
    22453452781
    Chao!!!

  • Non riesco a scaricare nulla,neanche applicazioni gratuite perché non mi riconosce il metodo di pagamento ( poste pay sempre usata fino ad ora) perché? Come risolvo?

    Non riesco a scaricare nulla,neanche applicazioni gratuite perché non mi riconosce il metodo di pagamento ( poste pay sempre usata fino ad ora) perché? Come risolvo?

    For the benefit of those who know iPhones,
    http://translate.google.com says:
    I can not download anything, not even free apps because I do not recognize the method of payment (postal pay always used until now) why? How do I resolve?

  • Mi hanno venduto un iphone con icloud e non so la password da inserire come devo fare?

    mi hanno venduto un iphone con icloud e non so la password da inserire come devo fare?

    Lilia,
    I believe you can use this Google link to the page and click Traducir
    https://www.google.com/search?newwindow=1&site=&source=hp&q=http%3A%2F%2Fwww.adobe.com%2Fs upport%2Fcontact%2Fcscleanerto…

  • Ciao ragazzi io tempo fà oh scaricai ios 7 beta 6(illegalmente) e ieri mattina il telefono diceva errore attivazione ed ora non mi fa fare un rispistino come devo fare aiutatemi per favore

    ciao ragazzi io tempo fà oh scaricai ios 7 beta 6(illegalmente) e ieri mattina il telefono diceva errore attivazione ed ora non mi fa fare un rispistino come devo fare aiutatemi per favore

    Quello e lo che succede quando scarici software illegale. Non possiamo auitarti qui con software beta. Prova con Google.

  • Ho dimenticato la password del mio mac e non riesco ad istallare delle app, come posso fare?

    Ho dimenticato la pwd del mio Mac e non riesco ad istallare le App come posso fare?
    I forgot the pwd of my Mac and I can't install the app, what can I do?

    Not sure what version of OS X you are running, but if it is Lion or Mountain Lion maybe this is a better link:
    http://osxdaily.com/2011/08/24/reset-mac-os-x-10-7-lion-password/
    or: http://osxdaily.com/2011/09/19/change-password-mac-os-x-10-7-lion-without-knowin g-current-password/

  • Convert String to com.stc.runtime.dt.Date

    Hi every one
    I need to convert a String to com.stc.runtime.dt.Date.
    Can you please guide me?
    thanks.

    String to UtilDate:
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.Calendar;
    public class ttest
        private static SimpleDateFormat sdf1 = new SimpleDateFormat("yyyyMMddHHmmssZ");
        private static SimpleDateFormat sdf2 = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
        public static void main(String[] args) {
         Date dt = null;
         try {
             dt = sdf1.parse("20040921124448+0200");
             System.out.println(dt.toString());
         catch(java.text.ParseException pe) {
             System.err.println("Incorrect Date Format!");
         Calendar cdr = Calendar.getInstance();
         cdr.setTime(dt);
         System.out.println("Year is: " + cdr.get(Calendar.YEAR));
         System.out.println("Zone Offset is: " + cdr.get(Calendar.ZONE_OFFSET));
         Date dt = new Date();
         System.out.println(sdf.format(dt));
         try {
             String sUTC = sdf2.format(dt);
             System.out.println("UTC: " + sUTC);
         catch(IllegalArgumentException pe) {
             System.err.println("Incorrect Date Format 2!");
    }UtilDate and RuntimeDates
    import com.stc.runtime.dt.Date;
    import com.stc.runtime.dt.Time;
    import com.stc.runtime.dt.DateTimeFactory;
    import com.stc.otd.xsd.datatype.Date2001;
    import com.stc.otd.xsd.datatype.Time2001;
    import com.stc.otd.xsd.datatype.DateTime;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    public class dates
        public static void main (String[] parameters)
         dates tq1 = new dates();
         return;
        private dates()
         java.util.Date dtUtil = new java.util.Date();
         Date2001  d2001 = utilDate2xsdDate(dtUtil);
         System.out.println("Current date is: " + d2001.toString());
         com.stc.runtime.dt.Date dt = d2001;
         Time2001 t2001 = utilDate2xsdTime(dtUtil);
         System.out.println("Current time is: " + t2001.toString());
         com.stc.runtime.dt.Time tm = t2001;
         com.stc.runtime.dt.DateTime dttm = new DateTimeFactory().createDateTime();
         //     java.sql.Timestamp dt1 = xsdDateTime2utilTimestamp(new DateTime());
         java.sql.Timestamp dt1 = xsdDateTime2utilTimestamp(dttm);
         System.out.println("Current timestamp is: " +
                      dt1.toString());
         return;
        private java.sql.Timestamp xsdDateTime2utilTimestamp(com.stc.runtime.dt.DateTime dt1)
         Calendar c = dt1.getCal();
         return new java.sql.Timestamp(c.getTime().getTime());
        private Date2001 utilDate2xsdDate(java.util.Date d1) {
         Date2001 dt = new Date2001();
         Calendar c = Calendar.getInstance();
         c.setTime(d1);
         dt.setYear(c.get(Calendar.YEAR));
         dt.setMonth(c.get(Calendar.MONTH) + 1);
         dt.setDay(c.get(Calendar.DAY_OF_MONTH));
         return dt;
        private Time2001 utilDate2xsdTime(java.util.Date d1) {
         Time2001 tm = new Time2001();
         Calendar c = Calendar.getInstance();
         c.setTime(d1);
         tm.setHours(c.get(Calendar.HOUR_OF_DAY));
         tm.setMinutes(c.get(Calendar.MINUTE));
         tm.setSeconds(c.get(Calendar.SECOND));
         return tm;
        private java.util.Date xsdDate2utilDate(Date2001 d1) {
         Calendar c = Calendar.getInstance();
         c.set(d1.getYear(), d1.getMonth() - 1, d1.getDay());
         return c.getTime();
    }

  • How to restrice ananymous user access to portal link /irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default?

    Hi experts,
    We had an issue with portal access. I wonder if portal is venerable for security threats?
    Could you please let me how to restrict the unauthorized users (anonymous user) to the portal URL.
    https://HOST:50001//irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default .
    Appreciate your help.
    Regards
    Maruti

    Hi Maruti,
    Hope you are doing good.
    Can't you just amend the portal permissions so that this access is not possible.
    The PCD location should be:
    com.sap.portal.system/security/sap.com/NetWeaver.Portal/no_safety/com.sap.portal.navigation.portallauncher....
    Hope this helps.
    Thank you and have a nice day!
    Kind Regards,
    Hemanth

  • COMS checksum is invalid, the COMS will be rest to default

    Hi,   
    Product name: HP Pavilion dv6-6093ex Entertainment Notebook PC support).
    Product number: LM610EA#A2N Since I was facing an error 'The system has detected that a cooling fan is not operating correctly, I have cleaned the the fan, and even the heatsink(metal plate) with the paint thinner, and then I rebuild the fan in the heatsink. After that, I have applied new thermal compound on both of the tops of CPU and GPU. Finally: I have put in back my laptop all together.
    The error 'The system has detected that a cooling fan is not operating correctly.' no longer appears to me. However, when starting my laptop, I face 'COMS checksum is invalid, the COMS will be rest to default',  although I was not facing this error before taking apart my laptop. (Why do I only now face this error 'COMS checksum is invalid, the COMS will be rest to default' ?
    The time and date was reset to  '01/01/2010 (12:04:44 AM)'
    I opened the BIOS, and then updated the time and date to the recent values. However, I saw the time and date came back to the wrong value when shut my laptop down and leave it for about 5 hours and turn it on again.
    However, when shutting it down for only minutes, and turn it on again, then I found the new configuration(new data and time) keeps as I set them up.
    Do you think that COMS was defective while removing it when taking apart my laptop

    Thank you very much indeed for your continual replies.
    To my surprise, my laptop was powered up again. But I would like you to kindly concentrate with what I would be going to say below?
    1- When my laptop is not powered up when trying powering it up yesterday, I have tried removing the COMS battery and then disconnecting the charger, and pressing the power button and holding it for 1 min. Finally: I waited 10 min and tried to connect the charger and power up the pc. , then it was powered up well.
    2- when I powered my laptop up, then the error 'COMS checksum is invalid, the COMS will be reset to default' appeared to me'. Then, I have booted to BIOS, and updated the date and time to the correct values.
    3- When I restarted my laptop, then the error 'The system has detected that a cooling fan is not operating correctly.
    Continued operation is not recommended and may cause unpredictable behavior that could result in random shutdown, data loss or possible system damage. The system will shut down in 15 seconds. To prevent shutdown and continue operation, press the Enter key now', although I have fixed it by cleaning the fan/heatsink throughly before, and it was not appearing to me.
    4- Whenever I now start my laptop, only this error 'the system has detected that a cooling fan is not operating correctly.' appears to me. However, the 'COMS checksum is invalid,.....' no longer appears to me and the date and time are still correct whatever time my laptop stayed shut down.
    So, My questions are:
    1- do you think that the error 'the system has detected that a cooling fan is not operating correctly.' is related to 'COMS battery as long as when the error 'COMS checksum is invalid,....' appears to me, then the error 'the system has detected that a cooling fan is not operating correctly' doesn't appear to me?
    2- Why does the error 'COMS checksum is invalid,....' no longer appear to me when the error 'the system has detected that a cooling fan is not operating correctly.' appears back to me.?

  • Which BP is this view from com.sap.pct.hcm.cats_timerecording.default?

    Hi all,
    Can anyone tell me which business package has the below iview? I cannot find it in ESS 50.4 or in ESS 60.1.2
    com.sap.pct.hcm.cats_timerecording.default
    Thanks
    Raj Balakrishnan

    Hi Ankur,
    We have the same problem, can you please elaborate on what you mean by
    We had not used the Webdynpro_xss system in launchpad value while registering the URL.
    Thanks.
    Ivan

  • IView not found: com.sap.portal.support.browse.default.

    When I try to navigate to System Administration -> Support -> Portal Runtime -> Browse deployment, I get the following error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: com.sap.portal.support.browse.default.
    Exception id: 04:45_02/10/08_0037_13390350
    I referred this thread   [https://www.sdn.sap.com/irj/sdn/thread?threadID=188079|https://www.sdn.sap.com/irj/sdn/thread?threadID=188079]   and removed the .bak extension from the file com.sap.portal.support.browse.par.bak and uploaded it in System Administration --> Support --> Support Desk --> Portal Runtime --> Administration Console ,in the Archive uploader.
    But the problem persists.   Could anybody shed some light on this issue?
    Regards,
    Saurabh.

    Hi Saurabh
    In order to get more information, you should search for your exception id "04:45_02/10/08_0037_13390350" in the default trace file.
    See http://help.sap.com/saphelp_nw70/helpdata/EN/57/5f1140d72dc442e10000000a1550b0/frameset.htm in order to see where the def trace file is found.
    Best regards,
    Martin Søgaard

  • Come cancello tutte le foto dal RULLINO, non dalla libreria! ne ho 9000 e non posso farlo una per una.Grazie

    Ciao a tutti.
    Ho 9000 foto nel mio iphone 4 da 32gb, nel rullino, non nella libreria!
    Sono quelle che ho scattatao io, vorrei cancellarle tutte, ma non trovo una soluzione... com'è possibile?
    Se collego l'iphone al pc e lo rileva come archivio di massa e vado nelle cartelle per cancellarle una alla volta si blocca ovviamente tutto;
    non posso certamente cancellarle una alla volta dall'iphone.
    c'è un modo per farlo??
    ho già provato a sincronizzarlo con una cartella vuota o con una foto non succede nulla, al massimo mi aggiunge la foto da sincronizzare nella libreria. ma il rullino rimane li com'era.
    Sto impazzendo per questa cosa!!
    non ditemi che non si può perchè non ci credo!!!
    Grazie

    Ciao a tutti.
    Ho 9000 foto nel mio iphone 4 da 32gb, nel rullino, non nella libreria!
    Sono quelle che ho scattatao io, vorrei cancellarle tutte, ma non trovo una soluzione... com'è possibile?
    Se collego l'iphone al pc e lo rileva come archivio di massa e vado nelle cartelle per cancellarle una alla volta si blocca ovviamente tutto;
    non posso certamente cancellarle una alla volta dall'iphone.
    c'è un modo per farlo??
    ho già provato a sincronizzarlo con una cartella vuota o con una foto non succede nulla, al massimo mi aggiunge la foto da sincronizzare nella libreria. ma il rullino rimane li com'era.
    Sto impazzendo per questa cosa!!
    non ditemi che non si può perchè non ci credo!!!
    Grazie

  • Non-Blocking Writing and Strings

    Hello.
    My question is simple, is it possible to write strings using a non-blocking method?
    I was praying that there was a method in the NIO API that allowed me to, yet i can't find one.
    If the answer is blatantly obvious please forgive me, i'm tired and hungry :)
    Thank you for looking at this topic

    Strings are written to files or sockets using a certain encoding. I usually use UTF-8, but your application might be different.
    1. Get the SocketChannel from your non-blocking socket.
    SocketChannel ch = mySocket.getChannel(); // mySocket is java.net.Socket2. Make a CharBuffer out of the String you want to send.
    CharBuffer chars = CharBuffer.wrap(myString); // myString is your data3. Encode it so it becomes a ByteBuffer. I'll use the [UTF-8|http://www.joelonsoftware.com/articles/Unicode.html] Charset here.
    ByteBuffer bytes = Charset.forName("UTF-8").encode(chars);4. Use the write(ByteBuffer) method in the SocketChannel from 1.
    ch.write(bytes);Import declarations:
    import java.nio.channels.SocketChannel;
    import java.nio.CharBuffer;
    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;s

  • Remove of non-printable characters from string

    Hi Gurus,
    How can I achive that? I have a string in which sign "end of line" occurss. How can I delete them?
    BR
    Marcin Cholewczuk

    Hi Marcin,
    Just use a [REPLACE|http://help.sap.com/abapdocu_70/en/ABAPREPLACE.htm] with a regular expression (Assuming variable STRING holds your data):
    replace all occurrences of regex '[\n\r]+' in STRING with ''.
    Note that I replaced newline ('\n') - also called end of line - and carriage return ('\r') with nothing (matching your delete request). This might not be wanted if you have a true multiline string. If you're more paranoid and want to cover more cases, you might want to replace any non-displayable characters using '\[\[:print:\]\]+' as your search pattern. So if you want to replace non-displayable characters with a space and just kill it at the end of the string you could use something like this:
    replace all occurrences of regex '[^[:print:]]+(?!$)' in STRING with ` `.
    replace all occurrences of regex '[^[:print:]]+$' in STRING with ''.
    Cheers, harald

Maybe you are looking for

  • HP LaserJet 400 color M451dw asking password to login

    Hello, I purchased HP LaserJet 400 color M451 dw. after two months all the menu of this device disabled and it is asking password to login. i have in a big trouble. can anyone please help me how to reset this. i attached you the print screen. Thanks:

  • Conditional read only radiogroup item losing value when saving

    Apex 3.2 I have a radiogroup item that is set to read only after it's populated and the user is not in the ADMIN Role. When non ADMIN users edit the page, it shows the value and they cannot change it, but if they save the page, it loses the value. Wo

  • External job runs slow

    I have an external job which runs a shell script which copies a small file from one directory to another. This script takes 100 ms to run when executed from shell, but takes 2 whole seconds when being executed through the external job. The job uses a

  • Choosing a 3D Engine for Java

    Hi. I've been looking at the options of 3D engines for Java. Obviously, the first place I looked was at Java3D. But I've heard that it can be slow at times - I also happen to think it is a good, high-level API. I've looked briefly at products such as

  • Adobe form layout error and Webdynrpo IE  throwing error

    Hi , If the user logu2019s into the network using Citrix ICA Client to access the server. He is able to access the remote server  but if he tries to view the IE( internet Explorer )  of  webdynpro application or layout  of adobe form he gets the erro