Graphic problem with time axis in WPF

I am new to use measurement studio.

I used the rangeadjusters in the examples, followed messages in this discussion and put some my own codes trying to make the graph having a time axis.

but now I'm stuck in a problem. Here there.

There are students that I added;

In the xmal part:


   


           
     

   
           
   

   
             
     


 
       
           
                 
             

       

 

c# rolled in OnPlotDataClicked codes

AnalogWaveform[vague];
Double [,] plotData = new double [3, DataCount];

for (int j = 0; j)< 3;="">
{

for (int i = 0; i)< datacount;="">
{
Double value = 1.2 * random. NextDouble() * Math.Sin (I * Math.PI * Math.PI/DataCount);

plotData [j, I] = value;
}
}

waves = AnalogWaveform. FromArray2D (plotData);

for (int k = 0; k)< 3;="">
{

Calendar of WaveformTiming = WaveformTiming.CreateWithRegularInterval (new TimeSpan (0, 0, 0, 30), DateTime.Now);

waves [k]. Timing = calendar;

}

Graph DataSource = waves;

the result

but the result is not that I want to, axis show the wrong date at any time. How to make right. waiting for your help, thank you very much

By default, the PreferIndexData property true for the Graph control. This means that the chart uses the index values of the wave instead of calendar information and then converts the index values for DateTime to match the axis (so index 0 forced to ' 1 1 January 00 ').

We have a task to improve this problem, but for now, if you set PreferIndexData to false , the chart will use the time information and update of the axis interval to match that of the wave.

Tags: NI Software

Similar Questions

  • Problems with Time Capsule

    I have problems with our time Capsule. My husband and I have Macbook Pro (from 2012). We use a Time Capsule as our backup disk but not our wireless router (we use the router provided by our internet service provider). We have configured like this for over a year and it is usually worked fine. In the last month, we had problems with backups does not happen. Currently, computer of my husband has saved in about 2 weeks, and mine has not backed up in 2 days.

    It seems that our computers lose their link with time capsule. If I go to the finder, the shared drive appears under "shared", but if I click on it to connect I get a message that says "connection failed." Airport utility shows the time Capsule but has a yellow triangle next to it that says "device not found."

    If I unplug the Time Capsule and plug it in again, it reconnects. I did this earlier this evening and was able to access the shared drive and make a return to the top. But a few hours later, this subject has disappeared again. I tried to do this same thing - unplug, get the rear connection, only to lose it again a little later. Any thoughts on what could be the problem? The Capsule was bought the same time than computers.

    I guess what surprises me is that you had no problems up to this point.

    Your computer must connect directly to the Treasury Board. Ethernet or wireless... It will break things especially in the BONES later if you do not.

    Do you have recently move you to el capo... ?? That could have triggered the problem.

    I lost the link but in apple of one document stated finally that you connect directly the computer now... because of the bad DNS in the operating system.

    If I unplug the Time Capsule and plug it in again, it reconnects. I did this earlier this evening and was able to access the shared drive and make a return to the top.

    That's why you get this nonsense. He is able to find the backup if DNS is renewed due to reset... After a few hours it is lost again.

    What operating system do you use?

    My recommendation is to put on wireless and a link to the direct of TC...

    A TC Gen4 purchased in 2012 is now at least 3 years and let me tell also your reliable stage... you are now at the stage of growing decrepitude of old people. It might work correctly for a year or two... It can suddenly die tomorrow... but more likely will fade into the sunset.

  • Windows 8 games graphics problems with Ideapad Z575. Do not play games. :'(

    After you have installed Windows 8 and install all the drivers that I got from the site Web: Lenovo's laptop can no longer play any games. I have more option open of AMD Vision options or options "Switchable Graphics" as they do not appear in the menu when I right click on the desktop. I've updated the driver graphic via Lenovo website, but still cannot access any game. When I try to start a game, the game will display a white color screen with slight graphical artifacts. When I tried to start one of my games, "Killing Floor" it actually caused my cell phone restart.

    Anyone have similar problems with their Windows 8 pc or have a solution?

    Well, I finally found the problem. I discovered that the graphics driver that I had on the Lenovo site have actually NOT installed us. When I ran the Catalyst Install Manager, the Manager showed global progress bar, but it did not install anything. That was pretty weird.

    When I ran the driver Catalyst install listed in the Chinese link that was given to me in this thread.

    http://forums.Lenovo.com/T5/IdeaPad-Y-U-V-Z-and-P-series/is-it-safe-to-download-and-install-AMD-DRIV...

    It actually installed and now everything seems to work. I asked of Vision engine again, I can use switchable graphics and I just tested with Dark Souls prepare to Die Edition without any problem. The game is actually more smooth.

    Thanks again for the help.

  • Want 700-327c graphic problem with Google Earth

    Lettering not appearing is not in some areas: Search button, tools > Options (no registration). Entry displays not to when you type in the search box.  View do not come out correctly.  Graphics card: Intel (r) Graphics HD 4600 worm: 10.18.10.3621(5/17/14). I tried to update by Intel, but the answer was that this card had been changed by the manufacturer of the computer, ask the update through HP.

    Have you tried UN/reinstall.

    Have not had problems with something else.

    Chop21, welcome to the forum.

    This isn't a hardware problem.  I suggest that you go to their support help page.  They are the experts on their program.

    Please click on the Thumbs up button '+' if I helped you and click on "Accept as Solution" If your problem is resolved.

  • Graphics problems with Latitude E550

    Hello

    I have a problem with a laptop computer latitude and native resolutions.

    I currently have 2 Latitude E5550.

    It has a native resolution of 1920 x 1080 (read in the bios) and the other has a native resolution of 1366 x 768.

    The same drivers (Intel HD graphics 5000 I believe. Video bios 1032v17). Same bios versions. As well on Windows 7 SP1 64 bit.

    My first idea as to why this is because I changed the hard drive in the laptop 2 (1366 x 768 a). It was a drive of 500 GB hard disc, but I replaced with an SSD and installed windows 7 cost. Not sure why this would cause the resolution to be less well?

    Any other information needed let me know.

    Thank you.

    One was ordered with the standard display panel (1366 X 768) and the other has been ordered with an upgrade screen FHD - in other words, the material is different.  This has nothing to do with the drivers, WIndows, etc - a system simply has a screen resolution higher than the other.

  • M30 - graphics - problem with 3D - games

    Hi guys.

    Since last week I hava problem with my laptop. Whenever I want to play a game, which is based on the 3D screen false and I have to reset my laptop. The problem is that this only happens to 3D - games. The latest driver is installed. So I have no idea what is really bad. A friend told me that the 3D chip could be default.
    Any suggestions what I can do?

    Hello

    Try to start DirectX and check all of the tests under the view tab.

  • Graphics problems with a single line at the top.

    During bootup until I perfect video resolution, but after starting windows I have a single line of the video of the ideas would be useful. I already checked the wiring, video card and the BIOS settings. Anyone had this problem? This had beat me my head against the wall for a week now.

    I'm just guessing that you have a problem with
    your video driver. Maybe the info will be
    be useful...

    Good luck...

    What happens if you start in Mode safe?

    (315222) a Description of the Safe Mode
    Boot into Windows XP options
    http://support.Microsoft.com/?kbid=315222

    How to start safe mode in Windows XP
    http://bertk.MVPs.org/html/SafeMode.html

    If you start correctly in safe mode... it can
    be worth a try to roll back your video driver.

    (306546) HOW to: use the driver to restore roll back feature
    a previous Version of a device in Windows XP driver
    http://support.Microsoft.com/default.aspx?scid=kb;en-us;306546

  • Graphic problem with games on Toshiba A100-153

    Have the specifications and are in fact fully satisfied!
    But: Reinstall windows (with XP pro and not repeated)--> new driver Toshiba ATI GraKa downloaded--> schema errors in: FarCry (if I have attitudes on the large square), Battlefield 2 (only if I place textures not on low), Oblivion (I don't know how, but so many same mistake as in Battlefield 2)
    Then the omega--> same problem drivers
    Then Catalyst Mobility 6.5 of the ATI PAGE--> the same again!

    Can someone help me? does anyone know the problem? As if in a such way thena rest? ¦. * grrr *.

    And: MT pilot is the official of Intel (for the Intel PAGE)
    BIOS is: 1.40--> updated!

    FAB and thank you
    Michael Emprechtinger
    HP: in the CCC I has not changed during the

    Hi empi

    Unfortunately I put t see much different solutions for this. You can use just the driver or the driver display Toshiba designed graphics card producer download site. Try both of them. I think that ATI display driver of ATI can't be installed (in most cases), but you can try anyway.

    Sorry, but I don't see any concrete solution. I have a Qosmio G20 and a few days ago, I played MaxPayne game and almost all the time he had a little trouble graphic on the right side. Qosmio is a very powerful unit but. It happens.

    The fact is that laptops are not design games as desktop units where you have a much better chance for material or to update the drivers.

  • Problem with Time Machine

    Of course, I don't know how time Machine works. I got a 1 TB drive connected to my iMac as I have owned and have never had a problem of backup. Now, I get a warning that says that there is not enough space on my 1 TB drive to back up a computer with, in total, less than 500 GB of information on it. It makes no sense at all. How a 1 TB drive can not have enough space to back up a computer with the hard drive has only about 480 GB of stuff on it?

    And what do I do to fix this? Thank you.

    ...

  • Graphic problem with Satellite A200 - 13 M

    Hi all
    I apologize for my English, I'm not a native English speaker.

    2 months ago my laptop wouldn't start.
    I call the Service after sale who tell me to send it in for repair.
    No problem: my laptop came back to me, and it worked fine.

    Now there is a * new * problem (graph): sometimes, and I don't now why, the screen is dirty.
    You can see traces white and white dots all over the screen, especially near the icons.
    It's a little more difficult to explain precisely in English.
    I tried to make a screen, but the bug appear on it; I'll try one tomorrow...

    To make them disappear, I just close the screen, making my laptop into hibernation, and when I open it upwards (immediately), everything is good.
    + Damned, having bug comes back! +

    Someone had this bug?

    _Edit: _
    They have changed the card mother + CPU + graphics card.

    You have described the issue is really strange
    I can t image it could be exactly but if that appears after your GPU and CPU has been changed so I recommend you to contact the ASP again and wonder what goes wrong.

    I put t know if you use a newer graphics driver and BIOS, but you should check if the problem persists even with the update of the BIOS and graphics driver.
    But if you see any improvements so a call of ASP is required

  • graphic problem with computer laptop dv6-3123tx

    I have hp dv6 with ati radeon graphics card 3123tx round 5650. I've recently upgraded to win 8 and now I cudn switch on the ati graphics driver, I tried the Device Manager screen becomes black. Can someone help out me.

    PS: I did a full install of windows 8 (I did not go to win7) so all of my software hp disappeared. I have not "graphics switching option" as well

    At this time, HP will have to create an official switchable graphics for switchable graphics to work properly. This is because Windows 8 use a different display driver architecture.

    I can't guarantee this works, but you can try the steps listed in this post.
    NOTE: The steps listed in this post are not official measures of HP. HP assumes no responsibility for the result of these steps, because this is a user to user community.

  • problem with timer elapsed sub vi - given RPM

    I'm trying to find the rpm of a motor using a proximity detector connected to my cRIO-9012, 9205 module.  I am using the timer has elapsed in order to find the time between two pulses of the prox sensor under vi.  My problem is it seems to reset whenever there is a pulse, sometimes only.  The pulse is Boolean and is connected to the Terminal to reset the timer has elapsed.  The impulses occur quickly, perhaps about a tenth of a second, and yet the elapsed timer gets up to a second or more before it resets.

    Can someone help me out here? I'm a bit new to Labview and am struggling to learn the tricks of the FPGA.  I have thermocouples working, but can't run RPM.  If anyone can think of a better way to find the RPM, any help is welcome.  Please take a look at my code and tell me if I do something wrong for the use of FPGA.

    Thank you!

    Hello Ryan,

    I think you may have a look at the following link is an example of tachometer implemented on a cRIO with Labview FPGA http://zone.ni.com/devzone/cda/epd/p/id/2326. The example is configured with a NI 9234, but you should be able to use your 9205 as an alternative to this module.

    Kind regards

    Blayne Kettlewell

    The ELP engineer

    National Instruments

  • Problem with timer and Reset. Help please :(

    Hello everyone, I have a big problem when I put a button to reset my program. In addition, from the time of my game.

    I am doing a project named "Simonsays" which consists of a sequence of colors that you need to remember and must click on each color to pass the level.

    The problem is that I do a clock or a counter to count the time of a game. For example when I press "start" the beginning of time, and when I make a mistake in the game time must stop. There is another button named "New Game" or "Nuevo Juego" which is used to 'RESET' of the game, but I can't this is the button used to RESET.

    The game starts when you press "COMENZAR" and labview window disappears, then you will need to click on "START" and the game begins... BUT when you make a mistake, the game must be stopped with the TIME that you make throughout the game, and the game must wait until you press "NEW GAME" and newly him game begins with a new counter of the time.

    I hope you can help me. Please, I beg you.

    There are 3 files, because the files are connected.

    Thank you.

    I think I've answered before?

  • Problem with time control on the storm 9530

    My app has a control object of time allowing the user to change the hour and minutes.

    When the control is clicked, it opens the window with the hour and minute.

    the problem reported by the user, is that they cannot select the OK button or cancel.

    I tested the application on the SIM 9530 and it works fine.

    someone knows why?

    the user has actually sent me a video of the problem.

    I asked him to turn compatibility mode, but it did not help.

    Finally, it's a soft reset and now he said he's working.

    don't know why, but I'm glad that's not my application

  • Problems with time

    I worked on a project and it's just been my kicking back. Here it is in it is made current.

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" width = "100%" viewSourceURL = "srcview/index.html" height = "100%"
    Initialize = "getDaysUntil ()" > "
    < mx:Style source = "source.css" / >
    "< mx:Image source="@Embed('.. / images/title.jpg') "width ="210"height ="65"top ="4"left ="15"/ >
    "< mx:Image source="@Embed('.. / images/title1.jpg') "id ="image1"horizontalAlign ="right"verticalAlign ="top"right ="0"scaleContent ="true"y ="0"/ >
    "" < mx:XML id = "tempXML" source = " http://mysite.net/interface.php?username=admin & amp; password pass & amp; customer = 63 & amp; actio n = showopen & amp; operation = defects & amp; format = xml and amp; critcal = both ' / >


    < mx:TileList
    dataProvider = "{tempXML.defect.asset}" "
    width = "100%" backgroundColor = "#000000" color = "#ff0000" fontSize = "27" borderColor = "#000000" columnWidth = "300" rowHeight = "50" themeColor = "#808080" fontWeight = "bold" = "true" height = '496' allowMultipleSelection '28' red = horizontalCenter = "-1" / >
    < mx:XMLListCollection id = source = "{tempXML.defect"defectXMLList"}" / > "

    < mx:Script >
    <! [CDATA]


    private function getDaysUntil (): void {}
    creates a new timer 5 minutes
    var minuteTimer:Timer = new Timer(1000, 300);

    designates earphones for the period of integration and completion events
    minuteTimer.addEventListener (TimerEvent.TIMER, __ontick__);
    minuteTimer.addEventListener (TimerEvent.TIMER_COMPLETE, onTimerComplete);

    starts the timer ticking
    minuteTimer.start ();

    }

    public void onTick(evt:TimerEvent):void
    {
    shows the number of cycles until now
    The goal of this event is the Timer instance itself.
    trace ("Seconds Left" + evt.target.lblTimeUntil.text);
    }

    public void onTimerComplete(evt:TimerEvent):void
    {
    trace ("Time Up!");
    var minuteTimer:Timer = evt.target as timer;
    minuteTimer.reset ();
    minuteTimer.start ();
    }
    []] >
    < / mx:Script >

    < mx:HBox horizontalGap = "4" x = "400" y = "500" >

    < / mx:HBox >
    < mx:Label id = "lblTimeUntilRefresh" text = "time until what Refresh" color = 'red' fontSize = fontWeight '19' 'fat' = x '387' = y = "500" / >
    < mx:Label id = "lblTimeUntil" color = "red" fontSize = "22" fontWeight = "bold" ToolTip = "Current Time Left" x = "200" = "500" fontFamily = "Arial" / >
    < / mx:Application >

    The problem that I am running is that everything in flex says it's fine but when I go to test the flash completely flexible player and comes up with the following error.

    ReferenceError: Error #1069: property not found on flash.utils.Timer lblTimeUntil and there is no default value.
    to Red_Board / __ontick__ () [C:\Documents and Marc Documents\Flex Builder 3\Red_Board\src\Red_Board.mxml:36]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

    Who sets the shot to the top, but the point of this is to make the time does not count toward the top. Also is there a way for it to format in minutes and seconds?

Maybe you are looking for