What approach i use for this...its some what like interrupt

Hi...
I have an application that requests data from 8 different stations...It may take a few minutes the complete the reply.
Meanwhile if i want to do some other thing in the application,currently i have to wait until the current request completes its reply.
I would like to know is there any way that i can do other function(higher priority one) inbetween the request completion by pausing that request and continue the request after i complete the other function.
Thanks in advance for any help

user_1 wrote:
I dont want to make it slower by emposing parallel execution...And also,some way i have to pause the current process and go to the higher priority process and once it finish go bak to the original procee.
Why would imposing parallel execution make things slower?? LabVIEW does all the scheduling required automatically. If a background process does not require much CPU (e.g. you could run it in a slow loop just waiting for a reply), the main process can use as much CPU as it wants most of the time.
I guess you have some strange misconceptions about dataflow and parallelism. Typically you don't have to worry about details like that If the code is reasonable. Of course if you would do the polling in a loop without wait, it will spin the loop as fast as the CPU allows, starving other processes. So don't do that!
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • What cable to use for this?

    I am trying to hook up my xbox 360 to my Macbook pro, and I am unsure of what cable to use for this. Composite cables.

    Hi there Dsc, i tried to do so b4, but with limited success, now the problem is like been told you, MBP is not design to accept INPUT video signals, i got something called EYETV coast me about 120$, but the resolution that XBOX accepts is much higher than MBP screen can afford, i got this message when i tried to hook it up ( the dash board came up from the xbox ): YOU NEED TO ADJUST YOUR SCREEN TO A HIGHER ADJUSTMENT BEFORE YOU CAN PLAY GAMES ON THE CONSOL or so, but thats my experience any way, if you succeeded please let me know, by the way i asked the same Q b4, just search my questions and you will see the answers on my question. hope this helped.

  • Need Help..what should i use for this

    hello friends, i have to write a program which will load an xml file reader class at run time and depending on the content of xml file i'm going to generate mapping.. e.g xml file- <MyMapping> <ATO> <security type=int> </ATO> <FIX> <symbol type=String> </FIX> </MyMapping> Now i want to change the content of xml file without restarting my running application..changes should be reflected at runtime... also my xml file will contain nearly 1000 lines..so in this case which technique should i use whether i use JAXB which will give the classes of my xml file or any other ?? Also if i use JAXB whether JAXB gives classes corrsponding to my xml nodes (e.g ATO.java as per above example).

    daitkarsachin wrote:
    hi ,
    here is my question again..my xml will have
    <Message>
    <ATO>
    <somefiled="X" type=int value=35 />
    </ATO>
    <FIX>
    <somefiled="Y" type=String value=50 />
    <FIX>
    </Message>
    Now first i have to parse this xml ..then my java program is going to accept value from user ..and depending on user specified value i've to use either ATO or FIX fields...e.g if user value is 35 then my program should use fields within ATO node.
    You will read the XML structure into some kind of memory model. When the user supplies a value you will search for a matching value (likely from a collection such as a map or list) and return the value in that object that you locate.
    what should be done for this ..
    See above.
    and what if i change values in my xml file..will i have to restart my application to load xml again ?
    If you change the file on the filesystem, you should simply be able to re-parse the XML file and update your in-memory model. If you instead update your in memory-model, you can serialize the model back to XML on the filesystem. Neither needs to necessarily have anything to do with application start-up (other than the fact that you would normally read in the XML model then, but updating is a separate concern, as would re-reading it).
    - Saish

  • What widget is used for this Site-of-the-Day?

    My Muse website is for my design business, and I need to show several pages of design samples (covers, logos, tech art, etc.). I think a slideshow widget will work best, but I have problems with the built-in ones (another forum entry probably). I like this presentation from an Adobe Muse Site-of-the-Day (http://du2design.com), and like that the thumbnails "fade" back while the selection is in the front. I can't find any widget that does this; the thumbnails disappear completely. Can you tell me what widget was used here, or how one was modified? Thanks. Here is a screenshot of the effect.
    (not sure how to add an image here)
    file://localhost/Users/jbaumgartner/Desktop/sample.tiff

    Anshul,
    Thanks for the help. I changed the widget I had to your suggested one, and I think it's what I need. However, I still have problems with it which I don't seem be able to resolve. Most of the elements of the widget I can access and will be able to change (color, size, position, etc), but there are a couple of things I don't see options to solve.
    1. I "Placed" 20 cover samples into the widget, and they loaded OK and show in the Assets window. None of them are in the thumbnails, only the various gray tints. How can anyone select a sample or even see the samples that are presented? I can find no way to make the thumbnails reflect the samples.
    2. As I said, I placed 20 samples. The thumbnail container loaded all 20 items (tints), but the container just extends to the right outside the site dimensions in a single row. I don't see anyway to make the container multi-rows and stay within the boundaries of the site. This is how the example was presented, 15 samples with 3 rows of 5.
    3. My site has a static menu area in the upper left of the page for navigating the site, a master item. In design mode, the page has the widget placed to the right of this area, but in Preview mode (and also browser mode), the slideshow samples appear to the left of the position and overlap the menu area. I don't see any way of fixing this. Changing the position of the target area in the container further right makes no difference, it still Previews to the left of Design position and overlaps the menu.
    I think this widget may work for my needs, but not if I can't resolve these issues listed above. I'd appreciate any help with this. Thanks,
    John B

  • What functionlity to use for this business requirement ?

    Hi Experts,
    We have following requirements in our system
    1. PRODUCT A will have component that are interchangeable. lets say components X, Y and Z.
    2. PRODUCT B will also have the same component which is interchangeable (X, Y, Z)
         X. Y and Z componets will appear on alternative BOM of A and B.
    3. Product C has component X. This means that unlike the first two cases, C can only have X
    4. There is a generic code W which actually just mapped to X, Y and Z.
    5. All demands of X, Y and Z should sum up to generic code W
    6. Procurement knows that generic code W pertains to X, Y and Z and thought that X, Y and Z are interchangeable so he can order any of these 3 components in any quantity.
    7. Problem is on Product C because unlike in Product A and B, Product C is using component X exclusively. So if procurement ordered only lets say component Z, then Product C will noy have component X to use.
    We thought of using FORM FIT FUNCTION of product interchangeability with components X, Y, Z and generic code W as part of one class and generic code W as the leading material but we end up with the problem we have in item #7.
    I hope you can help me brainstorm what fuctionlaity we can use in order to meet above requirements. Thanks.
    Regards,
    Mylene

    Mylene,
    You have created your own problem.  By your own statement, X/Y/Z are not interchangeable in all cases, and yet you are telling your Purchasing people to treat them like they are.
    I don't know what is a 'generic code', but it sounds like  'W' is outside of your A/B/C BOMs, and you are buying something for which there is no MRP PrReq.......Tsk Tsk. 
    What business benefit are you getting by using "W"?
    If you don't want to change any of your Bills of materials, then make X the primary component on A, B, C.  Forget about W, just buy X every time.  Manually issue Y & Z to the permissable orders as requirements permit.  Once the stock of Y, Z is used up, there is no further issue.
    Or, perhaps X is the more expensive of the three.  Then, turn W into a real part in your BOMs, and stock it as such, separately from X.  The Purchasing specs of W remain: 'either X or Y or Z'.  Put W into your boms for A and B.  Leave X in the BOM for C.
    Regards,
    DB49

  • What are the uses for Macbook pro and Macbook air?

    Hi! I am deciding between MBA and MBP and need to know what the different uses for each one was. Like what would you use the MBA for and what would you use the MBP for?? All opinions welcome!!

    They're actually pretty comparible in what they can do if you're talking about the base model of both (say 13") with 4GB RAM. At that level, the Pro has the advantage if you're going to watch or burn DVD's or CD's, as the Air has no optical drive. But otherwise, they're pretty much the same--full-sized, backlit keyboard, camera, beautiful screen, etc. If you're going for more than a basic 13" Pro, then things start to change. For example, you can get up to 8GB RAM on the Pro, and a huge hard drive, you can also get a 15" or 17" size. You will be paying a lot for these, but, obviously, if you're going to be working on, say, making videos (which you may then want burn onto disk) the Pro is very much what you'll want.
    However, if you don't need or want any of that--if, for example, you plan to do the usual programs (word processing, games, web surfing, music, etc.), then you really won't see much difference between the two. At 4GB RAM and a 13" screen, the big difference is going to be thickness and weight, not power. And in this the Air will have the advantage--it's really amazingly slim, light and with a SSD, faster (you pay extra--a lot extra--to get SSD on the Pro).
    Just to make the point, I switched from a 13" Pro to an 11" Air. My hard drive size is half what it was with a Pro, but I was barely taking up half of that amount on the Pro, and so have plenty of room on my 128GB Air (you can get 256GB for the 11" if you order it online). Absolutely everything my Pro did, my Air does (sans optical drive), only faster and lighter and more compact--meaning it takes up less table space, slips in and out of my bag faster, balances on my lap easier, etc. But there was no interruption of service--I switched pretyt seamlessly from 13" Pro to 11" Air.
    The Pro offers you more options for power, screen size, HD size and optical drive. But it's really pretty surprising how few of us need that much power, that much room, or the optical drive. It's very freeing to realize that less can be more than enough.

  • What should be done for this ?

    hi ,
    here is my question ..my xml will have
    <Message>
    <ATO>
    <somefiled="X" type=int value=35 />
    </ATO>
    <FIX>
    <somefiled="Y" type=String value=50 />
    <FIX>
    </Message>
    Now first i have to parse this xml ..then my java program is going to accept value from user ..and depending on user specified value i've to use either ATO or FIX fields...e.g if user value is 35 then my program should use fields within ATO node.
    what should be done for this ..
    and what if i change values in my xml file..will i have to restart my application to load xml again ?

    I have changed your XML to make it well formed. Please refer this further in this reply.
    Well Formed XML:
    <Message>
         <ATO somefiled="X" type="int" value="35"/>
         <FIX somefiled="Y" type="String" value="50"/>
    </Message>
    daitkarsachin wrote:Now first i have to parse this xml ..then my java program is going to accept value from user ..and depending on user specified value i've to use either ATO or FIX fields...e.g if user value is 35 then my program should use fields within ATO node.
    what should be done for this ..A simple XPath Query can do trick for you, it can give you ATO or FIX element according to user specified value. XPath query can be:
    // replace ##user_specified_value## with value user enters.
    String xPathquery= "/Message/child::*[@value='##user_specified_value##']";
    daitkarsachin wrote:and what if i change values in my xml file..will i have to restart my application to load xml again ?Not necessary to restart application but you need to parse or reload updated XML file again.

  • What Tool i use for creating OAF (Page)

    Hi All,
    I am new in Oracle EBS my boss given task for develop page in OAF, so please guide me what tool i use for this page given me link for download it and also help me for creating this page.
    Currently we are using Oracle EBS R12.1.2.
    Thanks
    Rehan

    I am new in Oracle EBS my boss given task for develop page in OAF, so please guide me what tool i use for this page given me link for download it and also help me for creating this page.
    Currently we are using Oracle EBS R12.1.2.OA Framework - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
    Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
    Troubleshooting JDeveloper setup for Oracle Applications [ID 357218.1]
    What Setup is Required to Create Custom JSP Pages to Run on the Ebusiness Suite 11i and R12+? [ID 884200.1]
    Thanks,
    Hussein

  • I have Mac Pro 2007, which have no bluetooth hardware. What should I do to use Apple wireless keyboard and magic mouse??? Can 'third party's internal bluetooth card' be used for this purpose? Help please...

    I have Mac Pro 2007, which have no bluetooth hardware. What should I do to use Apple wireless keyboard and magic mouse??? Can 'third party's internal bluetooth card' be used for this purpose? Help me please...

    You can find the Apple Bluetooth card on eBay for as little ten dollars (says its for the 2008 model Mac Pro, not sure about the 2007).
    http://www.ebay.com/itm/Bluetooth-Board-iMac-and-Mac-Pro-922-8233-922-8233-/1208 49278570
    Here is a link to a full explanation of the card and how to install it. Part numbers may differ a bit as that is an old article and newer models have come out.
    http://www.xlr8yourmac.com/systems/Mac_Pro/Bluetooth_MacPro_install/Bluetooth_Ma cPro_install.html
    Just make sure that the part will work in your model Mac Pro. To that end, you may be better off avoiding eBay and going to a parts reseller. There are even third party cards that use the internal Apple bluetooth slot.
    http://fastmac.com/bluetooth.php
    In theory, using a USB or PCI card will work at login so long as it is recognized by Apples drivers. You say you need to launch an application to use your current USB Bluetooth dongle? If it is not controlled by the Bluetooth icon in the menu bar then it must be using a third party driver of some sort. Unfortunately, I don't know off hand which USB and PCI cards are supported.

  • HT4623 Hi . My iPhone 4S Facebook page won't rotate either it's lock or unlock what should I do for it could some body tell me about this problem plz

    Hello dear I want to ask that when I am using the Facebook app in my iPhone 4S I want rotate the screen but its not turn over in side ways other all pager or apps like text massages , safari browser , all rotate but only having problem with my Facebook that I can not rotate so please can some body tell me what should I do for this problem .
    Waiting for positive answer.
    I look forward to hear from you people soon thanks
    Regards ,
    Syed Basharat Ali

    They may not have the updated Facebook app. I have a 4S and my Facebook will not rotate. You can use Google and find more information about this. I'm just reporting what is going on and why it is happening.
    Google:
    http://www.google.com/search?q=ios+facebook+app+rotation&sourceid=ie7&rls=com.mi crosoft:en-us:IE-Address&ie=&oe=
    One of the links from Macrumors:
    http://forums.macrumors.com/showthread.php?t=1427794
    Message was edited by: ChrisJ4203

  • What are all the tables used for this report:

    hi
    what are all the tables used for this report:
    report:
    •     <b>Stock Report, which will give opening balance, receipt, issue, and closing balance for any given Duration for any material.</b>
    thanks in advance

    Tables: MSEG, MKPF, MARD.
    FOR REFERENCE SEE TRANSACTION : MB5B.
    Message was edited by: Sharath kumar R

  • Becouse of expire of credit card I updated billing information by providing data of new credit card but system just says "We're sorry, the billing information on file could not be used for this payment. Please update your information.". What exactly is wr

    Becouse of expire of credit card I updated billing information by providing data of new credit card but system just says "We're sorry, the billing information on file could not be used for this payment. Please update your information.". What exactly is wrong?

    Are you 100% sure that every detail of your information is the same in each place?
    Make sure that EVERY DETAIL is the same in every place you enter your information
    -right down to how you spell and punctuate the parts of your name and address
    Change/Verify Account https://forums.adobe.com/thread/1465499 may help
    -Credit card https://helpx.adobe.com/utilities/credit-card.html

  • TS1702 I use iphone5, I see an app update on the app store. but when App store and click on the update tab, it doesn't show me which application to update.. just give me a blank page.!!!! what is the solution for this.!!!!

    I use iphone5, I see an app update on the app store. but when App store and click on the update tab, it doesn't show me which application to update.. just gives me a blank page.!!!! I wouldn't able to know what app has to be updated, untill and unless i get check for each every app on the app store installed on my iphone... what is the solution for this.!!!! can any1 one help me out.!!!!

    Cc2528 wrote:
    The iTunes Store on my iPad is set up with all my music already. And at the very bottom it shows my apple Id username. The only place it shows the previous owners id is in the App Store...
    You can probably change the ID in the "iTunes and App stores" settings on the iPad....click on the wrong account ID , select sign out, then log in with your own ID, I have not done this but I think it works.....
    but I would be more inclined to to the factory reset and start afresh.

  • Adobe X PDF files converted to jpg, edited and converted back to PDF have ragged, unclear text.  I didn't have this problem with Acrobat 9 standard.  What is the remedy for this.  If this is the best I can expect, I won't be able to use X standard.

    Adobe X PDF files converted to jpg, edited and converted back to PDF have ragged, unclear text.  I didn't have this problem with Acrobat 9 standard.  What is the remedy for this.  If this is the best I can expect, I won't be able to use X standard.

    I can't imagine any worse workflow than converting to JPEG to edit text, then back to PDF. Text in a PDF is a vector thing, smooth at all resolutions. And JPEG is made for photos. EVERY conversion to JPEG and back loses quality but how much loss there is will vary.
    If you must go to an image format, try PNG.

  • What are the tables used for this Report

    hi all..
    i am a fresher for ABAP. i need the help.
    what r the tables used for this report.
    Reports provide pending order details according to Material wise and customer wise for particular month.
    thanks in advance
    RK.Ashokkumar.
    9994262112.

    hi
    good
    try with these tables,
    MARA
    KNA1
    thanks
    mrutyun^

Maybe you are looking for

  • HP Office Jet 6600 Cannot scan? Never could?

    Using Linux Operating System.  Cannot scan documents.  Never have been able to since purchasing new. Can you help? Thank you.

  • Creation of  File through Scheduled Batch Job

    Hi Friends. How to create a file through scheduled batch job .ie data has to be sent in particular file which should be stored in SAP so that The file is expected to provide quick reconciliation when data in SAP gets archived . With thanks and regars

  • Secondary costs from WBS to an AuC

    Hi, 1. I have executed Assessment[KSU5] that actually settled costs from secondary cost element[800099] to a WBS element [AAA] 2. Now I am trying to settle costs [which is secondary] from WBS element [AAA] to an AuC using CJ88 and I am getting below

  • VLC player - how do I get it to play consecutively?

    Hi there, I downloaded VLC to play avi-files, but I can't figure out how to make it play several short films consecutively. I'd ilke to not have to open them, one after another.. Can anyone help me? Best regards, charlotte

  • Creating A New MySQL Database With Coldfusion Code

    Hi, I was wondering if anyone knew how to create a whole entire new database simply by executing a Coldfusion template (via a form for example). I'm pretty confident at creating a new table in an already existing database but not sure how to go about