New-harddisk commandlet

After reviewing VMwares documentation on this cmdlet I have attempted to add harddrives to a VM using the -controller and -datastore parameters.
What i would like to do is specify the following
new-harddrive -vm $Vm -capacity ($size*1mb) -storageformat "Thick" -controller '0,10' -datastore '[san-data-050]'
This obviously did not work because the controller object and datastore do not accept those arguments. After doing some more research i attempted the solutions below:
Problem 1:
I understand that -controller only accepts the bas controller and i have written a function that pulls the base controller object from the vm using:
$scsictrl = get-scsicontroller -vm $vm | %{$_.name -eq "SCSI controlelr $SCSI"}
Now that thats solved, i still cannot specify the scsi id or port i wish to.
Problem 2:
After that problem could not be solved, i attempted to solve the $datastore issue. I attempted to:
$datastore = 'san-data-050'
get-datastore | Where-object {$_.name -eq $datastore}
Which yields the datastore object and insert it intot he code without the controller parameter present.
This also did not work.
Before anyone comments about Onyx, ive already gotten several scripts and attmpted several times to get that method to work as well. It launches a task but the task fails once it hits VCenter and i cannot identify why, but regardless, it is overly complicated for what should be a straight forward single-line solution.
Does anyone know how i might solve the above issues?

PowerCLI Version
   VMware vSphere PowerCLI 5.0.1 build 581491
Snapin Versions
   VMware AutoDeploy PowerCLI Component 5.0 build 544967
   VMware ImageBuilder PowerCLI Component 5.0 build 544967
   VMware License PowerCLI Component 5.0 build 544881
   VMware vSphere PowerCLI Component 5.0 build 581435
Just tried the onyx version:
function add-VMhdd{
  <#
  .SYNOPSIS
  This function logs whatever is passed to C:\temp\nm-setup.txt
  .DESCRIPTION
    Function assigns date, uses logpathlocal variable to determine location and encodes everything to ASCII.
  .EXAMPLE
  logme "Logging this text here"
.PARAMETER $Datastore
Specify the datastore in the following format [san-data-n080]
  #>
    param (
[Parameter(Mandatory=$True,Position=0)]
        [ValidateNotNullOrEmpty()]
        [String]$VMname,
[Parameter(Mandatory=$True,Position=1)]
        [ValidateNotNullOrEmpty()]
        [String]$datastore,
    [Parameter(Mandatory=$True,Position=2)]
        [ValidateNotNullOrEmpty()]
        [String]$sizeinKB,
[Parameter(Mandatory=$True,Position=3)]
        [ValidateNotNullOrEmpty()]
        [String]$scsiAdaptor,
[Parameter(Mandatory=$True,Position=4)]
        [ValidateNotNullOrEmpty()]
        [String]$scsiNumber
$spec = New-Object VMware.Vim.VirtualMachineConfigSpec
$spec.deviceChange = New-Object VMware.Vim.VirtualDeviceConfigSpec[] (1)
$spec.deviceChange[0] = New-Object VMware.Vim.VirtualDeviceConfigSpec
$spec.deviceChange[0].operation = "add"
$spec.deviceChange[0].fileOperation = "create"
$spec.deviceChange[0].device = New-Object VMware.Vim.VirtualDisk
$spec.deviceChange[0].device.key = -100
#specify datastore and persistance
$spec.deviceChange[0].device.backing = New-Object VMware.Vim.VirtualDiskFlatVer2BackingInfo
$spec.deviceChange[0].device.backing.fileName = "$datastore"
$spec.deviceChange[0].device.backing.diskMode = "persistent"
$spec.deviceChange[0].device.backing.split = $false
$spec.deviceChange[0].device.backing.writeThrough = $false
$spec.deviceChange[0].device.backing.thinProvisioned = $false
$spec.deviceChange[0].device.backing.eagerlyScrub = $false
#setdisk properties
$spec.deviceChange[0].device.connectable = New-Object VMware.Vim.VirtualDeviceConnectInfo
$spec.deviceChange[0].device.connectable.startConnected = $true
$spec.deviceChange[0].device.connectable.allowGuestControl = $false
$spec.deviceChange[0].device.connectable.connected = $true
#Figure out how to specify controller and units
$adaptor = get-Vmscsicontroller $VMname $scsiAdaptor
$scsiControlerNumber = $adaptor.id.split("/")[1]
$spec.deviceChange[0].device.controllerKey = $scsiControlerNumber
$spec.deviceChange[0].device.unitNumber = $scsiNumber
$spec.deviceChange[0].device.capacityInKB = $sizeinKB
#return the UID of the vm and place in view
$VMID = (get-vm $VMname).id
$_this = Get-View -Id "$VMID"
$_this.ReconfigVM_Task($spec)
PS C:\users\ron5667\desktop\ps> add-vmhdd "ntaddh0075m00" '[san-and-n080]' '1048576' '0' '11'Type                                                                                                      Value                                                                                                   
Task                                                                                                      task-719119
The task works; however, it shows invalid conifguration in VCENTER.

Similar Messages

  • Reinstallation of CS3 on new Harddisk is not working

    My Mac got a new harddisk. The repair man copied all files (including applications) form the old one. Of course the applications are not working. I want to install CS3 (which I bought and have a serial number) onto the new harddisk but after starting the setup program of the trial version (downloaded from here: http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html) I get this error message: "Setup error. Setup has encountered an error and cannot continue. Contact Adobe customer support for assistance"
    I did that and was redirected to this forum.
    Who can help and how?
    Dietrich

    Hi Mylenium,
    thanks for your help! Here is what the Payloads installer does to me:
    Installer Operation: PayloadInstaller
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    Request to install payload
    Beginning installation for payload at /Volumes/Adobe CS3 Design Standard/Adobe CS3 Design Standard/Bootstrapper.dmg
    [       1] Wed Feb  5 14:29:58 2014 DEBUG
    Setting determined properties...
    Mounting payload image at /Volumes/Adobe CS3 Design Standard/Adobe CS3 Design Standard/Bootstrapper.dmg
    [       1] Wed Feb  5 14:30:00 2014  INFO
    Completing installation for payload at /Volumes/Adobe CS3 Design Standard/Adobe CS3 Design Standard/Bootstrapper.dmg
    [       1] Wed Feb  5 14:30:00 2014 DEBUG
    InstallPayload failed.
    [       0] Wed Feb  5 14:30:00 2014 ERROR
    Log of: object
    isRunning {string}: 0
    Log of: string
              0 {LOOP}: Reference to object up 0
    percentComplete {string}: 100
    Log of: string
              0 {string}: 1
    Log of: string
                        0 {LOOP}: Reference to object up 0
              1 {string}: 0
    Log of: string
                        0 {LOOP}: Reference to object up 0
              2 {string}: 0
    Log of: string
                        0 {LOOP}: Reference to object up 0
    message {object}: [object Object]
    Log of: object
              code {string}: 2
    Log of: string
                        0 {LOOP}: Reference to object up 0
              args {object}: [object Object]
    Bootstrapper failed to install
    Log of: object
    isRunning {string}: 0
    Log of: string
              0 {LOOP}: Reference to object up 0
    percentComplete {string}: 100
    Log of: string
              0 {string}: 1
    Log of: string
                        0 {LOOP}: Reference to object up 0
              1 {string}: 0
    Log of: string
                        0 {LOOP}: Reference to object up 0
              2 {string}: 0
    Log of: string
                        0 {LOOP}: Reference to object up 0
    message {object}: [object Object]
    Log of: object
              code {string}: 2
    Log of: string
                        0 {LOOP}: Reference to object up 0
              args {object}: [object Object]

  • Can't use new harddisk

    Hello all,
    I have a Problem with my T30 (2366-88G). I want to use a bigger harddisk, but it doesn't work. When I've plugged the new harddisk, the computer doesn't boot. A lock symbol is shown on the screen and I have no idea, what to type in. The harddisk is not password protected. I used the master and boot passwords but they didn't work.
    Is it possible, that this notebook doesn't accept a different harddisk?
    Thanx for help.
    NA

    As George correctly stated, this subject is not allowed to be discussed here as stated in the forum rules - Thread locked
    "No posts shall include instructions or directions intended to subvert security measures, including passwords, locking mechanisms, fingerprint scans, etc, nor shall any posts provide descriptions to the location of, nor direct links to content related to these topics."
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Re : Help on New harddisk for T41

    I need help on how to get baCK THE ibm ACCESS on the harddisk.
    I have changed a new harddisk but did not have a copy of the window xp
    except the product key.
    Now I could not even get into IBM access to do anything.
    Please help !

    It might be too late because of the model, but you can contact Lenovo to get a copy of the Recovery Disks.  They are typically $45, but if the hard drive was faulty, and was still under warranty, they might be able to send them to you for free.
    T61,T42(x2)T41,T40(x2),R40,T30(x2),T23(x3),T21,T20,X20,A31,A21M,600/E/X(multiples of each),770X,i1400(x2),760XL,760ED(x2 w/base),380XD,755CD,750P,360P,365X,560X,701C/CS,730T,PS/Note

  • T43 IBM Thinkpad, I installed Windows XP pro on a new harddisk, found no netowork

    T43 IBM Thinkpad, I installed Windows XP pro on a new harddisk, found no network,  so installed drivers for the chipset and network. Still no way to go on inernet.
    Folloing drivers i installed from following site. What do I do now:
    http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&DocID=HT035703
    Oss50w – chipset driver
    7ora09ww – Ethernet driver
    1ywc54ww – wifi driver

    Hi guys and thanks for your help. Yes, after authenication and working on this Windows partition, I have less than 3GB space. Also, I cannot drag and drop files from desktop, like a text file into the Windows partition. Says it doesn't have permissions to drop files.
    It looks like now I will in fact have to start from scratch and repartition the HD but put in a minimal 12GB or so into the Windows partition. Also, I tried to name the Windows label, but it's locked and under get info, it says the Windows partition is read only, ownership grayed out and says it is NT coded format. Shouldn't that be MS-DOS or FAT 32 automatically?
    I have to tell all of you that this is getting time consuming, too complicated and when I get my own ProBook, I have no desire to install VISTA or MS whatever. Plus, we have to still do the MS security pack updates and install virus software for the Windows partition, isn't that correct?
    Is there a step by step link here like a BootCamp/Windows XP Pro installation tutorial so I can move a bit faster on my next attempt?
    Thanks SteveB

  • How to install preinstalled Premiere Elements on new harddisk

    About 1 year ago I bought a new Sony VAIO SVE1712C5E in the Sony web shop with a preinstalled version of Adobe Premiere Elements 10. Now I want to install a bigger harddisk. How can I install this Adobe Premiere Elements 10 on the new harddisk? And where do I find my license key for it?

    o.linke
    Please try the following possible solution
    The serial number part
    1. Go to the Adobe web site http://www.adobe.com, sign in with your Adobe ID and Password, go to the Search field at the top right of that web page and type in My Products.
    2. Follow the My Products link to find your Adobe Premiere Elements 10 product. If you find it, chick on Adobe Premiere Elements 10 to reveal its serial number.
    The software part
    1. Go to the following web site and download and install the tryout of Premiere Elements 10. During installation insert your purchased serial number.
    Be sure to read and carry out carefully the web page's Note: Very Important Instructions" and its click "here" before all else in order to avoid Access Denied.
    Photoshop Elements 10 Direct Download Links: Free Trials, Premiere | ProDesignTools
    Pre-installed programs do not always come with serial numbers. This type of matter needs to be resolved at the time of purchase of the computer.
    You need both installation files as well as the purchased serial number for those files to move forward. Adobe cannot help you on this type of situation.
    Your last resort is Sony who probably will not be able to help you unless you have a sales agreement stating your rights.
    We will be watching for further developments. I am hoping that the route that I have suggested works.
    ATR
    What video card/graphics card does your computer use? NVIDIA GeForce?

  • Harddisk crashed, replace a new harddisk, where can i get OS ?

    Hi,
    My Macbook have harddisk fault, and I replace a new harddisk by myself.
    But, I have a question that where can I get the OS to install to the new harddisk ?
    Unfortunately, I don't have any backup of my old harddisk before it crash, Any one know that where can i download the OS for my new harddisk ?
    Many Thanks.

    You can't download the Mac OS. You'll need to buy the 10.6 Snow Leopard install disk. They're $29 USD in the United States.
    Once you have it put your install DVD into the optical drive and reboot. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option key until the Install Disk shows up). That will force your MacBook to boot from the install DVD in the optical drive.
    When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. You should see your hard drive in the left hand column along with your other drives. Click on the drive and select the Erase tab. Set the format value to Mac OS Extended (Journaled) and click the Erase button. After that has finished select the Partition tab. Type in a Name for your hard drive and select how many partitions you want from the Volume Scheme. The usual setting is one partition. Click on the Options button after you've selected a partition to make sure it's set for GUID. Then click the Apply button and after the Partitioning is done quit Disk Utility. You can now follow the instructions on the install screen

  • Will my pictures be deleted if if sync with new harddisk?

    I´ve have used my ipod as a disk and got some pictures on it with my cameraconnecter. Now I got a new harddisk on my computer.
    Will my pictures be deleted if I sync it?

    If you copied photos to your iPod using the full resolution option, enable disk use, open your iPod in "my computer" in Windows or Finder on a Mac, open the photos folder then open the "full resolution" folder and drag the photos out of that folder to your desktop. For enabling disk use look here.
    Disk Use.
    If you only copied the photos as thumbnails, you can't do this so you'll need a program such as this one.
    iPod Photo Copy. (Windows only)
    iPod Photo Liberator. (both Mac and Windows versions available)
    Photos as thumbnails won't be of the original quality when copied back to your computer.
    Once they're back on your computer, you won't lose them.

  • Reinstalling Lightroom after harddisk failure and new harddisk

    Hi I have faced a harddisk crash  and got a new 1 terabyte harddisk.
    Now I am installing the programs again but when I put the disk into the slot it does accept it.
    What can I do?
    Pls help
    rgds
    Niels

    Hi  Adobe Photoshop Lightroom 5 and Elements 12
    Den 30/11/2014 kl. 20.25 skrev John Waller <[email protected]>:
    Reinstalling Lightroom after harddisk failure and new harddisk
    created by John Waller <https://forums.adobe.com/people/John+Waller> in Adobe Creative Cloud - View the full discussion <https://forums.adobe.com/message/6973190#6973190>
    when I put the disk into the slot it does accept it.
    Which Adobe software are you trying to re-install?
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/6973190#6973190 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/6973190#6973190
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Creative Cloud by email <mailto:[email protected].com> or at Adobe Community <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=14&container=46 70>
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624 <https://forums.adobe.com/thread/1516624>.
    Venlige hilsener
    Niels Brandt

  • Time machine with a new harddisk

    Hi all
    I just used time machine to restore my leopard into a new harddisk.
    everything work just fine,
    then I want to continue to use this external hd(time machine) to backup the new harddisk that I have in my mbp.
    But somehow TM keep showing preparing to backup and eventually show 'fail!'
    Must I format & restart the TM in this new hd?

    I would like to jump in on this discussion and say I am having the same problems. For me, I think the issue appears to be connecting to the remote hard drive (connected to the AirPort Extreme usb port). It never had a problem backing up my iBook, but once I upgraded to a macbook two months ago it only completed the initial backup.
    My questions are - how much would you recommend just reformatting that side of my hard drive (it's partitioned, with a full manual backup on the other side in FAT32 in case...god forbid...I need to access a file from a PC), and starting over? Secondly, it seems to be working just fine in creating a TM backup when I manually connect the hard drive. However, in my wireless life, this just isn't convenient or common. Is this something I need to manipulate in the AirPort settings?
    Here is the error message I get from the TM buddy (Thanks for that link, btw!). I have edited my name out, but otherwise this is what I get time after time through remote backup. I am especially concerned that it still recognizes my laptop as "MYNAME iBook G4," even though this computer has now been renamed MYNAME Macbook.
    To make things even more fun, my Xbox sees my Macbook as "Printer."
    Some help on this perplexing problem would be really appreciated.
    Starting standard backup
    Mounted network destination using URL: afp://MY%[email protected]._tcp.local/MYNAMETIMEMACHINE
    Backup destination mounted at path: /Volumes/MYNAME_TIMEMACHINE
    Failed to mount disk image /Volumes/MY NAME_TIMEMACHINE/MY NAME’s iBook G4 (2)_002500d2ceb6.sparsebundle (DIHLDiskImageAttach returned: 102)
    Waiting 60 seconds and trying again.
    Ejected Time Machine network volume.
    Mounted network destination using URL: afp://MY%[email protected]._tcp.local/MYNAMETIMEMACHINE
    Backup destination mounted at path: /Volumes/MYNAME_TIMEMACHINE-1
    Failed to mount disk image /Volumes/MYNAME_TIMEMACHINE-1/MYNAME’s iBook G4 (2)_002500d2ceb6.sparsebundle (DIHLDiskImageAttach returned: 102)
    Waiting 60 seconds and trying again.
    Ejected Time Machine network volume.
    Mounted network destination using URL: afp://MY%[email protected]._tcp.local/MYNAMETIMEMACHINE
    Backup destination mounted at path: /Volumes/MYNAME_TIMEMACHINE-1
    Failed to mount disk image /Volumes/MYNAME_TIMEMACHINE-1/MY NAME’s iBook G4 (2)_002500d2ceb6.sparsebundle (DIHLDiskImageAttach returned: 102)
    Giving up after 3 retries.

  • How to reinstall a time machine backup under lion on new harddisk ?

    I want to reinstall a computer backup (time machine) on a new harddisk. The operation system is lion. Since I have no OS disk - as I would have with show leopard - how can I start ?

    Use Lion Recovery and select "Restore from Time Machine backup".

  • Harddisk crashed, how to reinstall windows 7 on a new harddisk

    I have put a new harddisk in my presario cq61 - 405ed but now I need to get my windows back but i don't have it preinstalled on the hidden partition anymore cause the old harddisk is completely gone. How do I get these files?

    Hi:
    You may have two options...
    Order a set of recovery disks for your notebook by reading the info at the link below.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=bph07143&tmp_task=solveCategory&cc=us&dlc=en&lan...
    If you can still read the 25 character Microsoft product key you can do this as well...
    If you can read the 25 character Microsoft windows 7 product key, you can download plain Windows 7 ISO files to burn to a DVD for the version of windows that came installed on your PC, and that is listed on the Microsoft COA sticker on your PC's case.
    Burn the ISO using the Burn ISO option on your DVD burning program and burn at the slowest possible speed your program will allow. This will create a bootable DVD.
    Use the 25 character product key on the PC to activate the installation.
    The key will activate either a 32 or 64 bit installation.
    Then go to the PC's support and driver page to install the drivers you need.
    Link to the W7 ISO file downloads is below.
    http://www.mydigitallife.info/official-windows-7-sp1-iso-from-digital-river/
    Paul

  • How can I restore the settings on a new harddisk from the older Harddisk beeing the same system?

    From which folder do I have to copy the archives or bookmarks to the new harddisk in users folder? I found some backups AppData/Mozilla/Firefox/Profiles/9yzsnd2m.default/bookmarkbackups? But how can I restore the whole page?
    Yours
    Werner Dreyer

    See:
    *https://support.mozilla.com/kb/Recovering+important+data+from+an+old+profile

  • Format new harddisk and replace in MacBook

    I've bought a new hard disk for my MacBook (2006 with a Toshiba 60 Gb).
    The new disk is a WD Scorpio Black WD3200BJKT - 320 GB - SATA-300 2.5" x 1/8H 300 MBps 7200 tpm 16 MB
    I did the following steps:
    - put new harddisk in external case
    - format with disk utility (first option GUID GPT)
    - make an exact copy with Carbon Copy Cloner
    - check the conctent (is exact copy)
    - reboot in external box (does'nt work)
    - replace the hard disk internal
    - restart (also alt-option-P-R)
    It won't start in external box ans also not in MacBook
    only apple symbol, and it starts over and over....
    what did I do wrong?
    Louis

    Two things come to mind:
    Did you check the box in CCC that says Make Bootable (or whatever it says)? I don't know if this is an option in all versions of CCC but I believe it was in some versions, not certain. does CCC say that your cloned copy will be bootable? NOTE: An older version of CCC used to say it would be bootable even if your external Firewire drive was not a bootable drive enclosure.
    Is your external drive enclosure bootable? If you are using USB as opposed to firewire then it is not. Even if you have a Firewire external drive enclosure it may not be a bootable drive inclosure, depending on what chipset it has installed. I have both kinds myself as I learned the hard way that you can buy a non-bootable firewire hard drive enclosure.

  • New harddisk, now what with the videocard??

    Today i received a new harddisk, i have someone who installed it, he installed vista, and i wanted to start the game second life after downloading it... but it says my videocard isn't good..
    I'm a PC "idiot" so i don't understand any of it
    what's wrong?
    gr. Winx

    wjli2 wrote:
    What is the model and serial number of your laptop.
    Please post your Type and Model Number, do not post your serial number as suggested by the other member
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

Maybe you are looking for

  • Verizon iPhone and Data Usage

    Does anyone have some sort of gauge to judge how much data I can expect to use in any given month? I understand "depending on the individual." I'm not using this phone for for business, just occasional web surfing and such. If anyone has the experien

  • Bootcamp manager won't open in Windows 8.1.

    I've installed bootcamp on my iMac but the trackpad touch-to-click or multi-gesture functionality doesn't work. The odd thing is that the functionality works for a few moments after I've logged in, but it doesn't work once the account is fully logged

  • Upgraded to 7.5 and iTunes is Broke

    Hi After upgrading, iTunes is toast. When I try to open, it flashes to iTunes and then I get the "iTunes unexpectedly quit" I've tried permissions, Disk Warrior, trashed itunes and redownloaded, tried 7.4.2 and I keep getting ....Unexpectedly quit. I

  • I cann't deploy SRDemoSampleADFBC sample on Tomcat

    I'm using Apache Tomcat 5.5.16 and I'm trying to deploy SRDemoSampleADFBC sample but I getting folowing error trace: INFO: Deploying web application archive SRDemoSampleADFBC.war Apr 10, 2006 12:54:41 PM org.apache.tomcat.util.digester.Digester endEl

  • Modifying string arrays

    Hello experts,   I'm a labview newbie, but I haven't found anything that's quite like this in the knowledge base: Below is a simplified version of a data collection vi I built. The vi in the screenshot uses a random number generator, but my real vi p