What is the correct command sequence code in Labview that will take an instrument out of Remote and put it in Local mode?

I am writing a routine in Labview 5.1 that will capture the screen data on a Network Analyzer after configuring the display. The routine to capture the data is working fine but when I try to send the equipment into local to allow me to manually make another change to the data I want to capture, the analyzer will go into a listen mode. The command I am sending to the analyzer using the 488 misc function is "loc". I've notice that is seems to put the anayzer into listen mode which will not respond to the commands to capture the screen data again.

Check the manual for the instrument. Some instruments do not have a specific command to go into local (or remote) mode. Tektronix oscilloscopes use the GTL command to Go To Local. HP and Agilent instruments do not have a command for this.
It's been a while since I used LV5.1, but in LV6, there is a VI under Instrument I/O->488->488.2 that allows you to set instruments into local mode. Hopefully, the same VIs exist in LV5.1.
Rob

Similar Messages

  • What is the correct installation sequence for my ATI Radeon 9800 PRO MAC AGP 128MB into my Quicksilver 867 G4?

    Hi.
    I just got my used ATI Radeon 9800 PRO MAC AGP 128MB card.
    What is the correct installation sequence into my Quicksilver 867 G4 running 10.4.11 on one drive 10.5 on another?
    The original NVIDIA GeForce2 MX - 32MB SDRAM went bust.
    Is the driver build in 10.4?
    Do I remove the old driver?
    If I need to install the driver that came with it, (10.3.6) should the card be installed first?
    What about firmware updates?
    Thank you for all your time and patience.
                                                                                        W.W.

    I think it's the card, but here are some files that may affect it...
    /Users/YourUserName/Library/Preferences/ByHost /com.apple.preference.displays.<12digitHex#>.plist
    /Library/Preferences/com.apple.windowserver.plist
    /Users/YourUserName/Library/Preferences/ByHost/com.apple.windowserver.<12digitHe x#>.plist
    /Users/YourUserName/Library/Preferences/ByHost/.GlobalPreferences.<12digitHex#>. plist

  • Is there a firmware update for the Apple RAID Card [early 2009 Xserve] that will take it beyond the E-1.3.2.0 version and allow it to see 4TB drives?

    Is there a firmware update for the Apple RAID Card [early 2009 Xserve] that will take it beyond the E-1.3.2.0 version and allow it to see 4TB drives?

    I have a few of these RAID cards in a couple servers, and then I have an earlier version of the RAID card in a few different servers.
    The earlier servers are running non-apple 1.5 TB drives. It will be interesting to learn if this firmware update will indeed allow me to boost the capacity by installing non-apple drives, as the firmware previously has not.
    Ohh I'm excited to update and try! This will greatly help out if it does!

  • Is a W5xx the only way to get a thinkpad that will take 4 sodimms?

    Hi Guys,
    From my research, it looks like the W series is the only way I can get a thinkpad that will take 32gb of RAM.  Ideally I would love a T430 as I like the slightly smaller form factor.
    I have seen a reference though to T530 with a quad core CPU offering 4 slots as well, but haven't found anything to back that up.
    So am keen to hear what you guys have to say.
    Thanks
    Gordon
    Solved!
    Go to Solution.

    harrisb wrote:
    ibmthink wrote:
    Yes, T530 has 4 Slots when you get one with a Quad-Core CPU.
    And no, the T430 takes a maximum of 16 GB. You can´t get the T430 with 32 GB of RAM.
    That is correct. From PSREF:
    dual-core model:
    16GB max7, two 204-pin SO-DIMM sockets
    quad-core model:
    32GB max, four 204-pin SO-DIMM sockets
    All:
    PC3-12800 1600MHz DDR3, non-parity, dual-channel capable
    Are we talking about T or W here?
    I'm getting confused.  I don't see any 4-slot option in the PSREF/tabook for the T530.
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Hi, I'm trying to write a code in Labview that will run a scara robot, Its gonna be 2 axis, one linked to a gam

    matic motor and the other to a mutshibishi motor, I already have the code for the gammatic motor, I need an other one for the mutshibishi one....guys, I come from a production management engineering backgound and I sack in programming, would anyone help methe idea behind is to see an accuracy between the data entered in term of positon, speed motion of the 2 axis of the scara robot and the data received

    Hi Mark,
    What do you mean by integrated trajectory planning functions?  Could you give an example of what you would use these functions for?  Our SoftMotion toolkit can do path planning and trajectory generation, is that what you are talking about?
    Thanks,
    Maclean G.
    Applications Engineering
    National Instruments

  • What are the correct 1080p sequence settings to choose in FCP7?

    I'm planning to master a doc-film project in 1080p. The problem is that I don't see a 1080p setting in FCP's sequence settings window. FCP lists HDTV720p and HDTV1080i but no 1080p.
    Do I therefore need to select the "Custom" setting? Or should I master in 720p and then upconvert to 1080p?
    Thanks in advance for any advice,
    Message was edited by: Nicholas Natteau1

    The sequence setting must match the settings of the footage you shot. If you shot 1080p, then they will be 1080p. But what codec? HDV? AVCHD (that you need to convert to ProRes)? DVCPRO HD?
    Look in the EASY SETUPS. That is where you find the settings. Although FCP will adjust them automatically when you add the first clip.
    Shane

  • What is the last generation of Retina MacBook Pro that have replaceable parts such as hard drives and memory?

    I am interested in purchasing a used (probably refurbished) Retina MacBook Pro. Probably from the Apple Online Refurbished store.
    Can anyone tell me what generation of Retina MacBooks were the last that had upgradeable parts such as hard drives, memory, etc.? Preferable in the terms of month/year like Apple states in their refurb section. I am aware that  the remaining non-Retina MacBook is upgradeable.
    As an example, here is a link to some I am considering:
    http://store.apple.com/us/product/G0PW0LL/A/refurbished-133-inch-macBook-Pro-30- ghz-Dual-core-Intel-Core-i7-with-retina-Display
    http://store.apple.com/us/product/G0N40LL/A/refurbished-133-inch-macBook-Pro-29g hz-Dual-core-Intel-Core-i7-with-retina-Display
    http://store.apple.com/us/product/G0QC1LL/A/refurbished-133-inch-macbook-pro-28g hz-dual-core-intel-i7-with-retina-displa…

    You can find that information from Mactracker's database or from www.everymac.com.

  • What is the correct wireless driver for x31 type 2672-phh ?

    Do i have to install a wireless network driver first ? What is the correct driver for a x31laptop type 2672-PHH ? Is it the "6hwc05ww.exe" ? Its not working for me. A command prompt just pops-up and saying something "kill_app.exe" and "inst_app.exe" then it just disappears. What is the correct driver ?
    Message Edited by kleinski23 on 06-23-2009 03:01 AM

    Hi and welcome to the forum pythonscript!
    If it's driver issue then you should see yellow marks in the device manager, your post doesn't say so, but let's start with the driver. Your system has ThinkPad card and following is the correct driver that needs to be installed for your wireless card:- http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-73701
    There is a hardware wireless radio switch on your SL410, make sure it is turned on too.
    Keep us informed.  
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

  • What is the correct boot camp support driver for late 2009 Macbook for windows 8.1

    I have late 2009 Macbook with OS X 10.9.4.  I want to run boot camp for windows 8.1, but unable to due to the fact that it can only run Windows 7.  What is the correct Boot Camp Support Software so that I can run Windows 8.1?

    Thanks for the info, but unfortunately there is no current support software or update for my issue at this time.  I found the information under Boot Camp: System requirements for Microsoft Windows operating system.  Hopefully Apple will fix this issue promptly!

  • How can you take a photo from one event and put it in another, without dragging to desktop and dragging back into iPhoto and moving it to the event folder I want it in.

    As the title says I need help on how to take a photo from one event and put it in another, without dragging to desktop and dragging back into iPhoto and moving it to the event folder I want it in. Right now when I want to move a picture from one event to another I drag it to my desktop then delete it from iPhoto then I drag it back into iPhoto and put where I want it.An example would be taking a photo from the Christmas event and add it to a specific person event.  Can I do that within the events section without all the dragging. Also is there anyway I can remove duplicates from iPhoto without going through each and every file. Any help would be greatly appreciated.

    Apple doesn't make it easy to do what you want.  However, here's how I do it. 
    Select the photo you want to move and create a new Event for it via the Event ➙ Create Event menu option.
    In the Event mode select the new Event with the one picture and drag it onto the Event you want to move the photo to.

  • IPod is using voice over and won't scroll. What setting did my child click? It will allow me to use voice control, but i need to know what's wrong first so I can give the correct command.

    My daughter's iPod is using voice over and won't scroll. What setting did my child click? It will allow me to use voice control, but i need to know what's wrong first so I can give the correct command.

    VoiceOver is an Accessibility feature while Voice Control allows you to control the Music app via voice.
    To turn off VoiceOver triple click the Home button and go to Settings>General>Accessibility and turn it off. Use three fingers to scroll if necessary.
    iPhone: Configuring accessibility features (including VoiceOver and Zoom)
    iOS: Getting started with VoiceOver for accessibility

  • Transfer ADOBE creative Suite from an old Mac to a new Mac, I have the code but I don't have a CD. What are the correct steps?

    Hi
    I bought a new Mac and I want to transfer my Adobe Creative Suit CS6 to it from my old one. What are the correct steps? Please note that I don't have a CD because I downloaded it via the net. It was an upgrade for the student edition. I heard something about deactivation and reactivation but I don't want to do something wrong then lose my precious software. Please help. Thanks.

    You can download the software and install it using the page linked below.
    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    You are allowed to have the software installed and activated on two machines, so there should be no reason to deactivate it on your other machine, or at least you can wait until you see it loaded and working on the new one.

  • What are the correct answers ?

    after doing one sample swing application, i assumed the exam will be easy. when i took the exam, i couldn't do anything...
    what are the correct answers ??/
      Which one of the following converts the Image i into the BufferedImage bi? 
    Choice 1  
    bi = new BufferedImage(0, 0, BufferedImage.TYPE_INT_RGB);
    Graphics2D g = (Graphics2D)bi.createGraphics();
    g.drawImage(i,i.getHeight(this),i.getWidth(this)); 
    Choice 2  
    bi = new BufferedImage(i.getWidth(this), i.getHeight(this), 1);
    bi.drawImage(i,0,0,this); 
    Choice 3  
    bi = new BufferedImage(i.getWidth(this), i.getHeight(this), 1);
    Graphics2D g = (Graphics2D)bi.createGraphics();
    g.drawImage(i,0,0,this); 
    Choice 4  
    bi = new BufferedImage(i, i.getWidth(this), i.getHeight(this), BufferedImage.TYPE_INT_RGB); 
    Choice 5  
    bi = new BufferedImage(i, i.getWidth(this), i.getHeight(this)); 
    CardLayout
    BorderLayout
    FlowLayout
    GridBagLayout
    GridLayout 
      Which one of the following indicates all of the layout managers (from the list above) that allow you to set the space between the components from an instance of the LayoutManager itself? 
    Choice 1  
    CardLayout, FlowLayout, GridBagLayout, GridLayout 
    Choice 2  
    GridBagLayout 
    Choice 3  
    BorderLayout, GridLayout 
    Choice 4  
    BorderLayout, FlowLayout, GridLayout 
    Choice 5  
    BorderLayout, CardLayout, FlowLayout, GridBagLayout, GridLayout 
    JFrame jf = new JFrame();
    jf.setSize(400,400);
    JTextField jtf = new JTextField("JTextField");
    JButton jb = new JButton("JButton");
    jf.getContentPane().setLayout(
                          new FlowLayout(FlowLayout.LEFT,1,2));
    jf.getContentPane().add(jtf);
    jf.getContentPane().add(jb); 
      Which one of the following indicates the positions of the JTextField jtf and JButton jb relative to the JFrame and each other? 
    Choice 1  
    jtf and jb are in the top-center of the Jframe; jtf is to the left of jb, 2 pixels apart. 
    Choice 2  
    jb is in the top-right corner of the JFrame with jtf 1 pixel to the left of it. 
    Choice 3  
    jtf is in the top-left corner of the JFrame with jb 1 pixel to the right of it. 
    Choice 4  
    jb is in the top-right corner of the JFrame with jtf 2 pixels to the left of it. 
    Choice 5  
    jtf is in the top-left corner of the JFrame with jb 2 pixels to the right of it
    public void drawText(Graphics2D g, String text){
      Font f = new Font("Century Gothic", Font.BOLD, 10);
      g.setFont(f);
      g.drawString(text, 20, 20);
      Given the above sample code, what happens if the "Century Gothic" font is NOT available? 
    Choice 1  
    The Font() constructor fails, causing "f" to be null, and the setFont() method throws a NullPointerException. 
    Choice 2  
    "Century Gothic" is a built in Java font, which always exists within the Java runtime environment. 
    Choice 3  
    The code does not compile because only the following "logical" font names are supported in Java: Dialog, DialogInput, Monospaced, Serif, SansSerif, and Symbol. 
    Choice 4  
    The Font() constructor throws an IllegalArgumentException. 
    Choice 5  
    A default Font object is returned and is used
    Sample Code 
    public void drawText(Graphics2D g, String text){
      Font f = new Font("Century Gothic", Font.BOLD, 10);
      g.setFont(f);
      g.drawString(text, 20, 20);
      Given the above sample code, what happens if the "Century Gothic" font is NOT available? 
    Choice 1  
    The Font() constructor fails, causing "f" to be null, and the setFont() method throws a NullPointerException. 
    Choice 2  
    "Century Gothic" is a built in Java font, which always exists within the Java runtime environment. 
    Choice 3  
    The code does not compile because only the following "logical" font names are supported in Java: Dialog, DialogInput, Monospaced, Serif, SansSerif, and Symbol. 
    Choice 4  
    The Font() constructor throws an IllegalArgumentException. 
    Choice 5  
    A default Font object is returned and is used. 
    How must do you interact with a JTextField in order to generate an ActionEvent? 
    Choice 1  
    Tab into the JTextField from another Component. 
    Choice 2  
    Type in the JTextField. 
    Choice 3  
    Activate the cursor in the JTextField. 
    Choice 4  
    Hit <RETURN> while the cursor is in the JTextField. 
    Choice 5  
    Hit the spacebar while typing in the JTextField. 
    double-buffering
    public class TimerTest implements ActionListener{
      public static void main(String[] args){
        TimerTest test = new TimerTest();
        javax.swing.Timer timer = new javax.swing.Timer(100,test);
      public void actionPerformed(ActionEvent ev){
        System.out.println("Timer ticked.");
      Given the above sample code, what is the result when the code is run? 
    Choice 1  
    The words "Timer ticked." are printed to the console once after 100 milliseconds. 
    Choice 2  
    The words "Timer ticked." are printed to the console every 100 microseconds. 
    Choice 3  
    The words "Timer ticked." are printed to the console every 100 seconds. 
    Choice 4  
    The words "Timer ticked." are printed to the console every 100 milliseconds. 
    Choice 5  
    Nothing, the Timer is not started. 
    1. JSlider slider1 = new JSlider (JSlider.VERTICAL, 0, 100, 50);
    2. slider1.setPaintTicks(false);
    3. slider1.setMajorTickSpacing(10);
    4. slider1.setMinorTickSpacing(2); 
      What changes do you have to make to the above Sample code so that there are six Major Ticks and four Minor ticks between each Major Tick? 
    Choice 1  
    Replace line 3 with slider1.setMajorTickSpacing(17); 
    Choice 2  
    Replace line 2 with slider1.setPaintTicks(true);
    Replace line 3 with slider1.setMajorTickSpacing(17);
    Replace line 4 with slider1.setMinorTickSpacing(5); 
    Choice 3  
    Replace line 3 with slider1.setMajorTickSpacing(5);
    Replace line 4 with slider1.setMinorTickSpacing(4); 
    Choice 4  
    Replace line 2 with slider1.setPaintTicks(true);
    Replace line 3 with slider1.setMajorTickSpacing(20);
    Replace line 4 with slider1.setMinorTickSpacing(4); 
    Choice 5  
    Replace line 4 with slider1.setMinorTickSpacing(6); 
       Which one of the following defines a set of three JRadioButtons (b1, b2, and b3) so that only one JRadioButton can be selected at a time? 
    Choice 1  
    ButtonGroup g = new ButtonGroup();
    g.add(b1); g.add(b2); g.add(b3); 
    Choice 2  
    b1.group(true); b2.group(true); b3.group(true); 
    Choice 3  
    JRadioButton jbs[] = {b1, b2, b3};
    ButtonGroup g = new ButtonGroup(jbs); 
    Choice 4  
    The default behavior of JRadioButtons is such that only one can be selected at a time as long as they are in the same Container. 
    Choice 5  
    ButtonGroup g = new ButtonGroup(b1, b2, b3); 
    Sample Code 
    public static void main(String args[]){
      What is the role of the method in the code above? 
    Choice 1  
    To provide a place for initialization code when instantiating the current class. 
    Choice 2  
    It is the first method run when a class is run with the Java Interpreter. 
    Choice 3  
    It serves no specific function. It is a residual method from Java 1.0. 
    Choice 4  
    It is the first method that the Java Compiler converts to bytecode when creating a .class file. 
    Choice 5  
    To process command-line parameters when running the Java Interpreter 
    How do you create a menu item, Save, with a shortcut key of Ctrl+S? 
    Choice 1  
    You have to override the KeyPressed event of the top level Frame and handle the Ctrl+S to call the menu item's actionPerformed. 
    Choice 2  
    JMenuItem save = new JMenuItem("Save");
    save.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,Event.CTRL_MASK)); 
    Choice 3  
    JMenuItem save = new JMenuItem("Save");
    save.enableShortcut(KeyEvent.CTRL_KEY + KeyEvent.S); 
    Choice 4  
    JMenuItem save = new JMenuItem("Save");
    save.setMnemonic("Ctrl+S"); 
    Choice 5  
    JMenuItem save = new JMenuItem("Save");
    save.addShortcutKey( new KeyStroke(KeyStroke.S | KeyStroke.CTRL_KEY) ); 
    GridBagConstraints gbc1 = new GridBagConstraints(1,1,2,1,1,3,10,1,new Insets(5,5,5,5),1,1);
    gbl.addLayoutComponent(jb,gbc1); 
      In regards to the above code, which one of the following indicates jb's grid position? 
    Choice 1  
    Grid position 2,1 
    Choice 2  
    Grid position 1,2 
    Choice 3  
    Grid position 1, 1 
    Choice 4  
    Grid position 10, 1 
    Choice 5  
    Grid position 1, 3 
    GridBagConstraints gbc1 = new GridBagConstraints(1,1,2,1,1,3,10,1,new Insets(5,5,5,5),1,1);
    gbl.addLayoutComponent(jb,gbc1); 
      In regards to the above code, which one of the following indicates jb's grid position? 
    Choice 1  
    Grid position 2,1 
    Choice 2  
    Grid position 1,2 
    Choice 3  
    Grid position 1, 1 
    Choice 4  
    Grid position 10, 1 
    Choice 5  
    Grid position 1, 3 
    Which one of the following is necessary when changing an Applet to a standalone application? 
    Choice 1  
    Add a no-argument constructor. 
    Choice 2  
    Remove the init(), start() and stop() methods. 
    Choice 3  
    Remove "extends JApplet" or "extends Applet". 
    Choice 4  
    Add a main() method. 
    Choice 5  
    Change the import statement so that it imports an Application container rather than Applet or JApplet. 
    Which one of the following adds the String "Java" to the JComboBox jcb? 
    Choice 1  
    ComboBoxModel cbm = jcb.getModel();
    cbm.addItem("Java"); 
    Choice 2  
    jcb.setText("Java"); 
    Choice 3  
    ComboBoxModel cbm = jcb.getModel();
    cbm.add("Java"); 
    Choice 4  
    jcb.add("Java"); 
    Choice 5  
    jcb.addItem("Java");

    I'll have a go but I am not saying they are all correct...
    Question 1.
    Which one of the following converts the Image i into the BufferedImage bi?
    Choice 3 (assuming this implements the imageobserver interface)
    bi = new BufferedImage(i.getWidth(this), i.getHeight(this), 1);  //1 is BufferedImage.TYPE_INT_RGB
    Graphics2D g = (Graphics2D)  
    bi.createGraphics();
    g.drawImage(i,0,0,this);Good luck with your homework...
    nes
    Question 2.
    CardLayout
    BorderLayout
    FlowLayout
    GridBagLayout
    GridLayout
    Which one of the following indicates all of the layout managers (from the list above) that allow you to set the space between the components from an instance of the LayoutManager itself?
    Choice 4
    BorderLayout,
    FlowLayout,
    GridLayout
    (GridBagLayout uses GridBagConstraints to decide component spacing, card layout does not provided component spacing due to the deck nature used)
    Question 3.
    JFrame jf = new JFrame();
    jf.setSize(400,400);
    JTextField jtf = new JTextField("JTextField");
    JButton jb = new JButton("JButton");
    jf.getContentPane().setLayout( new FlowLayout(FlowLayout.LEFT,1,2));
    jf.getContentPane().add(jtf);
    jf.getContentPane().add(jb);    Which one of the following indicates the positions of the JTextField jtf and JButton jb relative to the JFrame and each other?
    Choice 3 jtf is in the top-left corner of the JFrame with jb 1 pixel to the right of it.
    Question 4
    public void drawText(Graphics2D g, String text)
         Font f = new Font("Century Gothic", Font.BOLD, 10);  
         g.setFont(f);  
         g.drawString(text, 20, 20);
    }    Given the above sample code, what happens if the "Century Gothic" font is NOT available?
    Choice 5 A default Font object is returned and is used
    Question 5.
    How must do you interact with a JTextField in order to generate an ActionEvent?
    Choice 4 Hit <RETURN> while the cursor is in the JTextField.
    Question 6.
    public class TimerTest implements ActionListener
         public static void main(String[] args)
               TimerTest test = new TimerTest();    
               javax.swing.Timer timer = new javax.swing.Timer(100,test);  
         public void actionPerformed(ActionEvent ev)
              System.out.println("Timer ticked.");  
    }    Given the above sample code, what is the result when the code is run?
    Choice 5 Nothing, the Timer is not started.
    Question 7.
    1. JSlider slider1 = new JSlider (JSlider.VERTICAL, 0, 100, 50);
    2. slider1.setPaintTicks(false);
    3. slider1.setMajorTickSpacing(10);
    4. slider1.setMinorTickSpacing(2);    What changes do you have to make to the above Sample code so that there are six Major Ticks and four Minor ticks between each Major Tick?
    Choice 4 Replace line 2 with slider1.setPaintTicks(true); Replace line 3 with slider1.setMajorTickSpacing(20); Replace line 4 with slider1.setMinorTickSpacing(4);
    Question 8.
    Which one of the following defines a set of three JRadioButtons (b1, b2, and b3) so that only one JRadioButton can be selected at a time?
    Choice 1 ButtonGroup g = new ButtonGroup(); g.add(b1); g.add(b2); g.add(b3);
    Question 9.
    Sample Code
    public static void main(String args[]){ }
    TYPO - should be public static void main(String[] args){ }
    What is the role of the method in the code above?
    Choice 2 It is the first method run when a class is run with the Java Interpreter.
    Question 10.
    How do you create a menu item, Save, with a shortcut key of Ctrl+S?
    Choice 2 JMenuItem save = new JMenuItem("Save");
    save.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,Event.CTRL_MASK));
    Question 11.
    GridBagConstraints gbc1 = new GridBagConstraints(1,1,2,1,1,3,10,1,new Insets(5,5,5,5),1,1); gbl.addLayoutComponent(jb,gbc1);
    In regards to the above code, which one of the following indicates jb's grid position?
    Choice 3 Grid position 1, 1
    Question 12
    Which one of the following is necessary when changing an Applet to a standalone application?
    Choice 1 Add a no-argument constructor.
    Choice 2 Remove the init(), start() and stop() methods.
    Choice 3 Remove "extends JApplet" or "extends Applet".
    Choice 4 Add a main() method.
    Choice 5 Change the import statement so that it imports an Application container rather than Applet or JApplet.
    mmm. not a good choice of answers. look at the following link...
    http://forum.java.sun.com/thread.jsp?forum=57&thread=218096
    Question 13.
    Which one of the following adds the String "Java" to the JComboBox jcb?
    Choice 5 jcb.addItem("Java");

  • What is the correct syntax for using a variable in an ad hoc query?

    Hi all
    I am an occasional DB user and at the moment need to update about 1000+ records so that a certain column gets a unique value.
    So I thought that I would use a variable for this.
    I then built this kind of SQL statement for just a small subset of the records:
    variable recNumber number;
    exec :recNumber := 1;
    UPDATE TABLE_TO_BE_UPD
    SET COL_TO_BE_UPD = COL_TO_BE_UPD + recNumber
    WHERE COL_TO_BE_UPD IN ('VAL_A','VAL_B');
    I get the invalid SQL statement error when attempting to execute above (besides the prompt that asks for a value which I would like to omit).
    Anyway I also tried this one:
    CREATE SEQUENCE seqCounter;
    UPDATE TABLE_TO_BE_UPD
    SET COL_TO_BE_UPD = COL_TO_BE_UPD + seqCounter.NEXTVAL
    WHERE COL_TO_BE_UPD IN ('VAL_A','VAL_B');
    From this one I got the error ORA-01722: invalid number...I am guessing this comes because seqCounter is of type number and the COL_TO_BE_UPD is of type character...(?)
    So what I would like to ask is what is the correct way to define and use a counter type of variable to append a number at the end of a character string?
    Also another question that I would like to ask is that are variables that are used in ad hoc queries also called 'bind variables'?
    Thanks muchly

    If you want to append a unique number to a column then this would do it:
    UPDATE TABLE_TO_BE_UPD
    SET COL_TO_BE_UPD = COL_TO_BE_UPD ||to_char(rownum)
    WHERE COL_TO_BE_UPD IN ('VAL_A','VAL_B');

  • What is the use of T.Code: FAGLCOFIFLUP - Post CO Documents to FI?

    Expects...
    What is the use of T.Code: FAGLCOFIFLUP - Post CO Documents to FI
    Accounting> Financial Accounting> General Ledger> Corrections> FAGLCOFIFLUP - Post CO Documents to FI
    Thanks & Regards
    Bhagiradha.P

    Hi,
    The real-time integration of Controlling with Financial Accounting was active at the time the CO documents were posted.
    CO documents could be not transferred to financial accounting on behalf of errors which are only known to occur in the following situations:
    - During mass processing such as internal CO assessments or distributions
    - Manual posting of individual CO documents is not possible if errors occur in financial accounting.
    - If real-time integration was not active when the CO document was posted, you must use the report   FAGL_COFI_TRANSFER_CODOCS to transfer these CO documents to financial accounting because they are not in the worklist.
    Regards,
    Eli

Maybe you are looking for