Front panel --pictures switch

Hi
I am a customer of NI. I have a question about the front panel design. I want to design a knob with different pictures. When it comes to different value, it displays different pictures. How can I get it? Would you send me a example? Thank you for your help.
Regards
Vivian

Well, there are many approaches to this.  It all depends on what you actually want to do, how big the pictures are, how fast you want the pictures to appear, etc.
Let's look at the knob.  That's easy.  They are found in the Controls Palette under Numeric.  SImply put a range to supports the number of pictures you want to select.
You could then use the numeric value from the Knob control as an index to an array.  Now depending on your requirements, the array could be an array of paths to the pictures that gets loaded on the Front Panel, or even as an index to an array of pictures. 
And there are many other solutions. However, the appropriate approach may depend on what you actually want to do.
Can you provide more details on what you wish to do?
Thanks.
RayR

Similar Messages

  • Exiting the VI and closing it with a front panel toggle switch

    I am developing a Data logging application by plotting a four channels on a Chart.
    What I would like to do is this :
    - Like any Windows application, as soon as the user double clicks the short cut to the VI, it should the load VI, run and wait for him to start the plotting for which there is a toggle switch. No problem here.
    - And the other toggle switch called "EXIT" when operated, should close the VI application ( equivalent to clicking the "X" button on the title bar.
    How to do this LV7 full development system?
    Thanks
    Raghunathan
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.

    Your situation is different, because you have a toplevel VI. (remember, it says "Open front panel if called THEN close afterwards if originally closed.) A toplevel VI is not "called"!
    If you want it to "run when opened", use the checkbox in the execution menu of VI options.
    Put a TRUE boolean diagram constant near the right border of your outermost loop, place a "Quit LabVIEW" outside all loops, and wire them together.
    LabVIEW Champion . Do more with less code and in less time .

  • Cannot create a VI equivalent of a boolean front panel indicator/​switch directly connected (subscribi​ng) to a datasocket

    I am attempting to create a boolean output from a simple boolean datasocket source the VI's is attempting to subscribe too. But for some reason it does not seem to be able to determine the boolean value from the data received. This VI was designed from the standard example DS Reader with Attributes.vi. Although I have tried many other approaches and can't get it to work. I'm not sure if i'm handling the datatype correctly. I'm pretty new to Labview too!
    Attachments:
    DS_Boolean_Reader.vi ‏37 KB

    I finally worked it out myself! Silly me...I just had to put the indicator inside the loop so it was constantly updated I guess! The learning curve can be steep for this no structured text language. I'm still not convinced it is faster than coding the old way. :-)
    Attachments:
    DS_Boolean_Reader.vi ‏37 KB

  • Resetting a front panel button

    I'm using a record button on the front panel, in "switch when pressed" mode. I run the VI, then press the record button. After stopping the VI, the button stays on. How do I make the button automatically return to the OFF state when running the VI the next time?
    Solved!
    Go to Solution.

    Set the property node value to "False" it will get reset.
    The best solution is the one you find it by yourself

  • Front panel breaks on file io change

    I'm working on a pump controls application in labview. The software uses inputs from various serial ports to make an input. 
    The problem I'm having is on start the application loads a calibration document (that translates the user's requested flow speeds into a frequncey to be fed to the pumps Variable frequency drive). Now the program works flawlessly fairly (despite flaws in my code), the problem I'm having is after ~3 months of operation I rewrote the calibration document to the same format (the program has no problem loading the document, nor reading its information). 
    Yet several front panel objects (switches) no longer function. Now I've been working in labview since 2009, so the problem confuses me greatly because I'm not using custom front panel objects and the majority of functionality remains intact.
    Attached is the VI, and its dependency 
    Attachments:
    GPI mark 3.vi ‏419 KB
    Input cleaner.vi ‏8 KB

    I think I may have found the problem.
    The re-wrote calibration document doesn't have a zero state (stop). And the loop that scans the calibration document (in memory) doesn't have a clause for a zero (stop) request so I added one. Will make this as a solution if this is correct. 

  • Front panel and audio header pinouts required for Lenovo 3000 J200p 9689

    I have re-cased my computer as I love the PC but the Lenovo case is but ugly! The problem is I gave the Levono case to my mate before checking the pinouts. I assumed it would be in the tech manual but it's not. I have got the power switch connected so all I need are the leds and audio.
    Would be greatfull if someone could take the time to do this for me.
    Many Thanks.

    Hi,
    I have this same issue. Can we get a motherboard manual for 8705-G6U? I was able to  figure out Front Panel power switch, PWR LED and HDD LED but audio is still a problem.
    Thanks in advance.
    Message Edited by thinker7 on 01-14-2009 03:45 PM

  • How can I take a picture of a camera output on the Front panel

    Hi all,
    I've been fighting this one for a while, But I have a DataRay WinCamD CCD image in my front panel, I need a way of saving that image to a file. I've been crawling through NI Vision and IMAQ VIs and I can seem to piece the process together. This is a sample of my VI with the CCD image code. Can someone help me figure this out?
    Many thanks
    Solved!
    Go to Solution.
    Attachments:
    Camera_only.vi ‏10 KB

    Its a simple version of what I use and its an integration code I borrowed from DataRay. The entire CCD image and buttons need to be included in a picture that I can save to my computer. I reuploaded the VI with the blocks labeled but thats all I have. Can anyone help me?
    Thanks
    Attachments:
    Camera_only.vi ‏10 KB

  • How to identify "front panel coordinates" of a marker on a 2d picture( google static Api map) in labview ?

    Hello
    I am working on a project which requires me to obtain the front panel coordinate of a marker placed on a 2d picture of a map. The map is being obtained by sending http request to google. I am using static google maps to obtain the map. Below is a picture of front panel with the marker pointing at a location on the map.The position of the marker keeps on varying around the picture as i change the input location. Hence i need a way to record the changes in position of the marker on the map.
    Thank you
    Attachments:
    front panel display.png ‏84 KB
    front panel 2.png ‏207 KB

    try this
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3DF1156A4E034080020E74861&p_node=DZ52505&p_submitted=N&p_rank=&p_answer=&p_source=External

  • How does one empty an array during runtime with a front panel switch

    I can 'empty array' from the front panel during runtime but I want to empty all arrays (20) from my vi with a front panel switch (see screenshot). I have used replace array subset and reshape array with no success. Any help would be appreciated
    Attachments:
    TempScan_screenshot.JPG ‏26 KB

    Hmm... You can empty an array by reshaping it or by assigning a constant empty array - using local variables or properies of the original control (see attached example... hmmm... not the best one ). May be you can attach a part of your code to see what is better to do in the given case.
    Attachments:
    reset_table.vi ‏20 KB

  • 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?

  • Picture Indicator slows down front panel

    Hello folks,
    I would like to use the picture functions vi's to draw alot of dots on a bitmap.
    Problem is, that after a certain amount of dots (>10k) the vi starts to slow down if I show the indicator of the picture.
    However when I use a picture to pixmap and then redraw the picture from the pixmap the front panel indicator doesn't slow down the vi at all.
    I would be very grateful for a more elegant solution to this problem other than redrawing the picture from a pixmap.
    Best regards,
    Mark
    Attachments:
    DotDrawing.vi ‏12 KB

    Mark,
    When the image has more datapoints than the image has pixels or when the new image overlaps part of the old image, things can slow down.
    But I suspect that the real problem is the re-allocation of memory as the picture string grows.  Open the Draw Point.vi and Set Pen State.vi block diagrams and you will see that each of them does a Concatenate String operation.  Strings are stored in memory as a 4-byte length and an array of characters. Like any other array, the string elements must be in contiguous memory locations. So, as the string grows, frequent memory re-allocations must occur.  This can slow things dramatically.  The way those picture VIs are built there is no way to effectively pre-allocate the memory.
    I do not know how effective it might be, but you could rewrite those VIs to use arrays of U8, Initialize Array, and Replace Array Subset, followed by Byte Array to String.  Then only one memory allocation wold be required.
    Lynn

  • Switching between two tables in the front panels

    Hi
    I am working on an application,which has two "Tables"
    in the front panel. Both the tables do get updated
    simultaneously from the same test,
    Table-A displays
    A short summary report while the test is beign executed, and result.
    Table-B displays
    A detailed report of the test and its condition and parameter
    along with results.
    My front end is a simple display table, along with couple of
    Button controls,like "START","ABORT","DeTAIL DISPLAY" and "QUIT"
    ofcourse.
    All these buttons are used in Event driven case structures except
    "DeTAIL DISPLAY"
    as the execution beigns, on the press of start button,
    there are number of tests in which i have to pass, parameters to
    DLL and get back the result parameters.
    The end customer requires to switch the display between the TABLE-A  & TABLE-B during execution.
    so i have a, seperate while loop,where in a case structure is wired to "DeTAIL DISPLAY"
    button, and if true, visible is set to true to TABLE-B, and false to TABLE-A,
    and vis-versa. as per the logic this while loop should take care of switching between the
    tables.
    The other while loop Takes care of the entire test.
    My problem is that, while i execute the switching of tables are not fast.
    it waits till the tests are over,and event case structure is in idle state, and then switches to the other table.
    Also some times i am unable to click on button"DeTAIL DISPLAY", as the event control
    case structure, is not responding till end of the execution.
    How to over come this problem
    rags

    Hi,
    Have you tried using notifiers in master slave architecture?
    check this out
    Attachments:
    Notifier.vi ‏45 KB

  • Switch Soft Front Panel, Active Device misassigned

    I have a PXI chassis with, among other modules, two PXI-2350 switches.  Using the Switch Soft Front Panel, it seems the names assigned in the Active Device list ( the two 2350's in this case ) are backwards to what I expect.  Is there a way to reassociate these names to the physical 2350's ?
    Thanks
    Solved!
    Go to Solution.

    Confustus,
    That is an interesting issue that I have never seen before, your devices in Soft Front Panel should be linked to the devices as labeled in MAX. I was wondering, when you say "Using MAX, we can select a route that connects the power source to the DMM using "Switch 1" ( for example ), and we can see the voltage reading show up on the 4071 Soft Front Panel as expected", what exactly do you mean? If you were to select your hardware device and click test panels, the NI Switch Soft Front Panel loads. Are you saying that when selecting test panels and loading Switch Soft Front Panel from max works as expected, however opening the application outside of MAX does not work? 
    Or are you talking about the Test Panels that you open up within NI Switch Executive? The test panels for NI Switch Executive refer to the NI Switch Executive virtual device name, not the DAQmx device name. If you had named the NI Switch Executive Virtual device name in a similar manner, this could be part of the confusing problems that you are seeing. See images below:
    NI DAQmx Test Panel Selection Brings this up.
    NI Switch Executive test panel brings this up. If these device names are similar, I can see how this could be confusing.
    Frank,
    National Instruments
    Staff Software Project Engineer

  • SCXI Switches not showing up in NI-Switch Soft Front Panel

    Hi,
    I have an SCXI 1001 chassis containing about a dozen SCXI 1160 switch modules. The first switch module is connected to a PXI-4060 DMM card in a seperate PXI chassis. MAX 4.0 was able to auto-detect the switches, and they show up under the "Devices and Interfaces" folder. However, when I run the NI-Switch Soft Front Panel application, the SCXI switches do not show up as selectable switches. Are there additional properties that need to be configured in order for the Soft Front Panel to detect the SCXI switches? Is there an online manual/guide for doing this?
    Thanks in advance for any help.
    VRMan

    If you have the option of using a DAQmx supported device as the controller for the SCXI chassis, I would recommend changing your SCXI configuration so that your SCXI devices show up in the Soft Front Panel.
    If the PXI-4060 (which is not supported under DAQmx) is the only SCXI chassis controller you have, a workaround is to use the Traditional(Old) Soft Front Panel. The Old Soft Front Panel has not been updated with switch modules since NI-SWITCH 2.4 and is not currently supported. But given that you have SCXI-1160s in your chassis, it should work for your use case.
    We install the Old Soft Front Panel at Program Files\IVI\Drivers\niSwitch\OldSoftFrontPanel

  • Front Panel Bank of Switches and related indicators

    I am designing a test system.  I would like a bank of switches on the from panel to turn individual test cases on/off.  I've figured out how to do that.  And I can do individual banks for the indicator (pass/fail) LEDs and the numeric test result field.  But, I'd like to tie them all together.  I'm  guessing I should start by using a cluster rather than an array.  But how to I get the various banks to act as a single group?
    As I have it so far, I have a back of switches and a bank of indicators (of switch status) for just playing around.  The indicators do not line up with the switches. I'd like a 1-to-1 correspondence for the operator's ease of use.  When I use "properties" to expand the indicator bank, it won't take the number.  It is internally limited somehow.
    DH
    Solved!
    Go to Solution.

    I've got an array of clusters now.  Much better, but not there yet.
    In the example provided, all of the indicators are labeled "T1".  I have the same issue with my implementation.  Change one label and it changes them all.  I would like to see "T1, T2, T3, ..." but cannot find a way to do that.  Also, I'd like each type in the cluster to be labeled at the head of the row or column on the front panel.  I can do this by brute force (just create a text field and plop it next to the array.  But I figure there has to be a more elegant solution.  One that ties the pieces together.
    Any thoughts?
    DH

Maybe you are looking for

  • How do I install photoshop on the E: disk? (Or any other location on my laptop?)

    I installed Photoshop, and it automatically installed on the C: disk (Windows 7). The C: disk has only 11 Gb left, and I think that's the reason that I get warnings about a full scratch disk. So I rather install Photoshop on E:. So I reinstalled ever

  • Problem in using two GTX Transceivers X1Y0 and X1Y1

    As mentioned in http://forums.xilinx.com/t5/Implementation/QPLL-loc-constraints/m-p/640345#M13007 please make use of shared logic.

  • Need to uninstall CS6

    How do I uninstall and reinstall photoshop CS6? Herbert

  • Logic with Pro Tools HD upgrade

    Hi - We're using Logic 7.1.1 with a Pro Tools HD system. I'm not at the system right now, but it must be Pro Tools 6.9.x because the machine is running 10.4.5. When we load large templates with lots of TDM tracks and inputs, Logic quits without any k

  • Unescaping Characters (URGENT and IMP)

    Hi I have an urgent and pressing need to solve this. I am reading the DB, a string which is basically an HTML page, and contains single and double quotes. sc_html is the JSP variable name. Now I have a javascript function being created through the JS