Creation of only one queue

Hi, I am using a queue in one of my subvi, I don't when to put the structure that used the queue in a while loop because I need information that is inside in other subvi. The problem I have is that my queue is created more then once if I don't place it in a while loop. I was wondering what structure should I place the initialisation of my queue in?
Thanks

Hello.
Best choice to get help: post your vi.
In the meanwhile, try this solution. It can work to create the queue only once.
Cheers
Alipio
"Qod natura non dat, Salmantica non praestat"
Attachments:
createqueue.jpg ‏23 KB

Similar Messages

  • Need Inspection lot creation at only one storage location level - QA07

    Hi,
    I have shelf life expired material at different storage location. When ever i run QA07.System generates inspection lot for all storage location.But I want to process the inspection lot for only one storage location. Please guide me how can we map this reqmnt.
    Thanks in advance for your relevent response.
    Thanks & Regards
    Kundan Kumar

    Hi,
    Next inspection date is maintained at the batch level, not at the storage location level.
    You can suggest the following solutions if it is feasible in your business scenario.
    Scenario 1: Batch is inwarded in one storage location"A" & stored for some time, then it is transfered to other storage loactions B & C (like production storage locations).
    In this case suggest to transfer the batch to storage loactions B & C just one or two days before the actual consumption of the batch & also keep the opening period  in QA07 sufficient days (between 10-15 days), so that the sytem will create the inspection lot in one storage location "A" . Since the batch is still not transfered to B & C, the system will not create inspection lots in B&C.
    Scenario 2: Batch is inwarded in all the storage locations with the same batch number.
    In this case suggest to inward the same bacth with different batch numbers, keeping the all other characteristic values same
    With Best Regards
    Vithal

  • Is creation of only one transport req(Customizing or WorkBench) possible

    Hi,
    In Urgent Correction when the correction is set into development the transport request is created. The system creates 2 transport requests: Customizing and workbench. Is there any possible way in which i can determine which sort of transport request gets created (either customizing or workbench). I want that only one type of transport request should be created.
    Regards,
    Kriti Bhalla.

    well I did as I wrote. Just in case anybody needs it, this is how I add new messages that will be processed later by BPEM background job
    1. Calling FM BAL_LOG_CREATE
    2. Calling FM EMMA_LOG_PROCESS_START
    3. Adding messages with FM BAL_LOG_MSG_ADD
    4. Calling FM EMMA_LOG_PROCESS_END
    5. Calling FM BAL_DB_SAVE  (not sure if really needed)
    if you need to add messages for different objects within one BPEM Job just repeat points 2 - 5 for each object.
    Best Regards
    Marcin

  • O Cluster Algorithm giving only one cluster

    hello,
    I am using Oracle 10g O Cluster Algorithm for clustering. i have 790 rows of data with 18 attributes all are of float data type.
    I am using ODM for creating clustering, but clustering resulting in creation of only one cluster.
    can any body knows what is the actual problem.
    please reply soon..
    thanks in advance

    It is possible for OCluster (OC) to return a single cluster if it did not find any natural clusters in the data. That is, it did not find any split in the data that would separate well the data into two groups. The number of clusters settings in OC is not the desired number of cluster but the maximum number of clusters. One way to validate this is to look at the histogram of your 18 attributes and see if there are clear peaks and valleys. In order for OC to find a split you should see at least two peaks with a reasonably deep valley (the actual criterion is statistical) in one of the attributes. If you don't see that than OC would not create more than one cluster. I am assuming that you are using ODMR and the data preparation steps suggested by ODMR.
    You can also try to increase the sensitivity parameter. This will allow OC to accept clusters that it would not consider significant otherwise.
    If you still want to partition your data even when OC did not find any clusters than you may try KM. KM will split the data into K clusters as long as there is enough data for that.
    --Marcos                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to configure my JMS QUEUE serve only one message at a time?

    Hi All,
    I have requirement where I need to develope a JMS QUEUE in weblogic. This MDB has to serve only one message at a time. Is there any way to configure via annotations or in weblogic server settings ?
    Any help would be really appreciated...
    Thank you,
    K.

    I'm not aware of any way to configure the max pool size via annotations, you might try posting to the EJB newsgroup (please post back the answer). Of course you can set the size via an EJB descriptor, as per the MDB chapter of the Performance and Tuning guide in the edocs.
    By the way, if you have ordered message processing requirements, I highly recommend taking a look at the WebLogic JMS "Unit-of-Order" (UOO) feature as per the UOO chapter of the JMS programmer's guide. For a variety of reasons, the UOO features is often, by far, the best option for handling such requirements. If this feature applies to your use case, then there would be no need to force single threaded message processing in some sort of manual fashion (the feature enforces this for you).
    Tom

  • JMS Queue working with only one AIA instance.

    Hi,
    We are having a Web-Logic JMS Queue configured for an instance. I have developed a consumer in AIA instance to pull the messages from the Queue.
    And this works fine.
    Now I have an another instance consumer which is pointing to the same Queue, but it fails to get the messages from it.
    I have switched off the consumer in the FIRST instance, but even then consumer from the SECOND instance was not able to pull the messages.
    Later, I tried switching on the consumer of the FIRST instance, and all the messages were pulled in this instance.
    So how can I make it work with two AIA instances and one JMS Queue, provided only one AIA instance consumer is active at a time.
    Thanks in Advance.
    Regards!

    * Likely your best bet is to check your server logs for "Error" and "Warning" messages, and/or, since these questions are specific to AIA's usage of JMS, post your questions to the AIA newsgroup.
    * WL JMS does not impose a limit on the number of consumers on a queue, but it does only allow one named connection with the same "client id" to connect at a time. Its unusual to name connections in queueing applications, but possible - and AIA may be doing this. (If this is the problem there should be "client id in use" style log messages or exceptions.)
    * Another possibility is a misconfiguration of your remote consumer. Make sure the URL is correct, and remember, if an application is running in the same cluster as the remote destination, don't specify a URL.
    * Also, if the remote consumer is running in a different domain, make sure the domains are named differently, and that no two JMS servers in the two domains have the same name (as per the unique naming restrictions documented in the Best Practices section of the JMS configuration guide -- http://download.oracle.com/docs/cd/E14571_01/web.1111/e13738/best_practice.htm#CACJCGHG ).
    Regards,
    Tom

  • HT5100 How to limit the number of downloaded videos in parallel to one.i want my iPad itunesu to download only one video at once at time and when finished from downloading it to pass to the second queued one.

    How to limit the number of downloaded videos in parallel to one.i want my iPad itunesu to download only one video at once at time and when finished from downloading it to pass to the second queued one.

    @Tylerdowner: hmm.. maybe yes.. I just want to use the DOWNTHEMALL AddsOn for the saving file not the default download.. because my costumer download MP3 files and save it 3 or more files at a time so my Internet Connection goes down :( so I just want to limit them to save 1 file at a time.
    or if there is another way to limit it to 1.. please tell me :(

  • Using a queue with only one consumer

    Hello,
              I would like to know how I can setup a system with a JMS Queue and only one
              consumer.
              I think I can create a MDB and specify in the DD that I want only one
              instance of the EJB so that I can have only one consumer.
              Can anyone confirm this assertion ?
              regards,
              Dom
              

              Dominique Jean-Prost wrote:
              > Hello,
              >
              >
              > I would like to know how I can setup a system with a JMS Queue and only one
              > consumer.
              >
              > I think I can create a MDB and specify in the DD that I want only one
              > instance of the EJB so that I can have only one consumer.
              >
              > Can anyone confirm this assertion ?
              Yes.
              For more information on configuring MDB concurrency see
              the JMS Performance Guide white-paper here:
              http://dev2dev.bea.com/technologies/jms/index.jsp
              >
              > regards,
              >
              > Dom
              >
              >
              

  • Only one agent does not receive call on queue

    Hi team,
    I have a CCx Express 7.x working properly.
    There are some queue configured, but in a queue I ´m with the follow problem:
    - Everybody can answer the incoming calls, but only one agent is not receiving the incoming calls via trigger;
    - The agent stay in ready state, but the calling hear "Every our agents are busy";
    The same agent can forward e answer the calls, if the call does not use the CCX trigger.
    Can you help me please?
    thanks

    Hi Jean,
    If the Agent belongs to CSQ\Resource group and be in Ready state, don't get calls from the Queue (Longest Available) is little surprise.
    If this is the only Agent in Ready state, other Agents in this CSQ are forced to go to not_ready state, will he still not get calls?
    What is the number of sessions associated with the Application and with the Route point? what is maximum count of callers to this application and Agents belonging to this CSQ ?
    Thanks,
    Anand

  • Only one active call in queue

    After smooth with wizard create application on ccx 5.0(2) everything was going well except thing that I can  have only one call at queue. For next call I get busy signal until call in queue was terminate or answered.

    You need a bigger port pool (group). I haven't played with UCCX for a while, but with IPIVR you had to configure both the number of ports and the size of the Media Control Group.
    Check your settings.
    Maybe you have one configured to match the number of ports you want - probably up to your licence - (corresponding to the number of concurrent calls in the IVR getting treatment or in queue) but not the other. Easy mistake to make back then.
    Regards,
    Geoff

  • Design Problem : How to design/code a java client which is deployed to all the machines in a cluster and make sure that only one of the java client is active

              hi ,
              I have to design a java client (which is basically a JMS message listener)which
              is deplloyed to all the servers in the cluster. But as these are message listeners,
              i want only one of the instance to be active at a time.
              If the server on which the client is active goes down , I want the second server
              to start listening to messages.
              How do i design this ? Also is there a public api for multicasting that we can
              use ?
              Anybody has an idea on how to go about this..
              Thanks
              nisha
              

    Hi Nisha,
              Failover message listeners? Sounds like you want MDBs, which are deployed on all nodes in a
              cluster. If your JMS destination is a queue, then only one MDB will pick up the message. And just
              like any other ejb service, MDBs failover.
              Gene
              "Nisha" <[email protected]> wrote in message news:[email protected]..
              hi ,
              I have to design a java client (which is basically a JMS message listener)which
              is deplloyed to all the servers in the cluster. But as these are message listeners,
              i want only one of the instance to be active at a time.
              If the server on which the client is active goes down , I want the second server
              to start listening to messages.
              How do i design this ? Also is there a public api for multicasting that we can
              use ?
              Anybody has an idea on how to go about this..
              Thanks
              nisha
              

  • How do you read a large ( 100Mb) 3-D matrix from a file and make sure that you keep only one copy of it within the LV program for future use?

    I have to deal with large 3-D, I16 matrices that are stored in files. This data represents the density of an object at a sample point in 3-D space. I need to be able to display a 2-D section through the cube in an Intensity Chart. Since I want to update images in the intensity chart in real time to show different sections on demand I cannot adopt the approach of reading a section from the file when required - the I/O time assocaited with the disk read is way to long.
    The solution, is to keep EXACTLY one copy of the entire data set in memory at all times and then just get the required section on demand.
    This changes the disk I/O time to a memory access time, which is fast enough for my puposes.
    Here is the problem. Since the matrices are so large, I want to be very sure that I only keep one in copy of the data in memory. After a couple of weeks discussioin with Tech Support, and the development of several sample programs, they have agreed that it is not possible to do it with less than two copies of the data in memory.
    This additional memory requirement is a real problem for me and I am hoping someone is ingenious enough to come up with a way of doing it with only one.
    I can send a sample program illustrating the problem if necessary.
    Many thanks.

    Jean Pierre,
    Thanks for your reply - most kind of you to take the time. But.....
    This is exactly what I thought, and is similar in concept to the way I wrote my code. But it doesn't work. I modified you llb slightly by setting the variables to be I16's and setting the default array size to 54,000,000 and the default action to be initialize. ( I'll enclose a copy of my modified llb for you.)
    Here's what happened. I start the windows task manager, loaded LV and the program and looked at the memory shown in the task manager. It shows about 28Mb before I start to run the program. I then single step through the program. When it gets to the output of the Initial Array the memory usage jumps to about 134Mb, indicating the creation of the first copy of the array. As you continue single stepping it jumps to 239Mb as you leave the Case loop and head for the Shift Register. This memory does not drop down again.
    After talking with Platinum Tech Support, they agree and tell me that they cannot see a way to have just one copy of the array. That's why I posted it on the message board to see if there was anyone out there who had come up with an ingenious solution. It seems to be a serious limitation to labview.
    Let me know what you think.
    Thanks once again.
    Attachments:
    HugeArrayMod.llb ‏92 KB

  • How to configure my MDB serve only one message at a time?

    Hi All,
    I have requirement where I need to develope a MDB iin weblogic. This MDB has to serve only one message at a time. If the send second message is sent while the first one is running the second message has to sit in queue and start processing once the first message is finished.
    Is there any way to configure via annotations or in weblogic server settings ?
    Any help would be really appreciated...
    Thank you,
    K.

    Here is my client code to send the message
    Connection connection = null;
    javax.jms.Session session = null;
    MessageProducer producer = null;
    try
    connection = lpConnectionFactory.createConnection();
    session = connection.createSession(false, javax.jms.Session.AUTO_ACKNOWLEDGE);
    // Create a MessageProducer from the Session to the Validation Queue
    producer = session.createProducer(myQueue);
    ((WLMessageProducer)producer).setUnitOfOrder();
    // Create a message
    ObjectMessage message = session.createObjectMessage();
    message.setObject(params);
    message.setStringProperty(MyServiceConstants.OPERATION, operation);
    // Send the message to the queue
    producer.send(message);
    finally
    if (producer != null)
    producer.close();
    if (session != null)
    session.close();
    if (connection != null)
    connection.close();
    Following is the weblogic-ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN"
    "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>TestMDB</ejb-name>
    <message-driven-descriptor>
         <pool>
              <max-beans-in-free-pool>1</max-beans-in-free-pool>
              <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
         </pool>
    </message-driven-descriptor>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>

  • Leopard printing problems on several printers (Am I the only one?)

    Since installing Leopard shortly after it was released, I've had flakiness with printing:
    - With Tiger, when I printed, I could open the printer's window, and see the print job queued. The job would finish, disappear from the window, and everything would be fine.
    - When the job was printing, the printer icon would appear in the Dock. When the job was done, the icon would disappear from the Dock. Simple.
    With Leopard, printing has worked, but I have never seen a print job appear in a PrinterProxy window. I print, the printer outputs the job, and PrinterProxy is always blank. The printer icon appears in the Dock, and stays there forever. I found that I could ctrl-click on the icon and select the Auto Quit option (Hooray!), but that only worked for a while. Then the icons started staying in the Dock again. When I click on the Dock, there is no more Auto Quit option... just the "Application Not Responding" message. I have to force quit Printer Proxy after every time I print.
    What's stranger is how long it takes for the PrinterProxy app to start up. The icon in the Dock bounces for well over a minute. Sometimes, the job finishes printing before the app is launched. If I switch between apps using Cmd-Tab, I can select the PrinterProxy app, but it never actually displays; instead, I just revert to the current window.
    This is true for every printer I use, and as a traveling consultant, I use several. It is true whether I am printing via Airport, or over a direct Internet or USB connection.
    The printers that are permanently in my Printer List are:
    Canon i9100
    Brother MFC-8840
    Epson Stylus Photo 220
    HP LaserJet 1320N
    HP LaserJet 8800
    HP LaserJet 6570
    HP Color LaserJet 5550
    Adobe PDF 8.0
    All of these have the same problems. What's worse is, when I have a printing problem, there is no way to diagnose it, since the print jobs never show up in the PrinterProxy.
    I have reset my printing system many times. I have deleted and re-added my printers many times. I have downloaded drivers from the manufacturer's sites, and reinstalled Leopard's default drivers. Nothing makes a difference. Strangely, after updating to 10.5.2, the Auto Quit problem went away for awhile, then returned spontaneously.
    At the thread below, I show some of my system and crash logs from a prior discussion. Someone was helping me with the problem, but after asking me to post my logs, he seems to have dropped off the thread.
    http://discussions.apple.com/message.jspa?messageID=7013209#7013209
    I can't believe this problem is endemic to Leopard. I know many people who seem to use Leopard without any problems at all. (They even print once in a while!) And yet, as a fairly advanced user, I can't believe I'm the only one having this problem! My system is pretty plain vanilla, with no weird mods, hacks or apps. Pretty much just straightforward creative and productivity apps. I use it daily for business, so I try to keep all wacky stuff off of it.
    There must be a solution, short of doing a clean install. Can anyone help? Are there PrinterProxy-related files I can delete when I reset the Printer System that might help resolve this? Prefs?
    Thanks,
    David

    I'm having exactly the same problem with a Lexmark C760.
    When I inspect the Activity Monitor while opening the Printer Icon from the Dock (or press the Button "Open Print Queue" in the "Print & Fax" System Preferences), I can see the Printer Icon as "Printer Proxy (Not Responding)" marked in red in the processes list. The Dock icon bounces for quite a while, and after about 2 minutes, a Printer List actually appears under the PrinterProxy application and the process in Activity Monitor changes its name to "(null)" and its color to black.
    Though there is no entry in the PrinterProxy list when I print something from another application while keeping the window open, I can select "Supply Levels" and the correct information appears, so it seems to be functional.
    It also seems that there are several copies of the drivers remaining, as the application in the Dock is named "Lexmark C760 (4)", probably from my attempts to remove and reinstall the driver. Is there some interference with old installations of the drivers that still lurk somewhere, hidden in the depth of the many libraries? How can I get rid of the previously installed drivers for good?

  • Only one Application can be created at a time?

    We are using enhanced model of SAP-WCM and are in the EHP6 version. We have additional applications, in addition to main application. We do not use Work permit.
    Our users are creating work approval, applications & WCDs, manually as well as automatically from PM order. During manual creation of an application, if the user selects more than one options, system gives error and allows only one application to be created at a time. If more than one applications are required, he has to create them one by one. Similarly, in automatic creation of WCDs, if there is requirement of additional applications, users have to create additional applications manually.
    Our problem is that the user often creates only one application or goes with the auto created applications & WCD, ignoring the requirement of additional applications. We wish that somehow if system can force the user to create additional applications required for a particular job and does not allow to prepare or issue the WCM objects until all required applications are created. For this it is required to first identify which applications to be created.
    Our suggestion is, when we go for creation of application, it gives option to select type of applications with check-boxes. All the check-boxes should appear 'checked' by default and user has to 'uncheck' the application(s) not required for the particular job, before pressing OK button. On pressing the OK button, these choices must be stored in some table from where the system keeps track and prompts the user, until all the applications are created.
    The experts in WCM are requested to advise if this requirement could be met in our present configuration of WCM. Is it possible using work permit? If yes, how can we implement work permit?
    Regards,
    M.S.Sachan
    ERP-PM Core team

    This forum is intended for questions about old, pre-G3 hardware, and doesn't get much traffic. Hence it's not the place where you'll be most likely to get help with your problem. I'd suggest you ask this question in the Mac OS X 10.5 forum; you'll be more likely to get assistance there.
    Regards.

Maybe you are looking for