Problem updating to a control on a panel based on a change in value in another control on another Panel

Hello

I'm trying to update the value of a control on a Panel, when the value of another control on another Panel is changed.  The two panels are saved in two .uir different files, so there are two associated .h files generated by CVI.  The problem is that, inside the callback function for the control being modified (Ctrl_Id_A on Panel_A), when I call it SetCtrlVal (Panel_B, Ctrl_Id_B, Value); 'Panel_B' and 'Ctrl_Id_B' (who have the same numeric values Panel_A = 1 and Ctrl_Id_A = 2 in their folders respective .h) are interpreted as Panel_A and Ctrl_Id_A.  I never understood how ICB does this distinction, for example. knowing that PANEL_A = 1 and PANEL_B = 1 is mentioned, but don't worry because I never needed only to intercommunication between the panels up to now.  Any help on how to implement this would be greatly appreciated.  Thank you!

For your reference, in this discussion , I give a few basics on how the panels and controls are handled.

Additional useful forum discussions can be found here : this is the list of the results of a search of forum for "constant handle name Panel": you will find several useful posts that you can read to better understand the concepts of handle Panel.

Tags: NI Software

Similar Questions

  • Problem updating articles in the Folio Builder Panel

    I'm trying to update the items in the Folio Builder Panel in InDesign CS6 and I get the following error message: happy build error. Could not open the file. Please confirm the file can be opened in the current version of InDesign. The only option it gives me is to cancel the update. I've only worked in CS6, and I've updated these same items previously. I just get a new upgraded computer here at work, updated to OS 10.8.2 and works on an iMac. I had to have my tech staff to reinstall DPS for CS6 desktop tools. Is there something else I'm missing or not do? Any help would be appreciated, thanks.

    -Thomas

    Hi all

    My problem has been resolved with the help of technical support Adobe. Here is the solution:

    Many times there are volumes network came up with the name "users." This can lead to confusion between the local path:

    / Users

    and the network path:

    / Volumes/users

    1. in the Finder, select the menu command Finder > Preferences.

    2. in the general Panel, check the option "connected servers" is selected under the heading "show these items on the desktop:", then close the Preferences dialog box.

    3. choose the menu command Finder > hide others.

    4. close all open Finder Windows to ensure that you can see all the items on your desktop.

    5. If you find what appears to be a volume mounted with the 'users' name, control + click on its icon, then choose the context menu command Eject "users."

    6. Add or update your article (s).

    The reason for this problem did not come on my old machine, it was my drive of the user has not been configured correctly by an official old tech at my company (I wasn't aware of because I had no problem). Then I got my new iMac and all my servers were mapped correctly, and then I came across this problem.

    Thanks to everyone on this thread who have offered their help to me, I appreciate it.

    -Thom

  • After update for first Pro CC 2015.3 I can not move the values in the effect controls panel

    Hello!

    After update for Premiere Pro 2015.3 of CC, I can't change the value of the property in the effect controls panel by dragging left or right when you move the pointer over the underlined value. The two small arrows appear, but nothing happens when I drag them and it is so annoying. I tried now pressed the SHIFT key and several others trying to drag, but it makes no difference. I restarted the program and my computer but still no difference. All the patches?

    Thank you!

    Premiere.jpg

    Hello Ann,.

    I found the problem, it's my wacomtablet. When I use the magic mouse, it works great! So, I guess I should update the wacomdriver, perhaps. If your response gave me the idea to check for this. Thank you!

  • Graphic CVI axis only updated when the Panel is active, but updated waveform is in the inactive Panel

    Hello

    I have a problem when I want to save a screenshot of the Panel with the GetPanelDisplayBitmap & SaveBitmapToPNGFile functions. The screenshot of the Panel is done when the Panel is hidden or inactive. Thus drawing events don't have facts.

    Please take a look at the attached screenshots:

    (1) manual measurement and life-saving operation, the saved data is ok

    (2) measure hidden and functioning economy, the saved data is not correct, the axis were not my updates

    (3) bring the Panel forward, axis had been updated

    Is it possible to force an update of the axis without back panel to the front or set it as active panel?

    Best regards

    Vitali

    1)

    2)

    3)

    I think that it is a bug of the CVI.

    This is how it works:

    -SetCtrlAttribute (Panel, control, ATTR_ZPLANE_POSITION, 0);  without this step the axes will be not updated!

    -for each channel {PlotWaveform ;} (.)

    - ...

  • Anyone else having problems updating apps from the app store?

    Anyone else having problems updating apps from the app store?

    I have the problem. I'm running on iOS 9.3.2... I have 29 apps waiting for update, but its not updated. No matter what fix on this yet?

  • blue screen problem update Radeon hd 6770 m

    so I went to amd and makes automatic detection, so I can get the latest driver for the video card in HD 6770 m... once I downloaded the new driver updated and installed, I can not open my catalyst and says that I have no hardware support and I also get the blue screen crash my computer... to solve this problem, so I had to do a system restore and restore all the drivers and im currently stuck with the version of the 8.882.2.300 driver that was published in the year 2011...

    I have a HP Pavilion dv7-6195us laptop computer
    and I hurt after my gpuz so you can help me solve my question... Thank you


    Please help me

    I have a HP Dv7 6197 ca with the same card as you, then here is how you fix this problem: update your BIOS to the latest version, and then in the BIOS screen (press ESC, then select the Bios Setup) and change the setting for the Graphics Mode fixed to Dynamics. This should solve your problem. If you can't find this option in the BIOS update, then try the UBR tool in the installer of UNIFIL. I suggest try F840 and F940 values.

    If the resolution is all wonky after you go into the BIOS, you will need to re - install the drivers.

  • Problems updating graphic adapter Intel Corporation - Graphics Adapter WDDM1.1 WDDM1.2,

    Hello!

    I have several lenovos windows 7 with this update

    Problems updating graphic adapter Intel Corporation - Graphics Adapter WDDM1.1 WDDM1.2,

    I'm trying to fix it with the original driver?

    http://www.Intel.com/p/en_US/support/detect?IID=dc_iduu

    all the solutions out there?

    THX

    Peter

    You can download the driver from the Intel website (search on your model number of graph, then Windows 7), read the notes first check it is correct for your hardware, uninstall the graphics drivers (Windows will return to a default basic driver), restart and install the new drivers.

    If this does not work, the Lenovo Web site will be older (but certified to work) drivers for your system model.

  • Update of digital control with different values with array function

    Hello

    I have attached my code base. I want to execute the code for 2 sets of digital control with a gap between the two values, then pass it. Something like that

    ABC

    Initialize the P1 = 10; P2 = 20; P3 = 30; P4 = 40

    Run the code

    delay = 10ms

    Update of P1 = 150; P2 = 200; P3 = 350; P4 = 500

    Run the code

    jump to abc

    I am stuck how can I update the values of P1, P2, P3, P4? I thought about using a function table but couldn't go further.

    Thanks for the help,

    Ana

    Hello Ana,

    One way you might achieve what you are looking for is using property nodes. These property nodes will allow you to change the values of the block diagram control. You can set up a structure of case inside your loop that will change control through nodes of property value after a certain number of iterations. Here is a community sample that shows how to use the nodes property to change the Boolean controls:

    https://decibel.NI.com/content/docs/doc-22669

    -Erik S

  • How can I change the value of a control on front panel?

    On the front panel, I'm doing a complex control that consists of a Slider control and control of the digital inputs. Both controls display the same information and either may be used for entry. When changing value, I want the other control to display the same value.

    How can I change the value of a control on front flap when another control changes the value? I know how to use a structure of the event to detect value has changed, but I do not know how to impose control on front panel to change its value in the block diagram.

    Why do you not use a digital display on the slider, and no code is required:

    EDIT: Yes, he said. ***

  • Hello having a problem updating to windows 10 Aspire Z3620

    Hello

    IM new here and having a problem update from 8.1 to windows 10. Stuck at 84% and having to roll back to 8.1

    I have read that I need to update the BIOS during which I checked and there is a newer version, but I really don't want to do without notice or advice of an expert.

    ROM file contains the BIOS file, BACK and WIN files contains the software for the BIOS flash file.

    Normally, the BACK is safer but is not really a big difference.

    If something goes wrong, there is a recovery operation to make but it is only available on service manual.

  • problem updating SP3 after a reboot at the end of the update process, IE8 will not start

    I have no problem updated from sp2 to sp3. However after a reboot at the end of the update process, IE8 will not hold. When I click on ie, computer absolutely crashes. Help, please

    Restart your computer and if restart is ok are not trying to run IE8. Go to add and remove and remove IE8 and your computer will be re-established on IE7.  If all is ok so far restart your computer once more and if everything is ok at this point you can download IE8 again.

  • I have no sound. All the updates and driver controls show "device working properly.

    All the updates and driver controls show "device working properly. When the sound icon is clicked - I see the sliding green scale showing "audio output". I also see the green bar moving on 'Realtek HDMI output' and it is marked as default. Our sound stopped suddenly without reason is apparent. Any help is appreciated.

    When I go to check microphone/video on attached USB camera/mic - I see the two audio and video movement for this device. The computer makes the numbers / noise I just can't hear it.

    Realtek High definition driver is 6.0.1.5789.

    Change the sound Realtek HD audio no audio HDMI

  • There was a problem updating photoshop cc

    There was a problem updating photoshop cc, U44M1P7. How to solve?

    Hello

    Please see: -.

    "Installation failed" error U44M1P7 with Adobe Creative Cloud or updates of Adobe Creative Suite 6

    U44M1P7 error code

    Error U44M1P7: Cannot apply CS6 Adobe Extension Manager Update | Mac OS

    Hope this helps!

  • Problem. Went to my tools and panels is hidden, the can´t find. Try Windows > ménier... and checked. everything is ok.

    Problem. Went to my tools and panels is hidden, the can´t find. Try Windows > ménier... and checked. everything is ok.

    Press the tab key, it shows/hides the panels.

    Or window > workspace > Reset or use another workspace.

    Gene

  • Problem updating iDRAC and LC on Poweredge R710

    Hello

    I am facing problems updating one of our Poweredge R710 (all others worked like a charm). Using OME I could install almost all day, but iDRAC (Firmware 1.10--> 1.95) updates and controller of lifecycle (application 0--> 1.6.0.73) will not be successfully completed.

    OME to ESM_Firmware_CMDN0_WN32_1.95_A00 error message. EXE: "performance operation exceeded a specified time-out period. The update has not completed; You must restart your system and try again. "(even after several server restarts the message is always the same).

    Error message in OME for lifecycle - Controller_Application_GFFFC_WN32_1.6.0.73_A00. EXE: "update failed: failed to secure copy - the secure copy function has failed.

    When starting the server "Update Services system requirements" is shown in the upper right of the bootscreen. I've tried ressetting iDRAC (Ctrl + E at the start), turn off the server for 30 minutes (cable unplugged, replugged, waited 5 minutes, powered by the server) update system Build & Update Utility thorugh with SUU 7.3.1 and finally using the CentOS OM 7.3 Live DVD. None of this has worked successfully and I have no more ideas. Maybe someone has a?

    Here are the necessary links. Fires within the OS.

    DRAC - http://www.dell.com/support/drivers/us/en/19/DriverDetails/Product/poweredge-r710?driverId=63KCR&osCode=WS8R2&fileId=3287900761&languageCode=en&categoryId=ES#

    Then run this, it is a set of lifecycle controller repair. http://www.Dell.com/support/drivers/us/en/19/DriverDetails/product/PowerEdge-R710?driverId=8F07J&osCode=WS8R2&FILEID=2731110409&LanguageCode=en&CategoryID=SV

    Then update the LC with this - http://www.dell.com/support/drivers/us/en/19/DriverDetails/Product/poweredge-r710?driverId=F0D50&osCode=WS8R2&fileId=2984894513&languageCode=en&categoryId=SV#

Maybe you are looking for