Is possible to import controls, operators and indicators from a file? (for ejample *.CSV)

Is possible to program a VI from some type of file automatically? (.CSV for example).
The general purpose is to import information from electrical schematics.
Is there any better method for this purpose?
Is possible to create programming objects automatically within a vi from a file?
Vi can be created from another VI automatically by importing a file?
I attached a sample diagram image.
Thanks.
Solved!
Go to Solution.
Attachments:
Sample diagram.JPG ‏18 KB

In post #12 of this thread I commented on the Idea of creating controls on the fly
(Artwork courtesy of Christian Altenbach)
And include a link to where I posted this code
Which was part of a community project to help us manage emoticons for use in posting to this site (I still use this on my home machine).
As it stands now it will read in a set of images as defined by a configurtion file and populate the Picture Control with images of the emoticons. If you click on any of them, it will figure out what emoticon you clicked and copy the URL of the emoticon into you clipboard so you can paste it into the dialog for inserting images on this forum.
So it has the following abilities;
File driven set of images
Asssociation of image with info
Abilisty to import new
Automatically fits the controls to the picture.
Now don't dismiss this off-hand because it uses emoticons. The image can be anything you want. Using the image you get from an "invoke node >>>Get image" will work fine and can save you a lot of work since you do not have to code up the functionality of the control.
Now if you can limit the types of controls to a fixed set you can get another advantage to help you "make the controls work" by doing the following.
1) Mouse down picture .... find associated control type
2) Use off-screen hidden control of that type and move it to where the image is in the picture (over top of the picture) and make it visable and give it key focus.
3) Let user interact with the real LV control that is over-top of the image.
4) On enter or mouse leave of the control, get the new image, stuf it in the picture... hide the control that was previously hidden.
I can not leave this topic without again saying that "Controls on the Fly" application carry a large development effort to get them to work correctly.
Here is an image of one of my extreme versions of Controls on the Fly developed explicitly for touch panle interfaces (there are two shown, in this image)
Have fun!
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Is it possible to import new slides and keep the audio?

    Hi,
    is it possible to import new slides and keep the audio?
    The designers have changed the housestyle of the powerpoints,
    but the audio has been recorded in captivate in the meanwhile. Is
    it possible to keep the audio of the files and replace all the old
    powerpoint slides with new ones? (not one by one by hand off but
    all in one button press ?)
    Thanks,
    wouter
    My
    Elearning company.

    Hi again Wouter
    Are you saying that your Library has lots of other audio that
    isn't really used on a slide? If so, try right-clicking the Library
    panel and choosing "Select Unused Items". This should highlight all
    the sound files not in use. Now press the Delete key and they
    should be removed from the Library view.
    Now you are faced with just what is left. You may not know
    which clip goes with which slide. So try this. In your Film strip,
    audio attached to the slide should appear as a Speaker icon in the
    corner. Click the Speaker icon and pop down (or up) menu should
    display. Choose "Find in Library". This should highlight the
    associated clip in the Library. Now, if you like, you may
    right-click the file in the Library and rename that to something
    like "Slide X audio" (so you know which clip goes with which
    slide).
    Cheers... Rick

  • HT201302 How to importing personal photos and videos from iOS devices to my computer with Windows 8?

    myHow to importing personal photos and videos from iOS devices to  computer with Windows 8?
    Nothing indicating iPhone 4s folder for images and videos in Win 8 anymore after plugged in USB cable to PC with the iPhone 4s. Nothing pop up anymore asking if I want to backup photos  / videos to my PC (used to pop up in Win 7).
    Where can I find this folder in iPhone 4s?
    Thks!!

    You can do it via your computer's iTunes. If you are on iTunes 11 on your computer then you may want to re-enable the left-hand sidebar via View > Show Sidebar (option-command-S on a Mac, control-S on a PC), which might make it easier to navigate and my instructions may make more sense.
    To sync photos, connect and select your iPad on the left-hand side of your computer's iTunes (if you've enabled the sidebar), and on the right-hand side there should be a series of tabs, one of which should be Photos - if you select that tab you can then select which photo folders to sync to the iPad. There is a bit more info on this page. You will need to sync all the photos that you want on the iPad together in one go as only the most recent photo sync remains on the iPad - synced photos can't be deleted directly on the iPad, instead they are deleted by not including them in the next photo sync.
    If you haven't enabled the sidebar, then from your library click 'iPad' at the top right of the screen and you should get a series of buttons along the top of the screen, including one for Photos

  • HT201302 How do i importing personal photos and videos from Computer to my iOS device.

    How do i importing personal photos and videos from Computer to my iOS device.

    Read here:
    http://support.apple.com/kb/ht4236

  • BPC 7.5 NW: Import master data and Hierarchy from BI

    There is a HTG about Import master data and Hierarchy from SAP NT BW, the BPC cost center master data's property have corresponding attribute  InfoObject 0COSTCENTER of BW.
    what about for those properties which do not have corresponding attribute in BW? I would asume that START_ROUTINE and END_ROUTINE will do this in BPC side,  can we also do this on BW side instead of BPC side?

    Hi,
    You can check this in start routine which can be called from Transformation file using BADI.
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/28/b66863b41f47589b9943f80b63def6/content.htm
    Hope this helps...
    regards,
    Raju

  • Extracting operators and operands from the source code

    Hi there,
    I am looking for a way to extract operators and operands from a source code to do a complexity analysis of the code. The final outcome I am expecting is to get the number of operators and operands in the code, to perform a Halstead Complexity Analysis.
    Please let me know how this parsing can be done apart from just doing a sequential search of the content in the file.
    Any samples and references are highly appreciated.
    Thanks in advance!
    Regards,
    Aravinda777

    Common way to analyze code is to defining the things you are interested in using some approproate language and then using a parser generator (or compiler compiler = cc). I used antlr some time ago for this reason. Perhaps you want to take a look at it:
    http://www.antlr.org/

  • I have imported all photos and videos from my iPhone 5S into Aperture ver.3.4.5 and now cannot find them. I thought I could open a panel showing all imports and merely list them chronologically, but I don't see how to do this.

    I have imported all photos and videos from my iPhone 5S into Aperture ver.3.4.5 and now cannot find them. I thought I could open a panel showing all imports and merely list them chronologically, but I don't see how to do this.  There are over 1800 photos and about 100 videos, any help to locate where they've gone would be appreciated.

    Try to search with a Smart Album for photos and videos taken with an iPhone:
         File > New > Smart Album:
    Add an EXIF rule fro the "Add Rule" drop down menu: EXIF
    and set it to "Camera Model includes iPhone".
    Set the scope of the search to "Library"
    If there are any iPhone images or videos in your library at all, this search should find them.  Then ctrl-click any of the items and select "Show in Project" from the contextual menu.
    Generally, Aperture should be showing your last import in the "Last Import" smart album in the "recent" section". And the "projects" view can be sorted by date, so you should see your recent imports.
    You may want to check all search fields, if searches are active.

  • Importing emails, signatures and contacts from Entourage

    I've been trying to find a way to import emails, signatures and contacts from Entourage to mail. I want to change accounts so I can eventually use mobileme in the office I'm working at but don't want to have to go through the arduous process of having to copy everything manually into mail.
    Has anyone found a fool-proof way of doing this yet ?
    Thanks & cheers, Jan

    Just imported everything myself for Entourage X a few weeks ago.
    iCal will directly import Entourage's calendar.
    Address book can be done to ways. In Entourage, open Address book, under the file tab select export contacts. This will save a .txt file on the desktop which can be imported by mail. Another way is to create a folder on the desktop, then highlight and drag all Entourage contacts to the folder which can also be imported. Either way, if you have more than one email address per contact, you may have to cut and paste those manually.
    Mail will import email from Entourage directly. I had to import several times to get everything. In Mail under the File Tab, just click import mailboxes and select Entourage. Another window will open and you are able to pick which Entourage folders to import. All are selected initially.
    As far as signatures, you most likely will need to cut and paste those manually.

  • How to load date and time from text file to oracle table through sqlloader

    hi friends
    i need you to show me what i miss to load date and time from text file to oracle table through sqlloader
    this is my data in this path (c:\external\my_data.txt)
    7369,SMITH,17-NOV-81,09:14:04,CLERK,20
    7499,ALLEN,01-MAY-81,17:06:08,SALESMAN,30
    7521,WARD,09-JUN-81,17:06:30,SALESMAN,30
    7566,JONES,02-APR-81,09:24:10,MANAGER,20
    7654,MARTIN,28-SEP-81,17:24:10,SALESMAN,30my table in database emp2
    create table emp2 (empno number,
                      ename varchar2(20),
                      hiredate date,
                      etime date,
                      ejob varchar2(20),
                      deptno number);the control file code in this path (c:\external\ctrl.ctl)
    load data
    infile 'C:\external\my_data.txt'
    into table emp2
    fields terminated by ','
    (empno, ename, hiredate, etime, ejob, deptno)this is the error :
    C:\>sqlldr scott/tiger control=C:\external\ctrl.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Mon May 31 09:45:10 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 5
    C:\>any help i greatly appreciated
    thanks
    Edited by: user10947262 on May 31, 2010 9:47 AM

    load data
    infile 'C:\external\my_data.txt'
    into table emp2
    fields terminated by ','
    (empno, ename, hiredate, etime, ejob, deptno)Try
    load data
    infile 'C:\external\my_data.txt'
    into table emp2
    fields terminated by ','
    (empno, ename, hiredate, etime "to_date(:etime,'hh24:mi:ss')", ejob, deptno)
    this is the error :
    C:\>sqlldr scott/tiger control=C:\external\ctrl.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Mon May 31 09:45:10 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 5
    C:\>
    That's not an error, you can see errors within log and bad files.

  • (Cisco Historical Reporting / HRC ) All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054

    Hi All,
    I am getting an error message "All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054"  when trying to log into HRC (This user has the reporting capabilities) . I checked the log files this is what i found out 
    The log file stated that there were ongoing connections of HRC with the CCX  (I am sure there isn't any active login to HRC)
    || When you tried to login the following error was being displayed because the maximum number of connections were reached for the server .  We can see that a total number of 5 connections have been configured . ||
    1: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Current number of connections (5) from historical Clients/Scheduler to 'CRA_DATABASE' database exceeded the maximum number of possible connections (5).Check with your administrator about changing this limit on server (wfengine.properties), however this might impact server performance.
    || Below we can see all 5 connections being used up . ||
    2: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:[DB Connections From Clients (count=5)]|[(#1) 'username'='uccxhrc','hostname'='3SK5FS1.ucsfmedicalcenter.org']|[(#2) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#3) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#4) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#5) 'username'='uccxhrc','hostname'='47BMMM1.ucsfmedicalcenter.org']
    || Once the maximum number of connection was reached it threw an error . ||
    3: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Number of max connection to 'CRA_DATABASE' database was reached! Connection could not be established.
    4: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Database connection to 'CRA_DATABASE' failed due to (All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054.)
    Current exact UCCX Version 9.0.2.11001-24
    Current CUCM Version 8.6.2.23900-10
    Business impact  Not Critical
    Exact error message  All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054
    What is the OS version of the PC you are running  and is it physical machine or virtual machine that is running the HRC client ..
    OS Version Windows 7 Home Premium  64 bit and it’s a physical machine.
    . The Max DB Connections for Report Client Sessions is set to 5 for each servers (There are two servers). The no of HR Sessions is set to 10.
    I wanted to know if there is a way to find the HRC sessions active now and terminate the one or more or all of that sessions from the server end ? 

    We have had this "PRX5" problem with Exchange 2013 since the RTM version.  We recently applied CU3, and it did not correct the problem.  We have seen this problem on every Exchange 2013 we manage.  They are all installations where all roles
    are installed on the same Windows server, and in our case, they are all Windows virtual machines using Windows 2012 Hyper-V.
    We have tried all the "this fixed it for me" solutions regarding DNS, network cards, host file entries and so forth.  None of those "solutions" made any difference whatsoever.  The occurrence of the temporary error PRX5 seems totally random. 
    About 2 out of 20 incoming mail test by Microsoft Connectivity Analyzer fail with this PRX5 error.
    Most people don't ever notice the issue because remote mail servers retry the connection later.  However, telephone voice mail systems that forward voice message files to email, or other such applications such as your scanner, often don't retry and
    simply fail.  Our phone system actually disables all further attempts to send voice mail to a particular user if the PRX5 error is returned when the email is sent by the phone system.
    Is Microsoft totally oblivious to this problem?
    PRX5 is a serious issue that needs an Exchange team resolution, or at least an acknowledgement that the problem actually does exist and has negative consequences for proper mail flow.
    JSB

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

  • How do you import a list of users from a file? (BPC 7.5NW)

    In adding users from a network domain, the related personnel filter provides three choices.  One of the choices allows a BPC administrator to import a list of users from file.  For some reason, the radio button alongside that option is grey and the choice is inoperable.  Does anyone know what steps-configuration or later-must be taken to make this choice operable and to be able to import the list of users from a file?
    Edited by: Greg Tyrl on Jul 11, 2011 8:17 PM

    make a new addressbook and in that import Outlook's

  • HT201250 i am using for first time the time machine and an external hard drive because I want to erase my macbook and start from zero files. do i keep my files in the portable hard disk when I connect it again with the macbook or the time machine will era

    i am using for first time the time machine and an external hard drive because I want to erase my macbook and start from zero files. Am i keeping my files in the portable hard disk when I will connect it again with the macbook or the time machine will erase all?
    I would like to know if after I erase all my data, empy hard drive inside the macbook, the time machine will erase all my files that I have saved in my "WD "My passport" external hard drive

    Welcome to Apple Support Communities
    Time Machine has to erase the external disk in order to make backups. Before setting Time Machine up, copy the files of your external disk to the hard disk of the Mac in order not to lose them, and then, set up Time Machine. The first backup will start automatically.
    If you want more information about Time Machine, read the Pondini's site > http://pondini.org

  • Unable to snyc calender and contacs from outlook 2011 for mac

    iTunes won't sync calenders and contacts from Outlook 2011 for Mac
    OS Mavericks 10.9.5
    iTunes 12.0.1.26
    Also tried on iTunes 11.4

    I don't receive an error, i am syncing to iPhone and iPad... I connect the device to the MacBook with the cable, open iTunes and click on the device on iTunes then go to info tick sync contacts but it doesn't show me any contacts below, then tick sync calender and i could see the calenders and then I select the calender that i want to sync and press apply... the sync icon appears as if it is syncing and the disappeared after a few minutes.  When i check the iPhone or the iPad the calender and contacts are empty.
    I have enabled the sync services in outlook for mac 2011 and ticked calender, contacts and tasks and select the account to sync and the outlook folder to add new items to but still it does not sync anything.
    I went to the iStore technical support and the technicians were unable to help me they just told me that Apple has removed the functionality, to me it looked like they were clueless

  • Diappearing photos replaced by an exclamation point within a triangle.  Prior to loading Lion I could put the image number in finder and locate the original file for that photo.  How do I restore photos now?

    I had problems with photos disappearing and being replaced by an exclamation point within a triangle.  I can see the photo in the thumbnail summary but when you click on it, the screen goes black and the exclamation point within a triangle appears along with the info on the original image number (i.e., img_1120.jpg). Prior to loading Lion, I could go to Finder, enter the image number and locate the original file for that photo.  I could then restore it for editing, copying into Print Shop directly, etc.   That no longer works after installing Lion.   How do I restore photos now?  I have 100s of photos that I have been going back to the original files and restoring and I am frantic that I will no longer be able to get to the original files.  Please help!  Thanks

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    What version of iPhoto? Assuming 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

Maybe you are looking for

  • [SOLVED] Beginners' Guide history page stuck at 6th July

    https://wiki.archlinux.org/index.php?ti - on=history I suggest backing up the content, deleting it and creating a new page. Last edited by DSpider (2012-08-24 14:35:48)

  • CLOB / Charset / Java / Unix Issue

    Hi, I'm encountering the following problem. I'm working on a 3-tiers architecture with an Oracle Database (8.1.7) a Weblogic application server 6.1 SP4 and a Web server under Aix 4.3 (all 3 are under AIX 4.3 on the same platform). My application has

  • How to send browser display HTML page as HTML Email using JSF

    Hi all i need to send a whole jsf rendered page as a html page.... . say theres a page which hav few links , images etc & theres a send email button at the end of the page. once the user clicks on the button the whole page shld appear in another wind

  • IPhone5 - lightning 30 pin adapter problem

    The adapter plug is too short to work when the iPhone is in a THIN case.   Aparently the Lightning cable's plug is longer than lightning plug in the adapter for 30pin cable.  Returing the adapter; it's not as adaptable as it needs to be!

  • Import Export from CUE to Unity Connection 8+

    After looking on CiscoUnityTools.com I see there is one CUE tool for importing Users and recorded name WAVs from CUE into Cxn 8+ Does anyone have a method for moving all the users AND voicemails from CUE systems into Unity Connection, any version?