Question in usrp transmitter example

In the usrp transmitter example:
what is the exact packet structure?
what is the padding samples? and how it differs from padding bits? and what is the fuction of the padding bits?
what is the function of the blank frame
thanks in advance

The packet is structured as follows, in bits:
The packets are padded because the transmitter and receiver are not sharing any timing information, which means data could potentially be lost.  By adding padding samples, we are able to ensure that when the packet is received, none of the data will be lost at the front and back of the transmitted frame.  Take a look at this thread, which discusses this in more depth.
If you take a look at the block diagram of the USRP Packet Transmitter VI, you'll see a case structure that determines when to send packets to the receiver.  If the case structure reads the queue of samples to be sent as empty, it will instead send a blank frame matching the size specified in the above snippet.  The blank frame is used as an empty packet to ensure the connection is not lost.  If we were to simply not send any packet, then the receiver might assume that the connection was lost when instead we are simply not sending anything.  By sending an empty packet, the receiver knows the connection is still active, and can wait for a packet of actual data.
Patrick
CLA

Similar Messages

  • Questions on Column Fromatting example.

    Hi Tech Gurus,
    I am trying to implement "Column Formatting" example from Oracle XML Publisher - User Guide(PartNo: B13817-03) pdf. It is working fine and could able to get similar kind of output.
    When all the columns are displayed, the table in output occupies certain amount of size in the page. When I try to hide one column out of three, the width/size of the table is coming down. Size of the table in second output is not big as in the first output.
    My requirement is, table size should not vary accordning to the number of columns. The table size should be the same and two columns should share the total table length equally or as per the giving settings.
    How I can achieve this.
    Need urgent help on this.
    Regards,
    Chandra.

    925896 wrote:
    Hi
    Interviewer asked me this question.
    Why do we need an alias for column and is it improving query performance?
    I said
    if we select columns with same name from different table, alias is useful but no way related to query performance.
    is it correct? Please explain me on alias topicYou are correct, alias is not related to performance..

  • Question about Java Sound example?

    Hello,
    I found this example AudioPlayer, when searching for an example of how to play .wav files in Java.
    The code seems quite long, and wondered if anyone could advise if this is the best way to play a wav file?
    And could anyone explain if the EXTERNAL_BUFFER_SIZE should allows be set to 128000;
    Thank you
    import java.io.File;
    import java.io.IOException;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.LineUnavailableException;
    import javax.sound.sampled.SourceDataLine;
    public class SimpleAudioPlayer
         private static final int     EXTERNAL_BUFFER_SIZE = 128000;
         public static void main(String[] args)
                We check that there is exactely one command-line
                argument.
                If not, we display the usage message and exit.
              if (args.length != 1)
                   printUsageAndExit();
                Now, that we're shure there is an argument, we
                take it as the filename of the soundfile
                we want to play.
              String     strFilename = args[0];
              File     soundFile = new File(strFilename);
                We have to read in the sound file.
              AudioInputStream     audioInputStream = null;
              try
                   audioInputStream = AudioSystem.getAudioInputStream(soundFile);
              catch (Exception e)
                     In case of an exception, we dump the exception
                     including the stack trace to the console output.
                     Then, we exit the program.
                   e.printStackTrace();
                   System.exit(1);
                From the AudioInputStream, i.e. from the sound file,
                we fetch information about the format of the
                audio data.
                These information include the sampling frequency,
                the number of
                channels and the size of the samples.
                These information
                are needed to ask Java Sound for a suitable output line
                for this audio file.
              AudioFormat     audioFormat = audioInputStream.getFormat();
                Asking for a line is a rather tricky thing.
                We have to construct an Info object that specifies
                the desired properties for the line.
                First, we have to say which kind of line we want. The
                possibilities are: SourceDataLine (for playback), Clip
                (for repeated playback)     and TargetDataLine (for
                recording).
                Here, we want to do normal playback, so we ask for
                a SourceDataLine.
                Then, we have to pass an AudioFormat object, so that
                the Line knows which format the data passed to it
                will have.
                Furthermore, we can give Java Sound a hint about how
                big the internal buffer for the line should be. This
                isn't used here, signaling that we
                don't care about the exact size. Java Sound will use
                some default value for the buffer size.
              SourceDataLine     line = null;
              DataLine.Info     info = new DataLine.Info(SourceDataLine.class,
                                                                 audioFormat);
              try
                   line = (SourceDataLine) AudioSystem.getLine(info);
                     The line is there, but it is not yet ready to
                     receive audio data. We have to open the line.
                   line.open(audioFormat);
              catch (LineUnavailableException e)
                   e.printStackTrace();
                   System.exit(1);
              catch (Exception e)
                   e.printStackTrace();
                   System.exit(1);
                Still not enough. The line now can receive data,
                but will not pass them on to the audio output device
                (which means to your sound card). This has to be
                activated.
              line.start();
                Ok, finally the line is prepared. Now comes the real
                job: we have to write data to the line. We do this
                in a loop. First, we read data from the
                AudioInputStream to a buffer. Then, we write from
                this buffer to the Line. This is done until the end
                of the file is reached, which is detected by a
                return value of -1 from the read method of the
                AudioInputStream.
              int     nBytesRead = 0;
              byte[]     abData = new byte[EXTERNAL_BUFFER_SIZE];
              while (nBytesRead != -1)
                   try
                        nBytesRead = audioInputStream.read(abData, 0, abData.length);
                   catch (IOException e)
                        e.printStackTrace();
                   if (nBytesRead >= 0)
                        int     nBytesWritten = line.write(abData, 0, nBytesRead);
                Wait until all data are played.
                This is only necessary because of the bug noted below.
                (If we do not wait, we would interrupt the playback by
                prematurely closing the line and exiting the VM.)
                Thanks to Margie Fitch for bringing me on the right
                path to this solution.
              line.drain();
                All data are played. We can close the shop.
              line.close();
                There is a bug in the jdk1.3/1.4.
                It prevents correct termination of the VM.
                So we have to exit ourselves.
              System.exit(0);
         private static void printUsageAndExit()
              out("SimpleAudioPlayer: usage:");
              out("\tjava SimpleAudioPlayer <soundfile>");
              System.exit(1);
         private static void out(String strMessage)
              System.out.println(strMessage);
    }

    I didnot go thru the code you posted but I know that the following workstry {
            // From file
            AudioInputStream stream = AudioSystem.getAudioInputStream(new File("audiofile"));
            // From URL
            stream = AudioSystem.getAudioInputStream(new URL("http://hostname/audiofile"));
            // At present, ALAW and ULAW encodings must be converted
            // to PCM_SIGNED before it can be played
            AudioFormat format = stream.getFormat();
            if (format.getEncoding() != AudioFormat.Encoding.PCM_SIGNED) {
                format = new AudioFormat(
                        AudioFormat.Encoding.PCM_SIGNED,
                        format.getSampleRate(),
                        format.getSampleSizeInBits()*2,
                        format.getChannels(),
                        format.getFrameSize()*2,
                        format.getFrameRate(),
                        true);        // big endian
                stream = AudioSystem.getAudioInputStream(format, stream);
            // Create the clip
            DataLine.Info info = new DataLine.Info(
                Clip.class, stream.getFormat(), ((int)stream.getFrameLength()*format.getFrameSize()));
            Clip clip = (Clip) AudioSystem.getLine(info);
            // This method does not return until the audio file is completely loaded
            clip.open(stream);
            // Start playing
            clip.start();
        } catch (MalformedURLException e) {
        } catch (IOException e) {
        } catch (LineUnavailableException e) {
        } catch (UnsupportedAudioFileException e) {
        }

  • Question on Passivation / Activation example in Dev Guide

    Adf 11g
    Hello
    I'm loading some values into the session UserData in my application module PrepareSession.
    As I understand things I need to passivate/activate this information.
    However the example in the Fusion Dev Guide on page 39-19 for the passivation
    seems to be missing the caller to super.passivateState.
    Is this correct ?
    Best Regards
    Paul

    Surprisingly, no. The superclass method is basically a no-op. This method isn't involved in passivating the standard transactional and non-transactional state; it's just for custom data. Standard passivation takes place in passivateState(int, byte[], int).

  • CreateView (join) question, deep XML PO example

    I'm trying to create a database view that makes the data from the PO example available via SQL. Recall that the PO example has a deep XML structure (header and POLINES) which is parsed into two objects PO and POLINES. PO is a child of PublicObjects, and I've sucessfully created a view on just it. Now I want to have a view that joins the header to the lines. POLINES object is a child of APPLICATIONOBJECT.
    When I try to setup the JoinQualification, I get
    Exception :oracle.ifs.common.IfsException: IFS-22701: PURCHASEORDERLINEITEM is not an alias or className
    oracle.ifs.common.IfsException: IFS-22701: PURCHASEORDERLINEITEM is not an alias or className
    Well gee, I thought it was.
    Help?

    For anyone else trying to do this... I switched to trying to join to the "Rejection" object. The mistake was that I was trying to join PurchaseOrder to Rejection, without including Rejection in the Search:
    scp.addSearchClass("PURCHASEORDERREJECTION");
    null

  • Question about code corner Example#33: How-to open a Bounded Task Flow in a new Browser Tab

    Hello All,
    I am implementing example #33 in code corner series Oracle ADF Code Corner&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;Oracle ADF Code Corner&quot;&gt;&lt;me…
    Every thing is going fine, but there is a comment in the java code that I don't understand.
    public void onLaunchForEdit(ActionEvent actionEvent) {    
          //access the ADF binding layer and access the tree binding that
          //populates the table
            BindingContext bctx = BindingContext.getCurrent();
            BindingContainer bindings =
                                   bctx.getCurrentBindingsEntry();   
            //access the tree binding defined in the ADF binding layer
            JUCtrlHierBinding model =
                   (JUCtrlHierBinding) bindings.get("DepartmentsView1");
            //get the current selected row key from the iterator binding
            //referenced from the table binding (tree binding). Of course,
            //I could have used the iterator name directly in the binding
            //lookup, but looking up the tree binding instead allows to
            //change the tree binding iterator dependency to a later point
            //in time without breaking this functionality. Its all about
            //"weak" dependencies that give you flexibility when coding ADF
            String rwKeyString =
                   model.getDCIteratorBinding().getCurrentRowKeyString();
            launchWindow(rwKeyString);
    What does this comment mean?
             //but looking up the tree binding instead allows to
            //change the tree binding iterator dependency to a later point
            //in time without breaking this functionality. Its all about
            //"weak" dependencies that give you flexibility when coding ADF
    Is this a contrast to this line of code?
    JUCtrlHierBinding model =
                   (JUCtrlHierBinding) bindings.get("DepartmentsView1");
    I mean in this line of code we hard coded the tree binding name from the page Def? why getting the tree binding name is a best practice while getting the iterator name is not?

    What does this comment mean?
             //but looking up the tree binding instead allows to 
            //change the tree binding iterator dependency to a later point 
            //in time without breaking this functionality. Its all about 
            //"weak" dependencies that give you flexibility when coding ADF 
    Is this a contrast to this line of code?
    JUCtrlHierBinding model = 
                   (JUCtrlHierBinding) bindings.get("DepartmentsView1"); 
    Yes, it's exactly this line of code the comment is referring to. If you look at the bindings of a page you see three parts: on the left he bindings, in the middle the executables and on the right side the data control. The statement
    JUCtrlHierBinding model = 
                   (JUCtrlHierBinding) bindings.get("DepartmentsView1");
    access the binding, the tree binding to get the data. if you use the iterator which named 'DepartmentsView1Iterator' you are accessing the executable, the iterator itself. The comment now tell you that if you access the data via the tree binding, that you can change the underlying iterator to point to different data. This you can do without the need to change the code in the been, whihc is good as you (or we all) tend to forget that we have code working on the iterator, so changing things in the bindings will break the application.
    Timo

  • Question about JAI posted example?

    Thank you
    I just wondered if I could ask, I found this example JAI code on the web. The code compiles, but in the example said they missed out some lines at the begining, do you these missing lines were to read-in a image?
    import java.awt.*;
    import java.awt.image.*;
    import javax.media.jai.*;
    public class CreateRGBImage{
       public static void main(String[] args){
          int width = 121; int height = 121; // Dimensions of the image
          byte[] data = new byte[width*height*3]; // Image data array.
          int count = 0; // Temporary counter.
          for(int w=0;w<width;w++) // Fill the array with a pattern.
             for(int h=0;h<height;h++){
                data[count+0] = (count % 2 == 0) ? (byte)255: (byte) 0;
                data[count+1] = 0;
                data[count+2] = (count % 2 == 0) ? (byte) 0: (byte)255;
                count += 3;
          // Create a Data Buffer from the values on the single image array.
          DataBufferByte dbuffer = new DataBufferByte(data,width*height*3);
          // Create an pixel interleaved data sample model.
          SampleModel sampleModel = RasterFactory.
          createPixelInterleavedSampleModel(DataBuffer.TYPE_BYTE,
          width,height,3);
          // Create a compatible ColorModel.
          ColorModel colorModel = PlanarImage.createColorModel(sampleModel);
          // Create a WritableRaster.
          Raster raster = RasterFactory.createWritableRaster(sampleModel,dbuffer,
          new Point(0,0));
          // Create a TiledImage using the SampleModel.
          TiledImage tiledImage = new TiledImage(0,0,width,height,0,0,
          sampleModel,colorModel);
          // Set the data of the tiled image to be the raster.
          tiledImage.setData(raster);
          // Save the image on a file.
          JAI.create("filestore",tiledImage,"rgbpattern.tif","TIFF");
    }

    I didnot go thru the code you posted but I know that the following workstry {
            // From file
            AudioInputStream stream = AudioSystem.getAudioInputStream(new File("audiofile"));
            // From URL
            stream = AudioSystem.getAudioInputStream(new URL("http://hostname/audiofile"));
            // At present, ALAW and ULAW encodings must be converted
            // to PCM_SIGNED before it can be played
            AudioFormat format = stream.getFormat();
            if (format.getEncoding() != AudioFormat.Encoding.PCM_SIGNED) {
                format = new AudioFormat(
                        AudioFormat.Encoding.PCM_SIGNED,
                        format.getSampleRate(),
                        format.getSampleSizeInBits()*2,
                        format.getChannels(),
                        format.getFrameSize()*2,
                        format.getFrameRate(),
                        true);        // big endian
                stream = AudioSystem.getAudioInputStream(format, stream);
            // Create the clip
            DataLine.Info info = new DataLine.Info(
                Clip.class, stream.getFormat(), ((int)stream.getFrameLength()*format.getFrameSize()));
            Clip clip = (Clip) AudioSystem.getLine(info);
            // This method does not return until the audio file is completely loaded
            clip.open(stream);
            // Start playing
            clip.start();
        } catch (MalformedURLException e) {
        } catch (IOException e) {
        } catch (LineUnavailableException e) {
        } catch (UnsupportedAudioFileException e) {
        }

  • XSQL SVG Example questions

    The SVG example provided with the XSQL servlet is excellent and illustrates at least 5 different (and very useful) techniques. Congrats to whoever came up with it.
    This one example shows SVG, named templates, use of xsl:variable, use of xsl_param, use of xsl:with-param, use of xsl:call-template and the apparent use of java classes from a jar file ala java server pages.
    The example also raises several questions:
    1. The example uses two namespace declarations I haven't seen before -
    xmlns:Color="http://www.oracle.com/XSL/Transform/java/java.awt.Color"
    and
    xmlns:Integer="http://www.oracle.com/XSL/Transform/java/java.lang.Integer"
    These appear to be allowing the use of Java classes in some jar file similar to the way Java server pages might do it.
    It this correct? Is this because these two classes were built-in to the XSQL servlet? What other classes can be used? All of them? From any jar file? Is more documentation available?
    2. What does the 'doctype=system="svg-19990812.dtd"' line do? There is no such DTD on my system but the demo works fine. There are references to DTDs with similar names in the FOP samples and in Adobe's samples but the name is slightly different.
    3. Why is the media-type image/svg? The SVG 1.0 spec dated 2 Nov 2000 in section 1.2 says the SVG mime type is "image/svg+xml".
    4. Why is there no namespace declaration for the svg tag or any of the svg related tags? Samples from other vendors seem to always have a declaration.
    Thanks again for a great piece of code.
    null

    Rick,
    You'll find a further-refined, and fully-explained version of the SVG example in Chapter 16 of Building Oracle XML Applications. This chapter covers the use of XSLT extension functions and illustrates how to use Java extension functions with the Oracle XSLT engine.
    [list=1]
    [*]The two namespaces you list are the way that the Oracle XSLT engine allows you to map extension functions in a namespace to methods of a Java class. This example illustrates using two different built-in classes of the JDK, java.awt.Color and java.lang.Integer. These are not specific to (or built-in in any way to the) XSQL processor or the XSLT engine, but are base classes in the JDK. You can use any Java extension functions in your XSLT stylesheets. The only requirement is that you (1) get the namespace correct to assign a namespace to the appropriate fully-qualified classname, and (2) make sure the classes you want to use are in the CLASSPATH.
    [*]The <xsl:output> attribute doctype-system provides a value to be used for the SYSTEM URI of the <!DOCTYPE in the transformed output. The particular value was required by the SVG draft at the time I built the demo. It must be handled by a special entity-resolver built into the SVG Viewer that you're using, which explains why not having on your system as a physical file doesn't stop the demo from working.
    [*]The media-type is image/svg instead of image/svg+xml because the SVG demo was built before the final draft of SVG went out. This value was apparently changed in one of the final drafts. It appears that the Adobe SVG viewer registers itself as the handler for both.
    [*]See http://www.w3.org/TR/SVG/struct.html#NewDocument. The spec appears to allow both unqualified use of <svg> as well as namespace-qualified <svg:svg> when SVG is embedded within another document.
    [list]

  • OO question in LabVIEW example

    Hello,
    I am trying to learn OO and I have a question in the LabVIEW examples.  See the attached image
    What is the protected VI's?  It looks like a collection of VIs with a type def.  Isn't this a class?  Why isn't it a class?  What is going on?
    Thanks

    No image attached.  Which example are you looking at?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • "Look Up" Question

    I need help on how to look up a multi column MULTI ROW table given two variables which exist row one and column one cells.
    Something like ....
    Lookup Column One to find X then lookup Row One to find Y then pull the content of cell XY and insert ...
    Just not sure what formula I need to do this.
    Thanks all
    Regards

    Here's a small example (two, actually) that shold fit your question:
    In the first example, the two lookup values are in cells B2 and B3 of Main1. The corresponding set of values in in Data 1. This example works only with numerical values in B2 and B3 of Main 1, and ignores the values in the header row and header column of Data1, using only the position of the desired data's cell wrt call A1.
    The formula to retrieve the value specified is in B5:   =OFFSET(Data1 :: $A$1,B3-3,B2,,)
    In the second example, the two lookup values are in cells B2 and B3 of Main2. The corresponding set of values in in Data 2. This version is more general in scope, as it matches the search values in B2 and B3 to the value set in Row 1 and Column A.
    The formula to retrieve the value specified is in B5:   =OFFSET(Data2 :: $A$1,MATCH(B3,Data2 :: $A,0)-1,MATCH(B2,Data2 :: $1:$1,0)-1,,)
    Regards,
    Barry

  • List of Questions on BAPI and OOPs

    Hi All,
       I am new to the OOPs and BAPI's.can any one gives me complete idea on below questions by providing good examples.
    1) Importance of the class, Interface type, Object and Instance ?
    2) Why we need oops concepts since we are using normal process successfully, i mean with out oops also ?
    3) functionality of BAPI ?
    4) Difference between COMMIT WORK and BAPI_TRANSACTION_COMMIT ?
    5) Why COMMIT WORK wont useful for BAPI's ?
    6) If you give me good source code to understand the concepts of class, Interface type, Object and Instance?
    7) In real time situations, do we need to create classes or in SAP we will use only existed bapis?
    8) The process of creating customized BAPI's [entire scenario]
    Since i asked lot of questions in one thread, i decided to give rewards even if you provide me solution for any of the above.
    Thanks
    Jaya

    Hi Jaya,
    Answer 1. Class is a template for creating objects. Object can also be called as instance.
    Interfaces allow you to use different classes in a uniform way (polymorphism).
    Answer 2. Normal abap is a procedural programming where as by using abap objects we can achieve object oriented programing.
    Answer 6. Source code:
    In below code i have created a interface and a class which is implementing the interface. I have declared a reference variable of type interface and created a object. Then i have called a method.
    REPORT  ZABAPOBJECTS_INTERF.
          INTERFACE I1
    INTERFACE I1.
      METHODS METH1.
    ENDINTERFACE.                    "I1
          CLASS C1 DEFINITION
    CLASS C1 DEFINITION.
      PUBLIC SECTION.
        METHODS: METH2.
        INTERFACES: I1.
    ENDCLASS.                    "C1 DEFINITION
          CLASS C1 IMPLEMENTATION
    CLASS C1 IMPLEMENTATION.
      METHOD I1~METH1.
        WRITE: / 'This is a method one'.
      ENDMETHOD.                                                "I1~METH1
      METHOD METH2.
        WRITE: / 'This is a method two'.
      ENDMETHOD.                                                "METH2
    ENDCLASS.                    "C1 IMPLEMENTATION
    START-OF-SELECTION.
      DATA : REF1 TYPE REF TO I1.
      CREATE OBJECT REF1 TYPE C1.
      CALL METHOD REF1->METH1.
    Question 7: Yes we need to create a class but most probably we use the existing classes.
    Regarding BAPi's go through the below links,
    http://www.sapgenie.com/abap/bapi/example.htm
    http://www.sapdevelopment.co.uk/bapirfc/bapirfchome.htm
    Regards,
    Azaz Ali.

  • How can I get Captivate to score across multiple question pools?

    I have set up a Captivate assessment as follows:
    A core set of 50 questions will be presented to all learners
    Depending on where the learner is, he will receive an additional 10 questions from one of 5 location-specific pools
    Learners will see a total of 60 questions
    I have my question pools set up and branching correctly, and am using the Branch Aware option to assist with this and the progress indicator. Before the first question I have the learner click one of several buttons (not quiz elements) to set a location variable, and after presenting the core questions I use this variable to determine which random question slide to jump to next (with set of slides pointing to a different question pool). After asking the 10 random questions from that pool the learner is then redirected to the review slide so only one set of location-specific slides is encoutnered on each attempt.
    All of that seems to be working as designed but the scoring is not behaving as I had expected; despite the fact that all questions are asked before the review slide is presented (i.e. all questions are within the quiz scope in both the edit-time and run-time sense) the review slide only reports results from the first question pool. For example, in a test file I reduced the question slides for the first pool to only display 2 questions, for a total of 12 presented, but my results show "0 of 2 correct" or "2 of 2 correct." The pass/fail results of the module match the review slide, so this is not a simple display issue; if I miss either of the two questions from the first pool I fail regardless of what happens in the second pool.
    What am I missing? Surely there wouldn't be the option of using multiple question pools if only one could be graded ...
    I am working on Captivate 6.0.1 64-bit for Windows. FWIW the file was originally created in Captivate 5 and has since been upconverted, but the additional question pools weren't introduced until after the conversion processes so I wouldn't expect this to be related to residual crud left over from that process.

    Thanks for the quick response ...
    I had already tried deleting the review slide itself, though Captivate wouldn't let me - it just hid it. I tried again using the method you recommended but the slide remained in the filmstrip, so I tried deleting again, then re-added it from the Quiz Settings page ... no joy, same behavior as before.
    I checked the Advanced Interaction page and confirmed that all of the scored questions were configuredthe same way as the non-scored questions, with the only difference being the pool that they were drawing from.
    Other thoughts? I am by no means a Captivate expert but this one really feels like it shouldn't be this hard, and I'm more than a little afraid that it's the file itself that's jacked up ...

  • How can I use the USRP to record a signal using its two RX port simultaneously?

    Hi.
     I am trying to record a signal using two horn antenna. The reason I need two antenna is to cover the wide frequency range (DC-6GHz). one antenna is covering DC-300MHz and the other one covers 300MHz-6GHz. So I need to use two RX port of USRP at the same time to record the signal. I have two questions:
    1. Does any USRP in the market capable of covering this range of frequency?
    2. Is it possible to use both RX port at the same time to record signals as I described? If not, how can make that happen?
    P.S. I have two NI2920 USRPs and two N210 USRPs in my lab. 
    Thanks in advance for your time.
    Sam.
    Solved!
    Go to Solution.

    Hi Sam,
    To answer your first question the USRPs that you have cannot reach the frequency range that you want. There is not a USRP, to my knowledge, that can reach this range in one device. 
    Also note that you cannot use two RX sessions for two different ports at the same time using LabVIEW and the USRP driver. If you want to use both RX lines you will have to run one session with one line, end the session, and then start a different session for your second RX line.
    Noah | Applications Engineer | National Instruments

  • How do I use a particular question master slide?(Captivate 6)

      Hello,
      I have created my own theme, and with it, several masters of the MCQ,T/F,FIB... question slide.  When I add a multiple choice question slide to my project, it doesn't ask me which of these question masters I want to use, and selects the same master each time.  How do I use different question slide master that I have created?  In other words, how do I change the default MCQ,T/F,FIB.. question master?
    Thank you!
    Ryan

    Can I have different question masters then for one question type?  For example -- five different masters for the hot spot question...
    Ryan

  • Some questions about Java servlets

    I am having some problems with my Java servlets. Here they are below.
    #1 I have a login jsp page. When user logs in, the MySQL database is queried. If a match, redirect to appropriate page. The problem is I can't seem to remain in the login page if there is no match, I get a blank screen. If there is no match, how can I redirect it back to the login screen? For example, my login screen is login.jsp. Here is my code below.
    while(rs.next())
    if(rs != null)
    String name = rs.getString("USERNAME");
    Cookie getUser = new Cookie("User", name);
    response.addCookie(getUser);
    String sql2 = "INSERT INTO answers (USERNAME) VALUES( '" + name +"')";
    ResultSet rs2 = stmt.executeQuery(sql2);
    response.sendRedirect("profile410.jsp");
    out.println("<p>inside if structure");
    #2 After I go to the first screen after login, I am filling out a questionaire, and everytime I click on a submit button a different servlet comes into play, called InsertRecords.java. Everytime I go from one jsp to another, information gets stored into a database, InsertRecords.java is controlling this. I use the below code.
    String delete = request.getParameter("delete");
    String question = request.getParameter("question");
    String value = request.getParameter("R");
    if (delete.equals("no") && !value.equals(""))
    String sql = "INSERT INTO answers (" + question + ") VALUES (" + value + ")";
    int numRows = stmt.executeUpdate(sql);
    out.println("Record has been inserted");
    String nextPage = request.getParameter("nextPage");
    Cookie[] cookies = request.getCookies();
    if (cookies != null)
    for (int i = 0; i < cookies.length; i++)
    String name = cookies.getName();
    String valuecook = cookies.getValue();
    Cookie getUser = new Cookie(name, valuecook);
    response.addCookie(getUser);
    response.sendRedirect(nextPage);
    the table is answer and the fields are ID, username, and q1, q2 q3, up to q11. the idea is upon login, the username gets stored into the answer table, the field username. I want the values stored in the same row everytime user jumps from one page to another based on his username. Goes to first jsp, q1 gets inserted, next jsp, q2 gets inserted, etc. But they all get inserted diagonally on different rows, not the same one, that is the problem. How can I fix this?
    #2 Based on the above code, say there is 11 jsp pages, remember, this is an online questionaire. When user logs in, he starts at the first jsp page, or question. When for example when the browser gets cut off at question6, when he logs back in, I want him to start at question4, if cut of at question 11, start again upon login at question 8. The reason, so he won't have to start from the beginning. Each question is on seperate jsp's. The way I see this happening is creating a session upon login and keeping that session. And grab 4th question when he logs back in, but I am not sure about how to go about it.
    Can someone help me please?

    Q1:
    Use the update command and not insert.
    Q2:
    Won't work. The user may log back in after the session has expired or from a different location. On log in look for a record for that user and what questions have been answered so far.

Maybe you are looking for