I would like to place an element into a two dimensional array, and I would like to be able to specify which row and column each of the elements will go in.

In the vi that I am writing I have rise and fall times to post in a very specific pattern. I can initialize an array,and I can replace elements, but in "replace element" I only find that I am given the choice of specifying a single dimensional position. I need to be able to specify BOTH column and row. Can anyone help me?

Hi Jryan !
If you wire a 2D array to the input of a "replace element" function, you will see that the function expand to display an additionnal index. The one you are looking for !!
Chilly Charly    (aka CC)
         E-List Master - Kudos glutton - Press the yellow button on the left...        

Similar Messages

  • Set number of elements in a two dimensional array

    Hi,
    Does anyone know how to set the number of elements in a two dimensional array directly in teststand.
    To set a one dimsional array is simple:
    SetNumElements( locals.somearray,4)
    Is there a method to do this for a two dimensional array?
    Sean

    From the help file (TestStand 4.2.0):
    PropertyObject.SetNumElements
    SetNumElements Method
    Syntax
    PropertyObject.SetNumElements ( numElements, options = 0)
    Purpose
    Sets the number of elements of a single dimensional array.
    Remarks
    This method is only valid for single dimensional arrays. The elements in the array retain their values. Use the PropertyObjectType.ArrayDimensions property to set the number of elements in each dimension of a multi-dimensional array.
    Parameters
    numElements As Long
    [In] New number of elements for the array.
    options As Long
    [In] Pass 0 to specify the default behavior, or pass one or more PropertyOptions constants. Use the bitwise-OR operator to specify multiple options.
    This parameter has a default value of 0.
    So you could use, for example: Locals.MultidimensionalArray.Type.ArrayDimensions.SetBounds({1,0},{3,4}) to set an array to have three dimensions (1,2,3), each with five elements (0,1,2,3,4).

  • How to copy data in text file into two-dimensional arrays?

    Greeting. Can somebody teach me how to copy the input file into two-dimensional arrays? I'm stuck in making a matrix with number ROWS and COLUMNS according to the data in "input.txt"
    import java.io.*;
    import java.util.*;
    public class array
        public static void main (String[] args) throws FileNotFoundException
        { Scanner sc = new Scanner (new FileReader("input.txt"));
            PrintWriter outfile = new PrintWriter("output.txt");
        int[][]matrix = new int[ROWS][COLUMNS];
    }my input.txt :
    a,b,c
    2,2,1
    1,1,1
    2,2,1
    3,3,1
    4,4,1
    5,5,1
    1,6,2
    2,7,2
    3,8,2
    4,9,2
    5,10,2

    import java.io.*;
    import java.util.*;
    public class array {
        public static void main(String[] args) throws IOException {
            FileInputStream in = null;
            FileOutputStream out = null;
    try {
        in = new FileInputStream("input.txt");
        BufferedReader reader = new BufferedReader(new InputStreamReader(in));
        String line = null;
        while ((line = reader.readLine()) != null) {
            String split[]=line.split(",");
    catch (IOException x) {
        System.err.println(x);
    } finally {
        if (in != null) in.close();
    }}}What after this?

  • How do I convert a 1-D array of cluster of 5 elements into a 2-D array of numbers? (history data from a chart)

    Hello,
    in my vi I have a chart with 5 Plots displaying measurement data.
    The user should be able to save all the history data from the chart at anytime. (e.g. the user watches the chart and some event happens, then he presses a "save"-button)
    I know, that I can read out the history data with a property node. That is not the problem. The problem is, how do I handle the data? The type of the history data is a 1-D array of cluster of 5 elements.
    I have to convert that data somehow into a 2 D-array of numbers or strings, so that I can easily save it in a text-file.
    How do I convert a 1-D array of cluster of 5 elements into a 2-D array of numbers?
    I use LabVIEW 7.1
    Johannes
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Solved!
    Go to Solution.

    Gerd,
    thank you for the quick response and the easy solution.
    Look what I did in the meantime. I solved the problem too, but muuuch more complicate :-)
    And I have converted the numbers to strings, so that I can easily write them into a spreasheet file.
    Johannes
    Message Edited by johanneshoer on 04-28-2009 10:39 AM
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Attachments:
    SaveChartHistory.JPG ‏57 KB
    SaveChartHistory.JPG ‏57 KB

  • Variable number of two dimensional arrays into one big array

    I have a variable number of two dimensional arrays.
    The first dimension is variable, the second dimension is always 7.
    i.e.:
    Object[][] array0 = {
    {"tim", "sanchez", 34, 175.5, "bla", "blub", "[email protected]"},
    {"alice", "smith", 42, 160.0, "la", "bub", "[email protected]"},
    Object[][] array1 = {
    {"john", "sdfs", 34, 15.5, "a", "bl", "[email protected]"},
    {"joe", "smith", 42, 16.0, "a", "bub", "[email protected]"},
    Object[][] arrayi = ...I'm generating these arrays with a for-loop:
         for (int i = 0; i < filter.length; i++) {
              MyClass c = new MyClass(filter);
              //data = c.getData();
    Where "filter" is another array which is filled with information that tells "MyClass" how to fill the arrays.
    "getData()" gives back one of the i number of arrays.
    Now I just need to have everything in one big two dimensional array.
    i.e.:Object[][] arrayComplete = {
    {"tim", "sanchez", 34, 175.5, "bla", "blub", "[email protected]"},
    {"alice", "smith", 42, 160.0, "la", "bub", "[email protected]"},
    {"john", "sdfs", 34, 15.5, "a", "bl", "[email protected]"},
    {"joe", "smith", 42, 16.0, "a", "bub", "[email protected]"},
    Any idea on how to accomplish this? It's blowing my mind right now.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Just brainstorming here:
    Why not put your actual data in a class and store that in a LinkedList (so you know the total number of elements for your multi-dimensional array). Then initalize your multi-dimensional array and populate it? Haven't tested the following, but thinking something along the lines of
    public class MyData {
         //data here
         public Object[] toArray() {
              //something similar to this
              return new Object[] = {"tim", "sanchez", 34, 175.5, "bla", "blub", "[email protected]"};
    LinkedList<MyData> data = new LinkedList<MyData>();
    data.add(mydata1);
    //however many times you need
    Object[][] arrayComplete = new Object[data.size()][7];
    for(int i = 0; i < data.size(); i++) {
         arrayComplete[i] = data.removeFirst().toArray();
    }Another option for knowing how many rows you would need might be using something like:
    int rows = 0;
    rows += array1.length;
    rows += array2.length;
    //etc...But is not entirely useful if you don't know how many variable arrays you have (although reflections might help if the name of the array variable is incremented systematically, someone told me earlier to avoid reflections since it could make debugging a LOT more difficult).
    Edited by: bogdana on Apr 1, 2010 10:38 AM

  • Inserting an element into an XML document

    I am simply looking insert a new element into an existing XML Document using JDOM. Here is my code so far:
    public class UserDocumentWriter {
         private SAXBuilder builder;
         private Document document;
         private File file = new File("/path/to/file/users.xml");
         private Element rootElement;
         public UserDocumentWriter() {
              builder = new SAXBuilder();
              try {
                   document = builder.build(file);
                   rootElement = document.getRootElement();
              } catch (IOException ioe) {
                   System.err.println("ERROR: Could not build the XML file.");
              } catch (JDOMException jde) {
                   System.err.println("ERROR: " + file.toString() + " is not well-formed.");
         public void addContact(String address, String contact) {
              List contactList = null;
              Element contactListElement;
              Element newContactElement = new Element("contact");
              newContactElement.setText(contact);
              List rootsChildren = rootElement.getChildren();
              Iterator iterator = rootsChildren.iterator();
              while (iterator.hasNext()) {
                   Element e = (Element) iterator.next();
                   if (e.getAttributeValue("address").equals(address)) {
                        contactListElement = e.getChild("contactlist");
                        contactListElement.addContent(newContactElement);
                        writeDocument(document);
         public void writeDocument(Document doc) {
              try {
                   XMLOutputter output = new XMLOutputter();
                   OutputStream out = new FileOutputStream(file);
                   output.output(doc, out);
              } catch (FileNotFoundException ntfe) {
                   System.err.println("ERROR: Output file not found.");
              } catch (IOException ioe) {
                   System.err.println("Could not output document changes.");
         }However, the problem is, the newly added element will always be appended to the end of the last line, resulting in the following:
    <contactlist>
                <contact>[email protected]</contact><contact>[email protected]</contact></contactlist>Is there anyway in which I can have the newly added element create it's own line for the purpose of tidy XML? Alternatively is there a better methodology to do the above entirely?

    Your question is not very clear.
    Do you want to know How to insert an element into an XML document?
    Answer: I can see you already know how to do it. You have added the element using addContent()
    or do you want to know How to display the XML in a tidy format?
    Answer: to view the XML in a properly formatted style you can you the Format class. A very basic way of viewing the XML would be:
       * Prints the Document to the specified file.
       * @param doc
       * @param filename
       * @param formatting
      public static void printDocToFile(Document doc, String strFileName,
          boolean formatting)
        XMLOutputter xmlOut = null;
        if (!formatting)
          xmlOut = new XMLOutputter();
        } else
          Format prettyFormat = Format.getPrettyFormat();
          prettyFormat.setOmitEncoding(false);
          prettyFormat.setOmitDeclaration(false);
          xmlOut = new XMLOutputter(prettyFormat);
        try
          if (doc != null)
            FileWriter writer = new java.io.FileWriter(strFileName, true);
            xmlOut.output(doc, writer);
            writer.flush();
            writer.close();
          } else
            System.out.println("Document is null.");
        catch (Exception ex)
          System.out.println(ex);
      }

  • Noob: read entries in a file.txt into a 2 dim array

    I'm a newbie trying to learn Java & Swing and I'm attempting to use the Jtable element to display really simple car records in CSV format in my UI. The values in my file are like so:
    1970,Chevy,Chevelle,16000
    1972,Oldsmobile,Cutlass,15000
    1969,Chevy,Camaro,22000
    1971,Plymouth,Barracuda,19500
    and as far as I can tell, from the documentation i've read
    (http://java.sun.com/docs/books/tutorial/uiswing/components/table.html), the suggested way for it to work should just be to read in the records to the JTable as a two dimensional object array. But I keep getting java.lang.NullPointerException.
    what am i doing wrong? the tokens seem to print out just fine, but I can't read them into the array. i tried a lot of things, spent a good deal of time with my Java book and Mr. Google, but nothing seems to be working and i'm stuck. As far as i can tell, I should be able to:
    1. use buffered file reader to read the records
    2. use either split() or token to break the records out by the comma delimiter
    3. pack the data into a two dimensional array
    4. feed that into the JTable constructor.
    right? well, I'm stuck on step 3. - here's some code:
    try
                FileReader fr = new FileReader("carStock.txt");
                BufferedReader br = new BufferedReader(fr);
                String newline=null;
                int i=0;
                String myCarData[][] = null;       
                while((newline=br.readLine())!=null)
                    //carInfoFromFile.add(newline);       
                    String[] theLine = newline.split(",");
                    for(String token:theLine)
                        System.out.println(token);   
                        myCarData[0]=token;
    myCarData[i][1]=token;
    myCarData[i][2]=token;
    myCarData[i][3]=token;
    System.out.println(myCarData[i][0]);
    i++;
    catch (FileNotFoundException e)
    e.printStackTrace();
    catch (IOException e)
    e.printStackTrace();

    ok, so far i have learned that i did not initialize my array correctly. so now i have:
    Object myCarData[][] = new String[4][4];
    but i still do not see how to successfully iterate over all of the csv records that get read in from my text file: i.e. now i tried:
    while((newline=br.readLine())!=null)
       //Parse the line being read in
       String[] theLine = newline.split(",");
       myCarData[0][0] = theLine[0];
       myCarData[0][1] = theLine[1];
       myCarData[0][2] = theLine[2];
       myCarData[0][3] = theLine[3];
    //now what????  how do i get to the next "theLine?"
    }and i do in fact have a proper car class, but i don't understand how i would use it it this scenario.
    I realize I should be using two for loops to populate the array, but i am doing it longways first. But I can't figure it out longways. I know this is probably a simple matter of syntax. What am I missing?

  • Read file into multi-dimensional array - ideal world...

    Hello all, would be very grateful if you could help me...
    I have a file which has a format...
    string1a,string1b
    string2a,string2bi need to read this file, which will have a variable length, into a two dimensional array.
    the code below is just demonstrating my approach...
              List lines = new ArrayList();
              BufferedReader in = new BufferedReader(new FileReader(filename));
              String str;
              while ((str = in.readLine()) != null) {
                   lines.add(str.split(","));
              in.close();but when i later try and invoke the toArray() method of lines it complains about unsafe or unchecked operations.
    does any have any pointers about the best way to read a file into a multi-dimensional array? is it best practice to use the interface List?
    thanks in advance
    poncenby

    This is just a List of Lists - no worries there.
    Sounds like your toArray code is incorrect. Post that.
    %

  • HT1212 I forgot my passcode and I would like to reset everything

    I would like to reset the ipod which means everything deleted.

    Forgotten Screen-Lock Passcode
    Connect the iOS device to your computer and try to make a backup
    iOS: How to back up
    Then restore via iTunes. The iOS device will be erased. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store    

  • The screen on my ipod is no longer working and i would like to get my pictures off of it but for it to connect to itunes i have to unlock it on the ipod itself and i cannot use the screen?

    I recently found my old broken ipod and the screen doesn't work. I want to get the pictures off of it but when i try to connect it to itunes it says that i need to unlock my ipod on the device before it will connect. I cannot do that because the screen doesn't work. Is there a program where i can control my ipod through my computer or is there another way to get my pictures off of it?

    If they are in a backup then
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:                                                             
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:                         
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.
    Then import them after restoring.
    Otherwise:
    - Maybe from the restored iPod via How to perform iPad recovery for photos, videos
    Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official     
    http://www.amacsoft.com/ipod-data-recovery.html
    iPod recovery software to restore lost music files      
    http://www.pcrecoverytools.com/ipod-data-recovery.html

  • Help! Inserting a 1-D comment array into a 2-D string array at specified row AND column

    Hello everyone,
    I am writing a 2-D string array to excel and i need a way to add comments to my file like this:  
    SLAM    NAME    G Level    Comments
    1              RALF         26               
    1              RALF         26
    1              RALF         26
    1              RALF         26
    For some reason, i cannot specify a row AND column to write because: 
    When i use replace array subset it only replaces 1 element at my index. 
    When i use replace array subset with a loop, it creates empty spaces until it reaches the end of the array it is replacing.
    When i use Insert into array: i cannot wire 2 inputs for row and column.  
    In my complete VI i will need to write from row 1-1001, a different comment from 2-2002, a different comment from 3-3003, etc until a stop condition is met so i need to figure out how to do this programatically and not have it replace any elements outside of the range or it will override previous commetns. 
    I am at a loss of what to do. Any and all suggestions are greatly appreciated. 
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    array.vi ‏13 KB

    Hi proph,
    I made a small subtile change to yur VI and now it replaces all values of the 4th column…
    THINK DATAFLOW!
    Use shift registers when you need to propagate values from one loop iteration to the next!
    USE/LEARN DEBUGGING TECHNIQUES!
    There are tools like probes and highlight to understand your VI execution and to find problems…
    Go through all those free online courses offered by NI!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    array.vit ‏12 KB

  • How would i reset my iPod without turning off my iCloud and "find my iPod" its been almost a year and i can't do anything about it neither can Apple and i have called them many times... should i just not use it ever?

    my iPod says that i need the iCloud password and i already had put it in and it is saying it is wrong... so I'm trying to totally reset my iPod touch but i have to turn off the "find my ipod" and i have to sign into my iCloud so i was wondering how to reset it... Is it possible or should I just throw it away?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:                                                             
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:           
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • Someone stole my iPod and put a password on it, not I got it back and cant get into it

    I bought an iPod from a friend of mine. I did not put a password on it because I didn't think I needed one and I had only had the iPod for about a week. Then someone stole the iPod. It was gone for about 2 months and then someone returned it to me and said they had "found" it at there house. But now it has a password on it and I don't know what it is so I cant even unlock my own iPod. I didn't have it for long before it was stolen so it wasn't even synced to my iTunes yet. Is there anything I can do to get into my iPod so I can use it again?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.
    If it was a 5G iPod with iOS 7 then you will also have to ent4r the Apple ID and password last used in Settings>iCloud.
    iCloud: Find My iPhone Activation Lock in iOS 7

  • To convert an ArrayList into a 2-D array

    Is there any efficient and good technique to convert an ArrayList into a 2-D array? Suppose I have an ArrayList that contains objects of my defined class and then I would like to convert this ArrayList into a 2-D array.
    Can someone please help me out here? Your help will be really appreciated!
    Edited by: ti_ma on Mar 18, 2008 4:59 PM

    i think what some people are trying to say is that it would just be fine to use a for loop; i don't know about any magically fast ways of doing it, but it probably won't matter that much unless you're trying to optimize by like nanoseconds...
    it would just be easy and good to do something to the effect of:
    //assuming your ArrayList is called list
    Object[][] arr = new Object[list.size()][3];
    int i = 0;
    for (Book b : list) {
       arr[0] = b.name;
    arr[i][1] = b.price;
    arr[i++][2] = b.isbn;
    hope that helps!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Dynamic Columns, using the element name as the column header name

    BI Publisher Experts,
    I'm a relative newbie in the RTF layout world and i'm trying to acheive a layout which dynamically nominates the column headers as the element name.
    For example using the XML below:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ROWSET>
    - <DATA>
    - <THREECOLUMNDATA>
    <FIRST_NAME>First Name</FIRST_NAME>
    <LAST_NAME>Last Name</LAST_NAME>
    <EMAIL>[email protected]</EMAIL>
    </THREECOLUMNDATA>
    </DATA>
    </ROWSET>
    Excuse formatting, looked ok in preview!
    I'd like to acheive the following output:
    | FIRST_NAME | LAST_NAME | EMAIL |
    |-----------------------|---------------------- |--------------------------------------------------------|
    | First Name | Last Name | [email protected] |
    I've managed to get the row data columns working using:
    <?for-each@cell:current()/*?><?.?><?parent::*/text()?> <?end for-each?>
    And i've been working on the header for a while now, using
    <?for-each@column:current()/THREECOLUMNDATA[1]/*?><?name(.)?><?end for-each?>
    But no luck with the header. I only ever get a blank header.
    I've also reviewed the following syntax:
    <?split-column-header:THREECOLUMNDATA?> <?/FIRST_NAME?>
    But of course, this pulls specific element data out as the header, not quite what I need.
    Question is: Is there specific functionality to pull the element name out as the header, or do I somehow specifically need to include the header name as a data value in the XML?
    Advice appreciated!

    If you could get your XML to look like this instead of what you have, you will be able to use split-column-header and split-column-data
    <?xml version="1.0" encoding="UTF-8" ?>
    <ROWSET>
    <DATA>
    <THREECOLUMNDATA>
    <COL_DTLS>
    <COL_LABEL>FIRST_NAME</COL_LABEL>
    <COL_VALUE>First Name</COL_VALUE>
    </COL_DTLS>
    <COL_DTLS>
    <COL_LABEL>LAST_NAME</COL_LABEL>
    <COL_VALUE>Last Name</COL_VALUE>
    </COL_DTLS>
    <COL_DTLS>
    <COL_LABEL>EMAIL</COL_LABEL>
    <COL_VALUE>[email protected]</COL_VALUE>
    </COL_DTLS>
    </THREECOLUMNDATA>
    </DATA>
    </ROWSET>
    Now if you <?split-column-header:COL_DTLS?><?COL_LABEL?> and <?split-column-data:COL_DTLS?><?COL_VALUE?> you'll get the required output...

Maybe you are looking for

  • Photoshop CS2 for commercial use?

    Photoshop cs2 is free now, can it be used for commercial use? In Russia exactly. Some of our workers don`t need CS6.

  • Custom Image Renderer

    I've created my own loader to load a raster file containing temperatures. The values are in the range of 260 to 300. I've also stored these numbers as 64 bit reals. When I use GeoRasterViewer and normalise the data I can see the map of the world. Whe

  • Video iPod Shows 1777 GB, Shows it's Full of "Other"...

    iTunes shows it has music on board, but when I eject and try to see the music. There's nothing there. Anyone seen this issue before?

  • Issues with simulations inserted into Powerpoint projects

    When I import PowerPoint slides into a Captivate project, all is fine.  However when I try to insert screens from a simulation recording, the simulation screens that appear only display about 80% of the recorded screen capture.  I am trying to determ

  • Request additional allocation of dynamic memory

    Hyper-V 2012 host Server 2012 R2 guest The guest is configured for startup and minimum memory of 2 GB with a maximum memory of 64 GB.  Once per day a PowerShell script runs which uses 7-Zip.exe to compress some large files.  The 7-Zip command fails i