How to just send I data (No Q) using ni2920 USRP? (ASK modulation)

Hi.  
 I am trying to send three level sequences as amplitude shift keying (ASK) modulation. my sequence has three state of (-1, 0 , 1). I am using ni2920 usrp to send carrier with amplitudes of -5v, zero, and +5v for each of the mentioned levels respectively (ASK) (Sample rate=25 or 50MS/s). to do that,  I saved a .txt file with voltages amplitudes in the PC and I am reading this .txt file and send them with USRP (I expect USRP to multiply these values with cos(carrier freq) and send it to its RF out port. However there some problems:
1. I am not sure about the order of data USRP expects to have when reading .txt file in terms of "I" and "Q".  Assume I am sending  0,0,-1,1,1,-1,0,... I have a txt file with 0,0,-5,5,5,-5,0 saved .. BUT every time my code reads this txt file , it assign a vector of <"I","Q"> pair at output of LAN cable instead of considering all numbers as "I" data. my problem is: How can I force USRP to just send I data (no "Q") ? (This is required since I am using ASK modulation)
2. when I read zero from txt file and send it, I expect to see zero level RF spectrum at output BUT according to my observation there is spectrum content of output RF when sending all zero sequences. How can I force USRP to send nothing (zero) when the bit=0? 
Any help is appreciated. Thanks.

1) You can send data to the device as complex double-precision data or binary I16 data.  If using the complex double type, just make the imaginary component of each complex sample 0 (Q is the imaginary componnent).  If using the binary I16 data, the samples are interleaved I, Q, I, Q, ... so just make every other sample 0.
2) Even when sending 0s for I and Q, if the device is tuned to a frequency and the output path is enabled, you may see some power at the carrier frequency that is basically leakage from the local oscillator.

Similar Messages

  • How can i send the data from WD to SMARTFROMS to fill it?

    Hi All,
    how can i send the data from WD to SMARTFROMS to fill it?
    Best Regards

    Hello
    After conferring with a colleague, the following response may help:
    The Smart Form doesn't have any special integration in WebDynpro.
    Therefore the application should implement it especially.
    Steps:
    1) Call of Smart Forms in mode GET_OTF
    2) Convert OTF to PDF
         3) Show the PDF in WD Context Node
    Similar topic was discussed here:
    Re: Displaying Smartforms in Webdynpro ABAP
    Thanks
    Kind Regards
    Toros Aledjian
    Edited by: Toros Aledjian on Nov 29, 2010 8:43 AM

  • Sharing iPad2:  how to protect my own data when others use it?

    A single iPad2 is shared with others.  How do we protect individual data when others use the iPad?

    I use iCab and Comcast email with no problems. Try restarting your iPad. Try quitting iCab, restart the iPad and then try again. Just keep fighting the loop and see if you can ultimately get it to work if you have to.
    Try using the Connect Lite version of the Xfinity/Comast mail on the iPad. You will have to change that in the preferences on the server. It is in the general section. You want to select Xfinity Connect Lite. I have Comcst and I think this makes it a little easier to navigate and its a little more iPad friendly.
    If you want to be able to write mail in the Comcast webmail on the iPad you have to change to use Plain Text instead of HTML in the Composing preference. If you don't, the keyboard will not popup when you tap in the text field. You will be able to enter the email address in the To: field and the subject in the subject line but that is all unless you switch to plain text.
    I actually prefer the mail app on the iPad to using the Comcast webmail but that's just my preference.

  • How do I send email with pictures attached, using PSE 9 and Windows 7 ?

    How do I send email with pictures attached, using PSE 9 and Windows 7 ?

    Try email attachment workflow in Organizer. http://tv.adobe.com/watch/learn-photoshop-elements-9/sharing-your-images-via-email/
    Thanks
    Andaleeb

  • How can i send pictures from iphoto and use entourage

    how can i send pictures from iphoto and use entourage. I use to do it when I used Mac OS Leopard

    Click on the image in question and execute COMMAND D which will copy an image in iPhoto.
    To delete an image in iPhoto, execute COMMAND DELETE.
    Ciao.

  • How can i write the data to PIC16F819 using labview?

    how can i write the data to PIC16F819 using labview?
    Need help!
    im using labview in gathering the datas that i need to right to the PIC, then after getting all the datas i am using another program which is ICD2 in order to write it to the PIC. Is it possible to do this task through LV? coz we are spending a lot of time transferring the data from LV to ICD2 manually and its prone to mistake as well.
    any suggestion?
    thanks,
    Pedz

    LabVIEW does not currently have a built-in method to communicate with
    i2c, but there are other vendors that sell devices to communicate in
    this manner with LabVIEW development kits.  One that I know of is
    from MCC... here is a link:  http://www.mcc-us.com
    They sell a device called iPort, and then you can buy LabVIEW VIs to go with it.  I hope this is helpful to you!
    john m

  • Can I just send the data to NIC's buffer in LV? (how to access data link layer?)

    Now, I need to send something over network, yet those are not packed in TCP/IP or IPX packet, them are just some data a device can understand.
    So the problem I met is seems I cann't send the data into NIC's buffer(I can do that in C, yet I want to use LabVIEW to do that)
    And I don't want to do that by using a CIN, every time the program call or exit the CIN,there will be a delay, it's would bring me a bad impace to my application.
    So is there anyone can help me with that? I really need some master can give me a comfirm!

    I'm not an expert on network communication, so maybe you can explain how data can travel on an IP based network without being wrapped in some packets from a protocol like TCP or UDP? Maybe it's possible for LabVIEW to do what you want, or maybe compiling your C code into a DLL (no need for a CIN) and calling that will be fast enough for what you want.
    In any case, I think I can answer one question:
    So, how long would we have to expect LV add/improve these functions? Could it be in next minor update?
    Not likely, nor is it likely to be in any other version soon. LabVIEW is not built to handle this sort of thing any more than PHP or perl are and I don't think NI will change it to be able to do so. For that you have C, which you can call through a DLL. Some DLLs are supported on RT targets as well, but I'm not sure what the criteria are. They are probably listed somewhere on this site.
    I assume that calling a DLL in an RT target will hurt your determinism, but communication code should not be time-critical code, unless your application is an application which requires high speed data transfers and synchronization between different nodes.
    Try to take over the world!

  • How can I send post data through nsurlrequest?

    Hi.
    I'm working on an application which needs to make requests to a php gateway. I tried many examples I found on google, but none of them worked for me.
    First I was working with GET, and it worked just fine, but now, as I need to send more complex data, GET isn't a solution anymore. I have three params to send: module which is a string containing a php class name, method: the function in the class, and params for the function which is usually an indexed array.
    The following method makes the request to the server, but for some reason, doesn't send the POST data. If I var_dump($_REQUEST) or var_dump($_POST), it turns out, the array is empty. Can somebody tell me, what am I doing wrong? Is there some kind of a sandbox, which prevents data from being sent to the? I also tried to send some random strings, which aren't json encoded, no luck. The sdk version is 5.1, and I'm using the iPhone simulator from xcode.
    If it is possible I would like to solve this problem without any additional libraries (like asihttp).
    And here is the code:
    +(NSObject *)createRequest:(NSString *)module: (NSString *)method: (NSArray *)params
        NSString *url       = @"http://url/gateway.php";
        NSData *requestData = nil;
        NSDictionary *data  = [NSDictionary dictionaryWithObjectsAndKeys:
                module, @"module",
                method, @"method",
                params, @"params",
                nil];
        NSString *jsonMessage = [data JSONRepresentation];
        NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:url]];
        NSString *msgLength = [NSString stringWithFormat:@"%d", [jsonMessage length]];
        [request addValue: @"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
        [request addValue: msgLength forHTTPHeaderField:@"Content-Length"];
        [request setHTTPMethod:@"POST"];
        [request setHTTPBody: [jsonMessage dataUsingEncoding:NSUTF8StringEncoding]];
        requestData     = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
        NSString *get   = [[NSString alloc] initWithData:requestData encoding:NSUTF8StringEncoding];
        NSLog(@">>>>>>%@<<<<<<",get);
    Thank you.

    raczzoli wrote:
    I'm working on an application which needs to make requests to a php gateway. I tried many examples I found on google, but none of them worked for me.
    Why not?
    Unfortunately, you are dealing with a number of different technologies that have been cobbled together over the years. You could write a PHP server that would respond correctly to this request, but not using basic methods like the $_POST variable. PHP was designed for HTML and true forms. What you are trying to do is make it work as a general purpose web service over the HTTP protocol. You can do that, but not with the form-centric convenience variables.
    The following is a basic program that will populate the $_POST variable.
    #import <Foundation/Foundation.h>
    int main(int argc, const char * argv[])
      @autoreleasepool
        // insert code here...
        NSLog(@"Hello, World!");
        NSString  * module = @"coolmodule";
        NSString * method = @"slickmethod";
        //NSArray * params = @[@"The", @"Quick", @"Brown", @"Fox"];
        NSString * params = @"TheQuickBrownFox";
        NSString * url = @"http://localhost/~jdaniel/test.php";
        NSDictionary * data  =
          [NSDictionary
            dictionaryWithObjectsAndKeys:
              module, @"module",
              method, @"method",
              params, @"params",
              nil];
        //NSString *jsonMessage = [data JSONRepresentation];
        //NSData * jsonMessage =
        //  [NSJSONSerialization
        //    dataWithJSONObject: data options: 0 error: nil];
        NSMutableArray * content = [NSMutableArray array];
        for(NSString * key in data)
          [content
            addObject: [NSString stringWithFormat: @"%@=%@", key, data[key]]];
        NSString * body = [content componentsJoinedByString: @"&"];
        NSData * bodyData = [body dataUsingEncoding: NSUTF8StringEncoding];
        NSMutableURLRequest * request =
          [[NSMutableURLRequest alloc] initWithURL: [NSURL URLWithString:url]];
        //NSString * msgLength =
        //  [NSString stringWithFormat: @"%ld", [jsonMessage length]];
        NSString * msgLength =
          [NSString stringWithFormat: @"%ld", [bodyData length]];
        [request
          addValue: @"application/x-www-form-urlencoded; charset=utf-8"
          forHTTPHeaderField: @"Content-Type"];
        [request addValue: msgLength forHTTPHeaderField: @"Content-Length"];
        [request setHTTPMethod: @"POST"];
        //[request setHTTPBody: jsonMessage];
        [request setHTTPBody: bodyData];
        NSData * requestData =
          [NSURLConnection
            sendSynchronousRequest: request returningResponse: nil error: nil];
        NSString * get =
          [[NSString alloc]
            initWithData: requestData encoding: NSUTF8StringEncoding];
        NSLog(@">%@<",get);
      return 0;
    I have written this type of low-level server in PHP using the Zend framework. I don't know how to do it in basic PHP and wouldn't bother to learn.
    Also, you should review how you are sending data. I changed your example to send the appropriate data and content-type for the $_POST variable. If you had a server that could support something else, you could use either JSON or XML, but your data and content-type would have to match.

  • HT1766 How restore just one app data?

    Can one restore just the backup data for a single app? If not, how is this usually handled, say if there is some crash in the app?

    I guess the easiest way to explain it is that whatever data or files were in that app on that day that you created the backup will be restored fully and will look exactly like they did on that day.
    Lets say you are using a Word Processor app for example. You make changes to say several files on a certain day. You create a backup that night. The next day you made changes to all those files again. You don't backup this time. Something goes bad the next day, and you need to restore from the backup. When you restore from that backup, those files will be exactly as they were on the day that you last backed up.
    The only thing is - every file in every app on the iPad is also restored to the way it looked in that last backup. If you have spreadsheet files that you had worked on and revised on the day that you backed up - made changes the next day - that day that you did not backup - when you restore from the backup - those files revert to the way they were on the day that you backed up. The entire iPad will "look like" it did on the day that you backed up the last time.
    This talks about iOS backups
    http://support.apple.com/kb/HT4946
    This explains how to create a manual backup.
    http://support.apple.com/kb/HT1766
    Most of the time -  iTunes will create a backup when you sync. It will overwrite the previous backup when it does. I like to be proactive and create my own backups after I sync, just in case.
    Finally - You have to make the choice to restore from the backup and have to initiate it on your own. The link that I provided above explains how to so it, whether you use iTunes or iCloud for your backups.

  • How can I send registeration data from Mac machine to NT machine?

    How can i send or post data from Mac machine to NT machine without using browser? I m stucked. I want to register a customer from Mac machine by a container i.e. Form having awt components etc. and send it to NT machine to trigger it into SQL Server. Can i use Servlet for this purpose? The problem is client machine have Mac and no browser. But host machine is NT based.

    Thanks !
    I have got that one. But its documentation API describes very little information. I could not properly follow. if there is some help to start up in HTTP client?
    Can i use classes of HTTP client in my application and why i need it, I m not following as well. Please describe reply in detail.

  • How shall i send user data to servlet by an Applet in way Form does

    it is clear that URL class provides way to connect to remote web resource. and furthermore i am trying to make an applet perform like a Form in html to send user data to a servlet. i may adhere a long name-value string to url sent by applet but this is not a good way to hide information like hidden variables. Is there any class in J2SE package that i can wrap those Form data and send them in the way Form does...?
    cheers!

    It's not a matter of form vs. not-form, it's a matter of HTTP types.
    Basically HTTP allows a connection to be of various types: GET, POST, HEAD, and some lesser used ones like DELETE which many servers won't support anyway. GET is usually used for link clicks, and puts its arguments as name/value pairs as part of the resource name. POST sends it as body data, also as name/value pairs.
    In Java, the way you do this is, starting with your URL object, get an HttpURLConnection object. Then call setRequestMethod on that HttpURLConnection object. If I recall correctly the rest is basically the same.
    Check the docs for details and stuff I may have forgotten or got wrong. Also check RFC 2616, which is the HTTP specification.

  • I want to send the data on internet using my laptop as a hotspot of wifi ?

    Dear Team,
    I have created an I/O server & sucessfully made communication with Modbus RTU device.
    Now I want to send this data on an internet.
    I have a laptop, which i have made hotspot using connectify.
    so i wish to transmit the data via wifi hot spot.
    How to transmit the data via wifi from laptop ?
    Can any one help me out on this...

    This is the easy part. Once you connect via the hotspot you can communicate using your standard internet protocols. Is the application accessing you laptop also running code you have written in
    LV?
    If so there are examples that show how to transfer data via a TCP/IP connection.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How can I make the data persistent when using plist ?

    I have a UITableView table1. And when I touch any cell in the table a new UIViewController appears and it have two UITextField's name and description. After entering the data in both the text fields I used the save button to save them. In save method I wrote the code for the data to be stored in plist.
    -(void)save:(id)sender
    indexOfDataArray = temp;
    NSString *string1 = [[NSString alloc]init];
    NSString *string2 = [[NSString alloc]init];
    string1 = nameField.text;
    string2 = descriptionField.text;
    NSDictionary *myDict = [[NSDictionary alloc] initWithObjectsAndKeys:string2, string1, nil];
    [myArray addObject:myDict];
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0];
    NSString *path = [documentsDirectory stringByAppendingPathComponent:@"VideoData.plist"];
    [myArray writeToFile:path atomically:YES];
    UIAlertView *alertMesage = [[UIAlertView alloc] initWithTitle: @"Save Alert" message:@"The data entered is saved" delegate:nil cancelButtonTitle:@"cancel" otherButtonTitles:nil] ;
    [alertMesage show];
    [alertMesage release];
    [myArray retain];
    But the problem is every time I restart my application the data in the plist is deleted. How can I retain the data in the plist name I specified ?

    I think yes, I am specifying only one file name to store in the path. I understood my where I am wrong.
    If I added data in plist for two items(item1 and item2). And again I need to add next two items(item3 and item4) . How can I make item3 and item 4 do not replace item1 and item2 ?
    Thank You.

  • How to totally turn off data traffic when using ma...

    Nokia N8-00:
    I only use the integrated gps and have turned off the assisted gps, net based gps and Wi-Fi/Network but when accessing maps it still generates data traffic.
    Normally this is´nt a problem but when traveling abroad data traffic costs a small fortune.
    In my old N95 when I downloaded offline maps and turned everything but integrated gps off there was no data traffic at all but even after the latest maps updates (i.e. yesterday) it appears that the maps still needs downloading when accessed...
    Any suggestions how to completely avoid data traffic when using maps?

    Set all destinations to always ask and select no whenever the phone gives you a request, set Maps to offline, and set location to just use intergrated GPS. By the way, just been to Portugal using Vodafone and data charges only about £5 for week, and they've just improved allowances, may be worth checking your service providers web site and see if it's necessary to bother about data roaming, they all tend to follow each other, and Data roaming charges in europe seem to be coming down !
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • How to delete a single data from table using control file

    I want delete a single row data from table using sql loder control file
    Edited by: 977940 on Dec 19, 2012 9:00 PM

    977940 wrote:
    I want delete a single row data from table using sql loder control file
    Edited by: 977940 on Dec 19, 2012 9:00 PMWhy?
    And how do you imagine this happening with sqlloader?
    The entire purpose of sqlloader is to load data (hence, the name sql*loader*) into a table from an external source. If you want to delete rows from a table, you use the sql DELETE statement.
    What is the business problem you are trying to solve?

Maybe you are looking for

  • Jabber for Windows - periodically tries to re-install and fails

    Jabber 9.1 CUCM 7.1.3 Windows 7 32 bit Cisco Presence   8.0.2.10000-30 Jabber for windows - periodically tries to re-install and fails. After install Jabber works for awhile but then when trying to open another program(Outlook, IE Explorer) it tries

  • Error while trying to empty trash on mail

    hi there, i use my gmail account on the mail app and i often get an error messages after im trying to move mails from one folder to another as i quit, then i hit 'ok' and the only way i can quit the app is using 'force quit', any idea what is wrong??

  • Use of  date as a datatype(Jdeveloper) for varchar2(in database)

    hi, i have a column requestdate(DB column) with Varchar2 as datatype, and i am binding this column to MessageText item(Using VoAttribute) in Jdeveloper which is declared as Date datatype, I am getting the following error. I want the dataPicker to be

  • Unix file to be converted to proper excel format

    Hi Ima writing data to unix file but when i want to download from there in excel format i data is not not aligned in excel format please let me know the seperator to be used to upload to unix which can be converted to excel with good alignment. i tri

  • Oracle Performance 11g - Warning: log write elapsed time

    Hello , We are facing quite bad performance with our SAP cluster running Oracle 11g . In the ora alert file we are having constant message for " Thread 1 cannot allocate new log, sequence xxxxxx Private strand flush not complete" However , this seems