Best way to link queue type to data typdef

I am using "Obtain Queue" to create a multiple queues from multiple TypeDef formated data clusters. I want to then put these queue references in a cluster of their own so I can refer to them where necessary in my code. When I modify the data types by editing the corresponding typdefs I would like for the queue references to change accordingly. In other words I think I need to link the queue references to the data typedefs.  What is the best way to do this?
For instance, If I create a cluster of queue rerences using bundle by name I would have to create an input cluster with a format that would update as I change my origianl data typedefs. Can this be done, and if so how?
Possibly the "problem" is due to my dsire  to have a nice "bundle by name" cluster for clarity in my code. I suppose if I used an array this isn't a problem. That is not as elegant a solutions, but I guess elegance is sometimes in the eye of the beholder.
Any suggestions?
Solved!
Go to Solution.

Did you replace any constants that you had on the block diagram with the typedefed version? All instances that you ar eusing need to use the typedef.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • Theory - Best way to store this type of data for retrieval?

    Hi everyone,
    So I'm pretty new to databases and I'm trying to figure out an efficient way to retrieve this kind of data:
    an ID that is 36 digits long
    col1 = {option1, option2, option3...}
    col2 = {option1, option2, option3...}
    coln = {option1, option2, option3...}
    I need to be able to perform queries on the data based on some concatenation of 3 digit sequences for the ID
    for example, I may want to retrieve all the records where the ID begins with '123' or where the ID begins with '123123', or '123123200', etc,
    There are going to be close to a billion if not more of these records
    the 3 digit sequences will always be a number between 000-255
    It is not necessary for me to have a 36 digit long ID, I simply chose that because it seemed like the simplest way to associate a record with its combination of 3 digit sequences.
    Like I said, I'm very new to databases. I've been doing a lot of reading on indexing and clustering and nested tables and partitions, but I'm not quite sure which of these I should pursue with this kind of data. Most of the examples that I've read about don't really deal about querying with variable precision.
    Would the best way to get this data simply be to use an 'is like' statement on the ID? If so, are there any kinds of indexing I should take a look at that would benefit from knowing that the is like statements would follow the format of <3 digits,3 digits,3 digits>? Also, at the data level, would it be more efficient to use hexadecimal to store the sequences of 3 digits since they conviently fall in the range of 00-FF? I'm just throwing ideas out there, I haven't found much help browsing the web, but maybe I haven't looked in the right place. If anyone has any ideas or places to redirect me, it would be great!
    Also, I know sometimes it helps to know the main kind of queries on the data that someone is primarily concerned about. In this case, most queries will be selective counts, for example finding the number of records whose ID's begin with '123006011' and col1='option1'.
    Thanks,
    Alex
    Edited by: user9022475 on Jun 23, 2010 9:37 AM

    So I'm starting to rewrite my code. I was shocked at how easy it was to implement the SAX parser, but it works great. Now I'm on to doing away with my nasty string arrays.
    Of course, the basic layout of the XML is like this:
    <result1>
    <element1>value</element1>
    <element2>value</element2>
    </result1>
    <result2>
    I thought about storing each element/value in a HashMap for each result. This works great for a single result. But what if I have 1000 results? Do I store 1000 HashMaps in an ArrayList (if that's even possible)? Is there a way to define an array of HashMaps?

  • Best way to link user form with user table

    Hi all.
    What is the best way to link an user form with a user table (with all of the functions, add, update...)? I have created a simple form, and the question is next:
    depending the type object of the user table (document, master...) i have facilities to imlement the basic operations in the form?  if i create an UDO i have the functions but i want to use the form that i created with a screen painter.
    Thanks.

    Hi again i want add a new comment please.
    If i want do all functions (add,update...) of my form in my user table, and i want my user table is a <b>type document</b>? how can add new lines in my user table with objet <b>type document</b>? because when i make the instance i nedd to say what type of document is (item,order...) and when i do an add(), not add() in my user table. In what moment or how can assign that the add,update functions... affect in my table?
    Thanks again.

  • What is the best way to link 4 Airport units together wirelessly?

    Hi guys,
    I have a home with tick walls and creating  a decent wireless network was always a challenge. Recently I’ve decided to go for Apple products since I had a 4th gen airport express that worked well for airplay.
    I bought a new time capsule, airport extreme, and one airport express. So in total I have 4 apple devices that I can use for creating a good wireless network. But what I found out is that having a full signal doesn’t mean that you will have good speeds, and speeds are really slow like 3Mb/s max on some places on the house.
    The way that everything is configured at the moment is that I’ve configured the time capsule to be the main router and with the other three I’ve spreaded them over my house and selected the option to extend a wireless network using Airport Utility 6.2 on OSX.
    What is strange that I have a full signal on almost all corners but very bad speeds. I did some research and found a tool that would show what the less crowded channel that you can choose for you wireless network (http://tools.meraki.com/stumbler)
    In all my experience of extending a wireless network I’ve always used routers with DD-WRT so I could select the router to be a repeater bridge (and have two distinct networks, with different names) or link the routers with WDS linking them using the MAC address. In both cases all the documentation I’ve read recommended to set all routers of the same network with the same channel.
    When I used the stumbler tool to see what channel my network was, since it was set as automatic because it’s the recommendation of Apple documentation, I found out that all 4 routers were operating on different channel on both 2.4Ghz frequencies and 5Ghz frequencies.
    What is strange with the wireless network is that sometimes when it is really slow the speed of the internet, if I disconnect from the wireless network and connect again it gets a better connection, like I was connection to a closer router. But after sometime speeds get crappy again, like it changed to the far router again.
    My question is, what is the best way to link all this routers together wirelessly? Is there a way to make them to be all on the same channel? Is that important?
    On the Airport Utility 6.2 I don’t see any field that would make possible to link this routers using WDS. On the internet I found some documentation for configuring the routers with WDS with the Airport Utility 5.6.
    All my routers are updated to the latest version (7.6.3). Please let me know how to proceed to have a decent network on my house. I wouldn’t mind having the network set with different SSIDs but it would be better to use the same network name on all the house.
    Thanks in advance,
    Tiago

    At the moment it is configured like this.
    [IMG]http://img254.imageshack.us/img254/6403/capturadetela20130210s2.png[/IMG]
    My problem is that the signal its strong but speed isn’t. On Wifi stumbler I saw that every router is set to be on a different channel, they had to be the same no?
    If its really slow if I disconnect and connect again from the network. It gets faster, like it connected to a closer router or something.
    All are set to extend a wireless network.
    Regards,
    T

  • What is the best way to link macbookpro to harman kardon 5.1 home cinema set to be able to play music from my iTunes lib.?

    what is the best way to link macbookpro to harman kardon 5.1 home cinema set to be able to play music from my iTunes lib.?

    Orca Sn10 wrote:
    Thanks for your help. How do I do it with the iTunes on the PC. All my music is on an external hard drive and not in iTunes
    Thanks in advance
    Nick
    Nick,
    You will need a Windows PC with iTunes running and a working copy of Windows Media Player available on the machine.  (iTunes calls WMP for the conversion from WMA).  Then just drag the WMA file(s) into the iTunes Music window.
    iTunes will detect it and give you the dialog shown below, to which you choose "Convert."  iTunes will create a new version in the format/bitrate set in your Import preferences (MP3 in my example below), and immediately add it to your iTunes library.
    The WMA original will be left in place, so you can delete it if you have no other need for it.

  • I have a PPC iMac 10.4.11 and will shortly buy a new i Mac.  What is the best way to transfer all my HD date from old to new? Thank you!

    I have a PPC iMac 10.4.11 and will shortly buy a new i Mac.  What is the best way to transfer all my HD date from old to new? Thank you!

    Migrating from PPC Macs to Intel Macs:
    https://discussions.apple.com/docs/DOC-2295
    How to use Migration Assistant:
    http://support.apple.com/kb/HT4413?viewlocale=en_US
    http://support.apple.com/kb/TS1963
    Troubleshooting Firewire target disk mode:
    http://support.apple.com/kb/HT1661

  • My Mum( a pensioner) is wanting to purchase both an iPhone and iPad.  What is the best way for her to manage her data /calls/txt etc. obviously the cost needs to be as low as possible.  Currently does not have WiFi but uses dongle

    My Mum( a pensioner) is wanting to purchase both an iPhone and iPad.  What is the best way for her to manage her data /calls/txt etc. obviously the cost needs to be as low as possible.  Currently does not have WiFi but uses dongle

    My Mum( a pensioner) is wanting to purchase both an iPhone and iPad.  What is the best way for her to manage her data /calls/txt etc. obviously the cost needs to be as low as possible.  Currently does not have WiFi but uses dongle

  • What is the best way to transfer all of my data from my iPod touch 3rd generation to my iPhone 4s?

    I have a 3rd generation iPod touch, and now I am getting an iPhone 4s. What is the best way to transfer all of my data, including paid-for apps and music, from the iPod to the iPhone without losing anything? Can I just do it through iTunes or the iCloud? I have never used iCloud before.

    Follow the directions here:
    http://support.apple.com/kb/HT2109

  • What is the best way to organize queue in R/3?

    Hi,
    I'm in a middle of a project, where I should implement queue in order to sync data between 2 systems - r/3 and legasy one. I have few user exits (or bussiness events), which could be rised concurently in time, and I need only 1 instance of the sync module to run at a time. Well, I know the technique to prevent a program from running in multiple processes, and I have an idea how to organize a queue (my idea is to use transparent table to track actions which should be sync-ed), but there allways are some 'bottlenecks' that should be considered in such an implementation.
    That's why it might be of great help if someone could share his/her knowledge on this topic or point me to the right paper/docu, if available.
    I just don't want to reinvent the wheel, if possible
    Many thanks in advance.
    Regards,
    Ivaylo Mutafchiev
    SAP BC Consultant - ABAP developer
    Varna Bussiness Services Ltd.

    I'm not sure why you don't just invent a generic data structure (e.g., table name, list of column names and aliases of column names) such as:
    class QueryMetaData {
      private final String tableName;
      private final String[] columnNames;
      private final String[] columnAliases;
    }Read into the above structure from a properties file, database table, etc. You can store meta-data itself in places other than enum constants, particularly if would like to change the meta-data without requiring a new build of your application.
    That having been said, WRT to your specific questions:
    (1) Finally, from your experience, what is the best way to organize all that stuff?See above
    (2) I have heard that smart Java programmer should avoid using the enums by any means. Do you agree?Enums are better than simple constants using int or String or something similar. If there are known, discrete values unlikely to change frequently, I see no issues with an enum. They improve the readability of code, and there are enough syntactic sugar features in the language (switch statements come to mind) to make them appealing.
    (3) Generally what will you prefer when creating a constant which has two values: two final Integers or enum?
    See above. Enums were introduced (in large part) to do away with storing constants as integers.
    - Saish

  • Best way to record 50 kS/s data to file

    I am trying to read data from a DAQ at a sampling rate of 50 kS/s and record it to a file. My application needs to run for at least a few hours. Initially, I tried a producer-consumer loop pattern with a Write to Measurement File Express VI, but it wrote the data too slowly, and my queue filled up. Now I am trying to use the Write to Spreadsheet File VI with or without a producer-consumer loop pattern (see attached VIs). Both seem to write data to file, but neither writes the number of datapoints I would expect (both have far fewer datapoints).
    What is the best way to write this data to file? This seems like a basic question, so if it has already been discussed at length in another forum, or if there are examples of it which someone could direct me to, that would also be appreciated.
    Thank you!
    Solved!
    Go to Solution.
    Attachments:
    Record Data 8-7-13 with Producer Consumer.vi ‏54 KB
    Record Data 8-7-13 without Producer Consumer.vi ‏48 KB

    I agree that TDMS is probably the best way to go for fast data streaming.
    I also want to point out that you can read TDMS files with some spreadsheet software. This makes it easier to manage and provides a method for human readability.
    Add in tool for Open Office Calc
    http://www.ni.com/white-paper/6849/en
    Add in tool for MS excel
    http://www.ni.com/white-paper/4906/en
    Jeremy P.
    Applications Engineer
    National Instruments

  • Best way to store, present en input date/time

    Hi!
    I hope I can make myself clear. I'm designing an APEX application that has a couple of different date-type fields. That application is going to be translated in two different languages, that has different date/time representations. For example: dd-mon-yyyy hh12:miAM and dd-mm-yyyy hh24:mi. I'm now finding out what's the best way to store those date/time fields and hou I can present them in a report/form and how the user can enter them in a field.
    This is what I see:
    - I can set an application date format/application timestamp format. This has to be the in the format of the main language, in this case, English.
    - I also can make translated versions of the application. QUESTION: can I enter a different date format for the translated application?
    Do I have to make my fields of the date type or timestamp type?
    I hope someone can answer. If I'm not clear, please tell me!

    You can set the application date format using an application item
    &DATE_FORMAT_MASK.
    and set this item dynamically.
    Home>Application Builder>Application ####>Shared Components>Edit Globalization Attributes
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • What is the best way to read and manipulate large data in excel files and show them in Sharepoint

    Hi ,
    I have a large excel file that has 700,000 records in it. The excel file has a few columns that change every day.
    What is the best way to read the data form the excel file in fastest and most efficient way.
    2 nd Problem,
    I have one excel file that has many rows each row contain some data that has certain keywords.
    What I want is  to segregate the data of rows into respective sheets(tabs ) in the workbook.
    for example in rows have following data 
    1. Alfa
    2beta
    3 gama
    4beta
    5gama
    6gama
    7alfa
    in excel
    I want there to be 3 tabs now with each of the key words alfa beta and gamma.

    Hi,
    I don't really see any better options for SharePoint. SharePoint use other production called 'Office Web App' to allow users to view/edit Microsoft Office documents (word, excel etc.). But the web version of excel doesn't support that much records as well
    as there's size limitations (probably the default max size is 10MB).
    Regarding second problem, I think you need some custom solutions (like a SharePoint timer job/webpart ) to read and present data.
    However, if you can reduce the excel file records to something near 16k (which is supported rows in web version of excel) then you can use SharePoint Excel service to refresh data automatically in the excel file in SharePoint from some external sources.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • What is the best way to store and search 2D data

    Hi,
    There is a set of data (~10k records ) in 2D dimension.
    like this :
    Col 1, Col 2, Col3....
    What is the best way to store and search those records ?
    Thanks in advance
    Wilson

    Hi,
    Either userObjet[][] if you know how much data you have, and the data size is fixed, or use a list of lists. E.g. A Vector of Vectors (some will probably say that you should use an ArrayList instead, and that could be the case, but it sounds like you would want to display the data later on, and a DefaultTableModel (for JTables) uses a Vector as data holder).
    Kaj

  • What is the best way to write 10 channels of data each sampled at 4kHz to file?

    Hi everyone,
    I have developed a vi with about 8 AI channels and 2 AO channels... The vi uses a number of parallel while loops to acquire, process, and display continous data.. All data are read at 400 points per loop interation and all synchronously sampled at 4kHz...
    My questions is: Which is the best way of writing the data to file? The "Write Measurement To File.vi" or low-level "open/create file" and "close file" functions? From my understanding there are limitations with both approaches, which I have outlines below..
    The "Write Measurement To File.vi" is simple to use and closes the file after each interation so if the program crashes not all data would necessary be lost; however, the fact it closes and opens the file after each iteration consumes the processor and takes time... This may cause lags or data to be lost, which I absolutely do not want..
    The low-level "open/create file" and "close file" functions involves a bit more coding, but does not require the file to be closed/opened after each iteration; so processor consumption is reduced and associated lag due to continuous open/close operations will not occur.. However, if the program crashes while data is being acquired ALL data in the buffer yet to be written will be lost... This is risky to me...
    Does anyone have any comments or suggestions about which way I should go?... At the end of the day, I want to be able to start/stop the write to file process within a running while loop... To do this can the opn/create file and close file functions even be used (as they will need to be inside a while loop)?
    I think I am ok with the coding... Just the some help to clarify which direction I should go and the pros and cons for each...
    Regards,
    Jack
    Attachments:
    TMS [PXI] FINAL DONE.vi ‏338 KB

    One thing you have not mentioned is how you are consuming the data after you save it.  Your solution should be compatible with whatever software you are using at both ends.
    Your data rate (40kS/s) is relatively slow.  You can achieve it using just about any format from ASCII, to raw binary and TDMS, provided you keep your file open and close operations out of the write loop.  I would recommend a producer/consumer architecture to decouple the data collection from the data writing.  This may not be necessary at the low rates you are using, but it is good practice and would enable you to scale to hardware limited speeds.
    TDMS was designed for logging and is a safe format (<fullDisclosure> I am a National Instruments employee </fullDisclosure> ).  If you are worried about power failures, you should flush it after every write operation, since TDMS can buffer data and write it in larger chunks to give better performance and smaller file sizes.  This will make it slower, but should not be an issue at your write speeds.  Make sure you read up on the use of TDMS and how and when it buffers data so you can make sure your implementation does what you would like it to do.
    If you have further questions, let us know.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • What is the best way to move all of my data from an iPad 4 to an air?

    Santa brought an iPad Air and I need to transfer my data and apps from the old iPad I have had.  Help on the best way to do this since I played with the new machine yesterday and some of the things transfered but not all.
    Thanks!

    How to Transfer Everything from an Old iPad to New iPad
    http://osxdaily.com/2012/03/16/transfer-old-ipad-to-new-ipad/
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Moving Content to a New iPad
    http://tinyurl.com/qzk2a26
    Transferring your prepaid cellular data account depends on your carrier. AT&T lets you move it yourself when you go to Cellular Data in Settings and log into your account with your previous AT&T user name and password. For iPads with Sprint service, you can set up an account on the new iPad and contact Sprint Customer Care (888-211-4727 and go through the menus) to deactivate the old plan and get credit for unused service. For Verizon, call the company’s customer service number for mobile broadband support (800-786-8419) and ask to have your account transferred.
     Cheers, Tom

Maybe you are looking for

  • How to draw custom line in crystal report without manually entering value?

    Hi, I have a bubble chart and want to represent custom lines one in x-axis and one in y-axis at the value arrived based upon an internal calculation.There is an option to manually enter value for custom line. But i want to generate custom line at run

  • I am not getting User Environment Variable Value

    Hi Team, I have been Trying to recover variables values using an anonym procedure from Windows XP SP3 I have already executed following procedure. BEGIN DECLARE gf_filelog UTL_FILE.file_type; v_file_log VARCHAR2 (1024) := ' '; gv_path_log VARCHAR2 (1

  • Error in the imta log file

    Hi I have the following message in the imta log file ld3 ims_master[19481]: Store Critical: Unable to read index file for user/romanrob: Mailbox does not exist but if I do a find for the mailbox it exits in the partition directory. THis is a brand ne

  • Boot to safe mode

    hello. i am trying to perform a long-overdue system clean-maintenance on my macbook running osx 7.5 and i can't boot to safe mode using the shift key. i am sure that i have tried every possible permutation of holding down the key during startup. i se

  • Oracle EM not opening up

    HI all, I have BI services installed. I can log into oracle weblogic admin consol and see that EM service is Active. However Health status does not say anything. But I cannot get into Oracle EM. When I log in it looks like its opening up for a split