Using Graph as an Indicator or Control

Hi all
I have a simple question. How can i use the single GRAPH  as an Indicator type or a Control type by means of a boolean switch?
Such that
1) if i use it as an indicator then the Cursor automatically go to the calculated x and y coordinates
2) If i use it as a control then the cursor should go wherever i want to drag it.
Thanks

Basically the item si simple: use SetCtrlAttribute (panelHandle, controlID, ATTR_CTRL_MODE, VAL_INDICATOR) to turn the graph as indicator, use VAL_HOT to use it as a control.
If in indicator mode, you can set cursor position by menas of SetGraphCursor command.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • How to dinamically convert an indicator to control?

    Hello all,
    I need to write an application that:
    1) Reads an array of strings from a file, and show it on a indicator (and this is correctly done)
    2) Edit the array, as it was a control
    3) Elaborate the strings (My array is a list of SPI commands, that are sent to an external device)
    4) Optionally, save the modified array back to a file
    How can this be done? It's not possible to think of a property node that converts the indicator to control, because the indicator is connected to a source of data, and the control should be connected to a destination... (an SPI driver in my case)
    I somehow need an item with two connections, one entering and one exiting.
    Thanks
    Solved!
    Go to Solution.

    Hello all,
    and thanks for your replies!
    I think I've adopted a solution similar to the one you suggested, obtaining this front panel (see "frontpanel1.jpg" attachment)
    The frontpanel I'd like to obtain is the one depicted on "frontpanel2.jpg": one structure (control or indicator?) used both to edit and to view what I load from file.
    Maybe the only solution is to overlap a control and an indicator, and to toggle the "visible" property...
    Attachments:
    frontpanel1.JPG ‏30 KB
    frontpanel2.JPG ‏22 KB

  • Arrays as both Indicator and Control

    Is there anyway I can use an array (either a constant array or an array control) as both an indicator and control. I need this to enter and replace numeric values in an array.

    > Pretty much yes, but I want to use the same array (control or
    > constant) as both an indicator and a control. This way I can replace
    > the array contents (which would be in a loop) and don't worry about my
    > initial array and my final array being two different arrays. Can I use
    > the local variable only for this?
    As the earlier post stated, try using the local variable to update a
    control from the diagram. You probably shouldn't place it inside the
    loop, but use a shift register. Thus, take the value from the terminal,
    into the left shift register. Inside the loop, take the left shift
    register value, modify, and write to the right shift register. Outside
    the loop again, wire from the right shift register to the local.
    If you do no
    t want to allow for user modification of the array control
    during this, you can disable and reenable the array using a property node.
    If you are not really doing this for UI, but to try and reuse memory,
    then this is really the wrong approach. LV wires are really the most
    efficient way of dealing with data, and you don't need to worry about
    putting things back into an array unless it is for the UI. If it is to
    pass out of a subVI, you will put them into a new array indicator in
    fact, and when called as a subVI, this can often take no additional
    memory, using the caller's array input throughout the diagram. If you
    start using the local, this is no longer true, and you now have both
    memory and runtime overhead. So use locals, and property nodes, only
    for UI tasks, and your VIs will be much more efficient. For everything
    else, use wires and shift registers.
    Greg McKaskle

  • How do I use an apple tv remote to control my mac

    I am having a macbook pro with retina. How do I use an apple tv remote to control my mac?Is there a way. For eg. if I want to control the volume using the remote how do I do?

    No, the iPad has no IR receiver. (I think you mean "Airplay" and not "Airdrop", by the way.)

  • I used to have a indicator of time when attaching file in Yahoo Mail...I no longer have that in Safari 5.1.5...How can I get that indicator back???

    I used to have a indicator of time when attaching file in Yahoo Mail...I no longer have that in Safari 5.1.5...How can I get that indicator back???

    I tried to find help with the support by web chat for 2 days already, but every time it says that chat is un available (even if it's suppose to be 24/7)... I dont know what else to do.... please help!

  • Using WS-Security with Web Service Controls in WLI 8.1 SP3

    We have a process that calls a web service hosted on a .NET environment. The technique we have used is to generate a service control from the web service WSDL and call that control from a process. The web service is protected using a WS-Security usernameToken policy. The problem is that the .NET environment requires the wsse:Nonce and wsu:Created elements to be provided along with the token and I cannot see how I can specify this using a wsse policy file in WebLogic workshop. Does anyone have any advice for the best way to add this information to the security element in the SOAP header from within a WLI process? I've seen some example code for a java web service client, but that would not really fit with the control-based approach normally adopted in a WLI environment.

    You won't be able to do this using the WSSE file.
    An easy way to get around this is to use an XML Bean built from the WS-Security XML Schema. You'll have to read the WS-Security spec to determine how to create the nonce, but you'll be able to convert this XML Bean into the Element[] that the setOutputHeaders() method, which is on the service control you call the .NET Web Service with.
    Regards,
    Mike Wooten

  • When I connect my iPod touch to my stereo, I cannot skip tracks using my iPod or the stereo controls.

    When I connect my iPod touch to my stereo, I cannot change tracks using the iPod or the stereo controls. I did not have this problem with my iPod nano. I have the software update 4.2.1 installed. Is it a problem with the software or the stereo? Please help.

    Here:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • SharePoint 2013 RSS Viewer not loading when other Custom web part using Update Panel or Ajax Timer control

    Hi,
    SharePoint 2013 RSS
    Viewer web part failing to complete loading when the page loads.
    This happens when having RSS Viewer and then adding a Custom webpart with an updatepanel and timer control.
    I  had used Ajax update panel and timer control to load the web part asynchronously after the main page is fully loaded.
    The RSS-Viewer web part hangs in loading state while the custom webpart loads just fine.
    The issue occurs when an like button click or Timer Tick event fires after the page
    is loaded.
    Haven't been able to track the issue.
    Couple of workaround I tried to call a server side button click event from the custom web part after the page gets fully loaded using JQuery shown below did not work out either.
     $(document).ready(function () {
                $('#<%= netButton2.ClientID %>').click();
    And 
    document.onreadystatechange = function () {
                if (document.readyState == "complete") {
                    $('#<%= netButton2.ClientID %>').click();
    Please let me know how to resolve this issue.
    Thanks,
    Franklin

    Hi Johan,
    The assignment of this user on the given task might be corrupted. Try to remove the resource from the task, publish the project, assign the resource again and publish again the project. If it is not working, try to unpublish the task (column "publish")
    and publih it again.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Changes to graph sizes and indicator locations do not save.

    I make changes to graph sizes and indicator locations on front panel and save VI but when I recall the VI changes are not saved.

    Mojowoods, can you post some screenshots after you saved your indicators and graph and after you recall the vi?

  • I have seen on this community that the earpods do not work on iPod shuffle gen 3 but when I was using on them it worked the control panel thing that is but only until I turned it off I don't understand why it won't work again and why it did in the first p

    I have seen on this community that the earpods do not work on iPod shuffle gen 3 but when I was using on them it worked the control panel thing that is but only until I turned it off I don't understand why it won't work again and why it did in the first place can someone please explain and tell me how to make it work again

    Sorry first time asking question didn't mean to write same thing twice well copy paste

  • HT3887 how can i configure my wireless keyword so i can use the Function F keys to control volume etc...? I am using 10.5.8 OS

    how can i configure my wireless keyword so i can use the Function <F> keys to control volume etc...? I am using 10.5.8 OS

    little wireless cameras would not have the ability to send back to the base, even thought the base can reach it.
    Now if you take regular cameras and wire them into a Cisco switch that was attached to a wireless bridge that could shine back to the base...now you might have something, but your still going to have to do a survey/path analysis to determine if it is feasible.
    Coverage isnt throughput. I see one base station with 3 or 4 sectoral antennas depending on direction, pointing two several distribution bridges to bridge the gaps that go out again to the cameras...something like that. And all of it should be higher in the air than your construction.

  • How to use Bind Variables in Essbase data control

    Hi,
    I am trying to use Bind Variables in MDX query while creating the Essbase Data Control. I have used the below query with the Bind Variable.. this query is working in Essbase admin console..but it is throwing error (*Invalid MDX Query)* while creating Essbase Datacontrol in JDeveloper.
    MDX Query : SELECT {[Measures].Msr_2} ON COLUMNS, [Time].Children ON ROWS FROM cube
    where ($name)
    Could any body suggest me on how to use bind variables with Essbase Data control.
    Thanks,
    Swathi

    Hello Swathi, can you please help me how you created Essbase DataControl? Also were you able to figure out this?
    Thanks, Praveen.

  • How do I track doc download progress using jQuery UI progress indicator?

    How do I track document download progress using jQuery UI progress indicator?
    I'm looking at downloading a zip file in response to the onclick event in a jQuery button. I'd like to show the download progress on the page.
    I'm working with users who may not be Web savvy and need to know something is happening. Also, they may be on lower bandwidth connnections, so even a small zip file could take time to download.

    Darn it, another senior moment.
    Here is the link http://www.ultramegatech.com/blog/2010/10/create-an-upload-progress-bar-with-php-and-jquer y/
    Gramps

  • Using a Button Bar and Menu Control

    Hi All,
    I am using button bar and menu bar control .But the problem  i am facing is that  how to align menu to the bottom of respective button of button bar.
    Tanks In advance

    Hi All,
    I am using button bar and menu bar control .But the problem  i am facing is that  how to align menu to the bottom of respective button of button bar.
    Tanks In advance

  • Moving Stock Directly to a Fixed Bin using a Special Movement Indicator

    I am trying to set up moving stocks directly to fixed bin using special movement indicator.
    Found the below in SAP documentation:
    ==========
    Each time a goods receipt is posted for material ABC, you want to move the material directly to storage bin FIX-ABC in storage type 005 of warehouse number 001 without creating a transfer requirement or transfer order. To do this, you need to set up the system as follows:
    1. Create the fixed bin FIX-ABC in storage type 005 that is defined in the standard system using the fixed bin search strategy.
    2. Create a special movement indicator for your warehouse number.
    3. Add the special movement indicator and the fixed bin FIX-ABC to the material master for material ABC. 
    4. Create a new WM movement type to move materials directly into fixed bins without creating transfer orders or transfer requirements.
    5. In the reference movement type table, create a new entry that links an appropriate IM movement type to the new movement type using the special movement indicator.
    ==============
    I have completed the steps 1 to 4. I am not sure of step 5 in IMG. Can some one please give me the menupath and guide me?
    Appreciate your help as always.
    Regards,
    Sadanand

    Hello,
    You can go to LE-WM-interfaces-Inventory management-Define movement types-
    a) Assign WM Movement Type References to IM Movement Types - here you can assign your IM mvt to WM mvt
    b) then LE-WM Interface to Inventory Management - here you can assign the ref movement type assigned in 1 above to the actual WM movement type you want to carry out and you can assign your special movement indicator here as well.
    So this will be
    <WH No.> <ref. mvt say 101>  <mvt indicator say B ( for PO)>  <spl mvt indicator that you have created> <Wm mvt type> <TR creation - X or A > <Immediate To creation X or A >
    Thanks,

Maybe you are looking for

  • TS1372 My ipod shuffle blinks grn,amber,grn, amber,grn,amber and does not play any music

    I am unable to use my ipod because it blinks green and amber three times and I get no music.  It was working fine until I was charging it and my wife used the computer while it was charging, not to say she did anything of course.  At the present time

  • How to create a exit buttom in my mobile application in html5

    Please i want to create a exit button for my android aplication on dreamweaver my app is in html5 i need the code for create this

  • Looking for Flash Lite or mobile answers?

    Can't find what you are looking for in the forums? Need an answer to your question immediately? Get proactive and search the Mobile & Devices cookbook for an answer to your question. Cookbooks are very similar to forums, except that posts contributed

  • How to compile my java application for Personal Java??

    i write a simple program and want to run it in PJEE. program is: import java.awt.*; public class TestApp { public static void main(String[] args) { Frame f = new Frame(); f.pack(); f.setSize(300,300); f.show(); and i compiled it using JDK1.4 javac Te

  • Connecting USB Storage to WRT610N

    I have connected Seagate's FreeAgent Desk 1TB 3.5'' External HDD USB 2.0 to my WRT610N router. It connected easily and I could acces the disk from any PC at home. After a while the disk was lost, disappeared from the router definitions. It is my unde