Why my custom control consuming 30% of the CPU power?

Hello

on my laptot C2D 2.0 GHZ if I open just VI with custom control I developed it consumes about 30% of the CPU power. Could someone explain why? Is also my problem with this control? I see it with 8.5 and 8.6 as well. It must be linked to its representation since when I hide the disepears problem. Thank you

Good so I was right. It seems to be the combination of the hover button effect and radio. When I used the default control of LabVIEW to create my custom control the problem disappeared. Although I would like to hear a logical explanation why this was happening.

Tags: NI Software

Similar Questions

  • Why my custom control to change the size, when I open it on different computers?

    I create a custom control, and when I open it on other computer it changes size

    Try to:

    -the Boolean text

    -use a specific font for the Boolean text (e.g. Tahoma, but NOT the font system, application, or dialogue)

    -hide text Boolean

    -Save the .ctl

    In my experience, it is the text boxes, an object resize on different systems, the box of dialogue/system/application are different fonts.

  • Custom control with couple or the input voltage system

    Hello

    I'm relatively new to LabVIEW and this is the first time that I'll use for an application of movement. I have a controller/chassis cRIO-9074 with a few modules NI 9514 IO, servo motors and drives, and I'm trying to do is to use a custom control in my system (a sliding mode control law) to generate the signal for the movement of the engines. I was able to produce a movement OR softmotion but so far I've been able to produce with position, speed and acceleration as inputs and to optimize PID gains. What I want to do is to send commands to torque or tension from the entrance of my right to command control is torque for motors. What I was wondering is if it's possible with the components that I use now and if someone could direct me to useful articles or books that can help me.

    Sorry if is a noobie question but I only worked theoretically with systems of control far and I didn't simulate the results with matlab before that. It is the first time that I had to get the experimental results to validate my proposed control right. Thanks in advance.

    Hi,.

    This may be possible, but since sending the commands of torque or tension directly don't are not supported in scan mode, you can use your 9514 FPGA mode.

    This link describes the components needed to run the FPGA device.

    You should be able to find examples in the Finder for example NEITHER, but here is an overview of the use of FPGA that can be useful as well.

  • The SoC Xilinx architecting 7010 is added to myrio, my question is why? Which task is done by the CPU and which task is performed by the FPGA in myrio when running LabVIEW.

    Looking myRIO Xilinx architecting-7010 SoC I am bit inntrested in the workflow for the GS. How does the bennifit myRIO use a system on chip instead of a regulare CPU and FPGA not in the same chip.

    4 way could there be to manage a VI?

    With FPGA and RT (CPU)

    Only of FPGA

    Only RT

    only the windows

    I am comfused, is it any good article/doc describing this?

    I found the image in a PowerPoint on the www. -What the task split like this betwheen the CPU and FPGA?

    Hello

    Please see this link. This can help you understand the architecture of RIO, and there are many whitepapers available in ni.com

  • M4: Regulation of the CPU power and fan - tablet is running hot and noisy

    My M4 is running hot and and the frequent active noisy fan in the normal power setting. This allows to improve some during the definition of the maximum energy saving options: battery life. But still the fan starts running and short relatively frequent. The fan noise is high enough to be quite irritating in a quiet environment.

    Is this normal?

    Also my M4 allows on occations to memorize the fan.
    Cpu temperature drops from 58 to about 44 C after awhile, but the fan still works.
    However, if I go on hold for 1 second and back, fan control is reset and the fan turns off.
    Yourself or others behave the same?

    Conditions are improving a little tuning down the cpu down voltage using hardware control (NHC) Notebook
    (http://www.pbus-167.com/)

    East of problems common to the M4 or Tecra series?

    GeirS

    Hello

    If the operating temperature of the machine goes upward, so that the cooling fan turns on.
    Many parts for example produce a lot of heat from the graphics card.
    In addition the CPU temperature increases if many processes are running in the context of the operating system or if you are working with programs (i.e. playing games).
    If you have a laptop computer with a processor that is hot much faster one and then another, it must be cooled more often.
    You can believe me :) It's not a fault!

    If you wish, you can try changing the cooling method parameter in Toshiba power saver utility.

    Best regards

  • Simple Script Execution: Days and only using 15% of the CPU power

    Dear community,

    I have a data file (.tdm) with 17 channels of waveform point each containing 13742499 data. I want to delete all the data points that are not actual load points. I have build a canal ("LoadTrigger") that is a trigger for points of interest. With the following script, I tried to erase the im not interested datapoints:

    Dim RowCount

    Number of lines = 1 to GlobalChnLength

    ChnVal if (RowCount, "/ LoadTrigger") = 0 THEN

    Call the DataBLDel ("1-17 ', RowCount, 1" ")

    End If

    Next

    The script is now running for more than 20 hours with no result. Can someone please tell me if I am wrong in my script, or if there is a way to make it faster?

    In addition, I wonder why DIADEM uses no more than my cpu power? As you can see in the photo attached DIADEM mainly use a carrot and never more than 15% of the CPU.

    Best regards and hoping answers of construcitve!

    If you try to delete rows based on conditions, you can use code like this:

    Option Explicit
    CreateExample

    "Make sure that the correct group is active.
    data. Root.ChannelGroups (1). Activate
    ' chncalculate allows you to set values that match a NOVALUE condition
    Call chncalculate ("Ch (1) = Ch (1) + CTNV (0 = Ch (1))")
    'Delete the lines that contain a NOVALUE in channels '.
    Call ChnNovHandle ("[1] / [1]", "" [1] / [2]'-' [1] / [3]'","Delete","XY", 1,0, 0)

    Sub CreateExample()
    data. Root.Clear
    Dim g: g = given game. Root.ChannelGroups.Add ("group")
    Dim c1: set c1 = g.Channels.Add ("c1", DataTypeFloat64)
    Dim c2: set c2 = g.Channels.Add ("c2", DataTypeFloat64)
    Dim c3: set c3 = g.Channels.Add ("c3", DataTypeFloat64)
    I have Sun: for i = 1 to 100
    C1 (i) = I mod 2
    C2 (i) = I have
    C3 (i) = i * 0.00001
    Next
    EndSub

    that will remove all lines that contain a 0 in the first round.

    will be converted to

  • Causing problems of custom data type to deploy the shared target RT variable

    I seem to have some difficulty in using a shared variable published network created from a customized data type when it is deployed as an executable on a target of cRIO RT.  I'll start by describing why I think that this is the rub.  I created my RT VI in the LabVIEW (LV 2012) development environment and everything works fine.  This VI is quite simple, because these were quickly devolved into an exercise in debugging.  The RT VI begins by simply flashing the LED to a couple of times and then starts a loop simple acquisition to read some values out of the material using the analytical engine (while still flashing the LED of the user).  After reading the material, the values are grouped in a cluster and written in a shared variable published to the network defined by a custom control type def.  The custom control contains five floats double precision.  If it's important, the RT cRIO system hosts the shared variable in this case.

    So I have that deploy in the development environment, and everything works fine.  The LED flashes merrily along, telling me that the program runs correctly.  Running a VI host who reads the shared network has published variable gives the desired result.  Everything is good.

    Now, I want the cRIO system to run this simple program by itself at startup.  I build, set it as start VI, deploy it, and then restart the cRIO target.  The LED never flashing... the VI doesn't seem to work.  I'll spare you the major part of the work of debugging and access to the end.  I basically "diagram Disabled" various sections of the code up to the VI began to run correctly in an executable file.  I kept reducing the size of the disabled code until something has been disabled: the writing in the shared variable for the custom data type.

    So, I guess my question is this: are custom data types defined by type def would be personalized orders authorized executables to RT?  I read through the cRIO Developers Guide, my book of development in real time course of NOR and the white paper using shared Variables and I see nothing that forbids it.  I know that there are things not allowed in the executable files that are allowed in the development environment (property nodes façade, dialogue live, operating system specific calls, etc.), but no mention of the shared variable type custom data.  Any ideas as to why my VI is running in the development environment, but does not update unless I have delete the entry on the published network variable shared?

    Thank you in advance for your help!

    You must disconnect the data types of variables and then recompile. You can find it useful to keep on disk, a copy of the original lvlib.

    Don't know if this is a bug or not. It was suggested by someone in the forum that putting the ctl files in the right position (the disk? in the draft?) would allow the rtexe start; I did a quick check and it didn't work then I dropped the tests more far.

  • VeriStand custom controls

    I'm just starting to use the evaluation copy Veristand to see if it can do what I need it to do.  It seems very customizable, and I tried to create controls in the workspace personalized with Labview.  I would like to make things like radio buttons, lists and menus in the workspace to control my drop-down model.  I have tried everything just by taking one of the digital controls and its replacement by one of the controls mentioned previously, but it gave me an error message saying they were not supported.  It seems that I'd be able to do this using the free label template, but I'm not sure how to do this.  I was able to find an example of a custom indicator (min/max one), but could not find everything related to custom controls.  Are there examples or tutorials, that I could look at?  How could I go for some of these controls of Labview in things that I could use the Veristand workspace?

    -Eric

    Hello Junior, I have some answers for your problem.

    1. I have attached a zip file that contains your renamed control and build a project in it. You should be able to unpack, check the construction features and make sure that the output destination is C:\Documents and Settings\All Users\Documents\National Instruments\VeriStand\Display models. Trigger a build on that and you should get EricHettlerSample - Radio.vi and EricHettlerSampleControlSupport.llb in there. Once you have this launch a workspace, you will be able to drop the EricHettlerSample - Radio in the control list control.

    2. for the explanation. I think that when you perform a save as on the example of the min - max you download the Web of LabVIEW cross link on the screws that the llb with that of the vi.lib. Do a save as will not work. What works, it is that you create a project and setup a source distribution to generate the custom control. Here are the steps that I have take based on your attached file:

    1. Rename in windows Explorer, the attached digital indicator - radio.vi to EricHettlerSample - radio.vi
    2. Open LabVIEW convert the .llb you connected to a directory.
    3. Create a new project file.
    4. Radio.vi open EricHettlerSample - under my computer, when LabVIEW invites me to some VI I search in the directory to convert llb. Note that LabVIEW search more files under vi.lib because these are the files that NI VeriStand install labview directory.
    5. Once I added some of the screws, I mass compile the project.
    6. Create a source distribution. Add the EricHettlerSample - radio.vi. Go to setting source file main vi for the folder models and all otherwise go to a folder of llb.
    7. Trigger the build, LabVIEW will do a better job in creating an isolated component which is properly connected.

    In General, you always want to create a project to create a custom, control given that Save As not always worked with the LabVIEW VI link in NI VeriStand.

    To create a completely custom control project base what you do is:

    1. Copy C:\Documents and Settings\All Users\Documents\National Instruments\VeriStand\Display Templates\Decoration - free Label.vi in Explorer windows in a directory of your choice.
    2. Make a change of name on VI in Windows Explorer.
    3. Open LabVIEW to create new project add the renamed VI in my computer. This will create an empty project to customize the custom controls.

    I hope this helps, let me know if it still does not for you.

    Also if you still embarrassed by the error messages appears so you will want to clean directory C:\Documents and Settings\All Users\Documents\National Instruments\VeriStand\Screens this directory being where NEITHER VeriStand puts all the controls that you drop into the workspace cache. So if you have a control that cannot be loaded remove all screws in this directory should remove the wrong screws.

  • Tecra S3: > 50% CPU power to the driver NVidia (DAAC)

    Hello

    I just installed my new Tecra S3 and found that the fan was working most of the time. When I analyzed the processes running on the machine (using Process Explorer from www.sysinternals.com) I found that a lot of time was spent on the DPC. There are deferred procedure calls that are normally called by a driver when a piece of hardware to generate an interrupt hardward.

    This problem (the DPC taking over 50% of the CPU power) goes away when I uninstall the NVidia driver.

    Someone of you (have a Tecra S3 or similar) has the same kind of problems, or now a solution?

    Hello Eddy

    Are you using a designed Toshiba graphics card driver?
    I use Tecra M1 and have no problem with the use of the processor, even if many different processes are active.
    Thank you for using the Toshiba driver because they are design and for the units. Other pilots could damage the components of the laptop

  • Custom control in the new VeriStand workspace

    Anyone know if it's possible and how to make the custom to the new UI controls? I have a custom device that creates channels 400 + and I would like to find a way to add them to the user interface without having to manually configure each channel individually.

    I have a way for the user to choose if each digital output is discreet, PWM or encoder mode. Currently, they have to drag into individual channels labeled 'Enable channels', 'Output Mode' and either 'Discrete Value,' 'PWM Duty Cycle' & 'Frequency PWM', or 'Encoder quarter' & 'encoder Index Control. " Is it possible to create a custom control that contains Boolean controls and digital necessary? I know that this was possible in the old VeriStand workspace, but I have not found a way to do in the new, as there does not appear to use a directory full of screws for its controls.

    Thank you

    Mitch

    Hi Mitch,

    I'm sure that this functionality does not yet exist for the Manager of the user interface, but I guess that NEITHER is likely to know that it is a widely used feature.

    When I asked him about this a few months ago, I think the answer is that it must continue to use the workspace controls customized with the workspace and migrate the rest of your features to the UI handler. Once the UI handler and the Worspace may operate at the same time in the same application VeriStand.

    Could you describe the feature you're looking for with screenshots?

    I hope this helps, but maybe someone of NOR can enlighten us more about it!

  • Not the custom control based on existing controls

    For my UI I need a directional Panel control 8, somewhat like a D - Pad or a digital arcade stick, as seen on the left side here:

    Or this:

    His output would ideally be an Enum, identifying the direction in which it is proposed:

    0: Center

    1: left

    2: right

    3: to the top

    4: bottom

    5: left upwards

    6: left down

    7: top right

    8: right down

    The order doesn't really matter. In fact, nor the data type as long as it works. He must also be able to respond to the keys on the keyboard for example the arrow keys.

    The problem I have is that I can't do this control. To the best of my knowledge, a control like this does not natively exist in LabVIEW. So I looked in the creation of custom controls, but all the resources that I found only show you how to take a control existing (for example a cursor) and change its appearance. Absolutely nothing about creating controls that behave differently than the default, the controls made NEITHER.

    I spent enough time looking for resources that I have to ask: is it still possible?

    Edit: I would reluctantly with a cluster with 4 Boolean controls, each corresponding to one of left, right, up, down. But then, can I do their people in charge of the graphics from the other? If not, can I at least prevent press left and right at the same time?

    Do some research on the XControls - they allow you to create custom with custom behaviors controls: http://www.ni.com/tutorial/3198/en/

  • How to create a custom control for a button where the look apply to everyone else but not the Boolean text?

    Hi all

    I would like to create a button custom as a master, so that if I change the look of the master all other buttons are changed.

    I did it with a custom control, such as a 'type strict def' otherwise the look will change , BUT if I do this as a strict type def I can't change the Boolean text more which should be different on each button.

    How to create a master control of a button where the look apply to everyone else but not the Boolean text?

    Steve Chandler wrote:

    I don't think that you can do. I just looked and as I suspected the Boolean property text is read only for strict typedefs, you cannot use the nodes property to change the text.

    As a just solution make it a typedef. When you want to change the open look the typedef and strict rendering, make your changes, then make no strict again. You will need to update the text Boolean yet once for all instances. Kind of pain. This is perhaps something for the exchange of ideas.

    Alternatively, remove Boolean text and replace with legend

  • Placing the control in a custom control file

    Hi all

    I'm new to LabView and have a simple question. I customize an example of LV for my purpose. There is a custom control used in the example file. I'm setting up a new (combobox) control and want to place this control in the file of custom control so that I can move on to various sub - vi for various purposes (e.g. initialization).

    Chart attached shows the ComboBox (Model DUT) on a front panel and custom control file (TestStand UI Data.ctl). My questions are the following:

    1. What are these symbols with the pink arrow (that is the button stop/restart, etc...) in the TestStand UI Data.ctl file? (see attached diagram). They are symbol of data type of references?

    2. How can I place my combobox was forced TO model in the file of custom control so that I can pass through the different slot control file - vi? I tried to do a right-click on the control and use create-> constant or reference, but they don't it has not changed the pink arrow symbol element.

    I hope someone can help solve my problems. Thanks in advance.

    Yours,

    Chati

    chati wrote:

    Hi all

    I'm new to LabView and have a simple question. I customize an example of LV for my purpose. There is a custom control used in the example file. I'm setting up a new (combobox) control and want to place this control in the file of custom control so that I can move on to various sub - vi for various purposes (e.g. initialization).

    Chart attached shows the ComboBox (Model DUT) on a front panel and custom control file (TestStand UI Data.ctl). My questions are the following:

    1. What are these symbols with the pink arrow (that is the button stop/restart, etc...) in the TestStand UI Data.ctl file? (see attached diagram). They are symbol of data type of references?

    2. How can I place my combobox was forced TO model in the file of custom control so that I can pass through the different slot control file - vi? I tried to do a right-click on the control and use create-> constant or reference, but they don't it has not changed the pink arrow symbol element.

    I hope someone can help solve my problems. Thanks in advance.

    Yours,

    Chati

    You do want to overwrite the "custom controls" that are part of LabVIEW.  However, you can create your own "custom" by a fall control, say, TestStand UI Data.ctl on your diagram, right click and choose Open Type Def (who opens the definition OR one you do want not change), make some additions or changes, then do a file/save under and save it in your project file with a custom name, that you make up.

    These pink arrow symbols are references - you can find them by looking in the Refnum palette.  I'm not sure what they are references to, however.

    As a suggestion, rather than send us just a picture with circled items, send the actual control so that we can watch and maybe tell you more details.

    Bob Schor

  • is it useful to make the custom control custom/indicator icons?

    I was doing custom icons (finally not very personal, but it is still at least somet ext) are for the controls and indicators, when I realized the only time where you see when you open the control itself, ot if you go over it in the project with the help on.

    So the question is:

    It is useful to create a custom for each custom control icon that you perform, if we see that very rarely?  (The exception being a cluster, since in later versions of LabVIEW, you can actually represent your cluster on the BD as the icon that you have done for her, so it IS definitely worth making an icon for it.)

    Thank you!

    You said correctly, very often (I won't say RARELY) we see the icons to a custom... control but I prefer to create icon for each custom control because it certainly adds value.
    I often use the VI hierarchy, context help window window and here a custom icon help.

  • custom control with the mask of the image

    Hello

    I am trying to create a custom control that looks like a bulb. I want to do is have a picture of a light bulb with a Boolean flag behind it so when you press a button the light bulb gets dimmer or brighter. I know how to customize the controls and can change the color of the Boolean indicator but have no idea how to do it. Any help would be grateful.

    See you soon

    James

    GIF will allow transparency.  This will show through the image.

    Also, few throughts.  Change the box color instead of a Boolean, this event will allow you to change just the color instead of use the Boolean color via a property node.

    Another easy method is to use a ring to the bottom of the picture load the image of your bulb, fill the bulb with several shades (May 16) brightness, then import the sequence into an image control, then you will have multiple shades you can view any required customizations.

Maybe you are looking for