Using SKPTSMTPMessage how to send a variable String?

I am using SKPTSMTPMessage to send an email in the background but I need to send a variable string. I have tried putting a %@ in the text but it just sends the %@ and not a variable. Please Help?
Hopefully, iCrazy23

Did you ever figure out how to do this?  Because actually I'm trying to do pretty much exactly the same thing.  I'm actually having trouble even outputting the digital signal at all with my USB-6501.  I was initially trying to use DAQ Assistant, but then found out I probably shouldn't be using this and instead should be using the DAQmx individual functions.  I was directed by NI Support to look at the example "Gen Dig Pulse Train-Continuous.vi," but I haven't been able to figure out how to use this for my application.   For my project I  want to send a TTL signal to vavles that release fluids as well.  I have 3 2-way liquid releasing valves that I want to be synced so that only one is open at a time (for a user specified amount of time), and they open in a regular repeating sequence.  I also have another 3-way valve controlling a vacuum that I would like to be continuously pulsing, but for specified amounts of time (e.g., 3 seconds open, 3 seconds closed, and so on).
I believe I can figure out the logic and the programming involved with figuring out the exact sequencing and timing manipulation, however, I'm having trouble just being able to output any digital signal with a varying time.  If you could offer any help on this, it would be greatly appreciated.  Thanks!

Similar Messages

  • How to send 5th variable to maessage dynamically

    how to send 5th variable to maessage dynamically..
    we have only 4 like msgv1,msgv2,msgv3,msgv4.......
    how to send 5th variable
    thanks in advssssss

    hi,
    as per my knowledge it is not possible because Message texts in table T100 can contain up to four ampersand characters (&) as placeholders. You can replace these at runtime using the WITH addition in the MESSAGE statement:
    MESSAGE ... WITH f1 ... f4.
    The contents of fields f1 ... f4 are then inserted sequentially into the message text in place of the placeholders.
    for more information on messages follow this link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaaaf35c111d1829f0000e829fbfe/content.htm
    regards,
    Ashok reddy

  • How to send month as string to date

    Hi
    my input comes as
    month year.( oct 2008 or Nov 2008 etc )
    The target field is a Date.
    I have tried using Date trans but it doesnt accept strings.
    so is there a way send the incoming field  without changing target data to string?
    Regards,
    Venkat.

    I am assuming you can bring in month & year in 2 seperate variable to UDF named as below
    String strMonth & String strYear
    java.text.DateFormat df = new SimpleDateFormat("dd/MON/yyyy");
    java.util.Date today = df.parse("01""/"strMonth"/"strYear);
    Now you have the date object & you can convert the way you need. Please note I am initializing the object to start of the month always.
    Regards
    Unni

  • How to send 2 variable value from bash script into java.class

    #!/bin/bash
      a=10
      b=20
       echo $a $b | java addition
    donehi there,
    currently i have a simple java coding ( a + b ). and i m trying to connect with bash script but this bash script coudln't Enter 2nd value (b=20) while i running for it. may i know how do i can Enter 2 value into it?
    output from terminal
    [seng@localhost java_class]$ bash addition.sh
    =======================================================================
    simulation 1
    Num_a       = 10
    Num_b       = 20
    Enter your Num_a : 10
    Enter your Num_b : Exception in thread "main" java.lang.NumberFormatException
       at java.lang.Integer.parseInt(java.lang.String, int, boolean) (/usr/lib/libgcj.so.6.0.0)
       at java.lang.Integer.parseInt(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
       at filter_god.GOD(java.util.List, java.util.List, java.lang.String, java.lang.String, int) (Unknown Source)
       at filter_god.main(java.lang.String[]) (Unknown Source)
       at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
       at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
    =======================================================================

    That code will send both numbers on a single line in standard input to the java process. So if the process reads standard input, it will get a single line that has this in it: "10 20".
    I'm guessing you're sending that whole line to Integer.parseInt. But a valid number doesn't have a space in the middle.
    You should split up the line using String.split. Or use a StringTokenizer. Or a regular expression. Or you can use a java.util.Scanner. Or a java.io.StreamTokenizer. Or maybe some other stuff that has slipped my mind at the moment.

  • How to send a variable from one class to another?

    hello,
    i have "One.as", which is the document class for one.swf.
    i also have "two.swf", with "Two.swf" entered as its document
    class...
    One loads two into it. two is basically a 10 frame movieClip
    with a variable at the beginning called "var endFrame:Boolean =
    false", then on the last frame it says endFrame = true.
    my question: how in the world do I communicate this back to
    One.as??? i've tried ENTER_FRAME listeners, declaring the variable
    here and there... and many other embarrassingly usuccessful
    strategies.
    i would just like to load in "three.swf" after two.swf
    finishes... but One needs to know that it has indeed finished.
    your help would be greatly appreciated. thanks

    yarkehsiow,
    > David,
    > thank you for responding.
    Sure thing! :)
    > so does what you are saying mean that endFrame is a
    property of
    > two (the movieClip), or Two (the Class)?
    If you've written a property named endFrame for your Two
    class, then
    yes, Two.endFrame is a property of that class.
    Looking back at your original post, I see that you wrote
    this:
    > One loads two into it. two is basically a 10 frame
    movieClip
    > with a variable at the beginning called "var
    endFrame:Boolean = false",
    > then on the last frame it says endFrame = true.
    So it sounds like your Two class extends MovieClip. (I'm not
    sure
    that's true, but that's what it sounds like.) That means your
    Two class
    supports all the features of the MovieClip class, including a
    play() method,
    a currentFrame property, and so on. In addition, you've added
    new
    functionality that amounts to -- by the sound of it -- a
    property named
    endFrame. If you made your property public (i.e., public var
    endFrame),
    then it should be accessible by way of an object reference to
    your Two
    instance.
    myTwoInstance.endFrame;
    > so can i invoke that method in One.as? do I call it
    Two.endFrame (if
    > (Two.endFrame == true) {?
    Methods are things an object can *do,* such as
    gotoAndPlay(). What
    you're describing is a property (a characteristic ... in this
    case, a
    Boolean characteristic). You wouldn't use the expression
    Two.endFrame
    unless that property was static. Static classes are those
    that cannot have
    an instance made of them. Think of the Math class. It
    contains numerous
    static properties in the form of constants, such as Math.PI,
    Math.E,
    Math.SQRT2, and so on. You can't create an instance of the
    Math class -- it
    wouldn't make sense to -- so Math is a static class.
    On the other hand, you definitely create instances of the
    MovieClip
    class. Every movie clip symbol is an instance of MovieClip
    class, which
    means that each instance carries its own unique values for
    MovieClip class
    members. The MovieClip class defines x and y properties, but
    each movie
    clip symbol (that is, each instance of the MovieClip class)
    configures its
    own values of those properties, depending on where each
    instance is located
    on the Stage.
    Assuming your Two class is not static, then somewhere along
    the line,
    your One class will have to make an instance of it. Somethine
    like ...
    // inside your One class ...
    var myTwo:Two = new Two();
    ... at which point that myTwo variable because a reference to
    that
    particular instance of Two. You can invoke Two methods on
    that instance.
    You can invoke Two properties and events on that instance.
    You can invoke
    whatever functionality is defined by the Two class on that
    myTwo instance.
    If Two extends MovieClip, that means you can also invoke any
    MovieClip class
    member on that myTwo instance.
    At some point in your One class, you can refer to that myTwo
    instance
    later and check if the value of myTwo.endFrame is true or
    false.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Using Yahoo, how to send an e-mail to multiple receivers without having to click on each one individually

    When I try to send/forward e-mail to multiple receivers, I choose the category, use ctrl, select the names and click "send e-mail to these contacts." When I return to the e-mail, the contacts are not listed.
    What am I doing wrong?
    Betty Spraker

    Hi,
    Creat the following internal table
    DATA: i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
    Pass the values to this internal table as follows
    i_reclist-receiver = '<give ur mail id>'.  "SAPoffice: Name of the recipient of a document (also ext.)
    i_reclist-rec_type = 'U'.                              "Specification of recipient type
    *U = INTERNET ADDRESS,
    *B = SAP USER,
    *P = PRIVATE DISTRIBUTION LIST,
    *O = SAPOFFICE USER,
    *R = SAP user in another SAP System
    *X = X400 ADDRESS
    *C = SHARED DISTRIBUTION LIST
    APPEND i_reclist.
    Pass the internal table to the Tables parameter of 'receivers'
    receivers = i_reclist
    Regards,
    Chandu

  • Instead of using session How to pass the variable from action class to JSP

    Im using Struts1.2 version.Created the Sample application to get the username.Upto action class im getting the username then i have to display the username in the JSP.Is there any options rather than using session variable to display the username.

    did you check the answer in your previous thread
    Passing Variable from Javascript to Controller

  • How to send a variable in the 'IN Clause' in a cursor?

    Hi.
    I am new to this forum.
    My exact requirement is.. I need to select data with the help of a cursor and show it in the output. I have an input parameter which can be null or comma delimited value.
    If I am passing this comma delimited value as a parameter to the cursor, its not giving me the right output.
    Please help me.
    Sample code that is failing is below:
    CREATE OR REPLACE PROCEDURE show_output
    IS
    CURSOR ces_bpa_output_csr1(p_csv_filename varchar2)
    IS
    select customer_number,
         customer_name,
         transaction_number,
         status_flag,
         to_char(min(submit_date), 'MM/DD/YYYY HH24:MI:SS') min_submit_date,
         to_char(max(submit_date), 'MM/DD/YYYY HH24:MI:SS') max_submit_date,
         count(*) records
    from CES_USAGE_DETAILS_TEMP
    where filename IN p_csv_filename ---
    group by customer_number,
         customer_name,
         transaction_number,
         status_flag;
    l_filename varchar2(100);
    BEGIN
    l_filename := '('||chr(39)||'CES_JAN_2008.txt'||chr(39)||','||chr(39)||'CES_FEB_2008.txt'||chr(39)||')'; ---- l_filename will contain ('CES_JAN_2008.txt','CES_FEB_2008.txt')
    dbms_output.put_line(l_filename);
    FOR ces_bpa_output_rec1 in ces_bpa_output_csr1(l_filename)
         LOOP
    dbms_output.put_line(ces_bpa_output_rec1.customer_number||' '||
    ces_bpa_output_rec1.customer_name||' '||
    ces_bpa_output_rec1.transaction_number||' '||
    ces_bpa_output_rec1.status_flag||' '||
    ces_bpa_output_rec1.min_submit_date||' '||
    ces_bpa_output_rec1.max_submit_date||' '||
    ces_bpa_output_rec1.records);
         END LOOP;
    END;

    Kindle check this ->
    how to test a procedure that takes IN an array parameter?
    Regards.
    Satyaki De.

  • How can i initialize variables String[] ? (sorry if i'm flooding)

    i have this class:
    class Data{
            String subfolder;
            String[] citation = new String[2000];
            String[] reference = new String[2000];
        }but i need a constructor for it. What should i do? Thanks for your help

    class Data{
    String subfolder;
    String[] citation = new String[2000];
    String[] reference = new String[2000];
    class Data{
      public String[] citation;
      public String[] reference;
      public String subfolder;
      Data(){
             subfolder = null;
             citation = new String[2000];
             reference = new String[2000];
    String[] myString = new String[10];
    for(int i=0; i<myString.length; i++){
      myString[i] = "myString" + i;
    for(int i=0; i<myString.length; i++) System.out.println(myString);
    When you do the new myString[10] you just make a string array with 10 elements, you still have to put something in each one before they don't equal null;

  • How to send workflow variable to another List

    Hi,
    I have created Workflow Variable, from that variable I need to get the information from another list. Could you pls share u r Knowledge.
    Regards
    Tharak

    If you want to set a field in another list item, you would run the update item command, select the field you want to change and then select your workflow variable.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to send different value of presentation variable in GO URL??

    Hi there,
    I'm using GO URL to send presentation Variable (d_pv) to filter other report on 'day' column.....
    '(a href = http://server/analytics/saw.dll?GO&path=/shared/BI%20Reports/Ki1/KPIs%20Detail%20Priority%203%20Shipped&Action=Navigate&p0=1&p1=eq&p2="Time".Day&p3=@{d_pv})SHIPPED(/a)'
    This is working fine. But my goal is to filter the other report using previous day of the value of d_pv (eg. if d_pv value is '2010-04-27' , I need to filter other report using '2010-04-26')
    I couldn't find to pass one day back value of presentation variable using go url.
    Please Help..
    Edited by: bob123 on Apr 28, 2010 10:15 AM

    I'd say use TIMESTAMPADD(SQL_TSI_DAY,....,1) and use pass your pres variable to this column.
    so when you pass 28/04/2010 to the target report day+1 column, it will show 27/04/2010 data.

  • Need Help ! how can I Pass Variable from JApplet to PHP?

    I think I post to the wrong forum and I don't know how to change.
    Sorry for messing thing.
    I try to send variable for applet to php but the result is no data was recorded in my database.
    I think the data did not transfer to php.
    I am familiar with php but new to java.
    Actually, I don't know how to send the variable for applet.
    For example, in PHP will receive $_POST['score'] so in applet, I need to send the variable name "score".
    In the book that I use for self-study, mention about servlet but I think PHP is much easier to me.
    So I need to know how set this request data to my applet.
    In internet, I still not get what is clear for me to understand.
    Or I may search with worng keyword or way.....
    Can someone please help me?
    public class test extends JApplet { public test(){ JButton myButton = new JButton("sendData");         myButton.setFont(new Font("Sansserif", Font.PLAIN, 14));         myButton.setSize(15, 10);                 myButton.addActionListener(new button());         add(myButton); } private class button implements ActionListener {         public void actionPerformed(ActionEvent e) {         PostMsg(10,"hello");         } } public void PostMsg(int score, String name){ try {             String data = "name=" + name + "score=" + score;                    byte[] parameterAsBytes = data.getBytes();      // Send data     URL url = new URL("http://localhost/addtest.php");     URLConnection con = url.openConnection();     ((HttpURLConnection) con).setRequestMethod("POST");          con.setDoOutput(true);          con.setDoInput(true);          con.setUseCaches(false);          OutputStream wr = con.getOutputStream();              wr.write(parameterAsBytes);     wr.flush();     // Get the response     BufferedReader rd = new BufferedReader(new InputStreamReader(con.getInputStream())); wr.close();     rd.close(); } catch (Exception e) { System.out.println("ERROR"+e.getMessage()); } } }
    <html> <title>Untitled Document</title> </head> <body> include("../connectionJAVA/connect.php"); $name = $_POST['name']; $score =$_POST['score']; //insert data $sql = "insert into java values(null,'$name','$score')"; mysql_query($sql) or die("error=$sql"); </body> </html>

    rinJava wrote:
    I think I post to the wrong forum and I don't know how to change.Yep wrong forum. This is probably a html/applet/web service sort of question.

  • How to send object by NetStream?

    Hi, I have question about using Cirrus in real time game developed. I want to create a game in which each player will be able to move a character using the arrow keys. And here comes my question.How do I continuously transfer an object or variable via NetStream. Should I use the send() method (when a player is in motion), or maybe it's possible to send and receive an object using publish() and play().
    I spent a lot of time looking for solutions on the internet, but with no succes. Everything that I've found was about transmission of audio and video (attachAudio() and attachVideo()), I need a method such as attachObject(), which could continuously send for example player's position.
    I found P2PGameLibrary on Tom Krcha's site (www.flashrealtime.com). Unfortunately, it is in the  .swc file and when I use FlashDevelop to open it, it shows only the model of classes and methods. If I could see the entire code, I could study it and maybe it would solve my problem.
    If someone could give an example of how to send objects/variables by NetStream, I would be grateful.
    swO_orn

    Thanks for fast answer.
    Yes I have build a simple chat p2p using only NetGroup, and sending messages by method post(). The one "bad thing" I nothiced is delay. I got about 500ms. That's too much for real time games.
    I have watch some tutorials on Tom Krcha's blog and they said I should build full mesh of direct connections of all users to make P2P game.
    Let's say I want to have 6 players sending and receiving info in game. What's the best way to transfer data between them? NetGroup.post() or NetStream.send() or maybe another?
    PS: Please give me an example how to receive data in NetStream if data was transfered by send() method.
    Doc says :
    send(handlerName:String, ... arguments):void
    How do I start handler on receiver app?

  • Swf over lan sending a variable

    Does anyone know how to send a variable trough LAN from a
    master swf to all the other SWF files? And when the child swf's get
    the variable to load a movie clip (the movie clip has the name of
    the content of the variable) in the main scene? PLS Help

    Broadcast/Multi-cast packets and often blocked by default but routers. i.e. you will see them if you are on the same router but no where else.
    This is to prevent such packets flooding the whole network. (Although there are better ways to deal with this, this is the simplest approach)
    You need to ensure that all the routers between your two systems allow forwarding of UDP packets.

  • Using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

    using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

    Thanks for your swift response.
    That sounds like a good solution, but the code I have on frame 2 is this
    timer = 0;
    countup = function(){
    timer++;
    countupInterval = setInterval(countup,100);
    If I added the same actionscript to frame 3 which has a dynamic textbox with a variable timer attached wouldn't it just put the timer back to 0? What I want is the last known value that was given when it was in frame 2.
    I am thinking of temple run here, I am trying to caculate the total distance(set in the timer variable) from the previous try.
    Hope this makes sense.
    Chazwick

Maybe you are looking for