Change "Chart x scale maximum range" in running mode....

Hi,
I have a little problem for labview world, i use chart graph and  if user choose 100 meter for x scale range in running mode,  every time user must see last 100 meter on the chart x scale range in running mode. Also if user change x scale range for instance 200 meter in running mode, user can see last 200 meter every time.
I did little labview .vi for this but my problem is that
user choose: 100 meter in running mode (0-100 meter) 
and chart value is 101 for x scale,  x scale is 100-101,100-102,100-103... so on no update other range (100-200) "ı dont do this....
Thank you every one and i love labview by the way i added example coded for problem (labview 8.0), (block diagram explain problems with label) if u want u can see correct code solution.... 
Solved!
Go to Solution.
Attachments:
chart x scale max.vi ‏14 KB

kacco wrote:
by the way i wanna ask some question about event str. Why am i using time out terminal 50 milisecond? if i connect -1 while loop doesnt work, or if event str time out terminal is empty value, i see same problem(while loop doesnt work, chart is not running)
but event structure can use empty value for timeout terminal..... this vi  no  What is the meaning of this????
kudos is coming soon my friend this is good and very useful solution thank u.....
The timeout terminal lets you perform an action at a prescribed rate.  If I didn't use it, the Event Structure would sit until a Front Panel control is changed; that would keep the Random Number function from adding to the chart.  I wanted a new random number to continually add to the chart so I put it in the Timeout case.  I used 50 ms, instead of your 150, because I wanted it to run faster.  Not wiring something to that terminal results in the default value (-1) being used which makes it never time out, explaining why your VI doesn't work when you tried it.
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

Similar Messages

  • Chart x scale (changable​) width problem in runtime

    Hello
    I have problem about chart x scale range in runtime. If user can choose 100 meter in x scale user can see last 100 meter.Otherwise if user choose 200 meter user can see last 200 meter in running mode. You can see example in the below page...
    I opened same topic yesterday.
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=491126#M491126 (simple vi code in this topic ...) topic title:Change "Chart x scale maximum range" in running mode....
     Thank you everyone this is important for me.I tried every thing last 3 days to solve this problem but i didnt...

    My two cents are here, in your ORIGINAL POST!
    Message Edited by jcarmody on 04-15-2010 06:57 AM
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • Oracle bi publisher PDF output changes chart scale

    I have created report which has charts - bar charts
    I able to run report in various formats including interactive, html, excel, powerpoint, pdf etc.
    Now the chart scale on all other format reports showing perfect e.g. 3.0 height on y axis. So its basically adjusting as the max height (value) for y axis. But for PDF output no matter weather it has less than 3.0 for all values in that page, but it shows height 4.0 (instead of 3.0 max as other output formats are showing). So its not adjusting dynamically as other output formats.
    How can I get PDF document display same as other output formats? Because if all values less than 0.5 height, still PDF output showing height as 4.0 , so graph is not visible or almost touching to the ground with straight line.
    Please help and appreciate your help.
    Thanks

    Has there been any update on this? I am running into the same problem, only it is only affecting one of my charts. The maximum keeps on dynamically setting to 4.0, though I have also seen it set its maximum to 5 and minimum to -5 given certain parameters.
    I have three other charts on the same report: one with a dynamic maximum that sets correctly, and two that have a static maximum. The problem is only when I view it as a PDF.

  • How do you extend a chart's x-axis range?

    Hello,
    Is it possible to extend a chart's x-axis range to ten seconds, rather than the default five seconds?
    I've attached a simplified portion of my code, which contains a DAQ Assistant connected to a chart. I've played around with the chart history length, sampling frequency, and sample numbers; however the chart's x-axis range remains a constant five seconds. I feel this is a relatively fundamental concept, but it eludes me.
    Settings currently set to:
    Sampling Frequency: 2k Hz
    Samples Read: 200
    Acquisition Mode: Continuous sampling
    Chart Update Mode: Strip
    Chart History Length: 1024
    Solved!
    Go to Solution.
    Attachments:
    sampling test.vi ‏73 KB

    Thank you. I feel foolish as this was trivial:
    For those who don't know:
    Right-click the chart
    Select X-Scale->Properties
    Under the Scales tab, enter your time range in the minimum and maximum boxes.

  • Unable to change the scoring scale from 1-10 to 1-5

    Hi,
    We are using E-sourcing 5.1
    We didn't see any options to change the scoring scale to 1-5.
    Note:
    For manual score question : system is asking us to score the scale 1-10
    only but would like to have 1-5 instead of scoring scale 1-10.
    Kindly let me know the process step to change the scoring scale
    Thank you,
    Mani

    Mani,
    Unfortunately I do not believe that there is any configuration option to change the scale range from "1-10" to "1-5". That range is fairly embedded within the application and is used by the scoring system to weight the response in determining an overall score.
    -Howie

  • Delimit end date for pay scale salary ranges (T510N)

    Hi,
    Some of the pay scale salary ranges (T510N) which we use are no longer valid and I want to delimit the end dates. Has anyone done this before ?
    Appreciate if you can share the solution.
    Thanks,
    Rajesh

    Hi Sarah, Harish
    Thanks for your replies.
    What I did was to copy the existing range, change enddate to 31.12.2009, and delete the old range. In the tests I have done, this seems to work. We don't use these ranges anymore but busiiness want to retain. Should not impact existing PERNR's.
    Cheers !

  • How to change chart type at runtime

    hi
    this application uses forms 6i client server environment, graph control is being used with og.interept libray,
    passing parameters run times thru forms to charts.
    issue is that, i want to change chart type at run time, when user changes list item like 'pie' and 'bar' value instead of creating two different charts i.e pie and bar.
    below is the code is being used to run charts.
    begin
    declare
    pl_id ParamList;
    query0 varchar2(256);
    begin
    query0 := 'select deptno, sum(sal) from emp where deptno in( '||:dept1||','||:dept2||') group by deptno;';
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'dept1',text_PARAMETER,:dept1);
    Add_Parameter(pl_id,'dept2',text_PARAMETER,:dept2);
    if :ch_type = 'pie' then
    og.interpret('e:\mas\emp2.ogd','g1',query0,true,pl_id);
    og.close('e:\mas\emp2.ogd','g1');
    elsif :ch_type = 'bar' then
    og.interpret('e:\mas\emp3.ogd','g1',query0,true,pl_id);
    og.close('e:\mas\emp3.ogd','g1');
    end if;
    END;
    end;
    thanks
    i'd be appreciated on early reply.
    ali

    hi
    this application uses forms 6i client server environment, graph control is being used with og.interept libray,
    passing parameters run times thru forms to charts.
    issue is that, i want to change chart type at run time, when user changes list item like 'pie' and 'bar' value instead of creating two different charts i.e pie and bar.
    below is the code is being used to run charts.
    begin
    declare
    pl_id ParamList;
    query0 varchar2(256);
    begin
    query0 := 'select deptno, sum(sal) from emp where deptno in( '||:dept1||','||:dept2||') group by deptno;';
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'dept1',text_PARAMETER,:dept1);
    Add_Parameter(pl_id,'dept2',text_PARAMETER,:dept2);
    if :ch_type = 'pie' then
    og.interpret('e:\mas\emp2.ogd','g1',query0,true,pl_id);
    og.close('e:\mas\emp2.ogd','g1');
    elsif :ch_type = 'bar' then
    og.interpret('e:\mas\emp3.ogd','g1',query0,true,pl_id);
    og.close('e:\mas\emp3.ogd','g1');
    end if;
    END;
    end;
    thanks
    i'd be appreciated on early reply.
    ali

  • Gauge Scale Maximum per gauge

    Hi,
    I am trying to set a different maximum for each of the gauges that I have. In order to so I went to :
    Additional Gauge Properties -> Scale -> Gauge Limits -> Custom -> Maximum.
    Here I specified the vale as a sql column "COLUMN B".
    I was expecting that it will pickup the "COLUMN B" value from each row for each gauge, but the value seems to be set to the value of the first row for all gauges. I only have 5 rows.
    Any help will be great.
    Thanks.

    It is not entirey clear what you mean.
    Is it possible that you want to adjust the scale range (min&max) programmatically? Simply create a property node of the gauge and write to the following properties:
    Scale.Minimum
    Scale.Maximum
    (Of course you can also "move" the scale around on the front panel using properties such as "Scale.Left", etc., but this does not seem very useful).
    LabVIEW Champion . Do more with less code and in less time .

  • Not able to open PDF or do any changes even if the PDF opens. Run Time Error is shown every time when trying to open PDF. Please help

    Hi,
    Not able to open PDF or do any changes even if the PDF opens. Run Time Error is shown every time when trying to open PDF. Please help

    Hi Shilpa ,
    Please refer to the following link and see if that helps you out.
    https://helpx.adobe.com/acrobat/kb/runtime-error-roaming-profile-workflows.html
    Are you trying to access the PDF with Acrobat or Adobe Reader?
    Regards
    Sukrit Dhingra

  • How to change the year in a range of column dates to the new year?

    How to change the year in a range of column dates to the new year?

    Depends on the pattern of the dates. The last procedure will work for any pattern, or no pattern at all.
    For examples.the dates are assumed to be in column A, starting at A2
    Sequential dates?
    Enter first updated date in the first cell.
    Enter =A2+1 in cell A3. Copy the cell.
    Select A3 to the end of the list. Paste.
    With the cells still selected, Copy, then go Edit > Paste Values.
    Evenly spaced dates?
    Same procedure as above, but replace +1 in the formula with + and the number of days between dates in the list.
    Randomly spaced dates?
    Select cell B2. Press option-left arrow to insert a (temporary) column to the left of column B.
    Click on the empty cell B2 in the new column. Enter the formula below:
    =DATE(YEAR(A)+1,MONTH(A),DAY(A))
    Copy the cell, then select B2 - Bn where n is the last ow containing a date to be converted. Paste,
    With the cells still selected, Copy.
    Click on A2, then go Edit > Paste values.
    Click on the column B reference tab to select all of column B.
    Hover the mouse over the right end of the reference tab, and click the black triangle when it appears.
    Choose Delete Column from the menu that appears.
    Regards,
    Barry

  • Changing the source of mx:Style at run time

    Is there a way to be able to change the stylesheet for an
    application at run time? Or is the only way to handle it on the
    server?

    For those who might be interested, here is a class that will
    load a xml file (that describes styles) and applies the styles
    found to your application.
    The xml file is in the format:
    <?xml version="1.0" encoding="utf-8"?>
    <dynamicStyles>
    <Application selectorType="type"
    backgroundImage="images/background.jpg"/>
    <ApplicationControlBar selectorType="type"
    highlightAlphas="0.5, 0.25"/>
    <ToggleButtonBar selectorType="type"
    highlightAlphas="0.5, .25"/>
    <viewPanel borderStyle="solid" borderThickness="1"
    borderColor="#efefef" backgroundColor="#d0d0d0"
    backgroundAlpha="0.5" color="#170505" cornerRadius="5"
    dropShadowEnabled="true"/>
    <infoPanel borderStyle="solid" borderThickness="1"
    borderColor="#7f7e7e" backgroundColor="#ffffff"
    backgroundAlpha="1.0" cornerRadius="5"
    dropShadowEnabled="false"/>
    <infoLabel fontSize="11" fontWeight="bold"/>
    </dynamicStyles>
    The AS class is the following (be sure to name the .as file
    that same as the class name and modify the "package" section yo
    include any path required by your setup.
    package
    import mx.styles.CSSStyleDeclaration;
    import mx.styles.StyleManager;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.*;
    import flash.xml.XMLNode;
    import flash.errors.IOError;
    public final class RuntimeStyle
    private var _source:String;
    public function get source():String {
    return _source;
    public function set source(value:String):void {
    if (value != _source){
    getStylesheet(value);
    _source = value;
    private function getStylesheet(value:String):void {
    var urlRequest:URLRequest = new URLRequest(value);
    var urlLoader:URLLoader = new URLLoader();
    urlLoader.addEventListener(Event.COMPLETE, completeHandler);
    urlLoader.addEventListener(IOErrorEvent.IO_ERROR,
    ioErrorHandler);
    urlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    securityErrorHandler);
    urlLoader.load(urlRequest);
    private function completeHandler(event:Event):void {
    var loader:URLLoader = URLLoader(event.target);
    var xmlDoc:XML = new XML(loader.data);
    applyStyles(xmlDoc);
    private function ioErrorHandler(event:IOErrorEvent):void {
    throw new IOError("Error Attempting to load
    RuntimeStylesheet:" + source + " Original Error: " + event.text);
    private function
    securityErrorHandler(event:SecurityErrorEvent):void {
    throw new SecurityError("Error Attempting to load
    RuntimeStylesheet:" + source + " Original Error: " + event.text);
    private function applyStyles(xmlDoc:XML):void {
    var xmlList:XMLList = xmlDoc.children();
    for each(var node:XML in xmlList) {
    if (node.@selectorType == "type") {
    var cssStyle:CSSStyleDeclaration =
    StyleManager.getStyleDeclaration(node.name());
    if (cssStyle != null)
    setStyle(cssStyle, node);
    else {
    var cssStyleDeclaration:CSSStyleDeclaration = new
    CSSStyleDeclaration();
    setStyle(cssStyleDeclaration, node);
    StyleManager.setStyleDeclaration("." +
    node.name().toString(), cssStyleDeclaration, true);
    private function
    setStyle(cssStyleDeclaration:CSSStyleDeclaration, node:XML):void {
    var attributes:XMLList = node.attributes();
    for each(var attributeNode:XML in attributes) {
    var attributeName:String = attributeNode.name().toString();
    if (attributeName != "selectorType") {
    var attributeValue:String =
    node.attribute(attributeName).toString();
    if (attributeValue.indexOf(",") == -1)
    cssStyleDeclaration.setStyle(attributeName, attributeValue);
    else
    cssStyleDeclaration.setStyle(attributeName,
    attributeValue.split(","));
    }

  • Changing charts in Safari

    Hello
    I have problem while changing charts in Safari. If I open few of them (all are loaded) and decide to spend like a minute reading something in one chart and then decide to switch to another chart, it loads again the whole website. I noticed that this does not happen on my friends iPad Air ;(.
    Did someone have similar issue?
    Thanks a lot.
    I have iPad Mini Retina.

    I meant changing tabs in Safari, sorry for the mistake, difficult day ;)

  • Change chart of accounts in Controlling area

    Hi all,
    How can I  change the chart of accounts in controlling area?
    I've already changed chart of accouns in FA CoCode Global data, and I have to change chart of accounts in controlling area;  In OKKP chart of accounts is in display mode

    I get the message; where I have to assign Chart of acc to Controling area in OKKP is not possible
    Differing charts of accounts: INT - CAXX
    Message no. KT299
    Diagnosis
    The system makes consistency checks during assignment of a company code to a controlling area as part of assignment control.
    The same checks take place if assignments already exist and you change the basic data in the controlling area, or if you define the controlling area and company code as a 1:1 structure.
    If the check finds an error, the system cannot execute the function ("Assign" or"Change basic data"). If you do not maintain the required data for the consistency check (such as currency, chart of accounts, or fiscal year variant in the company code), this also results in an error message.
    Chart of accounts INT, controlling area XX01, does not agree with chart of accounts CAXX, company code XX01.
    System Response
    Processing is terminated.
    Procedure
    Ensure that the same chart of accounts is assigned to controlling area and company code.

  • Change chart legend order

    I have bar chart with legend. I can change chart sort order from Chart Expert. When I change order in chart I can not see same order in legend list. How can I change legend sort order.

    Go through the following SAP Note
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303330333933313335%7D.do]
    Regards,
    Raghavendra

  • Color issue with pdf from Indesign. I have a special cmyk mix for a bcard in Indesign. When I export the pdf the cmyk mix has changed Just started today 1.13.15 Running Yosemite 10.10.1 Any help on what to look for would be greatly appreciated.

    I have a special cmyk mix for a bcard in Indesign. When I export the pdf the cmyk mix has changed Just started today 1.13.15 Running Yosemite 10.10.1 Any help on what to look for would be greatly appreciated.

    Thank you Peter. Someone else must have been on my computer because I do not change the settings. You pointed me in the right direction.
    Thanks again.
    Patrick

Maybe you are looking for

  • How to access a variable from one mxml to another mxml?

    I have Vbox having Hbox in turn hbox has some components ...TextInput... I m adding this Vbox in another mxml file....iteratively .... I need the sum of all the enetered values in the text boxes to be displayed on the textbox in another Mxml ... I am

  • Installing 7.0.1

    I am having trouble installing the new update. It seems to download the package fine and I go through all the prompts and says its been installed successfully yet the update has not taken effect. I'm sure I'm missing something simple.

  • Lenovo Thinkpad E530 - USB 3.0 Ports Not Working Code 10

    Hi everyone, so I own a Lenovo E530 with Windows 7 and just earlier today I plugged in my optical mouse into it, about 10 minutes in, Windows gave me a "not enough power message" for my USB 3.0 ports on the left side and they just stopped working. I

  • Why does Photoshop Elements 10 print dark and red, and not match the computer screen?

    I switched from Photoshop Elements 7 to Photoshop Elements 10.  I cannot get a print of a photo that matches the screen.  Photos are dark and red.  I cannot edit the photos because I do not know what will print out.   I have switched back to Photosho

  • Module Failed SCP dnld

    Hi, I have a WS-SVC-IDSM-2 which is showing as PwrDown looking at the show power there is more than enough but there is an error message "Module Failed SCP dnld" does any body know why this is showing? it is something to do with the rom version. Rega