Bundle cluster automatica​lly?

Hello All,
  I've been trying to find a way to create a cluster automatically based off of imported format data, but have not had any luck.  The number of elements is quite large, and there are several different data types, so I would prefer to not have to build the cluster manually.  I searched the discussions forums, and there have been other people that have asked about this same function, and the answer has always been "there is no good way".  However, most of the posts have been from several years (and several Labview versions) ago, so I thought I would resubmit the question.  Has there been any new features added recently, or any new development done related to this? 
-I am already aware of the non-supported scripting tools (that may or may not still be valid).
-I am aware of the possibility of obtaining a "scripting license" from NI, but do not consider this an option. 
-The format data is in a .csv type of format, so I cannot use the "Shared Library Wizard" like if it were in a .dll or header file.
-The import does not need to happen at runtime, it will only be used to configure the software tool prior to use.
-I am working with Labview 2012, but have access to other versions.
Thanks much.
GSinMN   
Solved!
Go to Solution.

What exactly do you  mean by automatically bundle? Do you mean you will try to read some data from a file and just dump it into a cluster and at the same time have varied formats for the data? This is not possible and more than likely will never be possible. Will a single execution only deal with one particular data type? If so look at LVOOP and dynamic dispatch. If you need to use different data types at run time you can still use dynamic dispatch but you will need to know what type to invoke. Your code will require a case structure to choose the right processing the particular data type.
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

  • I would like to extract the names (labels) of my elements in a cluster automatica​lly, how can I do that?

    Because I want to write down the data in a cluster to a textfile, I need a header line. I'd like to have one consisting of the names of the elements in the cluster. And I'd like to extract them automatically, because I don't want to create 60 property nodes.

    Dynamically changing the labels on the elements of a cluster doesn't seem to be easily possible. Perhaps this is due to the need for name matching in the Unbundle by Name function.
    It is possible, however, to change the caption dynamically. Same method as given above, but write to the caption.text property. An example is attached if you're reading this through the NI web site.
    Attachments:
    Rename_Cluster.vi ‏41 KB

  • Running the same code multiple times with different paramters automatica​lly

    Hi guys,
    I want to run the same code multiple times with different paramters automatically. Actually, I am doing some sample scans which takes around 2 hours n then I have to be there to change the paramters and run it again. Mostly I do use folowing paramters only
    X_Intial, X_Final, X-StepSize
    Y_Intial, Y_Final, Y-StepSize
       Thanks,
    Dushyant

    All you have to di is put all of the parameters for each run into a cluster array. Surround your main program with a for loop and wire the cluster array through the for loop. A for loop will autoindex an input array so inside the for loop you just have to unbundle the cluster to get the parameters for each run.
    Message Edited by Dennis Knutson on 07-13-2006 07:50 AM
    Attachments:
    Cluster Array.JPG ‏9 KB

  • Print HTML Report Automatica​lly after Each UUT

    Hello
    I saw the document on NI site called "Print HTML Report Automatically after Each UUT". That's exactly what I want to do with XML files. So I put it in my sequence file and it works fine, but when it opens the xml file at the first step, there's a pop-up from IE who say that "Scripts are generally safe, do you want to authorise this script" (This message is also displayed when I open my file in files explorer).
    So, the print is not automatically anymore as I must answer to this pop-up. does anybody has a solution to bypass this pop-up ?
    I tried to use the property silent on the class IWebBrowser2. Inded, the pop-up doesn't appear anymore, but my XML file isn't correctly printed. I supposed the default response of the pop-up (which is no) is applied. So the script isn't executed.
    I also tried to configure IE to not display this pop-up : No result
    Regards
    Laurent

    Hello,
    I think that you need to configure your browser, can you take a look a this article:
    http://www.maxi-pedia.com/scripts+are+usually+safe​+do+you+want+to+allow+scripts+to+run
    Regards,
    Nacer M. | Certified LabVIEW Architecte

  • How to take a screen shot automatica​lly and from a remote location

    Hi,
    I have a Desktop, a Video Analyzer with Windows XP, and a Laptop, also running Windows XP. What I would like to do is take a screen shot from the Video Analyzer while running the LabVIEW VI from my laptop.
    I have found this, which gives me insight into the complexity of a print screen call, but this is really only if LabVIEW were running on the system from which my screen shot is desired. For this post, that is not the case.
    If you have a solution or even just a vague idea or comment, please do not hesitate to post. I appreciate any and all feedback on this topic.
    Thank you for your time.
    Jake Brinkmann
    Electrical Engineering Intern

    Thank you for your response. I would like to aviod using outside software in this. I'm sure that TightVNC is great, and it would probably work. I would, however, just like to do this using labview and labview only. Maybe it isn't possible but I really would like to do it entirely in labview. If anyone has any suggestions, I would love to hear them even if they, too, have outside software involved.
    Thanks again Joseph

  • Open a SubVI and run automatica​lly

    Hallo everyone,
    I´ve an event structure in which a SubVI is called by VI server. I don´t want the main VI to be frozen so I turned the wait until done off.
    But the SubVI is just called and in edit mode. How can I call the SubVI and run it automatically?
    Regards,
    Wilbur
    Solved!
    Go to Solution.

    Hi all:
    I have this configuration: 
    manually execute process 1, then there is a button that opens (when click BTN-A-HISTORICO) the process 2 and process 1 is minimized and still running. 
    Then the process 2 opens in edit mode.
    I put the 0 in the options in the Open VI Reference but i don't understand why doesn't work.
     HEEEELLLPPP
    I'm using labview9
    process 1
    process 2
    por el poder de Grayskull

  • HP Envy Will Not Sleep Automatica​lly

    My computer will sleep fine if I tell it to, but it won't do it automatically. That function is critical to my computer's security.
    I confirm that I've told it to sleep after 1 minute, whether on battery or plugged in. If I tell it to dim the screen after a minute, that works fine, but it will not sleep.
    Below is the Power Efficiency Diagnostics Report (Forum removed HTML) -- note the errors.
    I have unplugged all USB devices. I have stopped the WIndows Media Network Sharing Service. I have disconnected from the network (airplane mode). It still will not sleep.
    Please tell me what else to try.
    Thanks.
    Power Efficiency Diagnostics Report Computer Name HP_ENVY Scan Time 2014-05-16T02:26:12Z Scan Duration 60 seconds System Manufacturer Hewlett-Packard System Product Name HP ENVY TS 17 Notebook PC BIOS Date 03/05/2014 BIOS Version F.53 OS Build 9600 Platform Role PlatformRoleMobile Plugged In true Process Count 103 Thread Count 1174 Report GUID {85eba029-391e-4c52-b630-5313c8f32a3c} Analysis Results Errors
    Power Policyisplay timeout disabled (On Battery)
    The display is not configured to turn off after a period of inactivity.
    Power Policyim timeout is disabled (On Battery)
    The display is not configured to automatically dim after a period of inactivity.
    Power Policyisplay timeout disabled (Plugged In)
    The display is not configured to turn off after a period of inactivity.
    Power Policyim timeout is disabled (Plugged In)
    The display is not configured to automatically dim after a period of inactivity.
    System Availability Requestsystem Required Request
    The device or driver has made a request to prevent the system from automatically entering sleep.
    Driver Name \FileSystem\srvnet
    USB Suspend:USB Device not Entering Selective Suspend
    This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
    Device Name HP Wireless Mouse Host Controller ID PCI\VEN_8086&DEV_8C31 Host Controller Location PCI bus 0, device 20, function 0 Device ID USB\VID_03F0&PID_8207 Port Path 2
    USB Suspend:USB Device not Entering Selective Suspend
    This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.
    Device Name LSI USB 2.0 Soft Modem Host Controller ID PCI\VEN_8086&DEV_8C31 Host Controller Location PCI bus 0, device 20, function 0 Device ID USB\VID_047E&PID_2892 Port Path 1
    Platform Power Management CapabilitiesCI Express Active-State Power Management (ASPM) Disabled
    PCI Express Active-State Power Management (ASPM) has been disabled due to a known incompatibility with the hardware in this computer.
    Al
    HP Envy Touchsmart 17
    Windows 8.1 Build 9600
    This question was solved.
    View Solution.

    Hi, AQB,
    Yes, I solved it. Here are my notes on the issue:
    See this web site:
    http://mingersoft.com/blog/2011/12/why-wont-window​s-automatically-sleep/
    Better:
    http://helpdeskgeek.com/windows-8/fix-windows-8-1-​will-sleep/
    From the command prompt:
    powercfg -requestsoverride driver \filesystem\srvnet system
    or
    powercfg /requestsoverride driver srvnet system
    or
    powercfg /energy /output c:\temp\requests.htm
    See this web site:
    http://mingersoft.com/blog/2011/12/why-wont-window​s-automatically-sleep/
    Better:
    http://helpdeskgeek.com/windows-8/fix-windows-8-1-​will-sleep/
    Al
    HP Envy Touchsmart 17
    Windows 8.1 Build 9600

  • Printing a control panel at a specific time of day automatica​lly

    I would like to be able to print out a control panel at a set time each day. I know that I can connect the print data member of the panel to another object. What should that object be?
    Thanks

    Try the "Time-Of-Day" object. Its parameters are on/off, Offset time, duration time and format (all parameters are “yellow” fields except format, which means you can use other object data members). On/off lets you disable the timer, offset time is when in the day to activate the timer (i.e. 17:00:00 for 5:00 PM), duration time is how long to pulse the timer (to tickle a panel to print you would only need 00:00.1) and anything would do for format if you don't intend to display the timer (00:00:00 would be appropriate if you display the timer). Connect the Time-of-day object implicit data member to the panel object writable print data member and you are done. When the offset time is the current time the time-of-day object pulses and the panel prints. Be aware that the area of the panel that prints is based on the Height and Width parameter values, not the position on the screen (the X and Y data members override the parameters if connected). There is more info on timers and panels in the on-line help.

  • Start and stop a loop automatica​lly subtractin​g at each iteration

    Hi there,
    I know that there are some topics about it, but I could not find any solution, especially because I use the version 7.1 and cannot open new version files.
    My problem is as follows:
    I need to charge a tank from 6 to 10 in the morning, every day during 3 days. The process must start and stop automatically, which means, no bottoms to start or stop. The start and stop conditions come from the hour.
    I start with a big loop of 72 iterations, which corresponds to 72 hours.
    The tank must start at level 6 every time it starts.
    After the start, 1 unit must be subtracted in each iteration. Which means, that at 6 am the tank has level 10, at 7 am level 9 and so on. In the end, at 10 am the tank level is equal to 2.
    In the next day, the process must start again and the tank must start at level 6.
    Any suggestions? Thanks in advance.
    Solved!
    Go to Solution.

    While this may work it can be improved significantly. This really isn't a state machine. This is basically the same as your flat sequence with the exception of using a While loop with a Case statement to implement each frame.
    You should define what your actions are and create a typedefed ENUM naming them. State names of 1 through 24 are meaningless. Not to mention in your code many of the cases are duplicates of others. That would mean that all of those can be one state with logic to determine what action/state comes next. A properly defined state machine would not need the outside For loop. Without knowing your specific needs some examples of reason state names would be the following: Start, Stop, Exit, Error, Initialize, Get Tank Level, Fill Tank, Drain Tank, Idle, etc. Can you see how these are easier to understand than 1 through 24.
    There are lots of examples of state machines here. Try a search and take a look at some of them.
    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

  • HP Officejet Pro 8500A A910a can't automatica​lly connect to wireless network

        Product Name and Number
         HP Officejet Pro 8500A A910a
         Netgear DGN2200 Wireless Router
    Operating System
        Windows 7 32-bit
     I experience frequent power outs and whenever power is restored I have to reconnect the printer through WPS. I have followed all the instructsons here to connect automatically and I have added the wireless network details in the printers embedded server but still no luck. Anything else I can do?
    Alternatively I was thinking of connecting the printer to the router via ethernet. But how then do I get my wireless laptops to communicate with the printer to print and scan?

    HI,
    Not sure if this is fixable after an power outtage, but connecting the printer via ethernet to the router keeps printing and scanning over the network the same, as long as your wireless laptops are in the same network. After connecting the printer just reinstall the drivers on your laptop so that it gets the correct ip adres and everything should be fine.
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Although I work for HP my posts and replies are my own
    Please mark the post that solves your problem as "Accepted Solution"

  • Windows 8.1 settings window and other apps automatica​lly minimize/c​annot be selected.

    Whenever I try and change my settings by going through the usual charms menu-> Change PC Settings, the instant the settings window comes up it disappears. I try bringing it up from the taskbar and the same thing happens: it seems to maximize then just disappears. I can't switch to it, only close it. This applies to any app in Windows including Sports, News, etc.
    Thanks in advance!
    I'm running on Windows 8.1 and have a  HP ENVY dv6-7214nr.

    Hi Marhorie4,
    This is the command you should try to enter
    powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register
    $EnvystemRoot\ImmersiveControlPanel\AppxManifest.x​m
    The restore point was  safety precaution, so it something when wrong you would have a good restore point to return to. As you have one that was before the issue started, I would keep and use that one.
    Here is a link to a Window.microsoft.com answer to assist you.  Cannot use Windows 8 apps or get to PC Settings!
    If the issue remains, I would do a   Refresh Your PC to Resolve Problems (Windows 8).  This will reinstall the original OS.
    Now try doing your update again.
    Updating Windows 8 to 8.1
    If this has not helped I would do a full factory recovery.  Here is a link to System Recovery / Backup / Restore.  There are links on the page to guide you through doing a recovery and restoring your files if you opted to do the backup.
    You may also consider contacting HP support for further assistance. They can remotely access your system to help find and fix issues.
    Please call our technical support at 800-474-6836. If you live outside of the US/Canada Region, please click the link below to get the support number for your region. Phone Assist Worldwide
    Good Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • P55T-A5116 when it automatica​lly goes to sleep it will not wake up without a hard reboot

    When I allow my computer to go to sleep and it stays in sleep mode for about 15 min, it will not wake up unless you do a hard reboot.  The power button stays solid illumination of white and the screen is black, even when I make the settings for any keyboard stroke to wake it up.  I updated the driver for the display, but that did not work.  I've looked at all the postings in the forum, but doesn't seem to have a solution.
    The odd thing is that if I manually put the computer to sleep, the power indicator blinks like it should in sleep mode and wake back up.  The issue is when I just leave it unattended and let it go to sleep.  The only thing I haven't done is do a complete factory reset, which I really don't want to do.  Can someone help me with this?

    Hello guys. Same story! My computer sleeps off when am typing. Sometimes it becomes too much and i can hardly type any   word. Its very very annoying and it has stressed me because i have much to do. i have checked power settings but looks to be okay. Imagine it has gone to sleep 10 times as i typed this text!  i have to keep touching the power button all the time! sometimes i touch any key and it goes on

  • Automatica​lly decreasing the frequency of a sinwave in a While loop, at a set timing.

    Hi,
    I am quite new on labview, I just started to use it roughly a month ago.
    I am trying to simulate impedance measurement (not connected to any load units yet).
    I am struggling to find a proper way to change the frequency of the sinwave, after a certain length of time, to make it describe a full spectra of frequency. I don't want to change it at every iteration, but like every 80 seconds, after the start/stop button has been pressed.
    To be more clear, I want to set a Max frequency, a Min frequency, and have the program dividing the frequencies by two (10000, 5000, 2500... Assuming the Max is 10000 for example) every 80 seconds. And stopping at the min frequency.
    Here is the vi attached.
    If you think of better way to run my .vi, please let me know.
    Kentmey.
    Kentmey
    Attachments:
    Sin wave start stop.vi ‏97 KB

    The frequency is set by the 'w' parameters in your sine wave function.
    So basically, you want a function that reads in the current time and outputs a frequency value starting at 10000 and decreasing by 50% every 80 seconds.
    Here is a simple VI that will do exactly that.  It takes the data from Elapsed time (s) and delivers a frequency to w. 
    Right now, it's set to start at 10,000 but you can wire Fmax instead. 
    Attachments:
    Untitled 1.vi ‏6 KB

  • Stop email links automatica​lly opening in browser

    I accidently selected the option to always open links from my email in the toshiba internet browser and now everything opens there instead of having an option to open in an app instead. How can I reset this to give me an option of opening it "once" or "always" again as it's really annoying.
    Solved!
    Go to Solution.

    Oh, I'm sorry. I should have seen this was posted in the Excite board.
    In the Settings app, select "Apps" on the left. On the right section, there will be different tabs. It's kind of difficult to notice at first that there are tabs, but it should be on the "DOWNLOADED" tab at first. To the right of that is the word "RUNNING." Tap that to change to that tab, and now you should see "ALL" to the right of that. Tap that one. In the "ALL" tab, scroll down and find the application that's currently opening. Tap it. I assume it's "Browser." Now scroll down to the section called "LAUNCH BY DEFAULT" and tap the "Clear defaults" button.
    - Peter

  • Problem when I create a library automatica​lly using a vi.

    I create a library which contains a Shared Variable by the vi as the attachment shows, but the property of the autocreated Shared variable is not same with which I set in the vi, mainly in the propertys of Network.AccessType and Alarming.BadStatus.Enabled. But other propertys are same with which I set, What's wrong with this Vi?
    LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
    欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn
    Attachments:
    Createlibrary.vi ‏40 KB

    New problem: the created libarary cannot be deployed with the error: MyLibrary\My Variable deployment failed (error: -1967362041).
    After you dobleclick every shared varaible and click ok(without any change), then the libarary can be deployed successful!
    It's very strange to me, can anyone explain this?
    LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
    欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn

Maybe you are looking for