Is it better to make multiple arrays of data or one big array and access it many times?.

I am going to acquire up to 5 samples per second of 50 channels over 30 minutes then average ten of the channels and generate a report.  There are other bits of information needed to complete my task and graphs.  Would it be "faster" for the PC to have one large 4d array with all the information or faster to make several separate arrays?  Would it be more reliable to have one or many(fewer code lockups)?
Also,
Yes, I do mean to be using labview.  I expected this crowd to have a different perspective (and I could not find LV blog).
For each channel, I want to scale per 6 other variables per channel(nominal high, mid, low, and reading high, mid low)  So there is the channels and time, then there is the calibration values, then there is the calibrated readings.  If I put all that along with my test information in one large matrix, it would be simpler for me to remember where in the matrix each item is, but if it is in several matrixies then the "active" matrix is smaller while the other information is not used.
The sales rep for NI was indicating the computer power is much higher than I am used to.  (I have not started programming yet, I am preparing for a huge project on a "new"(2 year old)PC.)  I am trying to understand just how much power I am missing from my days of gwbasic, Q-basic and our current Visual Basic 6.0 running on XP.  This matrix question is new to me.
Solved!
Go to Solution.

I don't see where you are getting 4 dimentions for your array.  I only see 2: channel and sample.
From what you are describing, I would put any "support" information for a channel into a cluster.  So you should have an array of clusters to contain your support data.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • I shared my project and saved it as .mov but when i reopen the fcp the project is one big clip, and now i cant re-edit the video, cant see all the clips, just one big clip,,,pls help, i need to make some changes to the project..thanx

    I shared my project and saved it as .mov but when i reopen the fcp the project is one big clip, and now i cant re-edit the video, cant see all the clips, text's, effects, etc..... just one big clip,,,pls help, i need to make some changes to the project..thanx

    Hi Stephen, thanx...
    Yes, we are talking about FCP X...this is the thing:
    I worked on a project a few days ago and went to share - export movie.
    Today, i opened the FCP again, to make some changes, and when i enter to the project, it shows me as one big clip.....i dont see it says compound clip....and i tried anyways pressing break appart clips...but nothing....could it be that i made it compound before exporting it..? if so how can i recover the un-compound version >?
    I tried to import the saved .mov file, but it opens the same....as one long clip...
    Pls help...thanx.

  • Booting from thunderbolt array and accessing projects

    I'm attempting to speed up my FCPX flow on my iMac.  The biggest problem is the slow harddrive installed in the iMac and because its difficult to replace, the easiest solution is to duplicate my Macintosh HD drive to an external thunderbolt RAID-0 array and boot to it.  That way everything runs snappy.
    The problem I'm finding (aside from a few apps complaining about the 'hardware' change thinking they are on a different computer), FCPX no longer sees all my projects.  How do I get my projects back?
    Original install:
    FCPX located on 'Macintosh HD'
    Projects and media located on 'ScaryRaid' external thunderbolt RAID0 array.
    New install:
    FCPX located on 'ScaryRaid' external thunderbolt RAID0 array along with projects and media.
    -> so the only thing that 'moved' was the operating system and apps.

    I was hoping the solution was as simple as this.  Thank you!
    However, if I want to be able to access my events in both ways, creating an alias in my Movies folder to the 'Final Cut *' folders in the main directory on the drive doesn't work.  Creating soft links using ln -s doesn't appear to work either.  Is there a way to create links that FCPX will recognize?
    Thanks!

  • Can I make multiple set of Quiz in one project ?

    My project is a computer multimedia lesson , It's contain 12
    Units and there are 12 exams and 12 test ,
    Can I make 12+12 Quiz and there individual result pages...
    or another way i can manage It ,,, in off-line base.
    thank you...

    A simple approach would be to create a single 1-slide menu
    project that has buttons/click boxes that link to your other
    projects using the "open in new window" option.
    You can also create multi-unit "modules" by linking together
    multiple projects using the "Open other project" option in the
    Project preferences. This allows you to string together any
    combination of files, such as:
    lesson -> quiz -> another lesson -> another quiz
    -> test
    If you open the materials in a new window from the "menu",
    you don't have to worry about linking back. The menu is always open
    underneath whatever content the user is looking at. If you go into
    the Project properties of the last lesson in a "module", you can
    set the "Project end" option to "Close project" and the user will
    effectively be shown the menu when the project closes.

  • How do I add multiple Game Center accounts with one Apple ID and one device(I phone 4s)

    I Need help  adding more then one Game Center account to my iphone and I don't want to make a new Apple ID please help and thanks to all who answer.

    After 2 hours worth of searching with no answer, I decided to run a test and it worked. This is what I did to have multiple Game Center IDs on iOS7. (People responding may have over looked this detail because they assumed it was obvious, but it wasn't)
    Answer: you MUST have multiple Apple ID accounts, however, you use the main one to log in to SETTINGS > ITUNES & APP STORE.
    1. I deleted the Alternate Email Address associated with my account
    2. I created an entire new Apple ID with this email address
    3. I login in to SETTINGS > ITUNES & APP STORE with my original Apple ID (credit card on file)
    4. I login to Game Center, iCloud, etc... with my kid's NEW Apple ID
    So purchasing still goes under our shared account and game center, iCloud, etc... go under my kid's Apple ID.
    ^ ^ ^ ^ This is the simple straight forward answer I was looking for ^ ^ ^ ^

  • Multiple iCal icloud errors. One saying username and password incorrect the other Server 500 error when removing event

    Good day all
    One of my clients is having intermitting issues with her iCal on her Macbook. Her iCal is connected to her iCloud account along with her contacts, she access the iCloud data via her iPhone and her iPad.
    The syncing between her devices with the iCloud gives her no issues when it comes to her contacts but her iCloud on her Macbook is causing a lot of grief. She can accept and add iCal events most of the time but every now and then she gets the error "iCal can't log into your iCloud account becasue your password may be incorrect. The server did not recognize your username or password for the account iCloud. Make sure you enter them correctly". Here is a picture of the error.
    I can confirm her username and password is correct by clicking ok to the error and making an event in the calander or making a new contact in her contacts and confirm on icloud.com that the new additions did make it to the iCloud.
    On top of the above error she also gets the following error intermittently (seems to happen the most when she attempts to remove a calander item). The error is "The server responded with an error. The request for "Meeting name" in "category" in account iCloud failed. The server responded with 500 to operation CalDAVWriteEntityQueueableOperation. Stay offline/Revert to Server/Go Online" once more below is a picture
    Any help on this subject would be greatly appreshated
    Thanks

    Good day all
    One of my clients is having intermitting issues with her iCal on her Macbook. Her iCal is connected to her iCloud account along with her contacts, she access the iCloud data via her iPhone and her iPad.
    The syncing between her devices with the iCloud gives her no issues when it comes to her contacts but her iCloud on her Macbook is causing a lot of grief. She can accept and add iCal events most of the time but every now and then she gets the error "iCal can't log into your iCloud account becasue your password may be incorrect. The server did not recognize your username or password for the account iCloud. Make sure you enter them correctly". Here is a picture of the error.
    I can confirm her username and password is correct by clicking ok to the error and making an event in the calander or making a new contact in her contacts and confirm on icloud.com that the new additions did make it to the iCloud.
    On top of the above error she also gets the following error intermittently (seems to happen the most when she attempts to remove a calander item). The error is "The server responded with an error. The request for "Meeting name" in "category" in account iCloud failed. The server responded with 500 to operation CalDAVWriteEntityQueueableOperation. Stay offline/Revert to Server/Go Online" once more below is a picture
    Any help on this subject would be greatly appreshated
    Thanks

  • How do you create multiple events (different dates) from one large event?

    I recently downloaded a large number of photos from my iphone to iphoto. All of the photos are now under event 4/9/2011 (the date and times are correct, just all in one event). How do I change/break up photos and add/change event dates? I don't want to scroll up hundreds (half a year) of photos to see photos I took yesterday.

    Select the Event and go Events -> Autosplit
    Regards
    TD

  • How to make this work selecting advanced record set dreamweaver complains and crashes all the time

    Hi There
    I have met a person who does php and sql work but not with dreamweaver. The code I have works but dreamweaver shows me an error with my record sets and it crash all the time.
    <?php require_once('../Connections/datexdatabase.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    if($_GET['pageID']==''){
        $pageId = 1;
    }else{
        $pageId = $_GET['pageID'];
    mysql_select_db($database_datexdatabase, $datexdatabase);
    $query_rsIndex = "SELECT pages.title, pages.meta_keywords, pages.meta_description, content.header, content.`description`
    FROM pages INNER JOIN content ON pages.id = content.page_id WHERE pages.id = ".$pageId." ORDER BY content.order";
    $rsIndex = mysql_query($query_rsIndex, $datexdatabase) or die(mysql_error());
    $row_rsIndex = mysql_fetch_assoc($rsIndex);
    $totalRows_rsIndex = mysql_num_rows($rsIndex);
    ?>
    <?php do { ?>
            <?php if($row_rsIndex['header'] != 'Introduction'){ ?>
            <b><?php echo $row_rsIndex['header']; ?></b>
            <?php } ?>
            <p><?php echo$row_rsIndex['description']; ?></p>
            <?php } while ($row_rsIndex = mysql_fetch_assoc($rsIndex)); ?>
    <?php
    mysql_free_result($rsIndex);
    ?>
    I am able to join the tables in the advanced recordset but i am getting confused with "" FROM pages INNER JOIN content ON pages.id = content.page_id WHERE pages.id = ".$pageId." ORDER BY content.order";"
    mysql_select_db($database_datexdatabase, $datexdatabase);
    $query_rsIndex = "SELECT pages.title, pages.meta_keywords, pages.meta_description, content.header, content.`description`
    FROM pages INNER JOIN content ON pages.id = content.page_id WHERE pages.id = ".$pageId." ORDER BY content.order";
    My question is how can I use dreamweaver with the advanced recordset with the pageID without dreamweaver crashing 20 times a day
    Regards

    My question is how can I use dreamweaver with the advanced recordset with the pageID without dreamweaver crashing 20 times a day
    Do you get any errors in Dreamweaver when it crashes?
    What version?
    What OS?
    Have you tried trashing recreating the user config folder ( http://kb2.adobe.com/cps/405/kb405604.html#main_user_config )?
    Have you tried trashing the preferences ( http://kb2.adobe.com/cps/839/cpsid_83912.html )?
    Has anything changed on the system recently (from program installs, to system / OS updates)?
    Have you tried creating a new user account on the system to verify there is no corruption in the current user's system data?

  • Obtain Array from an XML file with Multiple Arrays

    Hi,
    So I have been struggling with this program I am making for the last few months but I am almost there. I have a program that creates multiple arrays and place them one after another in an xml file and each array has its own unique name. Now I would like to create a VI that takes this XML file and when the user inputs the specific array name they are looking for it goes into the xml file finds the entire array under that name and displays it in an output indictor to be viewed on the VI. Attached is a sample of my xml file and the VI that creates this xml file.
    Thanks,
    dlovell
    Solved!
    Go to Solution.
    Attachments:
    I_Win.zip ‏20 KB

    Here is a slightly different version. The one above reads from a file. This is how you would read from an already loaded XML string.
    =====================
    LabVIEW 2012
    Attachments:
    Find Array.vi ‏18 KB

  • HT2500 can i have multiple e-mail addresses with one mac account

    Can i set up multiple e-mail addresses on one mac account

    You can have as many as you want. Add an account with Mail Preferences > Accounts. Click the "+" button.

  • JAI Multiple page Tiff's into one multiple page tiff

    Please helpppppppppppppppppppppppppppppppppppppppp
    I have been hammering on jai.create and other stuff and can't get this to run. I am trying to merge two multiple-page tiff's into one big multiple page tiff and it only picks up first page each from both the files !!!
    so if i have a 3-page tiff and a 4-page tiff...it will pick up first page from both the files. Im releatively new to java but have spent a couple of days on this already.
    the following is my program.
    import com.sun.media.jai.codec.*;
    import java.awt.image.RenderedImage;
    import java.awt.image.renderable.ParameterBlock;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.Vector;
    import javax.media.jai.JAI;
    import javax.media.jai.RenderedOp;
    import java.util.*;
    public class MultiTiff {
    /** Creates a new instance of Class */
    public MultiTiff() {
    public static void main(String args[]) {
    String outFile = "C:\\test23.tif";
    String[] inFiles = new String[2];
    inFiles[0] = "C:\\C.TIF";
    inFiles[1] = "C:\\B.TIF";
    createMultitiff(inFiles , outFile);
    public static void createMultitiff(String[] fileNames, String outName) {
    RenderedImage[] srcs = new RenderedImage[fileNames.length];
    ParameterBlock pb = (new ParameterBlock());
    pb.add(fileNames[0]);
    RenderedImage src0 = JAI.create("tiff",fileNames[0]);
    ArrayList list = new ArrayList(srcs.length - 1);
    for(int i = 1; i < srcs.length; i++) {
    pb = (new ParameterBlock());
    pb.add(fileNames);
    list.add(JAI.create("fileload", pb));
    TIFFEncodeParam param = new TIFFEncodeParam();
    param.setCompression(TIFFEncodeParam.COMPRESSION_GROUP4);
    param.setExtraImages(list.iterator());
    pb = (new ParameterBlock());
    pb.addSource(src0);
    pb.add(outName).add("tiff").add(param);
    JAI.create("filestore",pb);

    Hi Sandra,
    You have ExportPDF subscription from Adobe which would not combine files for you. It is only used to convert PDF into different formats.
    For Combining PDF you might to purchase the different subscription : PDF Pack
    Let me know if you have any other question
    Regards,
    ~Pranav

  • HT1922 I have multiple ID's. Tried changing many times.

    I'm having problems with my ID and password
    Ihave many times tried to chane them.
    One, I cannot remove that was misspelled during initial use of my new IPAD
    The Birthdate confirmation does not work and always results in error. I have tried confirmation many times
    I have not used I tunes yet.
    Received my new IPAD Friday 5/12/2012
    Can I reset and start over?.  (Running out of favorite passwords

    Contact support to make sure. Plus you can cancel your unwanted accounts if you wish.
    http://www.apple.com/support/itunes/store/

  • Choosing one big ssd drive or better having a second hdd

    I WANT TO REPLACE MY INTERNAL  320 gb hdd with a SSD, is better have a second drive (as my actual hdd) for data or one big ssd whee to put everything on is a best solution even for battery etc
    what is the incovenient to have one only SSD.

    alidav,
    It's quite nice to have a 1TB SSD (mine is almost 1TB at 960GB) and I certainly recommend buying a SSD that fits your needs. However, I would recommend that if you do buy a 1TB SSD that you also invest in, at the least, a 2TB external drive for making Time Machine backups. I use both two Time Machine drives and five clones for my backup needs (a little paranoid, I know) but I have to recommend at least one, if not more, backup schemes.
    Good luck,
    Clinton
    MacBook Pro (15” Late 2011), OS X Yosemite 10.10.1, 16GB Crucial RAM, 960GB M500 Crucial SSD, 27” Apple Thunderbolt Display

  • How To Make an Array from Multiple Choices of a Drop-Down Menu?

    I have a drop-down menu (or a scrollable list). Visitors can make multiple selection from the list. How do I put those selected items into an array?

    See JList.getSelectedValues()

  • How to save data in a 4D array and make partial plots in real time?

    Hi, this is a little complex, so bear with me...
    I have a test system that tests a number of parts at the same time. The
    experiment I do consists of measuring a number of properties of the
    parts at various temperatures and voltages. I want to save all the
    measured data in a 4-dimensional array. The indices represent,
    respectively, temperature, voltage, part, property.
    The way the experiment is done, I first do a loop in temperature, then
    in voltage, then switch the part. At this point, I measure all the
    properties for that condition and part and want to add them as a 1D
    array to the 4D array.
    At the same time, I want to make a multiple plot (on an XY graph) of
    one selected property and part (using two pull-down selectors near the
    XY graph) vs. voltage. (The reason I need to use an XY graph and not a
    waveform graph, which would be easier, is that I do not have
    equidistant steps in voltage, although all the voltage values I step
    through are the same for all cases). The multiple plots are the data
    sets at different temperatures. I would like to draw connection lines
    between the points as a guide to the eye.
    I also want the plot to be updated in the innermost for loop in real
    time as the data are measured. I have a VI working using nested loops
    as described above and passing the 4D array through shift registers,
    starting with an array of the right dimensions initialized by zeroes. I
    know in advance how many times all the loops have to be executed, and I
    use the ReplaceArraySubset function to add the measured properties each
    time. I then use IndexArray with the part and property index terminals
    wired to extract the 2D array containing the data I want to plot. After
    some transformation to combine these data with an array of the voltage
    values in the form required to pass to the XYGraph control, I get my
    plot.
    The problem is: During program execution, when only partial data is
    available, all the zero elements in the array do not allow the graph to
    autoscale properly, and the lines between the points make little sense
    when they jump to zero.
    Here is how I think the problem could be solved:
    1. Start with an empty array and have the array grow gradually as the
    elements are measured. I tried to implement this using Insert Into
    Array. Unfortunately, this VI is not as flexible as the Replace Array
    Subset, and does not allow me to add a 1D array to a 4D array. One
    other option would be to use the Build Array, but I could not figure
    out if this is usable in this case.
    2. The second option would be to extract only the already measured data
    points from the 4D array and pass them to the graph
    3. Keep track of the min. and max. values (only when they are different
    from zero) and manually reset the graph Y axis scale each time.
    Option 3 is doable, but more work for me.....
    Option 2: I first tried to use Array Subset, but this always returns an
    array of the same dimensionality of the input array. It seems to be
    very difficult, but maybe not impossible, to make this work by using
    Index Array first followed by Array Subset. Option 3 seems easier.
    Ideally, I would like option 1, but I cannot figure out how to achieve
    this.
    Your help is appreciated, thanks in advance!
    germ Remove "nospam" to reply

    In article <[email protected]>,
    chutla wrote:
    > Greetings!
    >
    > You can use any of the 3D display vi's to show your "main" 3d
    > data, and then use color to represent your fourth dimension. This can
    > be accessed via the property node. You will have to set thresholds
    > for each color you use, which is quite simple using the comparison
    > functions. As far as the data is concerned, the fourth dimension will
    > be just another vector (column) in your data file.
    chutla, thanks for your post, but I don't want a 3D display of the
    data....
    > Also, check out
    > the BUFFER examples for how to separate out "running" data in real
    > time.
    Not clear to me what you mean, but will c
    heck the BUFFER examples.
    > As far as autoscaling is concerned, you might have to disable
    > it, or alternatively, you could force a couple of "dummy" points into
    > your data which represent the absolute min/max you should encounter.
    > Autoscaling should generally be regarded as a default mode, just to
    > get things rolling, it should not be relied on too heavily for serious
    > data acquisition. It's better to use well-conditioned data, or some
    > other means, such as a logarithmic scale, to allow access to all your
    > possible data points.
    I love autoscaling, that's the way it should be.
    germ Remove "nospam" to reply

Maybe you are looking for

  • List of open Sales order in a plant.

    Hi, I need to pick up all the sales order for one particular plant with all open status (which do not have any delivery document) I want to write a SQL qurrey can any one help me with logic pla how to join and which fields will help me to get that op

  • Boot Camp: sees 64-bit Win 7 USB install as 32-bit, why??

    Attempting to use the Boot Camp Assistant on my new iMac 27 (late 2012) with a regular 1TB HDD.   I had boot camp create a install disk on a USB flash drive from an existing Windows 7 Pro 64-bit ISO... it's the same ISO I used to install 64-bit Win7

  • 22 - 26 inch tv

    Hello I'm in the market for a 22 - 26 inch LCD HDTV but i'm having trouble deciding on one.  I've seen some good tvs for a decent price but it seems alot of them have issues just a year or so down the road. I will be gaming(PS3) and watching movies o

  • Quicktime doesn't run smoothly the FullHD MP4 Videos

    I have videos MP4 made with a phone FullHD 1080P that plays perfect in my MacBook Air is I use VLC or MplayerX but if I use Quicktime then doesn't play smoothly they stop for seconds each few seconds, I have same issue If I play the videos in IPhoto

  • Why can't I open .NEF Files?

    I've got CS4 on my Windows computer and I've been using it for years to edit my RAW pictures. I've recently bought a new camera and now it wont open any of the .NEF files I take with it. I can still open the old ones but none of the new ones. I've tr