What is the general way to invoke a rpc/encoded webservice?

Hi,
I have some confusion in invoking webservices, ok, let me explain my question in detail:
Usually, we access a web service througt its wsdl file, for a rpc/encoded style, for example, in Axis enviroment, I will need the java object for the complex message types, how can I get these java files? If I use the Sun provided WSDP tool to compile the wsdl file and get these java files, do they work? If I am not in the Axis enviroment, maybe I will compose the SOAP request directly, so, what is the general way?
Thanks.

Hello,
When you want to invoke a Web Services (RPC or Document style) you generally as you said create a set fo Java class to: map the messages information to Java code, and create a proxy/stub to do the call.
Using Oracle Application Server Web Service framework you have several way of creating this client classes:
- using Oracle JDeveloper just do a File>New>Web Services>Web Service Proxy
- using the command line tool, and associated Ant tasks (WSA:Web Service Assembler), see the Web Services Developer Guide
Regards
Tugdual Grall

Similar Messages

  • What is the simplest way to invoke the command associated with an existing menu item from a plugin?

    Hey there,
    My specific task is to bring forward the "Swatches" window.  I want to initiate this from my plugin code (C++).  However, I may want to execute other menu items in the future, so understanding the simplest, most straightforward general mechanism would be great.
    I've pieced together a sequence that could work using the Menu and Interface suites, but it seems more complicated than it should be and requires knowledge of the localized name of the menu item (incomplete and uncompiled sample code below).  Is there a better way to do this?
    // Get the menu item handle by walking all items to find the swatches item
    long numMenuItems = 0;
    sAIMenu->CountMenuItems( &numMenuItems );
    AIMenuItemHandle menuItemHandle;
    ai::UnicodeString localizedItemName;
    for ( long menuItemIndex = 0; menuItemIndex < numMenuItems; ++menuItemIndex )
        sAIMenu->GetNthMenuItem( menuItemIndex, &menuItemHandle );
        sAIMenu->GetItemText( menuItemHandle, localizedItemName );
        if ( localizedItemName == “Swatches” )
            break;
    AIBoolean bchecked =false;
    sAIMenu->IsItemChecked( menuItemHandle,
                            &bchecked );
    if ( !bchecked )
       // Find the plugin responsible for adding and responding to the menu item
        SPPluginRef swatchPlugin;
        sAIMenu->GetMenuItemPlugin( menuItemHandle, &swatchPlugin );
       // Construct and send a message to the plugin instructing it to execute as if the menu item were invoke by the user
        AIMenuMessage message;
        sSPInterface->SetupMessageData( swatchPlugin, &message.d );
        message.menuItem = menuItemHandle;
        SPErr result;
        sSPInterface->SendMessage( swatchPlugin, kAIMenuCaller, kSelectorAIGoMenuItem, &message, &result );
        sSPInterface->EmptyMessageData( swatchPlugin, &message.d );
    Glen.

    That's a clever solution to a problem I'd never considered (but can see how others might need it) I can't think of a better way to invoke it though than what you're doing except maybe with some minor improvements. If you know the menu group, you can use AIMenuSuite::GetMenuGroupRange() to jump to that group in the overall list. Also, since menuitems seem extremely unlikely to change, you can probably cache the handle.
    Beyond that, the usual suggestion I'd make it is to at least explore actions. Try recording an action and see if it even picks up when you display the Swatches panel. I'm guessing it doesn't record stuff like that, but who knows?

  • What is the simplest way to invoke an ODI scenario from a webpage?

    Hi folks
    I have a requirement where I want number of people to be able to run certain ODI scenarios when they wish.
    Now I don't wish to roll out ODI Operator to these users.
    I'd like to create a simple web page, with a few links/buttons that will run ODI scenarios.
    Now I understand I can set up a Web application server (eg Weblogic), deploy Axis2 to this and invoke scenarios as web services etc. But this is prohibitively expensive from a licensing point of view. (And open source app server is not an option).
    I do have an apache server where I can host a simple web page. Is there a way I can get this to invoke scenarios? Or some other simple way I haven't considered?
    Thanks for looking

    ODI Web Services. You can broadcast your scenarios as web services. Here are some good reading.
    http://www.rittmanmead.com/2008/02/delving-in-to-odis-web-services-support/
    http://blogs.oracle.com/dataintegration/entry/best_practices_building_data_services_with_odi-ee
    http://john-goodwin.blogspot.com/2009/04/odi-series-web-services.html
    http://john-goodwin.blogspot.com/2009/04/odi-series-web-services-part-2.html
    http://john-goodwin.blogspot.com/2009/05/odi-series-web-services-part-3.html
    http://john-goodwin.blogspot.com/2009/05/odi-series-web-services-part-4.html

  • What is the proper way to set up an encoder on an Elvis prototyping board with Labview 2010?

    I am using a PCI-6024E with an Elvis I and MCU Project Board. I've tried using the quadratureencoderm-series.vi as well as experimenting with the counter channels in the Measurement and Automation Explorer; however I have been unable to find the proper channels to read the data from this encoder. I'm having trouble configuring the counter to work properly. Can anyone tell me which pins I should be connecting the encoder signals to? I've attached a datasheet for the motor and the encoder. Any help would be appreciated.
    Attachments:
    MT-003-datasheet.pdf ‏381 KB

    Hi jns0086,
    I see your problem.  I believe that example was written using Traditional DAQ, a set of drivers and functions that have since been replaced by DAQmx. What version of LabVIEW and Windows are you using?  There are some compatibility issues depending on your version on LabVIEW and your operating system.
    In the meantime, if you have everything connected properly, you should be able to count your edges using one of the built-in LabVIEW examples.  Go to Help>Example Finder and then browse for Hardware Input and Output > DAQmx > Counter Measurements > Count Digital Events > Count Digital Events.vi.  See if that helps.
    Have a great day,
    Chris
    Applications Engineering
    Applications Engineer
    National Instruments

  • What is the best way to encode and compress?

    I just finished an hour and a half long video of comedians performing. The client wants this to be put on dvd so he can mass produce it. What is the best way to compress this and encode it? Should I buy compressor or can I do it in handbrake? What are the best best settings to make sure it doesnt lose quality? Please advise...

    You should be able to get up to 2 hours at least.
    The best way is to export as a Master File and drop it into iDVD, Toast or some other DVD authoring app.

  • What's the best way to do it?

    hi!
    i'm new to swing and i have a few general questions to ask. i have to display a picture and i need to have buttons and text areas, maybe sliders too on the same thing. what's the best way to do it? do i make a panel with the buttons, another panel with the picture, another one with sliders and a fourth one with text areas and i put everything on a frame? or there are other containers that work better with these particular things? and then about the positioning, i always have trouble putting my panels in the right positions, which layout should i use? are all layouts evenly effective?
    and should i be posting in the new java forum (as i'm not advanced) or in the swing forum?
    thanks :)

    Take a look at the layouts, that will help you a lot. You'll probably need multiple layouts to get what you want to look the way you want it--don't think you just have to use one layout and try to force it to arrange things the way you want them arranged. Generally you will have a JFrame as you base, JPanel to display the Image, and what ever else you need you can either add to the JFrame or another JPanel.
    In the JPanel that you want to display the image--Override paintComponent:
    pubic void paintComponent(Graphics g){
      super.paintComponent(g);
      g.drawImage(myImage, 0, 0, getParent());
    }This will paint your image directly onto the graphics context of the Object you want to use to display it.
    After you load you image, you should call repaint() to on your object you overrode the paintComponent for, this will properly invoke your paintComponent method and get your image painted onto your component you are using to display.

  • What is the best way to organize photos? iPhoto or Aperture?

    I am a mom taking tons of photos of my young children. On my old PC I used to organize everything within "My Pictures" by Month & Year (May 2008). I am a very organized, linear person and don't like to change the way I do things midstream so I am having a hard time figuring out how to organize our family photos now that I have switched to a Mac with iPhoto and Aperture. In the future I hope to learn about Aperture's professional tools (which as a mom & not a professional photographer I currently do not use). I would love to take photography classes at a local community college someday...
    My questions are as follows:
    1) What is the better way for ME to store our photos? Should I be uploading to iPhoto or Aperture? I basically want all of my "master photo images" in the same location in an organized fashion. I am hoping to do this without clogging up my computer. At this point I am thinking at the end of each year I will burn the year's photos to a disk for save keeping. But until then...
    2) Is the "library" the over-arching place where all photos are stored? In general, I am having a hard time following the hierarchy of where my photos are being stored, how to organize them and how to completely delete bad photos.
    3) Can I do everything I can do in iPhoto in Aperture? Obviously I know I can do more but is it as easy to edit/fix up photos?
    I have listened to/watched several tutorials on both programs and have read through many other folks' questions/answers but I am still not sure of what to do.
    I really appreciate any help/advice anyone is willing to give!
    Thanks!

    I'm not a professional either, just a grandma with a love of digital photography who takes lots of photos. We used to live in a motorhome full time, so we had lots of opportunities to take many photos.
    I personally like Aperture better than iPhoto because I like to use some of the NIK software/plugins where I can do the adjusting right in Aperture and don't always have to send the photos to PhotoShop. Also you have a bit more flexibility as to file set ups with Aperture. In iPhoto you don't have as many nesting capabilities. iPhoto is great, but pretty basic.
    I had my photos set up as files on the PC, long before I got my first Mac. So I set them up the same way. I'll try to explain
    In Finder:
    Pictures (in side bar on left in Finder)
    Folder - My Photos
    2nd Folder - by year
    In the year folder I have a folder by date ie: 20000722 (year,month,date) and the photos from that date in there.
    Once I got to using Aperture, I have my years set up as "projects" and the dates set up as "Albums". When importing the whole set of photos into Aperture, it was easy. I highlighted the "library", then did a right mouse click and selected "import folders as projects". That imported the photos into Aperture the same way I have them in finder.
    Once everything is in Aperture, and you have new photos to add, I make an album under the corresponding year and import.
    I do all my photos as referenced and don't duplicate them again, as I have them backed up in a couple of other places.
    IMHO you can't back up enough! Don't wait and do it only once a year! Hard drives have a way of crashing and you'll loose all your photos. Use DVD's, thumb drives, ext. hard drives or what ever works for you. But always back up.
    When I take my photos off of the memory card, I immediately send a copy to the back up external HD. Once the photos are adjusted etc. I make sure I have a copy elsewhere too. Only then do I erase them off of the memory card. Might be a bit redundant, but I'm not about to loose any of my photos. When we lived in the motorhome we were always aware of the possibility of theft or fire. So I got in the habit of taking some time to reduce the size of the photos and keep them on a thumb drive that I kept out of the RV. If anyone broke in or we had a fire, I'd still have the photos. Maybe not the originals or the bigger size, but we wouldn't loose them either.
    If you want more info on non professional filing, send me a PM and I can send you a photo of my file hierarchy . (suemach (at) mac (dot) com)
    Allie

  • What is the best way to use a SSD for Photoshop/photo editing?

    Computer hardware newbie here: I do a significant amount of photo editing work and for a very long time I've experienced Photoshop, Bridge and Photomatix crashing constantly (usually due to insufficient RAM) or just generally taking forever (Bridge took forever to load the thumbnail/preview extractions in a folder full of images, Photoshop took forever to save images and Photomatix took ages to load/merge a set of bracketed photos).  Here are the typical error messages I'd get: http://pastebin.com/J9byczse
    As a professional photographer, constantly running into that sort of thing is quite aggravating, so to hopefully avoid ever having to deal with that again I invested in a new custom built computer.  It's Windows 7 Professional 64 bit with 32GB of RAM and a 240GB SSD; I'm using the 240GB SSD as my boot drive/OS, all of my programs are installed there, and the page file.  My photos and data are stored on several HDDs.  I have yet to install any of my photo editing software (Photoshop CS6 Extended, Lightroom, Photomatix etc) to the new computer yet since I'd like some advice first.
    My basic question is this: what is the best way to take advantage of the SSD (and the computer in general) when it comes to my photo editing software?
    Specifically...
    1. If I have a folder of photos I'm working on, should I move it to the SSD and then work on them from there in order to take advantage of the speed of the SSD?  Would this make any difference in terms of speed if the photos are located on the SSD vs. an internal/external HDD?
    2. Most of what I've read online seems to recommend two separate SSDs, one for installing/booting the apps and one for cache/scratch.  Does it matter if I use my 240GB SSD for both?
    3. This is a fairly new computer and the SSD is already almost half full (102GB used, 120GB free) *WITHOUT* any of my photo editing software installed yet.  I'm concerned about how fast that remaining 120 GB may fill up.  As it fills up will I lose the speed advantage of the SSD vs. a regular HDD?
    4. Sort of similar to #3, but should I bother moving any of my other non-photo editing programs/caches off of the SSD to a HDD and would there be any major difference in the speed/lifespan of the SSD if I did so?  It's mostly Firefox and Chrome and their caches that I'm concerned may be a problem if they remain on the SSD.
    Thanks for any help!

    If you have an SSD you can run the cache and programs on the same drive.  However, many recommend a scratch disk size of 100-200 gigs so that will not work here unless you opt for a larger SSD.  Otherwise an internal spinner is recommended that does not contain the program files, or idealy any other files that may want to get acessed at same time (only one read/write head per drive).
    With 32 gig of RAM you may not need the constant use of the scratch drive unless working on large images with lots of layers.  So see no advantage to moving folder to SSD for temp work environment.
    From what I read the new crop of SSD do not have the wear problems of the older versions.

  • What is the best way to set up iTunes to deal with a massive media library?

    I have a really big media library...probably 7k-10k digital photos, close to 1,000 ripped CDs, and over 600 ripped DVDs, all stored on 1.5TB external hard disks in a 4-drive enclosure.
    Due to a recent technical glitch, I find myself installing a new drive and moving the current library. My question is, what is the best way to set up iTunes' settings to deal with a media library that is both external to the Mac on which it runs, and spans multiple physical hard disk units?
    I generally like the idea of iTunes organizing my library for me (i.e. keeping everything in Media Type>Artist>Album folders via the "Automatically Add to iTunes" folder), but I'm not sure how that's going to work spanning multiple drives.
    I just figure since I'm basically starting over with my iTunes installation, maybe there's a better way to do it.
    Thanks in advance for any advice you can offer.

    You can set them up as a software RAID using Disk Utility.
    It'll simply be one large disk for all intents and purposes.

  • What is the best way to set up my new Mac Pro?

    Not wanting to screw up in a process I've not done with a brand new machine before, I'm looking for feedback on my plan for setting my new Mac Pro next week...
    The physical plan is this:
    For RAM, I have four 2GB SDRAM's plus the supplied six 1GB modules. My plan here is to install the 2GB rams into the first four slots and install four of the 1GB modules into the remaining four slots for a total of 12GB's.
    When the cost for 4GB modules gets down to reasonable, I'll buy four of them and bump the current rams down the line which will then give me a total of 24 gigs where I'll stay.
    For my hard drives, I'm installing a 160GB Intel X25-M into the first drive bay
    http://www.intel.com/design/flash/nand/mainstream/index.htm
    using one of MaxUpgrades' 'MaxConnects' kits. I will use this drive for the operating system software and my applications and their libraries.
    Next, into the remaining three drive bays, I am installing three 300GB WD Velociraptors. Mine are the pre-'backplane ready' versions:
    http://www.wdc.com/en/products/products.asp?DriveID=459
    so I have bought these sleds for them...
    http://www.maxupgrades.com/istore/index.cfm?fuseaction=product.display&product_i d=180
    I own one of Sonnet's Tempo SATA E4P cards
    http://www.sonnettech.com/product/temposatae4p.html
    which, thanks to this forum, I now understand, with the correct firmware installed, function well so I will install it and be able to establish hardware RAID. I will create a RAID 0 set with the three Velociraptors and use it to store all of my data files.
    Backup will happen on a 1TB WD 'Caviar Black' external drive connected through one of the Sonnet card's external eSATA ports and using the OS 'Time Machine' software.
    And that's the physical plan. My question is about setting things up. The physical installation part is straight forward and I don't expect any difficulties but I'm wondering what is the best way to install the operating system.
    Do I take a first step keeping the supplied hard drive installed, install the solid state drive into the next drive bay and then transfer the contents from the supplied drive onto the SSD or do I do the complete physical installation process and do a 'C' drive start up and install the OS that way?
    And, do you have any tips/suggestions on setting up the RAID 0 set?
    thanks for the help. I want to do this right.
    JQ

    oh mighty Hatter, I knew you'd have helpful guidance to offer! And thank you. You've confirmed my anxieties about the Sonnet card; kind of a 'too much, too quickly' sort of thing. And it's not that Sonnet's not a good company. Just everything to do with new technologies and the growth curve we all, manufacturers and users, go through when they come out. And, for sure, the new Mac Pro's are new technology; the single biggest forward leap in Apple's top-of-the-line machines for some time far as I can tell. Just reading at Intel's website about the Nehalem's is a joy!
    So, I will proceed now with everything except for the controller card, leaving that 'til later. In the meantime, I think I'll just happily run with the four hard drives all running independently. No software RAID. I know just those, the SSD boot drive plus Velociraptor trio's going inside of a 2.66ghz 8-core Nehalem Mac Pro is going to be a working pleasure. Heck, this way, I'll get settled in and used to the machine's speed, have a great time doing so and then, in however many months, I can jump into spending another chunk of money on an excellent RAID card, RAID card's dear Barefeats will have tested and reviewed for us, set up my RAID 0 set and head of to those new races watching my computer leap for joy! Could be that, by then, the cost of Intel 160GB X25-M's will have dropped enough that I can afford to go for a second and have a two SSD RAID 0 boot drive... Yummy!
    Thanks for the help. Like I say, I knew there was useful guidance hanging on some limb within your personal kit, (otherwise referred to as your mind)!
    Interesting to read about the problems people have had with Sonnet's 2.17 update in PPC's... In this computer, my PowerMac G5 dual 2.7ghz, I have a Sonnet 'Tempo Sata X4P' controller card. I downloaded and installed 2.17 and got the same troubles; no cut, no paste, no 'drag and drop' etc. It was miserable.
    Mine, fortunately, magically corrected after running the 'permissions verify and correct' process in Disc Utility and, after a restart, all was back to almost normal but for one exception; the Sonnet card was no longer present or functioning including the four eSATA ports out the back. (I ran Tech Tools Pro 5's repair suites first but, and who knows why, it didn't correct the problem...) This one was absolutely in the 'who knows what the f_'s going on and why it disappeared but did' class.
    Oh, the other remnant is that, when the computer goes into sleep, after about five minutes, the fans rev up, and up, and the computer's frozen; only access is to do a forced shutdown pressing and holding the power button, so I've had to adopt a 'shut down whenever leaving it for more than fifteen minutes' approach to this dear friend. Once I've fully moved into and established my new one (which should arrive today, by the way... Yippeee!!! Can't wait!), I'll do a complete restoration on this one including taking out the Sonnet card. Usually, I sell my old Pro's but, this time, I'm going to keep this one as a back up and just general second computer for times I might need it. It has been such a great and dependable machine. Keeping it seems the right thing to do.
    thanks Hatter. I'll let you know how things go, including what happens with the SSD. I don't have speed test software so I won't be able to track it's performance like that guy in the post you gave me did...
    JQ
    ps- Gotta love that ILLogic fellow eh? Talk about not getting the essence!

  • What is the best way to organize a tree-like structure of constants?

    Hello everone!
    Need help with organizing my constants structrure.
    I have several tables, and each of them need a list of column names to define the fields returned after query, and also a corresponding list of hashmap keys because that columnnames are ugly. Hashmap is where I store the result of searching through the table. This question is not about JDBC because I search through tables via COM interface, no JDBC ResultSets and other stuff here.
    Finally, for each table I have two constant lists and I have a list of tables. What is the best way to store this?
    My first idea was to create a enum and store column data in it as String array attributes: String[] columnNames; etc.
    But in this case I cannot use each column and key separately.
    Another option is to create two separate enums for each table: columnNames enum and keys enum. That doesn't look great also.
    The third option is to create inner class for each table and store two enums in each of that classes.
    Also I can store all data in hashmaps, Strings etc.
    (1) Finally, from your experience, what is the best way to organize all that stuff?
    (2) I have heard that smart Java programmer should avoid using the enums by any means. Do you agree?
    (3) Generally what will you prefer when creating a constant which has two values: two final Integers or enum?
    Edited by: Dmitry_MSK on Jul 8, 2010 5:22 AM

    I'm not sure why you don't just invent a generic data structure (e.g., table name, list of column names and aliases of column names) such as:
    class QueryMetaData {
      private final String tableName;
      private final String[] columnNames;
      private final String[] columnAliases;
    }Read into the above structure from a properties file, database table, etc. You can store meta-data itself in places other than enum constants, particularly if would like to change the meta-data without requiring a new build of your application.
    That having been said, WRT to your specific questions:
    (1) Finally, from your experience, what is the best way to organize all that stuff?See above
    (2) I have heard that smart Java programmer should avoid using the enums by any means. Do you agree?Enums are better than simple constants using int or String or something similar. If there are known, discrete values unlikely to change frequently, I see no issues with an enum. They improve the readability of code, and there are enough syntactic sugar features in the language (switch statements come to mind) to make them appealing.
    (3) Generally what will you prefer when creating a constant which has two values: two final Integers or enum?
    See above. Enums were introduced (in large part) to do away with storing constants as integers.
    - Saish

  • What is the best way to manage photos - Dropbox (with sync), Facebook (with sync), iPhoto, etc.?

    With so many cloud based and wireless syncing services, I'm lost as to the simplest way to keep photos sync'd as well as backed up. My dropbox is currently syncing all photos I take with my iphone, but in an overall folder called CAMERA UPLOADS, so they are uncategorized. I upload pics to facebook, which facebook also has a sync photos feature, but I don't necessarily want all photos uploaded to facebook. What has worked best for everyone so that there aren't a ton of dupicate photos everywhere, and multiple syncs of the same photos?
    Also, what is the best way to manage my iPhone photos generally? I'm never sure if I delete a photo from my phone, does it delete it on my computer via iCloud? Sometimes I just take a picture to send to a friend that I don't need to keep, while others are ones I want to sync to my computer. Can I control when deleting that it be deleted everywhere or just on the device? And alternately, can I choose certain photos not to sync via iCloud?
    iCloud makes me nervous. Once when I wanted to place all photos of my pup into a folder, I selected the photos on my iPhone and accidentally clicked delete instead of move. No big deal, I figured they'd be at home sync'd on the cloud. But since I'd deleted them on my phone, the cloud deleted them on my home computer too and the photos were lost.

    I am presuming that we cannot share downloaded apps and music between accounts because of the copyright issue,
    Though I'm no copyright lawyer, as long as it's within a household, you can share content among users. Such sharing is, absent specific language preventing it not present in the iTunes Store terms of use, generally considered to be "personal use". So you can share apps and music amongst your users on your computer and with their devices. You just can't give any of that content to friends or relatives who don't live with you.
    What I am not clear on, it making sure that this appears in each itunes account - is it easy to find the file storage folders that match the itunes accounts and what would these be?
    The iTunes library and files are by default in a user's Home/Music folder. But you don't have to find the folder; in fact putting a file into the folder yourself won't add the file to iTunes. Just drag the file into the iTunes window. iTunes will copy it to the correct location.
    Regards.

  • What is the best way to manipulate text?

    What is the best way to manipulate text in Photoshop?  Let's say I need to edit an "A" and I want to stretch out the bottom corners of the letter, while not moving the upper portion (wide bottom, skiny top)... what is the best way to do this?  I know the "skew" function somewhat moves corners, but I want to take the binding boxes (while in the skew function) and move them individually so it doesn't affect another corner. Is this possible (or am I just crazy?!?!)?

    Not sure I get all the nuances of what you want, but have you tried invoking Free Transform, (CTRL+T) then holding down CTRL while clicking/dragging a corner handle?

  • What is the best way of converting a Top Level VI into a 'sub vi' - or function ( without duplicating programming)

    Hi,
    General question here about design architecture, which i keep running into, but haven't found a really good solution.  If i write a 'Top Level VI' to do something, what is the best way of converting it into a subVI - which is call-able from other VIs, while still allowing the top level VI to have synchronised feedback/indicator updates.
    I guess the point is that when something is a top level VI you write gui logic about what happens when someone clicks buttons or whatever - which you don't want in the 'sub vi' version.
    I did at one point try having a hidden boolean button that was an input to the subVI which would let the VI know if it was supposed to be doing the front panel stuff - or simply running as a subVI.  This isn't really ideal though - since it would be better to be able to hive off the grizzly useful stuff from the fluffy - front panel updating stuff - having them together makes the VIs rather untidy.  More annoyingly though, if you have the front panel version of it running - say waiting for you to hit 'go', it breaks all the other VIs that use it as a sub vi - since they can't compile when a sub vi is already running.
    Another possibility that i tried was to basically duplicate the vi so that there was a backend part, and a front end part - and when i click 'go' the backend part is called as a sub vi.  The problem with this is that it really limits the interface that the user gets - since none of the controls on the front panel update with the results untill the sub vi is over.  I guess again i could solve this by passing references to some of the controls to update them in the subvi - but this doesn't really seem like the ideal situation if the subvi is called by something else without the same types of controls etc.
    One final idea i had was to essentially paste all the controls in the VI into a global variable file, and make the sub vi update them, and the front panel VI read from them.  This seems to 'work' - although clearly it is a work around rather than a proper solution - since i spend loads of time worrying about how i update cluster variables in the global - reading and writing.
    Does anyone have any guidance on what they do to solve this problem?
    JP

    You could run a subvis in a Subpanel on your top level.  Lets you see the current data while the subvi is running.
    --Using LV8.2, 8.6, 2009, 2012--

  • What is the best way to organize pictures for huge library?

    Hello.
    I have lost 3 evenings of work the last week after the corruption of the iPhoto database. I lose my temper now . it was not the first time. but I’m ready to take long term action to improve the situation.
    I have now around 15.000 pics & something like 15 Go of data. That means I have to use an external drive to store them all. Each team the connection between the external HD & my iBook is lost, not often but can happen, the database is bugged. Of course I gonna have more and more pictures in the future, I took 5.000 Go of pictures back from Australia.
    My question is very general, what is the best way to handle this kind of database size?
    Okay, now I know that I should bake-up the Library6.iPhoto file. What else?
    Could I archive my rolls on CDs (well I should do it anyway) & delete the rolls from the database afterwards? What about the photo album? Is it possible to restore the pictures from the CDs to the hard drive?
    I have read that I should create several libraries. That could be a solution. Is it possible to split the current one? I could import the pictures in a new library, but in this case I will lose the comments field.
    I would really appreciate if you could send me your feedback about handling this size of library. Thanks in advance.

    Arnaud:
    There's is a way you can have your library on your boot drive and keep the "source" files on the external. It's using iPhoto in it's alias mode. There are pluses and minuses to this system. The pluses are that you can have a very large library. I have 18,000+ photos in my alias library. The iPhoto Library folder on my boot drive is only 1.7MB while the source files on my external HD take up 27G.
    The minuses are 1: if the external HD is not mounted then you can only view the thumbnail files and any full sized files that have been edited (the edited version is saved to the iPhoto Library folder). Any operation that requires moving a thumbnail or using the full sized version can't be run. 2: if you delete a photo from your library the "source" file does not get deleted. You'll have to do that via the Finder. 3: When you add new files it's best if you put them in their own folder with the other source folders and then import. If you try to put them in another folder it you'll have to import them manually instead of just dragging the entire new folder into iPhoto to create a new roll.
    I've created some Tutorials to help users convert and use this type of library. It's not for everyone but may hold some pluses for your situation.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application, iPhoto dB file backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    G5 Dual Core 2GHz, 2G RAM, 250G HD; G4 Dual 1Ghz, 1.5G RAM, 80G HD,   Mac OS X (10.4.8)   QT 7.1.3, 22 LCD, 200 & 160G FW HDs, Canon S400, i850 & LIDE 50, Epson R200

Maybe you are looking for