Table axis range error labview

Hello

I'm trying to programmatically set the chart to display a minute 30 or 60 minute range. I can do this by setting the following in a case manager properties, if the user presses a button to apply the settings of the map (with the display of absolute time format):

Entry: graph time = 30 minutes or 60 minutes

Properties (in order):

Scalefit value of 0 (no autoscale)

Offset of the value timestamp 'get the current time.

Startrange value timestamp 'get the current time.

Multiplier to 1 /(1000 Samples)

Minimum for the timestamp 'get the current time.

Maximum to 'Get the current time' + 1800s (for table duration = 30)

Loosefit set to true

Result:

While I can get the output offset table correctly, the time slot is always set to 40 minutes.

I ask these same settings in the table more away in the loop and the min, max values are completely different - one offset is consistent.

Here is a sample run: table length = 60,.

Minimum = 15:01 25 January 2013

Maximum = 16:01, 25 January 2013

Offset = Minimum

Output:

Minimum = 15:02 January 25, 2013

Maximum = 15:42 25 January 2013

Offset = 15:01 25 January 2013

I am confused because I have not set these properties of chart in my code otherwise. No idea where they come from? One solution is to take the code in the case manager, but I would like to refrain to do so because it uses more memory. Thank you!

Could you post an excerpt of our VI?  It would be very useful.

Right on the top of my head, I think you may have a problem with the amount of data in the table and affecting the size.  You may also need to set the length of the history of the chart.

You might be better off using a graph of waveform instead of graph.  It is much easier to control the data in a chart as you define explicitly all the data instead of letting the LV to annex all automatically.

Tags: NI Software

Similar Questions

  • The IVI Drivers: RangeCheck of initialization option set to true: failed to get an out-of-range error

    Hello

    I'm new to IVI drivers (started using them last week) and I have a problem with the option of initializing RangeCheck.

    So get used to the IVI drivers, I used the example provided with the AgilentE36xx IVI - COM driver (on my computer, it is located in C:\Program Files\IVI Foundation\IVI\Drivers\AgE36xx\Examples\VS.NET\Cpp\Example1).

    I could do everything I wanted except get an error out-of-range, during the passage of an out-of-range value to a function. I put the RangeCheck init option to true, but I don't have any error in the simulation, nor with the connected equipment.

    Attached is the code (from the example of Agilent) but modified so that it should throw an out-of-range error when adjusting the tension on the following line: spOutput1-> VoltageLevel = 1000; ... why no error.

    Still, it runs correctly. Can someone tell me what I'm not doing correctly.

    Kind regards

    Roman

    Hello

    I posted the question on the Forum of Agilent.

    Here is the link to the post: http://www.home.agilent.com/owc_discussions/thread.jspa?threadID=33348&tstart=0

    The problem is now resolved. Thank you for your help.

    Kind regards

    Roman

  • error lines (single const voilation) does not not at the table of shadow errors

    Hi all
    I have two unique const voilation errors, but charge no mistakes at the table of shadow errors, do I have to set something up in order to see these two lines in the table of errors?

    Thank you
    Ravi

    Hello

    in the design center, select the map, choose Configure from the context menu, open the operators in the table, select the target table and remove the loading indicator (APPEND a default value).
    Deploy the mapping. Now, he does not use direct charge more.

    Kind regards
    Carsten.

  • XY graph - yscale.range error

    Hello

    I'm having a problem with my range of scale settting program there on a xy chart. I am the creation by programming the x and y fit to 0 scale (don't not autoscale), then setting the range scale x and y scaling. The x scale works fine, but when you try to set the scale y I get error 1077 - invalid property value. I read on the forums a possible fix to disconnect the control of interval-y the typedef but still no luck.

    I use LV2012 SP1. Any help would be appreciated.

    Thank you!

    Your problem is not autoscale, you have defined your minor increase to 0. Change to something sensible for X & Y axis.

  • Table of path error 1430 in the loop for

    Hello!

    I have a problem with the 1430 error: path is empty or relative, which seems impossible. The thing is that I have a battery of indicators of path connected to the loop for (check the .jpg and there is no problem with writing to a file by using the paths of an array with the first and last index.) Others are not saved because of the error... to be honest, that all data paths are absolute. Record in the file of the idicator path is the work of a Subvi (merge data vi) but it is in a for loop because I need to make it available to multiple files. There is no error that occur with the work of Subvi to a path. The question is: what labview makes with the paths saved in a table between the loops? I have just run out of ideas so if someone had some time, I would really appreciate for all the tips and ideas.

    K.

    Hello again,

    If someone was interested in the happy ending: the solution is: 2 loops for. I think there must be something with the way that labview sends data between iterations. In any case - don't know how much exactly but works

    the floor is .jpg.

  • ALTER table add partition error

    Hello world

    In fact, I add more partitions in an existing table. My sql is

    ALTER table dmp_tlog1_bk add the partition by range (tmonth)
    (
    P9_200908 lower VALUES (200909) PARTITION.
    P10_200909 lower VALUES (200910) PARTITION.
    PARTITION P11_200910 lower VALUES (200911));
    commit;

    but I get the following error
    Error from the 1 in the command line:
    ALTER table dmp_tlog1_bk add the partition by range (tmonth)

    P9_200908 lower VALUES (200909) PARTITION.
    P10_200909 lower VALUES (200910) PARTITION.
    PARTITION P11_200910 lower VALUES (200911)
    Error report:
    SQL error: ORA-00902: invalid data type
    00902 00000 - "invalid data type".
    * Cause:
    * Action:
    validation succeeded.


    The data type of the tmonth is number (8.0) is the structure of the table.


    could you please help?


    Thank you very much
    alter table dmp_tlog1_bk add partition P9_200908 VALUES less than (200909)
    /
    

    SY.

  • Table of parameters of labview

    Hello

    I want to join UInt8 tables (MSB/LSB) to an array of UInt16.

    If I run that in LabView is not a problem.

    But when I call to TestStand, there is no full Out parameter.

    After I run the Teststep there are no values in the Locals.MSBLSB table. Is there any parameter, I had to put this LabView can write in the Locals.MSBLSB table?

    Respect,

    René

    So what values you have in the two tables locals.lsb and locals.msb because if these are empty tables so you will not get any output?

    Concerning
    Ray Farmer

  • Another axis range Y in WaveformGraph

    I am currently in c# to create a WaveformGraph with 2 axes y with different ranges.

    Y axis on the first, I have a range from 0 to 80 and on the second, I have a range of-127 to 127.

    I created two different axes Y and set the amplitude as a result and they appear right next to the plot.

    Then, I created two waveformPlots.  An I put the waveformPlot.YAxis.Range to (-127,127) and the other waveformPlot to (0, 80).  The problem is when I draw the plot the total range for the plot gets change to (-127, 127) and my (0, 80) plot gets moved up to be in the center of the waveform.  I wish that this conspiracy to stay down at the bottom of the chart to match the axis I created.

    I can normalize the values but my users use tooltips to get the results of the measures and those who would be most valuable if I subtracted the values 127 in the second waveform.

    Well, I managed to figure this out for me.  By mistake I had the following code:

    waveformPlot1.Yaxis.Range = new range (0, 80);

    waveformPlot2.Yaxis.Range = new range (-127, 127);

    Instead, I used the two y-axis I already used.

    waveformPlot1.Yaxis = yAxis1

    waveformPlot2.Yaxis = yAxis2

  • "out of range" error on I-110 fieldpoint

    We try to connect the pressure Omegadyne transducers (PX1004L1) that give a reading of mV to 10 v excitation. Before you connect the 4 cables (excitation, signal and two Commons) I-110, we get an error 'out of range '. Disconnect the signal + / leads and measure with a multimeter, we read the mV expected signal. If reconnect us the signal + / conduit and disconnect the excitement + / leads and then connect to a power source (external to the I-110), we read the expected of the I-110 mV signal. Any suggestions on what is happening here? We have already exchanged the head I-110 with a spare part that we know is operational.

    I have not heard of "Omegadyne", but I know Omega.  What is the device?  http://www.Omega.com/pressure/PDF/PX1004.PDF

    You're talking about 2 Commons.  But what I see, it's a bridge 4 circuit son strain gage.  I think you should use a SG-140 module to read this device.

  • Plugin data: determine the string table values ranging

    Hello, once again

    I have always fought with a use composed of data from the separate tab

    When I read a line via

    sMyLine = file.getnextline

    and try to extract the values with

    aMyValues = split (sMyLine, vbTab etc.)

    the returned array is Variant.

    Now I try to assign values of this array of different channels, for example

    for i = 1 to Ubound (aMyValues)

    ... root channelgroups (j). Channels (i). Values (k) = aMyValues (i)

    next

    This results in an error message "this channel has been generated with e64 Type, values to fill must not be of type VT_BSTR" or what would be the translation into English.

    So I have to turn the table variant to a R64-table. However cdbl (aMyValues (1)) will not work.

    Workaround heavy:

    When reading data with

    root... channelgroups (1). Channels (1). Values (1) = file. GetNextStringValue (e64)

    the value is of the appropriate type. But this translates many read-only operations.

    Is there a way to read in one line and add the values of channels? File.GetStringBlock in the examples is especially used with DirectAccessChannels.Add. But I don't want the new n-channel, but rather add to already existing ones.

    Thank you for your support.

    Michael

    Hello

    I think that there are several ways to reach your goal.

    If you want to assign the values in your table variant of a digital channel, you can use the File.Formatter.ParseString () method. Please make sure you that trainers for your numeric values are defined according to the needs, for example, File.Formatter.DecimalPoint, etc.

    File.Formatter.DecimalPoint = «»
    ...
    for i = 1 to Ubound (aMyValues)
    ... root channelgroups (j). Channels (i). Values (k) = File.Formatter.ParseString (aMyValues (i), eR64)
    next

    The best way is to use the StringBlock object. If you do not want to create a new channel for each DirectAccessChannel, you can use ProcessedChannel to add multiple DirectAccessChannels, for example

    Dim processedChn: Set processedChn = channelGroup.Channels.AddProcessedChannel ("ChannelName", eR64, eConcatProcessor)
    ...
    processedChn.Channels.Add (DirectAccessChannel)

    I hope this helps.

  • How do a 2nd y-axis range?

    I created a graph xy with two value axes and associated y scale index 0 (Plot.YScaleIdx) locations 0-5 and plots of 5 to 11 with indication of scale is 1. I would like to change the minimum and the maximum of each of the beaches there by program. I tried do different plots (associated with different axes) by default and by changing the YScale.Range.Minimum or the YScale.Range.Maximum property. But it still affects the same scale that any field is the default value. Can someone tell me how to select the scale are affecting these properties?

    Using LabVIEW 2012 32-bit on Windows 7.

    Tom

    If I understand correctly, you must set the Active Y scale property before changing the parameters of this scale.

  • How to write the table 1 d of labview to Excel line wise?

    Hello, I'm cooler in labview and want to learn it thanks to you all and of course myself.

    I 1-d arrays of strings and I want to save in excel file one by one and line by line. designates a 1 d in a line chart, the next time, a neighbor on the next row and so on.

    but I find I can do with only 2 - d Mr. table or table is stored in a column. Please help me. while I can do more. I have the trial version.

    Hi janki,.

    do you want a real Excel file or file that can be opened by Excel? You have to write this rank by rank or is it also OK to write all your data to those? Perhaps, 'Write in a spreadsheet file' function is enough for you.

    Mike

  • CompactRIO Deploy Error "LabVIEW: resource not found.»

    Hello

    I use a 9002 CompactRIO and LabVIEW 8.5.  I made a simple FPGA VI to read a bunch of analog inputs and write a square wave to a few analog outputs.  Then, I made an another VI to run on the target in real time in order to convert the frequency scaling and updated entries nationwide cycle duty cycle values and frequency real accountability.  When I try to deploy the VI in real time, I get the following:

    Deployment r03fsae (the goal settings successfully deployed)
    Deployment of special audit Tags.vi (5.89 K)
    Deployment GetRTHostConnectedProp.vi (3,41 K)
    Deployment of search and replace Pattern.vi (8,11 K)
    Deployment nirviFillInErrorInfo.vi (8.09 K)
    Deployment niLvFpgaErrorClusterFromErrorCode.vi (11.27 K)
    Deployment nirviErrorClusterFromErrorCode.vi (5.93 K)
    Deployment error Code Database.vi (3.67 K)
    Deployment to find Tag.vi (10.43 K)
    Deployment of fusion Errors.vi (6.75 K)
    Deployment Whitespace.vi topping (3.71 K)
    Deployment nirio_MultilineStringToArray.vi (8,81 K)
    Deployment nirio_AppVersionToI32.vi (3.96 K)
    Error error Code.vi (23.42 K) Cluster deployment
    Deployment _nirio_device_attrSetString.vi (9.46 K)
    Deployment _nirio_device_close.vi (9.90 K)
    Deployment nirio_Read32.vi (13,07 K)
    Deployment _nirio_device_open.vi (11.59 K)
    Deployment nirio_Write32.vi (13,01 K)
    Deployment _nirio_device_writeBlock8.vi (9.83 K)
    Deployment nirio_Write8.vi (13,01 K)
    Deployment _nirio_device_configSet.vi (11.42 K)
    Deployment nirio_DMAReconfigureDriver.vi (16.63 K)
    Deployment _nirio_device_writeBlock32.vi (9.36 K)
    Deployment nirio_Read8.vi (13.04 K)
    Deployment nirio_DMAStopAll.vi (11,39 K)
    Deployment _nirio_device_attrGetString.vi (13.06 K)
    NirviReportUnexpectedCaseInternalError (String) (5.58 K) .vi deployment
    Deployment of .vi nirviReportUnexpectedCaseInternalError (U32) (4.72 (K)
    Deployment _nirio_device_readBlock32.vi (14.41 K)
    Deployment _nirio_device_attrGet32.vi (13.85 K)
    Deployment nirio_IsItOKToDownload.vi (7.07 K)
    Deployment nirio_MiteNTDeviceFamily.vi (5.30 K)
    Deployment of Format Message String.vi (7.35 K)
    Deployment CORE.vi General Error Handler (51,02 K)
    General Error Handler.vi (13.19 K) deployment
    Simple deployment Error Handler.vi (10.01 K)
    Deployment nirio_CheckDriverVersion.vi (10,58 K)
    Deployment _nirio_device_attrSet32.vi (13,62 K)
    Deployment nirio_Download.vi (29,31 K)
    Deployment nirio_ConfigureRegisterAddresses.vi (7.11 K)
    Deployment nirio_CleanUpAfterDownload.vi (6.22 K)
    Deployment nirio_PrepareForDownload.vi (6.44 K)
    Deployment nirio_EnableInterrupts.vi (13.76 K)
    Deployment nirviRIOSetUpMiniMite.vi (31.23 K)
    Deployment nirio_Open.vi (14.93 K)
    Deployment nirio_Close.vi (10.95 K)
    Deployment nirio_DisableInterrupts.vi (11,10 K)
    Deployment of nirviIntfOpen_cRIO - 9102.vi (85,54 K)
    Deployment of nirviIntfClose_cRIO - 9102.vi (12.24 K)
    Deployment of scale freq and duty.vi (4.46 K)
    Deployment XDNodeRunTimeDep.lvlib
    Deployment XDNodeRunTimeDep.lvlib:loadlvalarms.vi (5.47 K)
    Math.vi sensor deployment
    Could not download the math.vi sensor
    LabVIEW: Resource not found.
    LabVIEW: Resource not found.
    LabVIEW: Resource not found.
    LabVIEW: Resource not found.

    Download completed with errors.

    This error message is not particularly useful, someone knows what could be my problem?  Or how I can fix it yet?  Is there a detailed journal where I can look for more information about the error?

    Thanks in advance for any help!

    Hi David,

    You may be walking on ground dangerous with your fpga code, old and new.  You use the modules in what is known as 'calibrated' calibration mode that is of fixed point math.  Your generation of square wave fpga using whole math, which is normally used when the modules operate in mode calibration "gross". To change the calibration mode, you will need to right click on the module, then select it desired mode to use.  I'm not saying that you do.

    What you need TO do to ensure the proper functioning of your fpga VI is to make sure that you use U32 son of math required and then convert the U32 an FXP using the correct encoding (if it is signed, word length and integer).  In your case the 9263 requires signed word in length, 20-bit, 5-bit all over.  Insert an FXP conversion between the generation of square wave and either create a constant FXP of the appropriate type (or use a control correctly put in place of one of the other 9263 channels [AO0 AO1]) and connect to the node of type of fixed point on the conversion OR define the conversion of fixed point with a right click on the exit node and the appropriate settings in the popup box.

    As for your new code fpga, I don't know why you used a sequence structure that your reading of 18 channels on the 9205 will have 144 microseconds, and each write two channels on the 9263 will take 5 microseconds.  I've not worked on how long will take the square wave generation.

    I do not understand your last question.

    > "I've attached a screenshot of my pwm_out.vi if I remove control of read/write of background, or if I don't use of all none of the analog inputs, it works fine.

    > But as soon as I add the analog inputs it fails... ».

    Did you create a new stream of your fpga_new.vi and referenced in your pwm_out_new.vi on the RT?

    It is difficult to guess what you are showing in the screenshots.  If the project is not too big then maybe you could post here.

    As mentioned above, by JMoto, software versions help.  Check in MAX you have on your PC and also on the cRIO 9002 to make sure that there is no incompatibility.

    See you soon

    Stephen

  • The FG table storage: memory errors

    Hello everyone, this is my first post here, I hope it's in the right place :-)

    I was making mistakes of memory.  I am running LV 32-bit on a system with 24 GB of memory. I understand that LV may use only 2 GB of memory, even if I used the utility followed memory to trace a problem at one of my Subvi, in which I use a functional global to store arrays of data.

    My LV program periodically takes in an array of new data.  Whenever a new data table is received, I divided into its constituent parts and store these components in another series of paintings.  I use the USR to store the functional arrays as globals, since I heard that this tactic will improve performance.  However, using the utility followed memory, I find that the Subvi takes much more memory than indicated the amount of data stored.  So, I guess the Subvi has made multiple copies of data than expected.

    Could you please take a look at this VI someone and tell me what "rule" I am breaking what problems?  It is not too big, I think we should that the eyes of an expert.  I'm still a little new to LV :-)

    Thank you!

    Brian

    How much data are you trying to store in this functional overall?  How often is it updated, and how many times it is called between resets?  If you know the maximum size of the data you need to store, it may be better to have the case reset allocate arrays of this size (instead of empty tables) and then maintain an index indicating both the current size of the table and the position to insert the next piece of data.  It will be more effective than to build the table.

    Now, even if you have enough memory to store all the data, it can be too fragmented to be usable.  Whenever you use array of generation in the loop, LabVIEW will allocate a new array of the current size of + 1 and then copy data to it, after which it can make memory of the former small table available again.  The next time the loop for this once again, setting up small blocks of memory available which may not be contiguous and are too small for reuse when the berries then need to grow.  Pre-allocating berries to the maximum size and then replace the items one at a time (as new data arrives) will solve this problem.  In addition, it will be faster, because it takes less time to replace one does it to copy all of a table to a new location.

    In addition, there is no need of the loop for use replace table subset.  Delete the register shift and let the autoindexing to build the output array.  You actually produce an extra copy useless trying to reuse the table, instead of save memory (because there is a copy in the shift register and the other being used for autoindexing).  For loops are effective for the construction of the tables because their maximum size is known before the loop begins.  In addition, the table to initialize is unnecessary - you are initializing the values that will be immediately be replaced - and you don't even have the function of the size of the array.  I'd do it as shown below:

  • brace required error labview 6.0

    I am a novice in labview to be generous, but I get an error with my formula node and it's a very simple equation. I am an undergraduate student and my Advisor couldn't understand the cause of the error. He is certainly allowed to treat me like I know nothing... in this case that you are probably not well off.

    The error it gives me is "left required brace" I'm using Labview 6.0 and running Windows XP. Screenshots of the error and the schema are listed below. Thanks in advance.

    [IMG] http://i929.Photobucket.com/albums/ad134/rsstarr/errorshot.jpg [LINE]

    [IMG] http://i929.Photobucket.com/albums/ad134/rsstarr/cp2diagram.jpg [LINE]

    The t thread that you have wired is an array, but what you have inside the node formula is a scalar.

Maybe you are looking for

  • I hate Windows Vista!

    I hate Windows Vista!  I was forced to buy Vista after the death of my laptop with Windows XP.  Since I bought my new computer with Vista I have not used because the program I need to work will not.  I have a version student CS3 Adobe Creative Suite

  • Help automated attendant

    Hello I'm trying to set up a function of AA for a company with the following message: "Welcome to XXX company, if you know the extension of the person, please enter now. If not, please press 1 for... » But the problem is when the key to the appellant

  • Change your default application to open files HTML on Mac (was: transfer)

    Hi allI have a question about the transfer. I recently moved from a Windows to an iMac. I was able to transfer all my files on successfully but I'm not able to import my site in Adobe muse on my iMac. All applications run very well, but when I go to

  • How can I download an older version of the CC bridge in the application manager?

    My operating system is too old to bridge CC 2015. Instead, I want to download 2014. Since I can't download the program Creative Cloud, I am Manager of application instead. Here, it is not possible to select an earlier version. How do I?

  • Is on a Pavilion DV9700 SATA I or SATA II HARD drive controller

    I just installed a SSD SATA II 120 GB in my Pavilion DV9700.  I wanted to know if my HARD drive is SATA II before the firmware update.