Same structure/mouse selection

This is my first attempt a .vi who seems to need a structure of the event. I am a student in a research laboratory and my experience of LabView is really learn as you go so far. The program is designed to track a scanner using two pots of linear and read in the measurement of voltage. I use a graph of intensity to show the saved values. They told me to watch make it replaced the graph of the intensity with photo features so that we had more freedom in the movement of the scanner, which so far seems to be true.

Currently, I am blocking the analogue measures because we do not have the parts and modeling of the movement with the controls. Step that I'm working on now should be able to select part of the image and get the data from it. This can be done in part of the backup image or reading in the data itself corresponding to that part of the image, or both (preferred). I have no experience so far with the structures even except for playing with them to try to get this to work. The way I put it in place currently, seems to completely bog down the system because with it enabled other features seems lost (or simply takes forever).

So basically I'm looking for help to correctly implement that I tried here. As usual I would appreciate also reviews general design (gently).

Scots. wrote:

To avoid to start another thread, I try to explain better what I was doing in the above posts. Here is a code for the strongly simplified proceedings that are only what I have problems with. Basically we will have data read and displayed on the image so that we have more freedom with the graph of the intensity. Then, we want to be able to select part of the image and zoom in for details. I think I did a poor job explaining this before and so did not get a lot of answers.

The block diagram, how we want it (or at least close enough that I know I can edit it), with one exception. The image will never be updated unless the mouse is clicked to enable the while loop to complete another cycle. If she is continually updating and always allow the same functionality of zooming, I was well on my way to get what I want, but I don't understand enough about the firing of the events to see how to on this subject.

Ah Sin capital of new users of LabVIEW. I have a post on the forum I started where I did the same thing. No need for two event in a loop structures. You can add several cases of right-click event and choosing Add the occurrence. Then add your mouse event supported the structure of the event as the mouse event is already. However, I know why you do it. This is so the rest of the code is not running up to what the mouse event occurs. If you have a single event structure, as soon as you press the mouse down your code runs, but you won't have the mouse upward of coordinates. Yes, this will create a problem . However, a better (more complex, but better) this is to dynamically register and deregister mouse events. This is illustrated in the example provided with LabVIEW called "dynamically register events. It is easier to understand as it may seem when you look at first, but if you need assistance to continue to ask questions.

And to answer the "BOLD" part, it looks like you need the parallel threads. Look at architecture from consumer to producer that will enable the graphic to be updated while the user is clicking around. The forum is littered with posts on it.

Tags: NI Software

Similar Questions

  • compare files with the same structure of channel / rename channel(-groups)

    Hello

    I have several groups ch with many channels in the file of each measure.

    Now, I need to display/compare Channels 2 or more files of measures in a chart. (channel 'speed1' to the file 'measurement1' vs 'speed1' to the file 'GCA2' channel)

    So I import 2 files in the browser und have the same structure of string twice. To distinguish between the channels of the two files I want to rename the channels by script and add the file name of the channel-group name.

    Is this a common way to compare measurement data in files with the same channel names and structures?

    In the affirmative. How can I make a script?

    Thank you very much in advance!

    Ski

    Hi Ski-Fahrer,

    each channel has a name of the institution.

    Data.Root.ChannelGroups ("Name" or Index). Channels (Index or "Name"). Name

    You can assign a new name like this:... Name = "NouvNom".

    I don't think it is necessary to rename the channels. If you do not forget the files. If you want to rename something I only rename the ChannelGroups by adding a date or a serial number.

    Kind regards

    Philipp K.

    AE | NOR-Germany

  • limitation of the same structure add cases

    Hello

    Can I know any excretion have the same structure add event .bcase if I use more than 50 events in strucute even.

    I posted on the forums about the recording of the change in value on multiple controls here and here.

    There is no real problem having lots of event, but it takes a lot of time for each of them create then because I'm lazy, I'm trying to find ways to accelerate my LabVIEW programming - if you have a lot of events that do the same thing, so you can save time by having a single piece of code manage events.

  • Export a page to the photoshop/illustrator file with the same structure of layer?

    Hello

    Currently freelancing for a company that create using the indesign work and I try to streamline the process of splitting the outside inside work is separate to import directly into damage layers. I know you can use a script to separate the outside layers and then export as interactive pdf, this opening in illustrator and then releasing to layers (build) I'm looking for an effective way more time to get to this point? Sometimes the work does not seem to import correctly into illustrator, because there clipping masks and weird stuff out there (their marketing team is huge and those working on the same things that make things way differently). I tried two script to split the work out in components, but they don't seem to not remember the position or just produce the element of the unique work.

    A typical file would be 640 x 640 page with multiple Indesign pages with 6 layers of each placed exactly and signed illustration of positional for. The perfect scenario would be to run a script to export directly into photoshop (keeping the culture and position) if it is then just one case to draw only a file directly in ae.

    There are various forums and I got asked in all of scripts but InDesign and in particular script is not my forte. It is one that could do the trick, but the link is no longer active: http://www.zenodesign.com/forum/PageToPSLayersV3.zip

    I know it may seem as it is lazy, but there are many things to animate by project in different sizes, so any help and pointers would be great!

    Thank you

    A

    It is one that could do the trick, but the link is no longer active:

    The latest version is here. This is an AppleScript script if OSX only:

    http://www.zenodesign.com/Forum/PageToPSLayersV7.zip

    If you have any questions see this thread:

    How to export indesign layers in photoshop (same structure) layers

  • Select > same VS. Select similar Options

    Is there a difference between choosing the select > same options and selecting among the Options similar to select it in the control panel?

    Thank you.

    Not in terms of features. Only the words 'Same' and 'Similar' are different.

  • Sinlge select query in the diff for the same table (same Structure) diagrams

    Scenario:

    Table XYZ is created in detail a.
    After a year, the old data of the previous year could be moved to another schema. However in the other schema of the same table name would be used.

    For example

    A schema contains XYZ table with data from the year 2012
    Schema B contains XYZ table with data for the year 2011
    Table XYZ in the two schemas have an identical structure.

    So we can draw a single select query to read the data from the tables in an effective way.
    For example select * from XYZ so including date between October 15, 2011 to March 15, 2012.
    However, the data resides in 2 different schema altogether.


    Creating a view is an option.
    But my problem, there are ORM (Hibernate or Eclipse Top Link) layer between the application and the database.
    If the queries would be constituted by the ORM layer and are not generated by hand.
    So I can't use the view.
    So is there any option that would allow me to use only query on different scheme?

    970773 wrote:
    Scenario:

    Table XYZ is created in detail a.
    After a year, the old data of the previous year could be moved to another schema. However in the other schema of the same table name would be used.

    For example

    A schema contains XYZ table with data from the year 2012
    Schema B contains XYZ table with data for the year 2011
    Table XYZ in the two schemas have an identical structure.

    So we can draw a single select query to read the data from the tables in an effective way.
    For example select * from XYZ so including date between October 15, 2011 to March 15, 2012.
    However, the data resides in 2 different schema altogether.

    Creating a view is an option.
    But my problem, there are ORM (Hibernate or Eclipse Top Link) layer between the application and the database.
    If the queries would be constituted by the ORM layer and are not generated by hand.
    So I can't use the view.

    Why not make the ORM as below?

    SELECT * FROM VIEW_BOTH;
    -VIEW_BOTH is a real VIEW of Oracle

  • Help to use the screen for mouse selections

    I don't know exactly how to describe my problem. But I'll try. Firstly I have LR5 on a Macbook Pro 2012 with the retina, 16 GB of memory. The question is how the mouse can interact with the main screen (central panel). Part of this screen is unresponsive to anything that requires a mouse click. I use a Microsoft USB 3-button mouse. But the behavior is the same aid paved with the Mac.

    My problem with a mouse in the main panel for things such as cards (or by selecting the thumbnails of the photos). I find that the operations that require a mouse click to choose something (like where to put a location on the map tag) meet the locations on the upper 1/3 of the card. For example, if I try to drag a photo from the film strip on the lower 2/3 of the worksheet to place a location tag, the operation fails. If I drag a picture on the upper 1/3 of the card, it works. Even if I try to drag the center of the card around, I have to click on the upper 1/3 of the card so that it can move the map view. If I click and hold on a point on the lower 2/3 of the card, it does not move.

    Most of the time I'm able to get around this strange behavior. But in certain types of actions, I can't work around the behavior problem. For example if I say 10 photos showing on the main screen as thumbnails. I can drag thumbnails from the top 1/3 of the screen to tell a collection displayed on the left panel. But the thumbnails on the lower 2/3 of the screen refused to be drawn into a collection. Indeed low-screen thumbnails can be selected by clicking on them. I found to select one of them is to select a thumbnail of the top screen and press the right arrow key, that adances the selection on the lower screen thumbnails. But if I try to drag one of these low-screen thumbnails selected in a collection, the operation fails.

    My workaround for the problem that is described in the previous paragraph is to make the thumbnails smaller, so that each of them are in the top 1/3 of the screen. These, I can select and move to a collections displayed on the left panel.

    Note:

    As I develop this problem, it seems that points in the lower left corner of the screen (rather than the 2/3 lower) do not respond to mouse clicks. So if I have thumbnails populating all of the panel, those of the lower left answer not to the mouse. If the part does not screen is about the bottom 1/4 left.

    I hope that what I have described is logical. But that's how Lightroom 5 works on my computer. Any suggestions?


    Alternatively, you can open the browser (on top left) when you use the card module, click to zoom in on a location or to move around on the map.

    It may also be a tendency for Mac users to leave the application running. I always leave Lightroom after I finish editing etc using Cmd + Q and I do a backup of the catalog whenever I stop.

  • Part of the browser screen will flash intermittently and when trying to select a link out of my drop-down lists, click with the mouse selects the link above it.

    These problems occur only when you use Mozilla Firefox. I am using a Lenovo Thinkpad:
    1 site Web seem to flicker on the images, videos, maps, when the mouse moves around the screen.
    2 pointing the mouse over a link in the browser and a left click activating the link above (if it exists)

    Do not experience problems with google or ie. It started a few days ago.

    Thoughts?

    Hello paulo.eichelberger, try Disabling graphics hardware acceleration.

    You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Then perform the following steps:

    1. Open the Firefox Options window as follows:

      • Click the menu button

        then select Options.

    2. In the Options of Firefox window, click the Advanced tab, and then select general.
    3. You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
    4. Now restart Firefox and see if the problems persist.

    In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:

    This solve your problems? Please report to us!

    Thank you.

  • Is it possible to delete a plot with the help of the mouse select the chart control?

    For example, when I use the plot to draw thousands of lines on the chart control, I want to delete some of them, but there are thousands of generated plotHandle.

    How can I get the plotHandle of the specific line on the chart control with the help of the mouse to select the option?

    If I save the information from the lines, such as the plotHandle and the coordinates on a table or list, etc, I compare information lines for the plotHandle of the specific line.
    Is it all a user-friendly way to remove a track selection on the chart control?

    I can't give you a reasonable way to solve this problem, since as you have already noted plot do not snappable plots.

    A possible warkaround would be to replace the plot of individual instructions with a PlotXY matching with 2 bays 2 points each, which correspond to the x 1, x 2, y1, y2 parameters to plot. PlotXY plots are snappable, so you can enable this procedure select the plot and remove it.

  • same structure

    Hi all

    I have trouble getting a structure of the event to save changes in value on control Boolean and enumerated types when their values are changed using a called invoke node to a separate VI rather than via the interaction of the user in the same VI.

    I have a control VI that the user interacts with... and a VI display connected via a reference Server VI which contains a video playback, but normally without user interface.

    When the user changes a Boolean value in the control VI, the Boolean value changes of the VI of control and this change is reflected in the VI of the display. However, the event to change the value for this Boolean IS NOT saved in the VI of the display. If you manually change the value in the display VI, after the control visible, the value for this Boolean Change event IS registered.

    It seems that the value change event cannot be triggered using an invoke node to work on a control... Has anyone run into this and found workarounds?

    Thank you

    Andrew Brown

    Do you use the property Value Change node or node property Value Change (follow the signs).  The latter is designed so that the structures of the events are triggered.

  • HP ENVY 15 x 360 15-u111dx: mouse selects several words/lines

    I hope someone here can help you. The problem existed in Win 8.1 and stored in WIn10.

    I have a HP ENVY 15 x 360 15-u111dx. I bought this laptop in June 2015. The problem exists since the beginning. This does not happen all the time, just enough that I have to close everything I do and restart. This seems to be the only way to regain control. The symptoms are:

    1. If I work in Word, the mouse will not select anything except whole words. It won't let me insert the cursor between letters.

    2. If am using a web browser, it acts as if I had a click right and choose the command "inspect element". It opens a pane in the window that opens, showing the code behind the element that happens to have chosen.

    3. in the alternative, he selects several elements such as multiple lines.

    Connected to the computer, I have a wireless ergonomic Microsoft (USB) keyboard and a wired mouse move. Thinking that it was a conflict between the keyboard and the mouse software, I first deleted the Microsoft Keyboard Control Center software. Who hasn't toured. Then I deleted the software evolve, including their pilots.

    But it still makes multiple scrolling. I write a lot, and even if I record permanently when you work, it's a pain to have to stop, close my work and restart.

    I've tried several things, Forum I read this forum and none seem to have helped.

    Thank you.

    To update my answer of 8/17, I just wanted to say that I have disabled the service "Synaptics TouchPad 64-bit improvements". This seems to have solved my problem. I've been using the computer for a few days and the problem didn't happen once.

    I consider this problem to be resolved.

  • same structure of package in both applications will work?

    Hello

    I have the Source code of an application, that is on the market.  I need to add a few functions and want to release as a new application, which is the requirement of the customer.  It contains persistentstore and rms and sqlite.

    Need to change the structure of the application package? and what to change about PersistentStore and rms and sqlite, so that it may not disturb/override the already existing, the content of the application.

    Please help on this

    Just to clarify a little the previous answer, you can have two different applications on the same device of Division of class names (by class name, I mean the fully qualified name, including the package) If classes are not persistent.

    If you have persistent classes, the name must be unique.

    If you share code, then all other identifiers, such as IDS for PersistentStore and RuntimeStore, for SD card directory names (and the SQLite databases), BBM id, Application name and ID for various services such as social media and analytical, must also be different.

    In my experience, the biggest problem when you try to share code is the requirement to have unique persistent objects.  A way to handle this, is that the creation of the object continued to be in the non-shared application code, use a class that implements an Interface that defines a set of common methods.  If the shared code uses the persistent data access Interface and then, well, shared.  But the real object has persisted is specific to the Application.  Hope this is clear.

  • How can I change the mouse selection button?

    Until you tell me to go to start > Control Panel > mouse > change main selection button, let me tell you that this version of Windows 7 Home Premium doesn't have this option. I'm left-handed. I want to change the home button, so I can use my wireless logitech left-handed mouse. When I go into the properties of the mouse settings, see tabs that say "pointer, wheel, material, activities, Dell Touchpad Options (I have an Inspiron N5110), mouse and keyboard Center.» On any of these, are at - it button to select or deselect "Change primary mouse button", as it is on all other versions of Windows. It's so frustrating.

    I'm the original poster. I solved my problem by buying a new Microsoft wireless mouse. Of course the old wireless mouse Logitech I was using was incompatible with Windows 7.

  • GaugeField - pop stops at the mouse, selection of other fields

    Hi people,

    I use Eclipse 3.4 with the latest plugin 4.7 and the 9530 Simulator.

    I have a screen that has 4 radio buttons in a RadioButton group.

    Below that I have a MODIFIABLE GaugeField that I use as the Audio Volume control.

    Initially, I can move on radio buttons with the keyboard and mouse. I can choose and everything works fine.

    If I click on the GaugeField, a popup unwanted system appears saying:

    "Use the roller to change the option.
    Instead of using this dialog box.
    try to use Alt + roll.

    The context menu contains a GaugeField and allows me to select the new settting.

    Now: The mouse is no longer will allow me to select the radio buttons.  If I use the keyboard to move the focus to select, a Radiobutton then the ability of the mouse to select the option buttons started working again.

    (1) on the Simulator, how can I get the mouse works again after setting the GaugeField without having to manually move the focus on the GaugeField through my PC keyboard?

    (2) how to stop pop up system?  I want to just the user to adjust the GaugeField to the screen.

    Ken Kelly


  • Creating tables with the same Structure and with the remote control FOR the parts database

    Hello

    I have a remote DB connection and a local DB connection in my system
    I want to create the same Table and data from my DB remote to Local Connection DB connection.

    Please tell me how to do this?

    CREATE TABLE LOCAL_TABLE AS SELECT * FROM REMOTE_TABLE@TNS_ALIAS;

Maybe you are looking for

  • A80: I can't get the s-video-cableit in Notepad

    Hello world I want to connect my A80 to my tv and got a s-video cable. I can not get in Notepad. It is not the cable, I tried it on something else. Is there something or is this a hardware problem?and Yes, the laptop has a s-video-out... but the cabl

  • Reinstall the audio and audio device.

    I have a big big problem to find the audio driver and volume control. I was remove some software from "Add or Remove Programs" and I accidentally deleted the audio driver that is the volume of the computer. Day after tomorrow, I went on youtube and a

  • Why I can't install updates of security KB2481109 for Windows XP! ??

    Why I can not install the KB2481109 for Windows XP security updates? I am running Windows XP Pro Service Pack 3. I am the administrator of the computer, but still can not install it. I was able to download, but I can't install it.

  • Beep codes IPMMB-FM

    I just bought a new computer: http://support.HP.com/us-en/document/c03649846 Motherboard: IPMMB-FM video card: AMD Radeon HD 8470 1 GB of DDR3 memory When I got the computer I replaced the graphics card AMD with a nVidia GTX660 and also changed the p

  • I have a malfunctioning network card and I was wondering where I can get the files to reinstall the driver.

    the name of the card is the card Microsoft Isatap # 3. My computer is a widows vista, SP 2 and a gateway MD7818U notebook. Thank you