Front panel indicators used as controllers and viceversa

It is possible to use indicators also as controllers?
I would like to load data from a file and then to be able to edit that data.
Kind regards

Hi vick217
this is the Spanish board. But I think  a "Local Variable" or a Value "Property Node"
could work for you.
Regards.

Similar Messages

  • How to create control dynamicall​y while front panel fly using Xcontrol or anyothere options but without scripting tools

    Hello friends
               I have one doubt How to create control dynamically while front panel fly using Xcontrol or anyothere options but without scripting tools.I need to create the controls while vi is running.For example I need to create one Boolean  while VI was Fly and i need one Examples it is easy to understand.
    Jayavel

    You must be using a different dictionary than the rest of us.
    You can't dynamically create controls while a VI is running.   (If I'm mistaken, then I'm sure someone else can jump in and say how it can be done.)
    Do you have a finite number of controls you could possibly need?  What you can do is create enough controls of the type you need ahead of time.  At the beginning of your program, you hide all of those controls.  As you need to create a control, you make it visible using property nodes.  There are numerous properties you can set at run time suce as ranges, colors, captions, ...  Of course you can't wire these controls to any other bits of code ahead of time since at that time, you haven't defined what you want each one to actually control.  But if you use an event structure to detect when the values of the controls have changed, you can then programmatically pass the data off to other parts of your code using queues.  The architecture can get complicate quite fast, so you may want to look through Ben's Action Engine Nugget and other related threads for how to create mechanisms for using these controls.  Perhaps storing queue reference numbers or assign user events to each one.

  • Are there any disadvantages to writing data to front panel indicators when the vi's panel is not shown during execution?

    Hi,
    In the case where a sub vi's panel is not shown during execution, does it matter if I include front panel indicators on the sub vi's panel? (these indicators were there for debugging purposes). Is there any performance penalty for this? Thanks!

    If the frontpanel is not loaded it has no time penalties. But a frontpanel is sometimes loaded because of property nodes!
    greetings from the Netherlands

  • Vertical Scaling of Front Panel Indicators

    When I use the Window Size option "scale all objects on front panel as window size changes", some objects scale in x and y and others (my indicators in particular) scale only in x, causing them to look wide but short.

    Dear Jeremy,
    Thanks for your help and sorry for being slow to get back to you. I have LabView 6.0. The problem does not appear to be caused by rounding. For example, I have a Boolean button which is sized 72x72, and an indicator sized 137x46. My overall window size is 1159x700. When I increase my overall window to 1448x875 (a 25% increase in both directions) and check off "scale all objects...", the button increases to 90x90 as expected but the indicator increases in length only to 171x46. It's height does not change. This is true for all the similar numeric indicators and controls. Perhaps it is the font size that determines their heights.
    I will attempt to post the vi. I am new to these discussion forums - it appears I should do this as a file attachme
    nt. Hope it works.
    Thanks, Peg
    Attachments:
    KLA_Power_Supply_Remote_2.4.1.vi ‏675 KB

  • How do I cause a vi to sent the contents of it's Front Panel Indicators out to STD OUT?

    I inherited an intermixed bag of software tools that are called from Command Line Interfaces I would like to add some code that I have written in LabVIEW to this bag. The only problem I have at the moment is getting anything that looks like a standard output argument from LabVIEW.  Is this possible? For example lest say I have a vi that performs a number of tests based on input criteria at the completion of the tests the indicators on the front panel look like oh say,  a Boolean that says Pass, a string that says Unit Name, and an array of strings that holds the names of the tests run, and a numeric that indicates the number of tests performed. How can I pass these values to STD OUT?

    an old thread I know but wanted to share this howto use a LabVIEW executable with SystemExec
    - pass your command line arguments by using the LabVIEW Application Property Node App.Args
    - write to std out using System.Console.WriteLine
    - write to std err using System.Console.OpenStandardError (string2byteArray, see screenshot)
    This solution is pure .net and works for 32 and 64bit systems.

  • How to save the data that a user has written in a table (front panel) by using a "press button"?

    Hi,
    I have the following situation. I need to be able to save the data I write in a table (front panel) when desired.
    This allows me to modify, add new data, etc in the "Table" when wanted and to SAVE the latest information when wanted.
    I need to save all the table data by using ONLY one button.
    Thanks for the help!
    Kind regards,
    Amaloa S.

    Hi,
    Thanks for the feedback. :-)
    Your answered helped.
    In this case I need to save the Data into an ARRAY.
    Now I have the following issue. I will try to explain:
    Suppose that I have following:
    1. Several GROUPS of Data like this:
        ER-1234
        ER-3245
        ER-4786
        ER-9080
    2. Each GROUP has the following ELEMENTS:
        A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
       So it would be like
        ER-1234: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-3245: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-4786: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-9080: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
     3. An each ELEMENT has DATA that I need to save, BUT! that I need to be able to get by specifying the group and the element.
        A:
             2,3   2,4    2, 8,   2,8 
             2,2   2,3    2, 7,   2,6
             2,1   2,6    2, 6,   2,7 
             2,5   2,4    2, 5,   2,3
    How can I save the ELEMENT "A" Data with the label of the GROUP and the ELEMENT so that I can recongnize it when I need to get the DATA again?
    Thanks for the help!
    Best regards,
    Amaloa.

  • Save Part of Front Panel as picture - sharing VI and asking for advices

    Hi,
    I use LabVIEW 8.2.1. (DSC&RT),
    It is common (at my work) that we want to save some parts of the Front Panel and to add it to the LogBook.
    we usually do PrintScreen and then cut the picture to the boundaries we want using 'Paint'.
    I have created a simple procedure that makes it easier and the user can now select the boundaries of the picture at the Front Panel.
    You can see the 2 VI's attached, (try2.vi is a sub vi of try.vi)
    Open 'try.vi' and press 'select boundaries' button and drag the boudaries with your mouse,
    after you have selected the boudaries, press 'save picture' button.
    I hope there are no bugs.
    Originally I have wanted to use drag and drop, but i didn't really understand what is going on behind the scenes
    when I used it.
    For example - look at the example (at NI Example Finder at LabVIEW) 'Drag and Drop - Multiple Data Types to Start Drag.vi'
    (C:\Program Files\National Instruments\LabVIEW 8.2\examples\general\dragdrop\Drag and Drop - Multiple Data Types to Start Drag.vi)
    (or via typing 'drop' in at the NI Example Finder search)
    1. I don't understand how the 'Drag and Drop Data' (located at the Application Control Palette)
    2. I don't understand the inside terminals of the Event Structure of 'Drag Enter' and 'Drop' -
        for example - 'available data names' and 'accepted?'
       where can I get information help written about any of the Event Structure inside terminals?
       (it does not appear in the Context Help when I enter with the mouse)
    3. Do you have any comments on the VI  I did ?
    4.I am planning to use this VI as a part of Log-In data to a follow-up LogBook Using Mysql as Database and NI sql connectivity toolkit,
       so users will be able to insert information to the LogBook from the Front Panel, and attach pictures of the Front Panel.
      Did anyone here has performed anything similar ?
    If you send me corrections of someting or any other NI item, please send it in a version that I can see it (I use Labview 8.2.1 DSC&RT)
    Sincerely Yours,
    Amitai Abramson.
    Attachments:
    try.vi ‏67 KB
    try2.vi ‏23 KB

    There are examples that come with the database connectivity toolkit so you are going to have to be more specific about your question. Whether you call it a logbook or something else, it's still a database and a database write is a pretty generic opertation. If you need help in the design of the database, then you should say that is what you need.
    The event data is going to change depending on the event and the type of control. Again, do you have a specific question?

  • No MIC on front panel, when using LineIn from the Ca

    Hi
    My TV Card ist connected at the lineIn FLexiJack at the Card. When I connect a Microphone into the FrontPanel of my Fatalty I only get the sound from the TV Card.
    How can I use the Microphone?
    Which switch do I have to move?

    Go to the mixer and select the mic or mic or anything that represent the mic input from the front panel under the REC section.
    PS:I don't own a X-FI so not sure the correct option name but it should work the same way as the audigy 2 zs.

  • Front panel freezes using custom XControl

    So here's the situation: I wrote an XControl using an external library (camera control functions). The control works as it should work. So I use it in a VI and save this file. Reopening the file causes the front panel to freeze. Why? When I restart labview after it ultimately crashed and place the xcontrol in a new VI it works like a charm again - but saving and reopening it leads to freeze and crash again. In an attempt to debug I deleted all the external VIs from my XControl, believing this to be the problem. Its completely empty now, but still the freezing and crashing. What could be the problem?
    Kai

    Thank you for your input! I appreciate it very much.
    To Chris:
    1) Version 12, 32 Bit
    2) Here is my init vi:
    As you can see, this is still default. I have not changed a thing. Maybe I should?
    3) This could be the case! How can I prevent this, if it is the case? Other XControls work fine. I will try a minimal experiment.
    To Altenbach: I tried to follow the instructions. Heres my facade timeout. Maybe the need to be more in there:
    One last thing. When loading the facade.vi it told me the following:
    Vi was expected under "C:\Program Files\Andor SOLIS\Drivers\Examples\LabVIEW\System Files\user.lib\atmcd32d_internal.llb\Error Code Handler.vi", but was loaded from "Z:\Kai\xcamera\MicroscopeControlPanel_64bit_06042​012_newroomPalmSet Folder\Program Files\National Instruments\LabVIEW 2010\user.lib\atmcd64d_internal.llb\Error Code Handler.vi"
     The first is the local machine, the second is an (access restricted) external drive. How can you EXPECT a source at one place, but load it from another? I will try to change that....it is definitely a possible error source.
    Thank you!

  • How do i display my labview front panel on a web-page and update it say eyery 5 seconds, I think i need Lookout?

    My front panel display updates every 20secs. I want to be able to view the Labview front panel on a web-page which updates itself continuously. Will Lookout do this?

    LabVIEW will do this with it's built in web server. Full control of a LabVIEW front panel is possilbe with version 6.1. Older versions have the ability to publish a panel with no control. What version do you have? Lookout is a completely different software package for HMI/SCADA applications and has no relationship to LabVIEW except that they're sold by the same company.

  • Setting up position of front panel objects using input from file

    I am working on a project and i have got the following query.
    i have a front panel with lot of objects like knobs,dials,push buttons etc..
    the entire panel will be the console to the user and as he changes the various
    positions of the objects their values will be written in to a file.
    now after a days work when the system is restarted again the next day
    the values of various objects should be read from the file and the front panel objects should be set in their position according to it
    in short the objects(knobs,buttons etc) should both act as o/p i.e when user interacts with them and they should also act as i/p when their position will be set from
    file.
    how can i achieve this.any help regard
    ing this would be greatly appreciated

    You should separate the read portion of this vi from the write portion of the vi. You want to execute the read portion of the vi only at startup and the write portion of the vi only at shutdown. So you'll be reading the file and writing the output to the property nodes, running your program, and then taking the value of the controls and writing to file. I have attached an example of how this might work. You might also do this with a state machine structure to control the data flow.
    Hope that helps
    Attachments:
    query.vi ‏49 KB
    read_file.vi ‏42 KB
    write_file.vi ‏36 KB

  • Need your help, How to write a program such as drag the objects to the front panel like using the LabVIEW Front Platte

    Dear all:
    Sorry for so long title.
    I need your help with how to drag the objects and drop onto the front panel.
    Like the LabVIEW front platte, i can choose the objects i can drop onto every where of the front panel.
    Could drag and drop function can satify?
    Any idea?
    Thank you
    Attachments:
    Image00000.jpg ‏75 KB

    What you want to do is relatively complicated and it seems that your knowledge of LabVIEW is relatively basic. I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • Is there a way to use the built-in Datalogging and programmatically log the front panel while the vi is running?

    I would like to use the built-in Data Logging feature. There is the "Log at Completion" option, but is there a way to programmatically make a new log record while running? I looked around in VI server and couldn't find any methods that would do that. Currently, I am grabbing all of the front panel control references using VI Server and if there are any changes, the changed values are written to a log file along with a date/time stamp. I'm mostly dealing with buttons, which simply change from 0 to 1 or 1 to 0, so it's not too hard to visualize what was pressed. It works okay for reconstructing what happened, but it would be much nicer to use the built-in fe
    ature because you can "replay" directly onto the front panel and actually see what the changes were. However, without being able to programmatically make a new log, it won't work for me.

    Jake,
    There are several options here.
    I would suggest using your own code for datalogging. The datalogging you are referring to is primarily for debug, and one shot datalogs of front panel indicators (and controls?), not including graphs, etc.
    If you go to the file functions, you will see a menu for datalogging. These functions will allow you to save your data, as you need it, simply, and in a compact format.
    I recommend opening the datalog file, doing all your file operations, and closing the file before the program is complete. There are several examples of this in the examples database.
    Good luck

  • How to save settings in the front panel to different files and retrieve it later?

    How to save the front-panel controllers' settings to different files and retrieve it later?
    What I've archived is the "Save Settings" function, but when trying to "Reload Settings", I can only retrieve the saved data to front-panel indicators, but not the controllers!
    Can anybody give me some advises?
    Thanks in advanced!
    Charles Lu

    Hi
    Just write the retrieved data to a local variable (but make it writable first) or property node of the controls.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • LabVIEW Real-Time and Remote Front Panel MemoryManager.cpp line 437 error

    Hi all,
    I'm using a smartcamera (NI 1742) with LabVIEW Real-Time 8.6.
    When I look at the Front Panel with the web browser and I close the browser or I Stop the executable, I always get this error: MemoryManager.cpp line 437. I've checked if someone else had this error, but I guess I'm the only person who got this error. I saw someone who had the MemoryManager.cpp line 406, but mine isn't on this line.
    The application works well, but when I got the error, I need to reboot the smartcam to get it works. In my application, I use the Modbus library and I read/write binary file in the hard disk of the smartcam....
    Anyone knows the solution?
    Thank you very much
    Stephanie

    Hi again,
    Still didn't find the problem on my side. Here's a picture of my code. If I put the code surrended in red at place (1), I don't get the error, but if I put the code at place (2), I get the error. Why oh why....?
    I get the error when I close the browser or click Back button of the browser or Stop the application with the red dot or stop the application with the Quit button on my front panel.
    This morning I found a post on this forum about getting an error using Property node and Remote panel (http://forums.ni.com/ni/board/message?board.id=170&message.id=252705). I did what they suggest: wire the property output to an indicator and it works (disable "Enable automatic error handling dialod" didn't work... I don't know why)... until I put extra code in my VI. 
    I really need help please!
    Thank you
    Stephanie
    Attachments:
    MemoryManager line 437 error.JPG ‏228 KB

Maybe you are looking for

  • If I purchase a Mac can I convert my PC files saved on a backup to my Mac?

    If I buy a Mac, can I convert my PC files, folder, saved on a backup to my Mac

  • Posting Key

    Error message is displaying while posting vendor payment transaction through F-53, that message is Posting key not defined. Message no is F5817 Diagnosis is Service Financial accounting: posting keyl "" was not found in the posting key table I checke

  • Best practices to generate archivelog

    Hi, What are the best practices to generate archivelog? Regards, RJiv.

  • Mail relay access error

    Hi, I recently set up my Server to host my domain, and also my email. everytime someone sends an email to the email that is hosted on my server it comes up with the following message... "This is an automatically generated Delivery Status Notification

  • (Re)Deploying web apps under [/] on SJSAS PE8

    I need some help on deploying web app under root []of the default virtual server. The problem is when specifying "Default Web Module" for the virtual servers I guess... How can I use asadmin or Ant task to deploy a directory under / ? Is it possible