Add Tooltip to Data Point

Hi,
I was wondering is it possible to add a Tooltip containing text (not the (X,Y) values) to a datapoint. I'm using VS2010.

This example uses a structure to associate a text string with each data point.
Imports System.Windows.Forms.DataVisualization.Charting
Public Class Form2
Structure myData
Public y As Single
Public text As String
End Structure
Private MyDataList As New List(Of myData)
Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim d As myData
For i = 1 To 12
d.y = 5 * Math.Sin(i / 2)
d.text = "Text Data: " & i.ToString
MyDataList.Add(d)
Next
Label1.Text = "Select a Point"
'setup the chart
With Chart1.ChartAreas(0)
.AxisX.Title = "Time"
.AxisX.MajorGrid.LineColor = Color.LightBlue
.AxisX.Minimum = 0
.AxisX.Maximum = 14
.AxisX.Interval = 2
.AxisX.LabelStyle.IsEndLabelVisible = False
.AxisY.Title = "Value"
.AxisY.MajorGrid.LineColor = Color.LightGray
.AxisY.Minimum = -6
.AxisY.Maximum = 6
.AxisY.Interval = 2
.BackColor = Color.AntiqueWhite
.BackSecondaryColor = Color.White
.BackGradientStyle = GradientStyle.HorizontalCenter
.BorderColor = Color.Blue
.BorderDashStyle = ChartDashStyle.Solid
.BorderWidth = 1
.ShadowOffset = 2
End With
Chart1.Series.Clear()
Chart1.Series.Add("Monthy Data")
With Chart1.Series(0)
.ChartType = DataVisualization.Charting.SeriesChartType.Line
.BorderWidth = 2
.Color = Color.Blue
.MarkerStyle = DataVisualization.Charting.MarkerStyle.Circle
.MarkerSize = 8
.IsVisibleInLegend = False
For m = 1 To 12
.Points.AddXY(m, MyDataList(m - 1).y)
Next
End With
End Sub
Private Sub Chart1_MouseDown(sender As Object, e As MouseEventArgs) Handles Chart1.MouseDown
Dim result As HitTestResult = Chart1.HitTest(e.X, e.Y)
If result.ChartElementType = ChartElementType.DataPoint Then
Chart1.Series(0).Points(result.PointIndex).XValue.ToString()
Label1.Text = MyDataList(result.PointIndex).text
Else
If result.ChartElementType <> ChartElementType.Nothing Then
Dim elementType As String = result.ChartElementType.ToString()
Label1.Text = "Selected Element is: " & elementType
End If
End If
End Sub
Private Sub Chart1_MouseMove(sender As Object, e As MouseEventArgs) Handles Chart1.MouseMove
Dim result As HitTestResult = Chart1.HitTest(e.X, e.Y)
' If a Data Point or a Legend item is selected.
If result.ChartElementType = ChartElementType.DataPoint Or result.ChartElementType = ChartElementType.LegendItem Then
' Set cursor type
Me.Cursor = Cursors.Hand
Else
If result.ChartElementType <> ChartElementType.Nothing And result.ChartElementType <> ChartElementType.PlottingArea Then
' Set cursor type
Me.Cursor = Cursors.Hand
Else
' Set default cursor
Me.Cursor = Cursors.Default
End If
End If
End Sub
End Class

Similar Messages

  • How can I create User Entered Additional Data Points in Credit Management?

    I currently have a requirement to create additional data points in Credit Management (11i) that require a data analyst to input the value so that the score can be calculated.
    For example: Does customer have a Qualified Audit Report?
    If YES = +10 points added to score
    If NO = 0 points added to score
    I was able to add an additional data point and the case folder was assigned to an analyst, however when opening the case folder to input the missing data, the additional datapoint was not included in the case folder. Does anyone know what I may have missed in the setup?
    Data Point was defined as follows and added to a checklist called TEST.
    Data point: Unqualified
    Category: (none)
    Parent: (none)
    Application: Receivables
    Scoreable: Y
    Enabled: Y
    PL/SQL Package: (none)
    Function: (none)
    Thanks in advance.
    Shauna
    Edited by: sphelps on Sep 22, 2011 8:29 AM

    The setup described above was correct. The datapoints did not show up in the case folder until the next day. I am assuming that maybe the changes required a bounce or a background process of some sort.

  • How to add more data point in Pie chart

    The default data point for Pie chart is 5, how could I add more data  point, I notice that I can do assign the cell to the value under data in General tab property of chart pie, but, in the sample drill down, there is no value for that value, and it still has 6 data point.

    Hi DFW
    The sample file has got the spreadsheet range missing thats all.  Just add the range you need to your pie chart.
    Regards
    Charles

  • Cancel or delete "Add Data Point" entry

    I was trying to see what my milage was for yesterday and hit the add data point button and made an entry hoping that it would show my milage walked from yesterday which was 6.92 but instead it added that to my milage walked today doubling my total to 13.4 mi when I really only walked 6.91 mi. How can I subtract it back down to my original milage for today.
    On another note I noticed a window on the health app home page that shows the route walked. How do I access that?

    Hello Sreedhar,
    in general you can delete opportunities in rel 4.0. There are a few checks that could forbid it - f.e. follow up documents or status won. You should also check if you have order_save badi active. Usually you need no checks in delete mode.
    I hope that helps.
    Best regards
    Marion

  • Cant add more data points to numbers chart

    I have a 2 axis 2D graph. I would guess i have about 150 data points along the y axis for both lines on the chart. I have been updating the chart each week no probem with new data points. However today, i can only seem to add a few more points - when i try to add past a certain amount of data points, the last 20 or so data points are removed from the series?
    It simply will not allow me to add more data?
    Any help on this matter would be greatly appreciated as the charts are for use in my business

    Hi Jerrold, thanks for the reply.
    I dont have category labels. I have a 2 axis 2D chart, with a line series and an area series on the chart. I add new data to the chart each week by clicking on either the line or the area series on the chart, then going to my data table beside the chart, and by holding apple command button and clicking on the relevant cells to add to the charts. As of this weeks adding, it starts of as usual, adding the cells to the line and area series, and thus adding data onto the existing chart and extending it out to the right, as it normally would. However, i can only add a certain amount of new cells (data points) to either the line or area series. When i go to add more, a very strange thing happens. The series switches from all the cells that are highlighted blue, to another table i have on the same document??? If i look at the Inspector in the Data box under the series tab, the data goes from the typical 'Table 1 :: D18', (highlighted in blue, to the following weird data point : 'D38,SFTGlobalID_CB7D88F601784CAC8DD283ECA59CFB41 :'
    Its worth noting that although i an working on a brand new macbook pro, numbers has crashed on me a number of times when adding large amounts of data to the chart The table has 1,120 rows, and 11 columns. Only 1 in every 5 or so rows are plotted (on y axis), so roughly 200 or so data points for both line and area chart are plotted. And only 1 column is used for each chart. Thus i have 11 charts on the one numbers document. Is it a case of too much for numbers to handle?
    I have just deleted all the y axis data for the area series for one chart, and added all the data from the whole table again, (rather than just adding this weeks to last weeks, which is where i saw the problem in the first place) to see if it made a difference. But none. Once i got to a certain point, if i add one more cell data point to the chart, the exact same thing happened as above - the highlighted data switched from what i had been highlighting the whole way down the table, to an entirely different table in the same workbook.
    Any ideas would be greatly appreciated.

  • Can you add the data information to the data points in a chart

    I am trying to add the data information to the data points in a line chart.  can this be done?

    You can add Value labels to the series to show the numerical value at each data point. The control is in the Series section of the Chart Inspector (see green arrow).
    If you are asking about text labels, such as the "Test 1", "Test 2", etc. in column A of the table, You can add these by copy/paste into a text box placed in front of the chart, or use a formula ( =Table 1::A1 ) to transfer the text into a single cell table placed appropriately on the chart.
    Using single cell tables will allow automatic updating of the label if the content of the Table 1 cell(s) changes. Neither method will automatically reposition the label if there's a change in the data feed to the chart.
    Regards,
    Barry

  • Using Word Easy Table Under Report Generation takes long time to add data points to table and generate report

    Hi All,
    We used report generation tool kit to generate the report on word and with other API 's under it,we get good reports .
    But when the data points are more (> 100 on all channels) it take a long time  to write all data and create a table in the word and generate report.
    Any sugegstions how to  make this happen in some seconds .
    Please assist.

    Well, I just tried my suggestion.  I simulated a 24-channel data producer (I actually generated 25 numbers -- the first number was the row number, followed by 24 random numbers) and generated 100 of these for a total of 2500 double-precision values.  I then saved this table to Excel and closed the file.  I then opened Word (all using RGT), wrote a single text line "Text with Excel", inserted the previously-created "Excel Object", and saved and closed Word.
    First, it worked (sort of).  The Table in Word started on a new page, and was in a very tiny font (possibly trying to fit 25 columns on a page?  I didn't inspect it very carefully).  This is probably "too much data" to really try to write the whole table, unless you format it for, say, 3 significant figures.
    Now, timing.  I ran this four times, two duplicate sets, one with Excel and Word in "normal" mode, one in "minimized".  To my surprise, this didn't make a lot of difference (minimized was less than 10% faster).  Here are the approximate times:
         Generate the data -- about 1 millisecond.
         Write the Excel Report -- about 1.5 seconds
         Write the Word Report -- about 10.5 seconds
    Seems to me this is way faster than trying to do this directly in Word.
    Bob Schor

  • SSRS 2008 Column Chart with Calculated Series (moving average) "formula error - there are not enough data points for the period" error

    I have a simple column chart grouping on 1 value on the category axis.  For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis.  I right click on the data series and choose "Add calculated series...".  I choose moving average.  I want to move the average over at least 2 periods.
    When I run the report, I get the error "Formula error - there are not enough data points for the period".  The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5).  When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
    I don't think this is entirely acceptable for our end users.  At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart.  Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
    Thank you,
    Dan

    I was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
    If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
    <ChartFormulaParameter Name="Period">
                      <Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
    </ChartFormulaParameter>
    What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
    A side note:
    If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML.

  • Custom Map using latitude and longitude data points

    Hi,
    I am new to Apex and I want to lost custom data points using latitude and longitude data points. I
    have seen posts referring to the chart example (http://apex.oracle.com/pls/apex/f?p=36648:65:2214483882702::NO:::) ; could someone help me with the following:
    1) How to add On Demand Application Process to a map page (step 4 in the demo)
    2) What is a hidden item and how to add it to a page (step 6)
    Any help would be greatly appreciated.
    Kind regards,
    Lisa

    I am trying to do the same thing. I have got the get_data function working to create the desired output. However when I replace the xml <data> block with &P65_DATA, it does not work. If I display P65_DATA on the page, it has correct output. If I cut and paste the output into custom XML, it works fine. Anyone have come across this issue..any ideas how to fix it?

  • Single Chart Series with multiple color data points

    I am developing an application using the flex chart component
    and I am binding data to 3 different chart series which is pretty
    intense processing. I was wondering can I use only one chart series
    and when I bind the data points just to change the color per data
    point which meet certain criteria?
    Here one method from my application where I am dynamically
    binding data to my series.
    private function loadSeries(data:XMLList, yAxis:String):void
    seriesAdd.yField = yAxis;
    seriesAdd.xField = "Date";
    //seriesDelete.yField = yAxis;
    //seriesDelete.xField = "Date";
    //seriesChange.yField = yAxis;
    //seriesChange.xField = "Date";
    seriesAdd.dataProvider = data.Trade.(A == 'Add');
    seriesAdd.//Can I change the color per each data point if I
    have multiple data sets?
    //seriesDelete.dataProvider = data.Trade.(A == 'Delete');
    //seriesChange.dataProvider = data.Trade.(A == 'Change');
    Thank you

    I think I found something to get me started:
    http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_09.html
    My next question is if I have the following function to fill
    my data points:\
    private function myFillFunction(element:ChartItem,
    index:Number):IFill {
    var c:SolidColor = new SolidColor(0x00CC00);
    var item:ColumnSeriesItem = ColumnSeriesItem(element);
    var sales:Number = Number(item.yValue);
    if (sales >= 50000) {
    return c;
    } else {
    // They have not met their goal.
    c.color = 0xFF0000;
    return c;
    How can I access values that pertain to the specific chart
    item, but are not plotted on the x and y axis. Something similar to
    the checking on the above function, but check if value that is not
    plotted but still exists on the data provider.
    Thanks in advance.

  • How to show data value labels in the charts without moving my mouse on the data point?

    Sometimes I need to show a chart with data value labels which is not necessary to move my mouse on the data points. However, it seems Xcelsius does not support this simple feature. Any alternative ways?
    Many thanks!

    Currently, Xcelsius does not support display of labels at data points. It would be difficult to move and update labels on a chart with dynamically updated data. However, a work around for a static chart would be to add a Label component in the desired location. This can be done for multiple static charts by using dynamic visibility.

  • Call library function node with array of clusters using array data pointer

    Hello all.
    I am writing a LabVIEW wrapper for an existing DLL function.
    The function has, as one of its parameters, an array of structs.  The struct is very simple, containing two integers.  I am using the call library function node to access it.
    In Labview I created an array of clusters, where the cluster has two 32-bit integers as its members.  So far, so good.
    Now I have to pass this in to the Call Library Function Node.  Here I am running into trouble.
    I have used The topic in LAVA and The topic in the knowledge base as my primary sources of information, though I have read a bunch of forum topics on the subject too.
    I do understand that I could write a new function which takes as a parameter a struct with the size as the first member and an array as the second, and I might just do this and have it call the regular function, but I was hoping to do it more simply.
    According to the C file which LabVIEW generates for me from the CLFN when I choose "Adapt to Type" and "Array Data Pointer", the prototype it is expecting is:
    int32_t myFunc(uint32_t handle, uint16_t channel,
    int32_t FIFOnumber, void data[], int32_t numWords, int32_t *actualLoaded,
    int32_t *actualStartIndex);
    And the prototype of the function in my DLL is
    int borland_dll myFunc(DWORD handle, usint channel,
    int FIFOnumber, struct mStruct *data, int numWords, int *actualLoaded, int *actualStartIndex);
    This looks like a match to me, but it doesn't work (I get garbage in data).  From the topic in LAVA referenced above, I understood that it would work.  It does not.
    If I cast data to the pointer-to-pointer I get when I generate c code by wiring my struct to a CIN and generating, then I seem to get what I expect. But this seems to work when I choose "pointers to handles" too, and I would expect array data pointer to give a different result.
    Is there any way to get this to work directly, or will I have to create a wrapper?  (I am currently using LabVIEW 2011, but we have customers using 2009 and 2012, if not other versions as well).
    Thank you.
    Batya
    Solved!
    Go to Solution.

    OK, here is more detailed information.
    I have attached the VI.
    This is the code from the  "C" file created by right-clicking the CLN and creating a "C" file. 
    When the parameter in the CLN is set to "array data pointer":
    /* Call Library source file */
    #include "extcode.h"
    int32_t Load_Transmit_FIFO_RTx(uint32_t handle, uint16_t channel,
    int32_t FIFOnumber, void data[], int32_t numWords, int32_t *actualLoaded,
    int32_t *actualStartIndex);
    int32_t Load_Transmit_FIFO_RTx(uint32_t handle, uint16_t channel,
    int32_t FIFOnumber, void data[], int32_t numWords, int32_t *actualLoaded,
    int32_t *actualStartIndex)
    /* Insert code here */
     When the parameter is "pointers to handles":
    /* Call Library source file */
    #include "extcode.h"
    /* lv_prolog.h and lv_epilog.h set up the correct alignment for LabVIEW data. */
    #include "lv_prolog.h"
    /* Typedefs */
    typedef struct {
    int32_t control;
    int32_t data;
    } TD2;
    typedef struct {
    int32_t dimSize;
    TD2 data[1];
    } TD1;
    typedef TD1 **TD1Hdl;
    #include "lv_epilog.h"
    int32_t Load_Transmit_FIFO_RTx(uint32_t handle, uint16_t channel,
    int32_t FIFOnumber, TD1Hdl *data, int32_t numWords, int32_t *actualLoaded,
    int32_t *actualStartIndex);
    int32_t Load_Transmit_FIFO_RTx(uint32_t handle, uint16_t channel,
    int32_t FIFOnumber, TD1Hdl *data, int32_t numWords, int32_t *actualLoaded,
    int32_t *actualStartIndex)
    /* Insert code here */
     When the parameter is set to "handles by value":
    /* Call Library source file */
    #include "extcode.h"
    /* lv_prolog.h and lv_epilog.h set up the correct alignment for LabVIEW data. */
    #include "lv_prolog.h"
    /* Typedefs */
    typedef struct {
    int32_t control;
    int32_t data;
    } TD2;
    typedef struct {
    int32_t dimSize;
    TD2 data[1];
    } TD1;
    typedef TD1 **TD1Hdl;
    #include "lv_epilog.h"
    int32_t Load_Transmit_FIFO_RTx(uint32_t handle, uint16_t channel,
    int32_t FIFOnumber, TD1Hdl *data, int32_t numWords, int32_t *actualLoaded,
    int32_t *actualStartIndex);
    int32_t Load_Transmit_FIFO_RTx(uint32_t handle, uint16_t channel,
    int32_t FIFOnumber, TD1Hdl *data, int32_t numWords, int32_t *actualLoaded,
    int32_t *actualStartIndex)
    /* Insert code here */
    As to the DLL function, it is a bit more complicated than I explained above, in the current case.  My VI calls the function by this name in one DLL, and that DLL loads a DLL and calls a function (with the same name) in the second DLL, which does the work. (Thanks Rolfk, for helping me with that one some time back!)
    Here is the code in the first ("dispatcher") DLL:
    int borland_dll Load_Transmit_FIFO_RTx(DWORD handle, usint channel, int FIFOnumber, struct FIFO_DATA_CONTROL *data, int numWords, int *actualLoaded, int *actualStartIndex)
    t_DispatchTable *pDispatchTable = (t_DispatchTable *) handle;
    int retStat = 0;
    retStat = mCheckDispatchTable(pDispatchTable);
    if (retStat < 0)
    return retStat;
    if (pDispatchTable->pLoad_Transmit_FIFO_RTx == NULL)
    return edispatchercantfindfunction;
    return pDispatchTable->pLoad_Transmit_FIFO_RTx(pDispatchT​able->handlertx, channel, FIFOnumber, data, numWords, actualLoaded, actualStartIndex);
    borland_dll is just "__declspec(dllexport)"
    The current code in the DLL that does the work is:
    // TEMP
    typedef struct {
    int control;
    int data;
    } TD2;
    typedef struct {
    int dimSize;
    TD2 data[1];
    } TD1;
    typedef TD1 **TD1Hdl;
    // END TEMP
    int borland_dll Load_Transmit_FIFO_RTx(int handlertx, usint channel, int FIFOnumber, struct FIFO_DATA_CONTROL *data, int numWords, int *actualLoaded, int *actualStartIndex){
    struct TRANSMIT_FIFO *ptxFIFO; //pointer to transmit FIFO structure
    usint *pFIFOlist; //pointer to array of FIFO pointers to FIFO structures
    int FIFOentry, numLoaded;
    usint *lclData;
    usint nextEntryToTransmit;
    // TEMP
    FILE *pFile;
    int i;
    TD1** ppTD = (TD1**) data;
    TD1 *pTD = *ppTD;
    pFile = fopen("LoadFIFOLog.txt", "w");
    fprintf(pFile, "Starting Load FIFO with %d data words, data pointer 0x%x, with the following data&colon; \n", numWords, data);
    for (i = 0; i < numWords; i++) {
    fprintf(pFile, "%d: control--0x%x, data--0x%x \n", i, data[i].control, data[i].data);
    fflush(pFile);
    fprintf(pFile, "OK, using CIN generated structures: dimSize %d, with the following data&colon; \n", pTD->dimSize);
    for (i = 0; i < numWords; i++) {
    fprintf(pFile, "%d: control--0x%x, data--0x%x \n", i, pTD->data[i].control, pTD->data[i].data);
    fflush(pFile);
    // END TEMP
    if ((handlertx) <0 || (handlertx >= NUMCARDS)) return ebadhandle;
    if (cardrtx[handlertx].allocated != 1) return ebadhandle;
    pFIFOlist = (usint *) (cardrtx[handlertx].segaddr + cardrtx[handlertx].glob->dpchn[channel].tr_stk_ptr​);
    pFIFOlist += FIFOnumber;
    ptxFIFO = (struct TRANSMIT_FIFO *)(cardrtx[handlertx].segaddr + *pFIFOlist);
    //use local copy of ptxFIFO->nextEntryToTransmit to simplify algorithm
    nextEntryToTransmit = ptxFIFO->nextEntryToTransmit;
    //on entering this routine nextEntryToLoad is set to the entry following the last entry loaded
    //this is what we need to load now unless it's at the end of the FIFO in which case we need to wrap around
    if ( ptxFIFO->nextEntryToLoad >= ptxFIFO->numEntries)
    *actualStartIndex = 0;
    else
    *actualStartIndex = ptxFIFO->nextEntryToLoad;
    //if nextEntryToLoad points to the last entry in the FIFO and nextEntryToTransmit points to the first, the FIFO is full
    //also if nextEntryToLoad == nextEntryToTransmit the FIFO is full and we exit without loading anything
    if (( (( ptxFIFO->nextEntryToLoad >= ptxFIFO->numEntries) && (nextEntryToTransmit == 0)) ||
    ( ptxFIFO->nextEntryToLoad == nextEntryToTransmit)) && (ptxFIFO->nextEntryToLoad != INITIAL_ENTRY)){
    *actualLoaded = 0; //FIFO is full already, we can't add anything
    return 0; //this is not a failure, we just have nothing to do, this is indicated in actualLoaded
    numLoaded = 0;
    lclData = (usint *)data; //must use 16 bit writes to the module
    //conditions are dealt with inside the for loop rather than in the for statement itself
    for (FIFOentry = *actualStartIndex; ; FIFOentry++) {
    //if we reached the end of the FIFO
    //if the module is about to transmit the first element of the FIFO, the FIFO is full and we're done
    //OR if the module is about to transmit the element we're about to fill in, we're done - the
    //exception is if this is the first element we're filling in which means the FIFO is empty
    if ((( FIFOentry >= ptxFIFO->numEntries) && (nextEntryToTransmit == 0)) ||
    ((FIFOentry == nextEntryToTransmit) && (FIFOentry != *actualStartIndex) )){
    *actualLoaded = numLoaded;
    //set nextEntryToLoad to the end of the FIFO, we'll set it to the beginning next time
    //this allows us to distinguish between full and empty: nextEntryToLoad == nextEntryToTransmit means empty
    ptxFIFO->nextEntryToLoad = FIFOentry;
    return 0;
    //we reached the end but can continue loading from the top of the FIFO
    if ( FIFOentry >= ptxFIFO->numEntries)
    FIFOentry = 0;
    //load the control word
    ptxFIFO->FifoData[FIFOentry * 3] = *lclData++;
    //skip the high of the control word, the module only has a 16 bit field for control
    lclData++;
    //now put in the data
    ptxFIFO->FifoData[(FIFOentry * 3) + 2] = *lclData++;
    ptxFIFO->FifoData[(FIFOentry * 3) + 1] = *lclData++;
    numLoaded++;
    //we're done because we loaded everything the user asked for
    if (numLoaded >= numWords) {
    *actualLoaded = numLoaded;
    ptxFIFO->nextEntryToLoad = FIFOentry+1;
    return 0;
    //if we reached here, we're done because the FIFO is full
    *actualLoaded = numLoaded;
    ptxFIFO->nextEntryToLoad = FIFOentry;
    fclose (pFile);
    return 0;
     As you can see, I added a temporary diagnostic with the structures that were created in the "Handles by value" case, and print out the data.  I see what is expected, whichever of the options I pick in the CLN!  
    I understood (from the information in the two links I mentioned in my original post, and from the name of the option itself) that "array data pointer" should pass the array of data itself, without the dimSize field.  But that does not seem to be what is happening.
    Batya
    Attachments:
    ExcM4k Load Transmit FIFO.vi ‏15 KB

  • I want to add image in column is it possible then how to add image in data base what data type we need to do

    I want to add image in column is it possible then how to add image in data base  what data type we need to give we required any casting  please show me one example
    jitendra

    Hi again,
    Several points that can help more:
    1. If you are working with Dot.Net, then I highly recommend read the first link that you got! This is nice and simple coding. Another option is this link which is even better in my opinion:
    http://www.dotnetgallery.com/kb/resource21-How-to-store-and-retrieve-images-from-SQL-server-database-using-aspnet.aspx
    2. As i mention above both link use the column's type image. There are several other option of working with Files. In most of my applications architecture I find that it is better to use a column which let us use any type of file and not an image column.
    In choosing the right column's type for your needs basically your fist question should be if if you want to store your data inside relational database environment or outside relational environment. It is a good idea to look for blogs on this issue. Next
    if you chose to store your data inside then you need to chose the right column type according to your server version. I highly recommend to look for blogs on the differences between those column's types: IMAGE, 
    Check those links:
    To BLOB or Not To BLOB: Large Object Storage in a Database or a Filesystem
    http://research.microsoft.com/apps/pubs/default.aspx?id=64525
    FILESTREAM feature of SQL Server 2008
    http://msdn.microsoft.com/library/hh461480
    FileTables feature of SQL Server 2012
    http://technet.microsoft.com/en-us/library/ff929144.aspx
    Compare Options for Storing Blobs (SQL Server)
    http://technet.microsoft.com/en-us/library/hh403405.aspx
    Binary Large Object (Blob) Data (SQL Server)
    http://technet.microsoft.com/en-us/library/bb895234.aspx
    Managing BLOBs using SQL Server FileStream via EF and WCF streaming
    * Very nice tutorial!
    http://petermeinl.wordpress.com/2012/02/20/managing-blobs-using-sql-server-filestream-via-ef-and-wcf-streaming/
    [Personal Site] [Blog] [Facebook]

  • Paste Data Point to Power Point

    Is there a way to force the "paste data point" area to conform only to the size (auto-size if you will) of the power point slide? I am pasting a data point from Excel and it always carries the data columns way off the screen, making the process of alignment very work-intensive. Thoughts or workarounds?
    I tried using the Power Point "Group" function, and then resizing the group. This works, however, you cannot retrieve after grouping the data points. :(
    Edited by: kstinson on Oct 18, 2012 12:33 PM

    As I see you are using LV in a wrong way. Why don't you run the DAQ tasks in independent while loops? You could use the same Queue, and you can add time stamps to every data package (or also a label to show the source) created in the several Producer loops. In your single Consumer loop you can just decide what to do with the data depending on the label (save to File,etc...).
    Other big problem: do not use DAQ Assistant! It is OK for quick testing, but not for real application! These Express VIs initializes and closes your hardware at EVERY while loop iteration.
    You should use proper DAQmx VIs: initialize your HW resources BEFORE the while loop, do your DAQ inside the loop, and close HW components when you stop the application.
    There are many examples shipped with LabVIEW, have a look how to use DAQmx VIs. Also, this way you avoid the silly dynamic data wires...Much easier to live with Double arrays

  • Time display on x-axis for front panel instead of data points

    What do I need to change or add in my block diagram so that on the waveform graph the time will be on the x-axis instead of the data points. I am running this VI on a pda for some testing and I would rather get the time on the horizontal axis. Im also using an NI USB-6008, windows xp and Labview 8.2
                                                                                                                                                  Thanks
    Attachments:
    blockdiagram.JPG ‏158 KB
    frontpanel.JPG ‏94 KB

    And since you are sending it an array of doubles rather than an array of waveforms, there is no timin information associated with it.  It will assume 1 sample per second.  If your acquisition is faster than that, you will need to set the dT of the graph or the scaling multiplier factor of the X scale of that graph.
    (PS, it is always a good programming practice to show the labels for all the terminals on your block diagram and assign the terminal a name.)
    Message Edited by Ravens Fan on 09-15-2009 09:28 PM

Maybe you are looking for