Messages,commands and protocols

I need to make the attached protocol ... The idea is that this is considered as a conversation between the interrogator and the tag and I've already made the commands "select / Query / Ack / QueryRep" with boolean array output ...The problem is  that I need something in Labview like msg  and In case of getting a response action I will take a specific action BUT after waiting sometime "T4 / T1 /T2 " as timeout I need to take another action ..... what blocks I must use "putting in consediration that I have the commands (select / Query / Ack / QueryRep) with boolean array output" .... thanks In advance 
Attachments:
successful protocol.png ‏35 KB

OK, what have you tried?  This is a great homework problem that you can use to develop some good LabVIEW skills (so we shouldn't "do it for you", as you won't learn anything other than how to take credit for other people's work).
Something that I've heard over and over, but never really did, myself, until a few years ago, is "Write the documentation first".  Open Microsoft Word (or a LaTeX editor, or whatever else you like to use) and spend an hour writing yourself a detailed document of the problem.  This usually forces you to see relationships between the pieces, as well as how to organize a complex problem into a series of simple steps.
One thing that few beginners seem to recognize is the power of the sub-VI.  Usually the problem can be broken down into a few "big pieces" -- write each piece as its own sub-VI, with inputs and outputs as connectors.  A common LabVIEW (if not Best, then at least Pretty Good) Practice is to use the 4-2-2-4 Connector Pane (four inputs on the left, four on the right, two on top, two on the bottom, with Error In and Error Out on the lower corners), even if you have only a single input and output.  Note that if you have, say, 7 inputs, this is a sign that maybe you should combine related wires into a Cluster.
Oh, yes, also make an Icon for your sub-VI -- doesn't need to be complicated ...
Here's an example -- note the connector pane, the Error Terminals, the icon.  "What Happens in the Sub-VI Stays in the Sub-VI" -- your top level VI, where the overall logic of the program should be evident, doesn't have to deal with the "messy details" of how you "Combine Inputs", but can just reflect that you did combine them.
Once you've written the document, start laying out your VI and sub-VIs.  When you have something that doesn't quite work, post it and we will try to help/teach you.
Bob Schor

Similar Messages

  • What does this error message mean and how do I solve it? "Sorry, one or more of the following command-line tools was not found:  /usr/bin/lsbom, /bin/pax, /bin/mkdir, /bin/chmod, or /usr/bin/update_prebinding."

    When I try to open up this program, Pacifist, I receive this error message. Here's a screenshot. http://i.imgur.com/v717w.jpg What does this error message mean and how do I solve it?

    It sounds like some of the Unix Executable commands were removed (or the permissions to those were modified) out of the /usr/bin/ folder.  You can try opening disk utility and repairing permissions on Macintosh HD or you can reboot your computer and holding down option-r when it comes back up to reinstall Lion again.  This will not delete your personal information or applications you have installed but it would be best to back it up to Time Machine before you do.  The article on how to do this is here. (http://www.apple.com/macosx/recovery/)  I have had to do this before and it works like a charm.  It should fix your issue but grab a cup of coffee because its going to take about 35 - 40 minutes depending on how fast your computer is.

  • [svn:bz-trunk] 9838: Bug: BLZ-416  - Can bypass checks for which channel and protocol a destination can be called over by using NetConnection instead of BlazeDS messaging .

    Revision: 9838
    Author:   [email protected]
    Date:     2009-08-31 11:27:50 -0700 (Mon, 31 Aug 2009)
    Log Message:
    Bug: BLZ-416  - Can bypass checks for which channel and protocol a destination can be called over by using NetConnection instead of BlazeDS messaging.
    QA: Yes
    Doc: Yes - note the new enforce-endpoint-validation setting.
    Details: Added the following config setting:
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-416
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/ConfigurationConstants.java
        blazeds/trunk/modules/core/src/flex/messaging/MessageBroker.java
        blazeds/trunk/modules/core/src/flex/messaging/config/MessagingConfiguration.java
        blazeds/trunk/modules/core/src/flex/messaging/config/ServerConfigurationParser.java
        blazeds/trunk/modules/core/src/flex/messaging/config/SystemSettings.java

  • HT4710 when i try to go into iphoto i get a message To examine and repair permissions, quit iPhoto. Press the Command and Option keys while you open iPhoto, and select "Examine and repair iPhoto Library file permissions."

    in iphoto i get the shreen with just thr download circle and nothing happens. i click on on edit and get "
    To examine and repair permissions, quit iPhoto. Press the Command and Option keys while you open iPhoto, and select “Examine and repair iPhoto Library file permissions.“
    it still does not work

    Have you tried doing what it says?
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • I just downloaded and instaled firefox 4. Now, everytime I institute a command I get a po[p-up from Java script that tells me to uninstal set. I cannot go on untin I press ok and then I am good for one more command and it starts with the pop-up again.

    I'm not even sure if this is an extension or plug-in and all I can tell you is what I have already stated. I can only make one command at a time and after each one I get a pop-up from Java script that says uninstal set. I must depress ok to move on, but only for one more command and it starts over again. This also happened when I tried to instal firefox 4 a couple months ago and I deleted the program and went back to an earlier version.

    Mail troubleshooting - Yosemite
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages
    SMTP servers keep going offline

  • Sending email to 10,000 addresses without knowing Host and Protocols!!

    Context:
    I am building an "eMail Marketing Campaign" application which takes a list of email addresses (unlimited) and sends an eMail to all of them.
    My servlet creates an instance of "MyMailHandler.java/class" and passes a list of addresses.
    Problem:
    If I want to send email to different user, do I need to know about everyOne's HOST and PROTOCOL. My application recieves list of addresses from a remote server of a data-selling-company so they don't have that info.
    Following is the code (hardCode!) of MyMailHandler.
    properties.put("mail.smtp.host", "MAIL.DMCDATABASE.COM");
    properties.put("mail.transport.protocol", "IMAP");
    Question:
    How do I send emails to receivers without knowing everyOne's host and Protocol?????? (new to JavaMail)

    No, you only need to know the name of your own mail host. It will send the e-mails to those 10,000 addresses for you. And the protocol for sending mail is SMTP, that's all you need to know to send mail. IMAP and POP are protocols for storing received mail messages and so are not relevant to your task.

  • I can't use firefox after upgrading to 4.0. I get the message I have to restart my computer for upgrading, but ik doesn't start. I get the message over and over

    I can't open firefox after upgrading to 4.0
    I get the message over and over again that i have to restart my computer for upgrading to firefox.
    I tried new installation. But i got problems on all my accounts

    Start your '''Computer''' in safe mode. Then start Firefox. Try '''Safe''' web sites.
    Starting The Computer In Safe Mode;
    If running, turn your computer off.
    Remove any disks and thumb drives that are in your hard drives or ports.
    Now start your computer but also;
    '''Windows; '''Press the <F8> key repeatedly.
    '''Mac: '''Hold down the Shift key.
    '''Linux; '''Using the command line, Linux/Unix computers can be booted
    into various run levels that determine which resources are loaded.
    For example, "runlevel 1" is typically the equivalent to Windows and
    Mac safe modes.
    * Source; '''[http://encyclopedia2.thefreedictionary.com/Linux+Safe+Mode Safe Mode; Free Online Encyclopedia]'''
    When the '''Boot''' menu is displayed, release the key you were pressing.
    You must now choose what mode to use. The most used are;
    * Safe Mode; The computer runs with only a minimum set of programs.
    * Safe Mode '''With '''Networking; Same as above, but with internet access.

  • How do I enlarge the font in messages received and sent?  I have it set at "13", but it is very, very small on my screen.  I can't seem to change the appearance of the tool bar even when I try to "customize".

    How do I enlarge the font in messages received and sent?  I have the font set at "13", but the appearance on my screen is very, very small.  When I try to "customize the toolbar" to look like the tool bar above this message, I am unable to do so.  Please advise.  Thank you.

    Thanks MartinR, yes the Toggle bars can be adjusted so that I can see all the tracks - just in the smallest setting - however this also creates a huge area of grey which serves no other purpose than to "use up screen space". If this is deliberate then there is nothing one can do - since presumably the additional profit made on screen sales is more important to Apple, than the combined annoyance to those working on a 13" laptop. Of course a 15" screen or even 17" screen may make this wastage less obvious. Please indicate that this is all incorrect and explain why it is important to have space waiting "for additional tracks", even if I have no intention of making additional tracks. If that is the answer then perhaps additional space to the left and right of the timeline would be useful in case I wish to make a 30 minute film, so that it could be placed there without having to drag anything. It may be that I am expecting software than can be tailor adjusted, each parameter to the desired level as in professional items and since this is a cheap consumer program it is not possible.
    I bought Final Cut Pro for a lot of money (when it first appeared it was thousands and not just hundreds) but never used it since it was too complicated and tedious, but maybe there, this problem of screen wastage does not occurr, perhaps someone can advise! I could go back and reinstall it, but it was made for 10.2.8 and not 10.6.8 so it would not run on this macbook. I recently bought an old 15" TitaniumPowerbook (from 2005) and despite running at 1MHz the response time on it is "instantaneous" - amazing to not have the almost half second delay on many commands - graphics appear nearly immediately (just 5 milliseconds delay) and this makes working so much more enjoyable, not having the (350ms) stutter of 10.6.8 which we all get used to after our initial disappointment.
    Thanks for your help!

  • I am having mac book air 2012model i had installed mavericks and use it, i long press command and power button at a same time and i saw the command prompt, from that i had formated the total hard disk. how to i want to install the OS again ?

    I am having mac book air 2012model i had installed mavericks and use it, i long press command and power button at a same time and i saw the command prompt, from that i had formated the total hard disk. how to i want to install the OS again ?
    i tryed with download mavericks but finally its saying a error message like cant conect to istore like that its saying and every thing is clear like internet and other stuf i tryed with 3times no progress same error pls help.. i bought this lap for my bro with his apple id only we use it now he got a new mac book pro so he gave to me so i formated and use it i use my apple id is that problem come because of changing apple id ? pls eplain

    Firstly, what is the source of the 10.6.4 disc? Is it the original installation disc for your MacBook, or one 'borrowed' from another computer?
    It isn't the retail version, because that's 10.6.3.
    Assuming it's the correct disc (i.e. the one that shipped with your Mac), you need to boot from it again.
    OK the language page.
    From the installer screen, ignore the continue button, go to the menu bar and choose Disk Utility from the Utilities menu.
    In DU, select your internal drive in the sidebar (the top item with the makers name and serial no.).
    Run Repair Disk. If that comes up as disk OK, click the partition tab. Select the partiton from the drop-down above the graphic; 1 partiton is all you need.
    Go to the options button and ensure that the partition scheme is GUID and the file system to Mac OS Extended (Journalled). Name the partiton (usually Macintosh HD), click Apply.
    When the Macintosh HD volume appears below the drive name, quit DU and see if you can then install.
    If the screen after the language screen doesn't show the menu bar, it may be necessary to use another Mac to do the job with the MB in Firewire Target Disc Mode. If it won't boot in TDM, or the MB doesn't have FireWire then it's getting very difficult.

  • I locked myself out of my whole macbook i forgot the password i tried command and s but its not working is there another way also i dont have the cd

    there a message saying to access this computer you need to enter your password i forgot the password is there another way to restarted it then command and s because i try thatband it doesnt work

    You didn't say what operating system you have. If OS X 10.6 or earlier, see this (you'll need your original OS X DVD that came with the system or a retail OS X DVD). If 10.7 or later, see this.

  • While editing photos iPhoto shut down.  The unexpected shut down message appeared and I pressed re-open.  When it reopened I had lost my most recent import as well as imports from the past 2 weeks.  When I try to re-import it says that they already exist

    After an import of about 20 black & white photos to iPhoto I was editing one when iPhoto shut down.  The "unexpected shut down" message was displayed.  I clicked reopen, which it did.  However, my last import was completely missing.  Not only that, everything I had imported, adjusted and filed for the past 2 weeks was also missing.  It has still saved all of the albums I created but all show "no photos".
    When I try to re-import from my back-up, iPhoto says "can't import, photo is already in the library".
    Can anyone help?

    What version of iPhoto?
    Assuming 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • PI with MQ message segmentation and reassembly

    There is a requirement to send large messages (>100 MB) using Websphere MQ and the PI JMS adapter.  MQ has a 100 MB limitation on message size, but it has a feature called message segmentation and reassembly that allows large messages to be broken up into smaller messages.  When a large message is put onto an MQ queue, the segmentation option is invoked with a MQPUT MD.MsgFlags = MQMF_SEGMENTATION_ALLOWED command in the message header.  When the segmented messages are pulled off of a queue (using MQGET), it is necessary to use a GMO.Options = MQGMO_COMPLETE_MSG command to tell the queue manager to reassemble the message if it has been segmented.
    From a PI perspective, if a message is being received off of a queue using the JMS sender adapter, it is necessary to send the GMO.Options = MQGMO_COMPLETE_MSG command to the queue manager so that segmented messages are reassembled.
    If a large message is to be placed on a queue using the JMS receiver adapter, it is necessary to pass the MQPUT MD.MsgFlags  = MQMF_SEGMENTATION_ALLOWED command to the queue manager so that the message will be segmented into smaller messages.
    Is it possible for the PI to issue these commands to the queue manager using existing features or Adapter-Specific Message Attributes or Module Development or using other methods?

    Hi 
    Senario : IDOC-->PI7.1--->JMS Websphere mq6.0
    we faceing same problem , when sending large file (>100 MB), the messages are failed in  recever side Adapter engine . we are palning to implement segmentaion in PI.
    i hope your implemanted same concept in your past exprience......
    Can give please me suggestion how to achive in pi side and as well as websphere 6.0 ?
    Thanks & Regards,
    Naveen.

  • Wert     SRT: Plain SOAP: Reliable messaging (RM) configured, but no Message ID and no WSRM assertion provided.

    Hi All,
    Im trying to call this Webservice in SOAP UI and Im getting this error.
    The webservice , I Need to use is:
    BusinessPartnerSUITEBulkReplicateRequest_In
    http://es-workplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?id=84B45EB7B18A11DE2B8D000F20FCB6A9&fragID=&pa…
    Can you please help me to avoid it.
    thank you for your help
    Gireesh P.
    Error Log:
    Wert SRT: Plain SOAP: Reliable messaging (RM) configured, but no Message ID and no WSRM assertion provided.

    Hi Tim,
    For this error following are the places that needs to be checked.
    1. In C4C the protocol defined in the Communication System should be 5 - Web Services
    2. In C4C Communication Arrangement should have the right protocol selected
    3. In PI make sure the Communication Channel's are created using provided Communication Channel Templates as part of the standard PI content.
    In other words just follow the integration guide available in SMP to avoid such errors.
    Hope this helps.
    Thanks,
    Prakash

  • SOAP Adapter And Protocol issue

    Why and when we use SOAP adapter ? Does Xi uses processed XML messages using SOAP protocol ? I am new to Xi and confused over the issue. Can anyone please explain this to me. Thanks for your time.

    HI KM
    When you want to Send Data to XI from a Webservice and vice versa, your SOAP adapter is used.
    Check these links for reference...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    A SOAP adapter is used in order to post messages to a webservice or provide a web service for receiving messages.
    How To…Use the XI 3.0 SOAP Adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    Please follow stefan's weblog
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    SOAP adapters are used for communicating with the WEB SERVICE. Web service is a software system designed to support interoperable Machine-to-Machine interaction over a network. Web services are frequently just Web APIs that can be accessed over a network, such as the Internet, and executed on a remote system hosting the requested services. In common usage Web Service refers to clients and servers that communicate using XML messages that follow the SOAP standard. So we communicate the WEB SERVICE using the SOAP adapters.
    This is an example WEB SERVICE which follows the SOAP standards
    http://www.webservicex.com/CurrencyConvertor.asmx?op=ConversionRate
    A scenario using SOAP adapter..
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1) by Shabarish Vijayakumar
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2) by Shabarish Vijayakumar
    SOAP , we will use for Webservices.. for sender and receiver side..also
    one example from Webbrowser to XI to receiver ...system
    another example is we can send it to end point URL..
    Webservice
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi - Invoke Webservices using SAPXI
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
    Soap adapter?
    Regards
    Abhishek Agrahari

  • Having trouble in running a unix command and getting the output

    Hi,
    I am trying to run a unix command from within the java code. I am not able to make it work. I am enclosing the code and the error message that I am getting. Any help is highly appreciated.
    import java.io.*;
    public class RunCommand {
        public static void main(String args[]) {
            String s = null;
            try {
                Process p = Runtime.getRuntime().exec("cat UNIX_ASCII_TEXT_FILE | A_UNIX_PROGRAM -d");
                BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
                BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getErrorStream()));
                // read the output from the command
                System.out.println("Here is the standard output of the command:\n");
                while ((s = stdInput.readLine()) != null) {
                    System.out.println(s);
                // read any errors from the attempted command
                System.out.println("Here is the standard error of the command (if any):\n");
                while ((s = stdError.readLine()) != null) {
                    System.out.println(s);
                System.exit(0);
            catch (IOException e) {
                System.out.println("exception happened - here's what I know: ");
                e.printStackTrace();
                System.exit(-1);
    }The error message that I am getting is
    Here is the standard output of the command:
    SLu|%%$$=
    Here is the standard error of the command (if any):
    cat: cannot open |
    cat: cannot open A_UNIX_PROGRAM
    cat: cannot open -dLooks like the cat command is working and not the pipe command and the command after the pipe. But when I run the UNIX command from the command prompt I get the expected result.

    You might read this article and see if its approach works.
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

Maybe you are looking for