Beginner here

I just managed to set up java and the latest version of tomcat.
I entered: http://localhost:8080/
I can see the start page but the examples won't work. I am getting:
HTTP Status 404 - /jsp-examples/
type Status report
message /jsp-examples/
description The requested resource (/jsp-examples/) is not available.
Apache Tomcat/5.5.16
What did I do wrong?

What did I do wrong?Click on the link of Tomcat Manager and see if the jsp-examples show up in the list of deployed applications. If not, there is some problem with the installation and you would need to create the deployment yourself.

Similar Messages

  • Very confused beginner here...

    Hello everyone. I'm new to the board here. I am currently a junior meteorology major with a minor in computer science at Millersville University. To incorporate both my minor and major, I decided to make a computer program that scrolls weather watches and warnings across the bottom of a computer screen (much like they do on television). I am a beginner at Java, only using it for a few months. I really feel like I have bitten off more than I can chew with this program. However, I am dedicated in working through this problem. Below is a copy of the code I am using for this. I keep getting errors, however. I had it working perfectly, besides the fact that a) it never updated and b) it would never scroll more than one watch or warning, meaning it would just loop one over and over. I have also included the errors that I receive during this. Any help would be greatly appreciated. I am sorry if the code looks a bit trashy and disorganized. These are just some things, being a rookie, that I am going to have to learn how to clean up. Thanks
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.Timer;
    import javax.swing.*;
    import java.applet.Applet;
    import java.applet.AudioClip;
    import java.net.*;
    import de.nava.informa.core.ChannelIF;
    import de.nava.informa.core.ItemIF;
    import de.nava.informa.impl.basic.ChannelBuilder;
    import de.nava.informa.parsers.FeedParser;
    public class WxScroll extends JFrame implements ActionListener {
         private static final long serialVersionUID = 1L;
         int count = 0;
         JLabel scrollLabel;
         String scroll, watwarstring, text;
         Label label;
         ItemIF item;
         Component newText;
         String watwar[];
         String newscroll, oldText;
         ChannelIF channel;
         Collection items;
         final TimerTask task;
         java.util.Timer timercheck;
         ChannelBuilder channelb;
         URL url;
         public WxScroll() {
              final Color red = new Color(255, 0, 0);
              final Color yellow = new Color(255, 255, 0);
              final Color orange = new Color(255, 165, 0);
              final Color darkred = new Color(205, 38, 38);
              final Color orangered = new Color(255, 69, 0);
              final Color darkmagenta = new Color(139, 0, 139);
              final Color blueviolet = new Color(138, 43, 226);
              final Color lime = new Color(50, 205, 50);
              final Color goldenrod = new Color(205, 155, 29);
              final Color deeppink = new Color(255, 20, 147);
              final Color lightsteelblue = new Color(176, 196, 222);
              final Color yellowgreen = new Color(154, 205, 50);
              final Color limegreen = new Color(34, 139, 34);
              final Color burlywood = new Color(222, 184, 135);
              final Color paleturquoise = new Color(102, 139, 139);
              final Color springgreen = new Color(0, 238, 118);
              final Color seagreen = new Color(46, 139, 87);
              final Color greenyellow = new Color(127, 255, 0);
              final Color steelblue = new Color(54, 100, 139);
              final Color royalblue = new Color(65, 105, 225);
              final Color hotpink = new Color(255, 105, 180);
              final Color tan = new Color(205, 133, 63);
              final Color skyblue = new Color(135, 206, 250);
              final Color palevioletred = new Color(219, 112, 147);
              final Color slateblue = new Color(0, 127, 255);
              final Color coral = new Color(255, 127, 0);
              final Color cornflower = new Color(100, 149, 237);
              final Color maroon = new Color(176, 48, 96);
              try {
                   URL url = new URL("file:misslebeep2.wav");
                   AudioClip ac = Applet.newAudioClip(url);
                   ac.play();
              } catch (Exception e) {
              timercheck = new java.util.Timer();
              task = new TimerTask() {
                   public void run() {
                        try {
                             channel = FeedParser
                                       .parse(
                                                 channelb = new ChannelBuilder(),
                                                 url = new URL(
                                                           "http://www.weather.gov/alerts/wwarssget.php?zone=COZ041"));
                        catch (Exception e) {
                             System.out.println("exception");
                        finally {
                             items = channel.getItems();
                             scrollLabel = new JLabel(newscroll);
                             for (Iterator i = items.iterator(); i.hasNext();) {
                                  count++;
                                  ItemIF item = (ItemIF) i.next();
                                  scroll = item.getDescription();
                                  newscroll += scroll
                                            .replaceAll("<br>", " ")
                                            .replaceAll(
                                                      "Issuing Weather Forecast Office Homepage",
                                            .replaceAll("</a>", " ")
                                            .replaceAll(
                                                      "<a href=http://www.nws.noaa.gov/er/ctp>",
                             if (newscroll.contains("There are no active"))
                                  scrollLabel.setVisible(false);
                             else {
                                  scrollLabel.setBackground(red);
                                  if (newscroll.contains("Tornado warning".toUpperCase()))
                                       scrollLabel.setBackground(red);
                                  if (newscroll.contains("Severe thunderstorm warning"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(orange);
                                  if (newscroll.contains("Flash Flood Warning"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(darkred);
                                  if (newscroll
                                            .contains("Blizzard Warning".toUpperCase()))
                                       scrollLabel.setBackground(orangered);
                                  if (newscroll.contains("ice storm warning"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(darkmagenta);
                                  if (newscroll.contains("short term".toUpperCase()))
                                       scrollLabel.setBackground(burlywood);
                                  if (newscroll.contains("heavy snow warning"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(blueviolet);
                                  if (newscroll.contains("heavy sleet warning"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(skyblue);
                                  if (newscroll.contains("flood warning".toUpperCase()))
                                       scrollLabel.setBackground(lime);
                                  if (newscroll.contains("high wind warning"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(goldenrod);
                                  if (newscroll
                                            .contains("red flag warning".toUpperCase()))
                                       scrollLabel.setBackground(deeppink);
                                  if (newscroll.contains("wind chill warning"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(lightsteelblue);
                                  if (newscroll.contains("freeze warning".toUpperCase()))
                                       scrollLabel.setBackground(Color.cyan);
                                  if (newscroll.contains("snow watch".toUpperCase()))
                                       scrollLabel.setBackground(Color.cyan);
                                  if (newscroll.contains("flood statement".toUpperCase()))
                                       scrollLabel.setBackground(yellowgreen);
                                  if (newscroll.contains("tornado watch".toUpperCase()))
                                       scrollLabel.setBackground(yellow);
                                  if (newscroll.contains("severe thunderstorm watch"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(palevioletred);
                                  if (newscroll.contains("flash flood watch"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(limegreen);
                                  if (newscroll.contains("freezing rain".toUpperCase()))
                                       scrollLabel.setBackground(slateblue);
                                  if (newscroll
                                            .contains("freezing drizzle".toUpperCase()))
                                       scrollLabel.setBackground(slateblue);
                                  if (newscroll.contains("sleet advisory".toUpperCase()))
                                       scrollLabel.setBackground(slateblue);
                                  if (newscroll.contains("winter weather advisory"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(burlywood);
                                  if (newscroll.contains("wind chill advisory"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(paleturquoise);
                                  if (newscroll.contains("heat advisory".toUpperCase()))
                                       scrollLabel.setBackground(coral);
                                  if (newscroll.contains("flood advisory".toUpperCase()))
                                       scrollLabel.setBackground(springgreen);
                                  if (newscroll.contains("snow advisory".toUpperCase()))
                                       scrollLabel.setBackground(paleturquoise);
                                  if (newscroll.contains("wind advisory".toUpperCase()))
                                       scrollLabel.setBackground(tan);
                                  if (newscroll.contains("frost advisory".toUpperCase()))
                                       scrollLabel.setBackground(cornflower);
                                  if (newscroll.contains("flood watch".toUpperCase()))
                                       scrollLabel.setBackground(seagreen);
                                  if (newscroll.contains("blizzard watch".toUpperCase()))
                                       scrollLabel.setBackground(greenyellow);
                                  if (newscroll.contains("winter storm watch"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(steelblue);
                                  if (newscroll.contains("winter storm warning"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(hotpink);
                                  if (newscroll.contains("high wind watch".toUpperCase()))
                                       scrollLabel.setBackground(goldenrod);
                                  if (newscroll.contains("excessive heat watch"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(maroon);
                                  if (newscroll.contains("freeze watch".toUpperCase()))
                                       scrollLabel.setBackground(royalblue);
                                  if (newscroll
                                            .contains("wind chill watch".toUpperCase()))
                                       scrollLabel.setBackground(royalblue);
                                  if (newscroll.contains("excessive heat watch"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(maroon);
                                  if (newscroll.contains("excessive heat watch"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(maroon);
                                  if (newscroll.contains("excessive heat watch"
                                            .toUpperCase()))
                                       scrollLabel.setBackground(maroon);
                                  scrollLabel.setFont(new Font("Arial", Font.BOLD, 40));
                                  getContentPane().add(scrollLabel, BorderLayout.SOUTH);
                                  scrollLabel.setOpaque(true);
                                  scrollLabel.setForeground(Color.white);
         // create 2nd timer. give time of 1000ms.
         // event.getsource...in action performed
         timercheck.scheduleAtFixedRate(task, 1000, 10000);
         Timer timer = new Timer(120,this);
         //javax.swing.Timer timer = new javax.swing.Timer(120, this);
         timer.start();
         public void actionPerformed(ActionEvent event) {
              oldText = scrollLabel.getText();
              StringBuffer newText = new StringBuffer(oldText.substring(1) + oldText.substring(0, 1));
              String text = newText.toString();
              scrollLabel = new JLabel (text);
              //scrollLabel.setText(newText.toString());
         public static void main(String[] args) {
              Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
              int y = (14 * screen.height) / 15;
              WxScroll frame = new WxScroll();
              JLabel title = new JLabel("WxScroll");
              JPanel titlePanel = new JPanel();
              titlePanel.setPreferredSize(new Dimension(0, 0));
              titlePanel.add(title);
              frame.setLocation(0, y);
              // paint component method, drawstring,
              frame.setUndecorated(true);
              frame.setAlwaysOnTop(true);
              frame.getContentPane().add(titlePanel);
              frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
              frame.pack();
              frame.setVisible(true);
    }The errors i receive are:
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
         at WxScroll.actionPerformed(WxScroll.java:289)
         at javax.swing.Timer.fireActionPerformed(Unknown Source)
         at javax.swing.Timer$DoPostEvent.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

    I don't know. There are classes your code requires (e.g., everything in the de.nava.informa packages) that I don't have, so I can't really compile or run your code.
    I will say this: it's a confused mess. There's too much code and too little abstraction. This is typical of beginning object-oriented programmers.
    When you start seeing LOTS of repeated stuff like this:
                      if (newscroll.contains("Tornado warning".toUpperCase()))
                         scrollLabel.setBackground(red);
                      }alarm bells should start ringing in your head. It appears that a Map with a String as key and Color as value is wanted. I can make all that code collapse into something MUCH smaller. If I externalize all those awful Color declarations into a File that's read on startup (e.g., taking in the key message and the RGB values and initializing the Map), now I have something that I can change more easily. AND there's less code to manage.
    I see URLs, applet, TimerTask, HTML - the kitchen sink.
    I can't tell you what this class is about.
    Be lazier - write less code. That's what good programmers do.
    Try to think more abstractly.
    %

  • Beginner here - build to FLASH - video tracks missing sound?

    OK...was reading some other forum entries on audio problems...way over my head...here goes my problem:
    I can see it all working perfectly (including all sound) under Encore's preview all the sound for the videos are there...sound for Main Menu...sound for Secondary Menu...sound for slide show...sound for videos...I did a ULTRA build...
    After doing a Flash build...which looked like it completed normally...I brought the .html file up...all the functionality works EXCEPT...no sound for the video clips.
    Any ideas why? If you have an answer please dummie it down for me!
    Thanks, --bill

    David,
    My hat is off to you for persevering with Encore 3 and getting it to output flash video. AFter reading that you had gotten it to work, I was inspired to try once again. This time I encoded my timeline to DVCPro HD by exporting the FCP project to Compressor. I then took this timeline (an 11 minute video) into Encore 3 and tried to build a flash DVD. I have a main menu and scene selection menu, and they both transcoded fine in about 20 minutes, but once again when Encore got to my timeline, the progress bar moved to about 1-2% and simply stayed there. After 7 hours I finally gave up and canceled the transcode which had never progressed any further and did a Force Quit on Encore.
    I noticed in doing the above, that during the transcode of the menus Activity Monitor shows my cpu is reading 170-190 and varying as you would expect. Once Encore hits my timeline and begins the transcode of that, the cpu drops to 100 and remains there with no real sign of activity.
    Can you tell me if your DVD that you successfully output to flash with Encore 3 had chapter marks in it? I am wondering if they could be the trouble. Some people have indicated that they solved the problem by going back to an earlier version of Quicktime. I am using version 7.5 of Quicktime, which is the latest version. Can you tell me what version of Quicktime you are using on the Mac that succeeded in outputting to Flash video using Encore 3?
    Thanks again for your help.
    Tom

  • Beginner Here With  A few Questions

    Hey everyone,
    I am just beginning in the web design industry and could use
    a little help with some terminology.
    1) If you want to create a site like say "MySpace" with
    thousands of "User Accounts" with their own user name, password,
    and email address, what do you call those type of accounts? Are
    they difficult to create once the site is up and running?
    2) If you want to add Ecommerce to those accounts to aquire a
    monthly fee, is that difficult and what is the best way to do it
    with dreamweaver and tool box?
    Any and all help is appreciated....
    Thank you,
    Pilot guy

    You are here (pointing down), and you are asking questions
    about stuff over
    there (pointing at the moon). It will take lots of study and
    experience to
    get where you want to go.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Pilot Guy" <[email protected]> wrote in
    message
    news:fcnd0r$2mu$[email protected]..
    > Hey everyone,
    > I am just beginning in the web design industry and could
    use a little help
    > with some terminology.
    >
    > 1) If you want to create a site like say "MySpace" with
    thousands of
    > "User
    > Accounts" with their own user name, password, and email
    address, what do
    > you
    > call those type of accounts? Are they difficult to
    create once the site
    > is up
    > and running?
    >
    > 2) If you want to add Ecommerce to those accounts to
    aquire a monthly
    > fee, is
    > that difficult and what is the best way to do it with
    dreamweaver and tool
    > box?
    >
    > Any and all help is appreciated....
    >
    > Thank you,
    > Pilot guy
    >

  • How do I publish an iMovie to YouTube?  (Beginner here and I keep getting a communication error)

    When publishing iMovie to YouTube I keep getting a communication error at the end saying to make sure I am connected to the internet.  Can anyone tell me why this is?

    Thanks for your reply Matt, that is what I have been doing, but I was really hoping it would be possible to do this from the Sharing menu on either or both of my iPhone or iMovie.
    I guess I shall be disappointed yet again. As so often, "So much promise, so little delivery."

  • OIM Beginner here !

    Hi,
    I am working in ADF 11g, OIM Self Service Control.
    Can anyone provide me some material on OIM, as how to create Groups and provisiong Users to Groups.
    Also, can anyone help me in understanding the relation between OIM, OAM, OID.
    Early response is appreciated.
    Thanks
    Edited by: user617801 on Mar 16, 2009 8:46 AM

    Hi,
    You need to go to documentation section of oracle and get OIM/OAM/OID documentation. On this forum one could not give a lot of info and this forum is platform to discuss any issue or any conceptual questions.
    Just go through documentation and if you are biggener then you must attend some oracle training or start with small development and understand bit and pieces of Identity Management systems.
    Regards
    Nitesh

  • Downloading a book..beginner here

    I am new to this so please bear with me.  I used my home computer to buy a book on I tunes.  I downloaded the book and I want to read it on my computer.  When I click on the book, nothing happens.  Can you read all books on your home computer, or do you hae to download them to another device ?

    Are you sure you are connected to the internet?
    This error usually comes up when you lose network connectivity in the middle.
    Can you please specify the entire error code.

  • Applescript beginner here: Opening files

    I'm progressing slowly. One area I am stuck on is file operations. Part of my current effort is to write a script to go like this:
    Launch Adobe Photoshop CS3
    Do File New
    Automatically Press OK button in resulting dialog box
    Paste into Photoshop the contents of the clipboard
    Seems simple, by I am flummoxed in getting Photoshop (or any application) to select menu items. I have seen no info on that, and even if there was a scriptable dictionery item for Photoshop filehandling, I can't yet decipher the syntax in dictioneries. For example:
    "move v : Move object(s) to a new location
    move specifier : the object(s) to move
    to location specifier : the new location for the object(s)
    → specifier : to the object(s) after they have been moved" ?????
    Therefore, can anyone suggest a script that would do the bit in bold type above;
    And, can anyone recommend a book for absolute beginners in Applescript (Dummies, Applescript for Applications: Visual quickstart Guide (2001 !)
    Thanks for any help.

    The reference was for GUI scripting, which requires that the System Preferences > Universal Access > Enable access for assistive devices option be turned on.  The following script includes a handler to make sure that GUI scripting is enabled, in addition to a menu click handler that is a bit more robust than the one linked to earlier.
    on run -- example
        if not enableGUIScripting() then error number -128 -- cancel
        clickMenu at {"AppleScript Editor", "Edit", "Find", "Find"} -- matches "Find…"
    end run
    on enableGUIScripting()
        try
            if (system attribute "sysv") < 4138 then display dialog "This script requires the installation of Mac OS X 10.3 or higher." buttons {"Cancel"} default button 1 with icon 2
            tell application "System Events" to if not UI elements enabled then
                tell me
                    activate
                    display dialog "This script requires the use of the User Interface Scripting architecture of Mac OS X, which is currently disabled." & return & return & "Do you wish to enable GUI Scripting now? (You may be asked to authenticate.)" buttons {"Cancel", "Enable"} default button 2 with icon 2
                end tell
                set UI elements enabled to true
                if not UI elements enabled then error "enableGUIScripting handler:  UI scripting not enabled"
            end if
            return true
        on error errorMessage number errorNumber
            log errorMessage
            -- error errorMessage number errorNumber -- uncomment to pass error up the chain
            return false
        end try
    end enableGUIScripting
    to clickMenu at menuItems
        click an active menu item in an application (the application will be activated)
        the number of menu items is not fixed, but must be at least 3 (application, menu, item)
        the last menu item doesn't need to be exact, just close enough for a match
        menu items can also be integer indexes - note that separators are counted
            parameters:            menuItems [list] -
                                      item 1 [text]: the application name
                                      item 2 [text]: the menu bar item name
                                      item(s) 3+ [text or integer]: the menu item(s)
            returns [boolean]:     true if successful
        try
            set itemCount to the count of the items in menuItems
            if itemCount is less than 3 then error "clickMenu handler:  menu item list contains too few items"
            set {appName, menuName} to items 1 thru 2 of menuItems
            set {menuItem, found} to {last item of menuItems, false}
            tell application appName to activate
            tell application "System Events" -- set up the menu path
                set appName to (name of application processes whose frontmost is true) as text -- for different process name
                set myMenu to menu menuName of menu bar item menuName of menu bar 1 of application process appName
                if itemCount is greater than 3 then -- process any sub menu items
                    repeat with myItem from 3 to (itemCount - 1)
                        set menuName to item myItem of menuItems
                        if class of menuName is integer then -- get item at index
                            set menuName to item menuName of (get name of menu items of myMenu)
                        end if
                        set myMenu to menu menuName of menu item menuName of myMenu
                    end repeat
                end if
                if class of menuItem is not integer then -- try to find a match for the last item
                    repeat with myItem in (get name of menu items of myMenu)
                        if myItem contains menuItem then -- can also use 'begins with', etc
                            set {menuItem, found} to {myItem, true}
                            exit repeat
                        end if
                    end repeat
                    if not found then error "clickMenu handler:  menu item " & quoted form of menuItem & " not found"
                end if
                if (enabled of menu item menuItem of myMenu) then -- or other desired property
                    click menu item menuItem of myMenu
                    return true
                end if
                return false -- menu item not clicked
            end tell
        on error errorMessage number errorNumber
            log errorMessage
            -- error errorMessage number errorNumber -- uncomment to pass error up the chain
            return false
        end try
    end clickMenu
    Edit:  haven't been able to figure out how to make the forum keep my formatting, so hopefully the script is readable (it looks better after pasting in the AppleScript Editor).

  • My "other" file is stealing my storage space and my local apple store has no idea how to find out what is in it let alone how to clear it so I can upgrade to iOS 7. He thinks my iPad is not really deleting things but storing it here.

    My "other" file is stealing my storage space and my local apple store is aware of the problem but has no idea how to view it's content or how to empty it. He thinks my deleted files are going here instead of being deleted. Raw beginner here! Need help.

    How much space is used by your Other? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    How to Remove “Other” Data from iPhone, iPad and iPod Touch
    http://www.igeeksblog.com/how-to-remove-other-data-from-iphone/
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6/7, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
    What is “Other” and What Can I Do About It?
    https://discussions.apple.com/docs/DOC-5142
    iPhone or iPad Ran Out of Storage Space? Here’s How to Make Space Available Quickly
    http://osxdaily.com/2012/06/02/iphone-ipad-ran-out-of-available-storage-space-ho w-to-fix-quick/
    6 Tips to Free Up Tons of Storage Space on iPad, iPhone, and iPod Touch
    http://osxdaily.com/2012/04/24/6-tips-free-up-storage-space-ipad-iphone-ipod-tou ch/
    Also,
    How to Clear Message/iMessage Cache on iPhone & iPad And Reclaim Lots of Free Space
    http://www.igeeksblog.com/how-to-clear-message-imessage-cache-on-iphone-ipad/
     Cheers, Tom

  • Beginner Question: How to put 5 V on an output?

    Hi everybody,
    I am an absolute beginner here, a Biology student that has to do electronics in Labview now...
    I want to do as much of this myself as possible, but need truly beginners hints, hoping to be clever enough to put it together myself with your information.
    I need to control some outputs, and monitor some inputs. I am focusing on the outputs at the moment.
    Questions:
    How do I make a block in my block diagram that can put a variable voltage on an output? I need two controls, one that puts a voltage on an output of 0 to 10 V continuously, the other puts a voltage on an output of 0 to 5 V in increments of 0.1 V
    Any hints will be highly appreciated. I have Labview 6 to work with. Pointers like 'look at p
    age XX of the manual' will do, but descriptions here, or through my mail... anything will be highly appreciated.
    Thanks in advance

    In article <[email protected]>,
    "Erado" wrote:
    > That's the beauty of this, I am not entirely sure (yet) I am going to
    > get a good look of the setup in about a month, but they want me to
    > prepare a concept VI before then. To me that made little sense, but my
    > comments on it hit a brick wall...
    Well, for me and my past gigs this has been a very common situation. When
    I worked for telecom we would have to develop apps for instruments that we
    wouldn't receive for six months. Luckily we had the basic concept of how
    they were supposed to run and this was adequate for development. It
    sounds like you're in a similar situation.
    > What I do know is that over two of the terminals there is a 5V voltage
    > applied in steps of 0.1 V. So I should put in something that makes it
    > possible for me to control this output in 50 steps of 0.1 V.
    Lemme see if I understand you from this post and your first one. You
    would like to buid a user interface that includes the following:
    1) A boolean control that gives these two options:
    a) output a continuous voltage in the range of 0-10 volts b) output a
    ramping voltage starting at 0 (or 0.1) volts and ending at
    5 volts using 0.1 volt increments with a dwell time of x mseconds
    2) A boolean to stop the application
    (perhaps another one to pause it)
    3) Several numeric controls:
    a) numeric control for the output voltage b) numeric control for the
    dwell time (optional) c) numeric control for the voltage increments
    (optional) for if the
    user wants to use values other than 0.1 volts
    4) An indicator that shows what the measured output voltage is. This is
    good for verifying your output signal. A chart would be nice.
    This is a top down approach which is helpful for laying out the
    application's user interface. The next thing you want to do is build some
    subVIs to simulate your voltage signals. Once you get some hardware you
    can simply replace these simulation subVIs with the real ones that
    actually communicate the hardware.
    I'm not sure if your measuring the output voltage too. I kinda just
    assumed this but that would require another subVI. I won't tell you how
    to build the subVIs (I can't take all the fun out this) but I hope I've
    pointed you in the right direction.
    Merry x-mas!
    -Kevin
    PS: learn how to play with control references. they're very convenient
    when you need to update the front panel indicators with data from a subVI
    sitting in its own continuous loop. it avoids global variable abuse.

  • Java Program to copy file from one directory to another failing

    Hello All,
    Oracle Applications 12.1.3
    RDBMS: 11.2.0.30
    SQL*Plus: 10.1.0.5.0
    Java beginner here so help is much appreciated.  I'm have some java code that I'm using to copy a file from one directory to another in an Oracle Applications Server.  I notice that when moving to a new instnace I started to get file not found errors.  I think it's because of the directory.  My question is, does the directory in which I trying to pick up the file have to be a DBA_DIRECTORY, or a UTL_FILE directory in order for the java to find the file and move it?
    Here is my code...
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "COPY_FILE_JVS" AS
    import java.io.*;
    public class COPY_FILE_JVC{
      public static void copy(String SourceFile, String DestDir) {
        File source = new File(SourceFile);
        File dest = new File(DestDir);
        File cpDestFile = null;
        try {
          if (dest.isDirectory()) {
              if(source.isFile()) {
                System.out.println("File name = " + source.getName());
                System.out.println("File name dest = " + dest.getPath() );
                System.out.println("File name cpDestFile = " + dest.getPath() + File.separator + source.getName());
                cpDestFile = new File(dest.getPath() + File.separator + source.getName());
              else {
                System.out.println("Directory or File Not Found");
                return;
          BufferedInputStream  br = new BufferedInputStream (new FileInputStream (source));
          BufferedOutputStream  bw = new BufferedOutputStream (new FileOutputStream (cpDestFile));
          int read = 0;
          while((read = br.read()) != -1) {
            //System.out.println((char)read);
            bw.write(read);
          br.close();
          bw.close();
        catch (FileNotFoundException e) {
        e.printStackTrace();
        catch (IOException e) {
        e.printStackTrace();

    I get these messages when calling the java from SQL Plus as follows...
    serveroutput on size 100000;
    dbms_java.set_output(1000000);
    MY_PKG.CopyFile('/home/my_user/set_env.sh','/interface/home'); (this is call to oracle pl/sql package which calls the java.)
    PL/SQL procedure successfully completed.
    Directory or File Not Found
    PL/SQL procedure successfully completed.
    If I change the directory from /home/my_user/ to any directory that is defined in DBA_DIRECTORIES or is a UTL_FILE directory to program works.  Is it perhaps because the java is in a PL/SQL package as seen below?  The PL/SQL program runs as the APPS user and I have issued the following the command grant JAVASYSPRIV to APPS.
    Here is the PL/SQL Package....
    CREATE OR REPLACE PACKAGE BOLINF.MY_PKG AUTHID CURRENT_USER AS
    CopyFile(p_SourceFile IN VARCHAR2, p_DestDir IN VARCHAR2);
    +++++++++++++++++++++++++++++
    CREATE OR REPLACE PACKAGE BODY BOLINF.MY_PKG  is
    CopyFile(p_SourceFile IN VARCHAR2, p_DestDir IN VARCHAR2)
    AS LANGUAGE JAVA NAME 'COPY_FILE_JVC.copy(java.lang.String, java.lang.String)';

  • Need help on how to add a delimeter into a text file

    Actually, this program reads a textfile. After reading, i need to put certain delimeters after certain characters and print them out to a new file.
    this is how it works :
    for example...
    471117-01-5179052004 VENUE SECURITIES SDN. BHD.
    This is wat the programs read. Now i have to put a semicolon after this numbers ..
    471117-01-5179052004 (;)
    then put another semiclon after this words
    VENUE SECURITIES SDN. BHD.(;)
    But, this text file contains around 2000 lines, and i have to do this for each line...thts y i dunt understand how to code it.

    thanks mr. micheal dunn. Anyway, how can i put this code to read from a text file.....because i need to read the whole text line and put semicolons. i cant use stringbuffer as it only reads a certain length of string..could u tell me how to do this.
    this line is actaully a short line from the text file.
    String str = "471117-01-5179052004 VENUE SECURITIES SDN. BHD.";
    need to put the semicolon is this line actually :
    471117-01-5179052004(;)AVENUE SECURITIES SDN.BHD. (;)000350785A (;)RAHMAN BIN KADIRAN 51, TAMAN MUHIBBAH SUNGAI MATI MUAR 84400(;)JMY(;)SMYSBI (;) 8516 000000030000004600 (;)1581800 ...can u explain wat is tht \\d+-..sorry im a beginner here...hope u can help me out..

  • HT204053 Link multiple devices to one account

    How do I link multiple devices to one master account for purchases with multiple usernames

    Hello,
    This is a great tutorial using a couple of free DW
    extensions.
    Check out the "Finished Gallery" example.
    You can easily change the settings so the images all appear
    in the same
    place.
    http://www.projectseven.com/tutorials/images/showpic/index.htm
    Take care,
    Tim
    "serestibi" <[email protected]> wrote in
    message
    news:fpiloc$ruf$[email protected]..
    > Hi, beginner here, can you tell?
    > I am trying to link multiple images (thumbnails) to one
    big picture frame.
    > So if you click the thumbnails, each will blow up in the
    same frame.
    > The easy solution would be to link them to a table, but
    it doesn`t seem
    > linkable.
    > I tried different slide viewers but I can`t personalize
    them enough.
    > Can I do something within dreamweaver to get this
    affect?
    > Please sombody help me!
    > Thanks , Tibor
    >

  • Needing help making a Slideshow in Premiere 7

    Back in 2008 several contributors on this forum helped me make a slideshow using Photoshop Elements 6 and Premiere Elements 4, which I am forever grateful for. It was a long process as I had never made a slideshow before, but after much labor I created a wonderful slideshow of my Alaska photos with music. After a lot of reading I decided to upgrade to Elements and Premiere 7, which I was able to actually do for free.   I purchased the Muvipix.com Guide to Adobe Premiere Elements 7 as I was told this would be a great resource to help me out. Well, here I am two years later trying to make a slideshow again and still as confused as ever. I am trying to make the slideshow in Adobe Premiere Elements, as I was told last time it was easier to do it that way if I wanted to add music to it. I am just getting started and am already confused.
    My first question is: Am I best off making the slide show in Premiere Elements rather than Photoshop Elements? I want to add music to it.
    I have tried using both the book that came with the program and the Muvipix book and I am lost on step one.
    In the Adobe manual it says to deselect the Show Video and Show Audio buttons. Why do I need to deselect these?
    In the Muvipix book it tells me to select a number of clips amd then either right-click on them or click on the ">>" button to access the "Create Slideshow" too.  I can't find the ">>" button. How do I access the the "Create Slideshow" feature?
    I have a question about the stills that show up in the panel. Many actual photos appear in this panel. However, there are also a large group of boxes with two swirling arrows, one green and one red. Why are they there rather than actual photos? I have tried double clicking on a few and they all bring up the same photo folder from "my pictures." I am confused.
    Sorry if my questions seem very basic, but this is not what I do for a living. It is a once every couple of year hobby. Perhaps if I ever get it downpat I will do it more often.
    Thanks for any help you can give me. I am sure I will need a little more handholding. I have been looking for the last two years for a class on this program. I know that is what I need. However, none have been available in my area.

    Thanks for the response Steve. I am hoping it will be easier this time around.
    "If you're seeing empty boxes with swirling arrows in them instead of your photos in the Project panel, it means that the program no longer has access to the photos -- either because they were moved or the device that they were on (your camera?) was disconnected from the computer. You really need to copy these photos to your computer's hard drive if you're going to use them in a project"
    These photos were still on the harddrive. I checked in Photoshop Elements and they needed to get reconnected. Here is what I think happened. When I download my photos, they go into MY PICTURES. When I move them from where they automatically get placed by the program, into a folder of my choice, they seem to get "unconnected". I was able to reconnect them and now they appear in Premiere Elements. Thanks for the tip which actually led me to a solution.
    "There are actually at least four different ways to make a slideshow in Premiere Elements and Photoshop Elements. Each has advantages. Which method are you using? (In all cases, as I say in my book, you should make sure your photos are sized to no larger than 1000x 750 pixels in size before you begin.)"
    I am just starting and I was using Premiere Elements 7. I thought I was told back in 2008 on this forum it was easier to do it all in Premiere Elements if I wanted to add music rather than creating it in Photoshop Elements and then moving it to Premiere. As far as photo size, I am a real beginner here. I have no idea what size they are or where to look to find that out. All I know is that  my Alaska slideshow turned out great and did nothing about changing pixels. Where would I find out how to change pixel size?
    "It sounds like you're using the Create Slideshow tool in the Project media panel. (As I say in Chapter 1, you'll only be able to see the >> menus if you go to the Window drop-down menu and select Show Docking Headers.) You can also access this tool by selecting all of the photos you want to include in the Project panel and right-clicking on them."
    I did read about Show Docking Headers and did follow that instruction. That was the first thing I did, actually. However, when I am in Premiere ELements, I still don't see where I find the Create Slideshow tool that you mention on p. 59. I am a bit confused with this option. I can move the photos I want from the panel to the Timeline, but I am confused as to where the "Create Slideshow Tool" is located.
    Thanks again for your help.I know I will get this done, just very slowly.

  • What file type to export vid from final cut to studio pro

    Beginner here, the question I have is what is the best file format to export from final cut to studio pro so that I will play in a decent to good quality on a DVD that I make in studio pro. Thanks.

    For my FCS projects, I export DV_NTSC "anamorphic" (I use 16:9 format) to a "reference" movie: that is quite fast after all rendering is completed and the resulting file is pretty small. The only disadvantage to "reference" I've found is that you must keep all those FCS file around since those are what is referenced by the export.
    I export like that instead of exporting to compressor because for me, exporting directly to compressor is very slow; on my G5 Quad, my compression step is about 1:1 with real time.
    You can take those .mov files into DVDSP and let it do the compression using your defaults. I prefer to use Compressor directly so I can set the compression, Dolby, etc. parameters. Compress to mpeg2 and AC3 (Dolby Digital) and if you are just in stereo, just keep it in stereo, check the "no surround encoding" and make sure the highest audio level in either channel is -3db (or the compressor setting let you reduce the level by 3db). That prevents a downmix to mono (like on a cheap TV) from clipping (-3db + -3db = 0db. (zero plus zero = +3db and is clipping).
    Ed

Maybe you are looking for

  • PLEASE HELP!!! My 'Apple mobile device helper has stopped working'!

    Today i bought the new 3G iPhone so i went online to download the new 7.7 iTunes software. Now when i go into my iTunes a Windows pop up appears telling me that my 'Apple mobile device helper has stopped working' and that it is diagnosing the problem

  • Songs greyed in iTunes and not playable on iPhone

    Hi, it seems I'm faced against an issue I'm not able to understand and fix. Yesterday I tried to play some songs in my iPhone Music library. Songs were there, album coversheet is fine, everything seems ok. But even if I click on start playing icon no

  • Fixing :there was an error sending mail"

    I am using Adobe Reader 9 and Acrobat 8 Pro on a Lenovo, Windows 7, 64bit machine. When I right-click pdf files from my directories, and select "send", the file attaches itself to a new e-mail (from Outlook) and I can send - no issues. However, if I

  • Lion, mail 5.0 and PDF problem

    Hi guys, I've got couple of problems with sending PDF files: (my OS is in finnish, so the translations are not accurate, but you get the picture) a) from print-pdf-send to mail. The PDF attachment is visible in the mail to be sent, but when you write

  • Oracle Migration from 8i (WE8ISO8859P1) to 9i (Unicode)

    We have a database in oracle8i with NLS_LANGUAGE AMERICAN NLS_CHARACTERSET WE8ISO8859P1 NLS_NCHAR_CHARACTERSET WE8ISO8859P1 The character set WE8ISO8859P1 does not support GREEK language. The user inserts/modifies records in this databse from the fro