Implementing GNU Radio "tagged streams" in LabView

GNU Radio has a neat feature that allows you to "tag" a certain sample in your data stream that can be used to flag or signal action in future processing steps.  For example, within an array of data, I could look for a certain marker/sequence/code, and then place a 'tag' on that sample as a hint for a later processing stage.
To my knowledge, there is no explicit analog of this in LabView, but I've been thinking about how you might be able to do something similar.  The only idea I had was to create an entirely separate array, say of booleans, that was the same size as my data stream...but that necessitates having to carry around this other array.  Saving a smaller array of indexes of certain events could work, but doesn't really seem like an elegant solution, and could be trouble if I'm purging parts of the data stream as I go.
Anyway...has anyone thought about this at all?  I suppose it's not really a USRP thing as much as it is a programing methodolgy.  I know there probably aren't many gnuradio users here (I'm only begin to dabble in GR myself), but was hoping maybe some of the NI application wizards who see on both sides of the wall might have some ideas.
Thanks!
Brandon

Just occured to me that you could do this with an array of clusters.  One element in the cluster would be your tag (string, boolean, whatever) and the other you IQ pair.  Implementing this currently would require you to index each element of your fetch, build a cluster element, then array up all those elements again.  Doable...but have to "index down" then "build back up" the array adds a bunch of overhead.
Or...maybe you could take the polymorphic cluster data type from the Fetch.vi currently, and somehow add your own tag to that.  That might be more efficient.
Here's an even better idea!  (Erik, are you out there! ).....Could a future version of the driver just include a cluster element for a "tag"?  Currently it's what...complex sample, t0, and dt....right?  Add us a tag element!!!
Brandon

Similar Messages

  • GNU radio versus LabVIEW

    LabVIEW seems to be the easy and straigh-forward software to use NI USRPs. I don't know much about LabVIEW but I know a bit about programming in GNU radio. It seems extremely flexible and attractive, at least for a programmer.
    So my question is that am I going to face too much trouble to get the NI USRP to work with GNU radio? I read here and there about the FPGA image and firmware. I'd rather not touch the hardware for now, as other people are going to use it, probably via LabVIEW.
    Thanks.
    Solved!
    Go to Solution.

    If you're looking to get started with LabVIEW and NI USRP, all you need is a copy of LabVIEW and the NI USRP.  Once everything is installed you can run the examples within 5 minutes.
    We've seen and shared examples with up to 8x8 MIMO and 256 QAM modulation with USRP and LabVIEW.
    MIMO with LabVIEW and USRP:  http://www.ni.com/white-paper/14311/en/
    Downloads:
    LabVIEW Evaluation:  http://www.ni.com/trylabview/
    USRP Drivers and toolkits (ship with NI USRP on Getting started DVD) 
       NI USRP 1.2 Driver: http://joule.ni.com/nidu/cds/view/p/id/3696/lang/en
    Example program community (in addition to those that ship with the driver): https://decibel.ni.com/content/groups/ni-usrp-example-labview-vis?view=documents
    A great place to get started:  http://www.ni.com/white-paper/14518/en/
    Regards,
    Erik

  • GNU radio and LabVIEW simultaneously on USRP 2920

    I also need to use GNUradio on USRP 2920 on Linux. Can I use LabVIEW(on windows) and GNU radio(on Linux) on USRP 2920 simultaneously using the same FW/FPGA ??
    Or do I need a separate USRP 2920 with different FW/FPGA for that ?
     I am using LabVIEW on 2920 on Windows but I wish to use GnuRadio on 2920 on Linux as well. Any guidance on how to do that would be appreciated.
    Regards.

    Hello,
    The 1.2 version of NI-USRP is built off of UHD version 003.004.004. This means that if you want to use GNU Radio on a Linux box and not have to change the FW/FPGA back and forth between the two, you need to use UHD 003.004.004.
    If you would like to use a newer version of UHD on Linux with GNURadio, you will need to update/change the firmware and FPGA images each time you switch which driver you are using.
    Please let me know if that helps. Thannks
    Cameron T
    Applications Engineer
    National Instruments

  • I have a Sony radio in my car.   With IOS  4 on my IPhone I could use the docking plug to the usb input on the radio and stream ESPN radio or pandora to the radio.  After upgrading to IOS 5 on the phone the Sony radio will not recognize the phone .  Any t

    I have a Sony radio in my car.   With IOS  4 on my IPhone I could use the docking plug to the usb input on the radio and stream ESPN radio or pandora to the radio.  After upgrading to IOS 5 on the phone the Sony radio will not recognize the phone .  Any thoughts.

    I am reading on this site about the error I am getting and it wants me to change some files that I am not comfortable messing with. Mainly because it is like a foreign language. Will the store do this for me or tell me if it is neccessary?

  • [svn:osmf:] 15001: Implement a better http streaming unit testing structure .

    Revision: 15001
    Revision: 15001
    Author:   [email protected]
    Date:     2010-03-24 15:14:02 -0700 (Wed, 24 Mar 2010)
    Log Message:
    Implement a better http streaming unit testing structure.
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/HTTPStreamingTestsHelper.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/f4f/TestAdobeBootstrapBox.as
    Added Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeBootstrapBoxDescriptor.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeFragmentRunTableDescriptor. as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeSegmentRunTableDescriptor.a s
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/FragmentRunTableEntryDescriptor. as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/SegmentRunTableEntryDescriptor.a s

    Revision: 15001
    Revision: 15001
    Author:   [email protected]
    Date:     2010-03-24 15:14:02 -0700 (Wed, 24 Mar 2010)
    Log Message:
    Implement a better http streaming unit testing structure.
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/HTTPStreamingTestsHelper.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/f4f/TestAdobeBootstrapBox.as
    Added Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeBootstrapBoxDescriptor.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeFragmentRunTableDescriptor. as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/AdobeSegmentRunTableDescriptor.a s
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/FragmentRunTableEntryDescriptor. as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/SegmentRunTableEntryDescriptor.a s

  • How to implement metadata keyword tags

    Can someone please advise me on how to implement meta keyword tag <meta name="keyword" content="..."> for individual community page? We have a set of keywords for each community page. I know we can just add the line above to base page layout if they are common keywords to all the community page but not sure whats the best way to add unique set of meta keyword tags to individual community page? FYI - We are using UCM for managing content for our site.

    I always did this using a property on the page object.
    1. Create a new property called "meta-keywords" and associate it to the community pages object through the global object property mapper utility.
    2. Edit your community page and add any keywords you desire.
    3. Write a custom tag for said property that takes a uuid as input (this way you can migrate and the tag remains the same.
    4. same idea works for any meta tag.
    Note: you are limited to 255 characters this way.
    Or you can probably code some kind of tag that reads from UCM as well, but i always did it the above way.
    Here is a tag example:
    public class MetaPropertyCurrentPage extends ATag {
         private OpenLogger log = OpenLogService.GetLogger(
                   OpenLogService.GetComponent(PTDebugHelpers.COMPONENT_PORTAL_COMMON),
                   "customizations.tag.standard.MetaPropertyCurrentPage");
         public static final RequiredTagAttribute UUID;
         public static final ITagMetaData TAG;
         static {
              TAG = new TagMetaData("currpageproperty",
                        "Displays the value of the property in the current page from the uuid.");
         UUID = new RequiredTagAttribute("uuid", "The UUID for the property you want to open.",
    AttributeType.STRING);
         @Override
         public ATag Create() {
              return new MetaPropertyCurrentPage();
         @Override
         public HTMLElement DisplayTag() {
              log.Info("Entering meta lookup");
              String objectid;
              String classid;
              HTMLElement result = new HTMLElementCollection();
              IEnvironment env = GetEnvironment();
              AActivitySpace owner = TaskAPIUICommon.GetEnvTypeObject(env);
              //get pageid
              int pageid = TaskAPIUICommunity.GetCurrentCommunityPageID(owner);
              //check if not a community page
              if (!TaskAPIUICommunity.IsCurrentPageCommunityPage(owner))
                   return result;
              //convert to objectid
              try
                   Object[] objectAndClassId = ((IPTMigrationManager)(((IPTSession)GetEnvironment()
                   .GetUserSession()).OpenGlobalObject(PT_GLOBALOBJECTS.PT_GLOBAL_MIGRATION_MANAGER,
                   false))).UUIDToObjectID(GetTagAttributeAsString(UUID));
                   objectid = objectAndClassId[PT_MIGRATION_OBJECT_COLS.PT_MOC_OBJECTID].toString();
                   log.Info( "found objectid" + objectid);
                   classid = objectAndClassId[PT_MIGRATION_OBJECT_COLS.PT_MOC_CLASSID].toString();
                   //check to make sure its a property
                   if (Integer.parseInt(classid) != PT_CLASSIDS.PT_PROPERTY_ID)
                        return new HTMLComment("UUID does not belong to a property");
              catch (Exception e)
                   log.Error(e, "error getting the objectid from the UUID.");
                   return null;
              //now get the property from it
              IPTSession session = (IPTSession)GetEnvironment().GetUserSession();
              IPTObjectManager objMgr = session.GetPages();
              IPTPage page = (IPTPage)objMgr.Open(pageid, false);
              log.Info("Page name: " + page.GetName());
              IPTQueryResult qresult = page.GetObjectProperties().GetSinglePropertyData(Integer.parseInt(objectid), PT_PROPIDS.PT_PROPID_PROP_VALUE);
              if (qresult.Data() != null)
                   IPTObjectManager objMgr2 = session.GetProperties();
                   IPTProperty prop = (IPTProperty)objMgr2.Open(Integer.parseInt(objectid), false);
                   String propName = prop.GetName();
                   log.Info("Property name is: " + propName);
                   String value = (String) qresult.Data()[1][0];
                   if (lang.equalsIgnoreCase(propLocale) && value != null && !value.equalsIgnoreCase(""))
                        result.AddInnerHTMLString("<meta name=\"" + propName + "\" content=\"" + value + "\" />");
              else
                   log.Info("Property Value not found.");
              return result;
         }

  • Does anybody implement the Kolmogorov-Smirnoff Test in LabVIEW?

    I would like to implement the K-S test using LabVIEW. Does anybody know if that has been done already?
    Thanks

    Hi Dan07!
    I did a search of NI's internal database, and did not uncover a case where this has been done before.  Of coursem, that doesn't mean someone hasn't done it, it just means we don't have a record of it.  I would maybe start by modifying a stat test VI that ships with LabVIEW.  Maybe the t-test? If you create a VI to do the K-S test I would highly encourage you to post in on our Developer Zone Community, so that you can share your code with others in your shoes.  Best of luck!!
    Kristen H.

  • When does iTunes supports  AAC+ / MPEG4 radio live streams?

    I like listening radio live streams thru airTunes on my stereo. Unfortunately at the moment the swiss national radio station does not support iTunes as e.g. www.kcrw.com. They answered they will jump one step further to AAC+ / MPEG4 as new standard formats. But of course iTunes does not support this new standard either. Has anyone a clue if iTunes will support these new formats? thanks
    MacBook Pro A1212   Mac OS X (10.4.9)  

    Due wrong chapter in forum closed and reopened: http://discussions.apple.com/thread.jspa?threadID=997046

  • NI Scope Streaming for LabVIEW 8.0

    I am currently working on a data streaming project.  I have been in touch with an NI rep, and he suggested the ni-scope-streaming-basic/advanced examples from the "NI-SCOPE Stream to Disk Using Win32 File IO" page (http://zone.ni.com/devzone/cda/epd/p/id/5273).  Although the recommended software says "LabVIEW 8.0 or above" - I have LabVIEW 8.0 (FDS) and am unable to open the files.  I get an error telling me LabVIEW 8.2 is newer than 8.0.
    I was wondering if someone has built the project in version 8.0 or older.  If so, I could you please post it?  If nobody has had this problem before, could you please post a screen shot of the vi in version 8.2 so I can attempt to build it on my own?
    Any help would be greatly appreciated.
    Eric

    Hi Eric,
    Thank you for letting us know that the 'basic example' cannot be opened in LabVIEW 8.0 - I will get this fixed. I saved the 'basic example' in LabVIEW 8.0 and attached it below.
    David L.
    Systems Engineering
    National Instruments
    Attachments:
    ni-scope-streaming-basic (LabVIEW 8).zip ‏461 KB

  • Can XM radio be streamed though Itunes on an Imac?

    Can XM radio be streamed though Itunes on a mac and/ or streamed though my IMAC so I can stream it though Apple TV?

    Greetings,
    I am doing something very similar, I hope it's fine to bump this already existing topic.
    I have an Imac g4, 1.ghz model.  I was thinking about putting all of my media on the imac and then using an apple tv to stream it.  I am not sure if the apple tv is capable of pulling hd quality video from the imac g4 when the imac itself cannot play the hd video.  Does the apple tv just pull data or is the data being transcoded by the host machine?

  • Nokia Internet Radio WMA-streams?

    Hi!
    Is it possible to have the Nokia Internet Radio to support radio stations streaming in WMA format. If not, any recommendations on other such programs!

    Pretty sure Nokias can't pay ACC streams.  It is a s simple as that.

  • GNU Radio

    Has anyone successfully build-install GNU Radio?
    I downloaded the latest stable version (3.0.3) and installed all the dependencies but make fails.

    The log file was too big to CODE http://www.wikiupload.com/download_page.php?id=177259
    Last edited by decimal (2007-07-13 13:16:04)

  • 10.2 screws up my desktop radio live streaming icons

    Installed 10.2 this morning.
    Previously I had radio live streaming .pls icons on my desktop which would immediately open the live streaming feed feed for the stations. After I installed 10.2 my desktop icons for the radio stations were converted to .m3u and open in Excel, but don't stream.
    I have tried dragging the stations from my music playlist to the desktop (as I originally did) but that doesn't work. Tried altering the desktop icons back to a .pls file but that doesn't work. Tried having the icons on the desktop open in iTunes by default but that takes me to an http site and doesn't work.
    Double clicking on the radio feeds in iTunes>Music opens the radio feed perfectly fine. How do I get that function to open a live stream feed from my desktop?
    What I want to do is create an alias icon on my desktop which will open a live streaming site in my Music folder in iTunes.
    Any ideas?

    This still doesn't solve the problem of iTunes not opening PLS and M3U files downloaded by Safari.
    This started happening on one of my machines after installing the update(s), but I upgraded another machine and it behaves properly. Can't figure out what happened, other than on the first machine having the problems, I didn't upgrade everything at the same time.
    Tried reinstalling iTunes again, and also Safari again, still doesn't work.
    Created a new user on the same machine, and it wants to open Boxee whenever a .pls is accessed. Removed Boxee, it wants to launch VLC. Removed VLC, then it launches TextEdit.
    Too bad that "Use iTunes for Internet Playback" button is gone.

  • XML Streaming to LabVIEW

    How could I input a streaming XML data set into LabVIEW? The XML data are measurements from an Xtorr mass spectrometer. Any help would be greatly appreciated.

    physicalchem wrote:
    How could I input a streaming XML data set into LabVIEW? The XML data are measurements from an Xtorr mass spectrometer. Any help would be greatly appreciated.
    Does your Mass Spec "spit out" XML?  An XML file has a particular structure, with required elements at the beginning and the end.  If your instrument is, indeed, spitting out what will eventually be a "legal" XML file, just over a period of time (minutes/hours), and you want to capture it all (in LabVIEW) and analyze it, that shouldn't be so difficult.  It's just text, for goodness sake -- read in text from the device when it's present, then turn around and write it to your (previously-opened) output file.
    Once all the data have been written and the file has been closed, you should have a "legal XML" file that you can then re-open with LabVIEW and parse to get the data out of it.
    If, on the other hand, you want to extract the XML data "on the fly" as it's coming in, this is a bit more difficult.  There are some packages that can probably do this (particularly if you know the expected structure of the XML data, and can "cheat" a bit in your code).  You might want to take a look at NI GXML, available (for free) from NI using the VI Package Manager (installed with LabVIEW 2013, or downloaded from the Web) -- you may be able to adapt some of their routines for your use.

  • HD radio tagged items not showing up in iTunes

    Hello,
    I have just transitioned from an imac to a mac pro and have lost the "tagged" line.  Any idea how to get it back?
    the Store category in the itunes sidebar used to have three entries, now only two are visible.
    iTunes Store
    Purchased
    "Tagged" was the third line
    Any idea how to get this back?
    Thank you.

    Hi Hobz009,
    Thanks for visiting Apple Support Communities.
    If you are tagging songs from radio on an iPod nano, try this step:
    Transfer tagged song information to iTunes
    Connect your iPod to your computer and select your iPod.
    Click Sync.
    You can find this information here:
    iTunes 11 for Mac: Purchase tagged radio songs
    http://support.apple.com/kb/PH12298
    Best,
    Jeremy

Maybe you are looking for

  • IPhoto 9.6 will no longer recognize my Library

    I just upgraded my iMac to Yosemite. Once upgraded, I had to update my iPhoto to 9.6. Now, I can't open any of my photos. This is the message I get when I open iPhoto: Caution The iPhoto Library is locked, on a locked disk, or you do not have permiss

  • Import filesystem not working?

    From what I've read, the fileSystem class (which I need to write a data file to disk from a projector) works in Flash CS4 as long as you have the AIR runtime (which I do), according to the documentation. I found quite a bit of sample code, but I can'

  • Confimation before continuing

    I am a newbie in Applescript so please bare with me... I wrote a small script in order to copy a folder from another computer to my MB. In order to avoid an accidental execution of the copy process, I need to add a confirmation dialogue before execut

  • How do I disable dictation on iOS 6?

    As I find the feature really useless, I would like to disable it entirely. On iOS 5, there was a switch in Settings - General - Keyboard, which is sadly not present in iOS 6 anymore. Disabling Siri also disables dictation, so that's my workaround for

  • Help - Mail not playing voicemail sound attachments

    Help needed please - I have got used to the amazing feature where Mail will directly play my vonage forwarded voicemails ( forwarded from my voip voicemail as wavs) . This has been an absolute life-saver and a killer feature as it means I can quickly