Search:

Type: Posts; User: Simple

Search: Search took 0.10 seconds.

  1. Replies
    18
    Views
    2,282

    Re: Able to set, but not get values

    This is the code where I receive what I sent:


    public class ReceiveMsgFromWsn implements ConstantsIfc{

    AckReplyMsg ackReplyMsg;
    NodeCtrlMsg nodeCtrlMsg;
    NodeQueryMsg...
  2. Replies
    18
    Views
    2,282

    Re: Able to set, but not get values

    Ok this is my GUI file:



    public class icmsv3MainFrame extends javax.swing.JFrame implements ConstantsIfc{

    /** Creates new form icmsv3MainFrame */

    public static final Color red =...
  3. Replies
    18
    Views
    2,282

    Re: Able to set, but not get values

    The method receivingMsg() is in another class file.

    Basically, what I'm trying to do is receive the data via the receivingMsg method and store the variable
    'ackDataString' into the set method. ...
  4. Replies
    18
    Views
    2,282

    Re: Able to set, but not get values

    Hey Norm!

    Thanks a lot for your suggestion!
    Now that I am able to receive what I sent, I have a problem displaying it onto my main GUI
    to show what I have received.

    In my GUI class, I have...
  5. Replies
    18
    Views
    2,282

    Re: Able to set, but not get values

    yea I am, but not a strong one. I was just wondering though.
    I will see what I can change to get the values via the get methods.

    Thanks.

    Regards
  6. Replies
    18
    Views
    2,282

    Re: Able to set, but not get values

    Could I ask, if writing into a file, will it clear the values being set in the variables?
  7. Replies
    18
    Views
    2,282

    Re: Able to set, but not get values

    That's for the use of a hardware device.
    But the main question is, is there any way, by using get and set methods, after sending the values using the set methods, I am able to receive values that I...
  8. Replies
    18
    Views
    2,282

    Re: Able to set, but not get values

    Its basically just a get and set method:



    }

    /**
    * Return the value (as a short) of the field 'srcMoteId'
    */
    public short get_srcMoteId() {
  9. Replies
    18
    Views
    2,282

    Re: Able to set, but not get values

    Whoops, my bad.
    It's more to methods.

    Here are some snippets:
    (this is where i set the values using my GUI)



    else if(cmd.equalsIgnoreCase(NODEQUERY_CMD)){...
  10. Replies
    18
    Views
    2,282

    Able to set, but not get values

    Hi guys!

    I have a problem with getting values after I set them.
    Before setting the values, I created 3 send files to send different kinds of messages and 3 receive files to receive the messages...
Results 1 to 10 of 10