Plot legend flicker when in RUN mode

 Hi all,
i have written a code in LV to acquire data from 12 sensors and display them. In the waveform chart I tried renaming the legend. When I run the vi, the legend name flickers to module name and channel name. I am attaching a snapshot to give you guys a clear idea.
The vi is also atttached.
Any help is appreciated.
Regards,
Arihant
Attachments:
plot legend issue.png ‏46 KB
Temp meas using DAQmx.vi ‏39 KB

I think it's flickering because you placed the code that writes the plot labels inside the while loop, so at each iteration you re-write it, just place all that code before the while loop, so that it executes only once before you get into the loop.
And also since you're using waveforms, DAQmx automatically includes metadata with your channels, if you want you have to remove those metadata plot by plot.
You can also optimisze a bit the code to write all the plots' names. See attached VI.
Hope this helps
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
Attachments:
Temp meas using DAQmx.vi ‏29 KB

Similar Messages

  • Buttons Flicker When I Run Flash Catalyst

    Hi,
    I'm new to this and have been following the Doug Winnie introduction to Flash Catalyst videos.  Up to this point, everything was working fine, but when I run the state at the end of the fourth video, my buttons flash uncontrollably when I drag my cursor over them.  I have made sure that I've updated all patches and am running OSX 10.6.6 on a 2.8GHz MacBookPro with 8 GB Ram.  The problem occurs in Firefox, Chrome and Safari. 
    Any help is greatly appreciated.
    Thanks,
    John

    I actually would look at the OVER state of the button. You may not have any graphics in that state, or your graphic's visibility might be off.
    Chris Griffith

  • Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q with a real time mode but it is not working but when i run it with uploading it into the PXI it save in to the file

    Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q and DAQ NI PXI-6229 with a real time mode but it is not working but when i run it without uploading it into the PXI it save in to the file please find attached my vi
    Attachments:
    PWMs.vi ‏130 KB

     other problem is that the channel DAQmx only works at real time mode not on stand alone vi using Labview 8.2 and Real time 8.2

  • LabVIEW crashes when you run a VI that contains a mixed signal graph with a multi-plot cursor.

    Hello, LV 8.2.1 notes indicates the following bug fix:
    43SAIR2A  Fixed an issue where LabVIEW crashes when you run a VI that contains a mixed signal graph with a multi-plot cursor.
    I am running this version, and still have this behavior.  Is there anything I may be missing, and/or certain circumstances that may still be causing this?
    thanks in advance,
    Darren

    Darren:
    I looked at the CAR ID that you mentioned and the issue has been resolved in LabVIEW 8.2.1. To verify something similar, I ran the attached VI and things worked just fine. Please feel free to send me the steps to follow to reproduce the issue you are running into in 8.2.1.
    Regards,
    Rudi N.
    Attachments:
    MixedGraphs.vi ‏15 KB

  • Disabled item in plot legend when scrollbar is visible

    Problem is that plot legend shows only the plots being displayed correctly, while plot legend scrollbar is not being displayed, which is being controlled using LegPlotMin and LegNumRows properties. But when plot legend scrollbar is enabled (when number of plots exceed a certain number) then one disabled item (already being displayed in the enabled item above it) becomes visible. How to not show it while plot legend scrollbar is visible?
    Second question. If plot legend scrollbar is visible and the user has scrolled it to the bottom and left it there and then selects options where the number of plots are less than a certain threshold and the scrollbar is set to invisible, using property node; then the only lower disabled plot names are shown. So how do I set the scroll position for plot legend scrollbar. I could not find any scroll position property for plot legend scrollbar.
    Thanks

    It is true that you cannot set the index of the topmost displayed plot in a plot legend. It's a missing property! To accommodate long legends, I have used two graphs, one hidden behind the other. Both receive all the data, and their two legends are aligned side by side. In fact, I wrote a routine to align legends of stacked plots, which I've attached here for you. Maybe you'll find it useful!
    Attachments:
    align legends.llb ‏144 KB

  • When i run a sequence with ivi step types in simulation mode i get the error code number BFFA0015 - Types do not match.

    When i run the sequence with ivi step types in simulation mode i get the error Types do not mathc. The step that generates this error is an IviScope step type and is configured as a measurement. Th weird thing is that in real mode is working perfectly. I have three measure steps and i get the error in all of them. The exact error message is:
    UUT Result: Error, Error executing substep 'Post'. An exception occurred calling 'RunStep' in 'ISubstep' of 'TestStand Ivi Step Types 1.0 Type Library' An error occurred while executing the step. Component Works IVI Control Error: The IVI Read operation failed on channel '1' for logical name 'SampleScope'. Details: (1
    ) Types do not match. [IVI Error Code: BFFA0015] Source: TSIviStepTypes [Error Code: -30721, User-defined error code.]
    Can someone tell me how to fix this problem?. It seems to me that the simulation generates a diferent type of measurement of that generated in real mode.

    Update:
    The simulation driver appears to be raising the error. By switching to specific driver simulation the error does not occur. This may be a problem in either the class simulation driver or the specific driver.
    Scott Richardson
    National Instruments

  • To check process mode when application running through PCUI

    Hi Experts,
    I have implemented a BADI called EVAL_SCHEDCOND_PPF to schedule actions.
    There is one action which need to trigger when the document is going to be created and not when the document is being saved.
    So, for this purpose I have used the function module CRM_INTLAY_GET_PROCESS_MODE to capture the process mode. This is working fine when I run CRMD_ORDER it is satisfying my requirement, but when I run the application from PCUI the mode that will be returned by this module will always be 'CHANGE(B)' only.
    Does any body have encountered the similar situation or If any one have any thoughts pls reply me.
    Thanks in advance.
    Regards,
    Usha.

    HI Madireddy,
    In PC-UI by default the document is opened in edit mode. Try one thing open the document in GUI in change mode and then try to open it in PC-UI.
    <b>
    Award Points if it is Useful.</b>
    Regards,
    Naveen

  • Server started in RUNNING mode not showing in Startup Log File when MS Starts

    Dear all,
    When we start OSB Managed Server, server status is showing Running Status in Web logic console and it is also serving the requests. but in server Start up log file, it is not showing 'Server started in RUNNING mode' after it started.
    this behavior is only for 4 managed servers in cluster of 6 managed servers. other 2 managed servers are starting and showing the message correctly.
    please some body show some light on it as we need to fix this issue urgently.
    thanks in advance.
    pr

    Dear all,
    When we start OSB Managed Server, server status is showing Running Status in Web logic console and it is also serving the requests. but in server Start up log file, it is not showing 'Server started in RUNNING mode' after it started.
    this behavior is only for 4 managed servers in cluster of 6 managed servers. other 2 managed servers are starting and showing the message correctly.
    please some body show some light on it as we need to fix this issue urgently.
    thanks in advance.
    pr

  • ImaqDisplayImage hangs when running .exe and the window can't be moved when in Debug mode

    I am running a multi threaded application with multiple windows, two of which display images but only one is open all the time.  The window displaying the image (using imaqDisplayImage(myImage, 1, TRUE)) can not be moved or resized, the image continually updates though, when I run the app in debug mode.
    If I run an executable, either debug or release the following happens:
    Everything looks good right when the app starts, all windows are displayed and the live image window is continually updated.
    If I click on any window in my program or not in my program, the imaqDisplayImage window freezes and will not udate its image, it will allow me to move it though, and it has (Not Responding) in the title bar.  The main window of my program does not freeze and behaves normally. 
    I know that an acquisition is still taking place because I have a button on my main window that copies the last grabbed image that should be displayed in the imaqDisplayImage window and displayes it on a canvas (using imaqImageToArray etc . . .) and this image changes everytime I click the button.
    Anyone have any tips with dealing with imaqDisplayImage windows??  Thanks!

    At this point we want to pinpoint exactly where in your code this behavior is originating from. Try running the included examples which can be found here:
    C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\IMAQ\Display
    C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\Vision\1.GettingStarted
    and see if you experience the same behavior. If we still experience this, then we know that it is a setting within the functions that we need to change. If not, we know that it is somewhere else in the code of the bigger project which is the culprit. 
    Daniel G.
    Applications Engineer
    National Instruments

  • When i run keynote in the play mode, some times the computer get stuck, why?, when i run key note in the play mode, some times the computer get stuck, why?

    when i run keynote in the play mode, some times the computer get stuck, why?, when i run key note in the play mode, some times the computer get stuck, why?

    hello,
    I had the same issue. This is what I was told to do.
    iWork has to be removed completely to be effective when re-installing, you must use an application removal tool to do this or it wont remove every Keynote file.
    Appcleaner   will do this and its free.
    The following procedure has helped solve many issues with Keynote:
    1  Close Keynote then use Appcleaner
    2  Empty the Trash
    3  Shut down the Mac, then restart and press the shift key immediately after the startup sound, then release shift when the Apple logo appears
              allow the Mac to boot up to the desktop, it will take longer then usual as the hard drive is being repaired
    4  restart the Mac
    5  Reinstall iWork
    6  Repair permissions:
              Applications > Utilities > Disk Utility > First  Aid:   click on your system disc in the drive column
              and select Repair  Disk Permissions
    7  open Keynote and test

  • Weird behavior: Throws an error while debugging/Run mode, but doesn't when project is built

    Hi there,
    I am trying to see if I could get some help on a strange situation:
    I am developing a desktop application with few window components (like music window, rss feeds, photos window, etc). I am trying to have a checkbox in the "preferences" component which will disable or enable the appropriate window component.
    When I am trying to test this checkbox in my application (in either debug mode or 'run' mode) an error is being thrown which I am not able to figure out why this error occurs (though I know its complaining about Null object reference). But when I am building the application with "Export Release Build" option and installing the application on my desktop to test the same checkbox - it works!! I am not sure why this is happening. Any help?
    Can you tell me why it's not complaining about Null object when I build the project or how to overcome this problem?
    This is the error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Components::ComponentContainer/getComponentData()[/Users/Desktop/projects/DesktopLauncher /src/MyComponents/ComponentContainer.as:48]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at SetIntervalTimer/onTimer()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    Thanks in advance.

    Can you post the code at ComponentContainer.as line 48?
    Also, make sure the debug SWF is up to date; delete it in bin-debug, make a change to ensure the new one has come up.

  • I can't see any wrote on firefox page. But when open safe mod (with shift because there is no wrote ) firefox run normally.

    i can't see any wrote on firefox page. But when open safe mod (with shift because there is no wrote ) firefox run normally.

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/

  • Menu bar shows when I stop the error 8 occur during run mode of .exe file

    when error 8 occured and I click on "stop"
    option rather that "continue".then vi stop and file,edit menu shows. in
    exe RUN mode,this is also  happend so what is the solution for not
    seeing the menu bar when i stop the error 8 option in run time. it
    should be stop as it is condition..

    Hi Milap,
    have you read my comment in your other thread?
    This error message pops up when you don't have programmed any error handling!
    Well, you use "Write to spreadsheet file" for saving your data. Look inside this function (and it's subvi "Write Spreadsheet string") to see how to use low level file functions. After the "Open/Create/Replace File" you have to check for any error (like error 8)...
    Message Edited by GerdW on 06-26-2008 10:44 AM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to chang the number of plots in the plot legend during run time?

    Hi, I am using waveform graph. At run time only i will come to know, how many plots should be plotted in the waveform graph. Based on the number of plots i have to change the plot legend. Is there any method to do the same?

    Maybe something like this?
    The inputs on the left are (from the top)
    your array of data you want to plot (or anything that contains the number of inputs you have)
    next one is an array of colorschemes (maybe you dont need this)
    and the third is an array of booleans that are true if that "channel" should be plotted and false otherwise
    /Anders
    Message Edited by Tohatsu on 01-08-2008 08:56 AM
    Attachments:
    graph.JPG ‏10 KB

  • Adobe Flash only works when I run Firefox in Admin Mode

    As the title says, I need to run Firefox in admin mode each time for Adobe Flash to work.
    When I do not run it in admin mode, and I visit say Youtube, the box where the flash player should appear flickers and just does not load. The HTML5 version eventually loads instead.
    When I visit the adobe flash test page it does not work either. Only when I run in admin mode it works fine.
    Problem is I do not want to run Firefox in Admin mode for security reasons each time I use the browser. I have tried reinstalling mozilla, disabling all plugins/extensions, reinstalling adobe flash several times.
    I DO NOT have this problem when using Google Chrome.
    Any help would be greatly appreciated!
    Kind Regards,
    Skanza

    Hi skanza,
    Did you try to reset firefox as explained in the following howto [https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems here] ?

Maybe you are looking for

  • New MBP and 24" ACD

    I found this post on another forum and was interested to know if anyone on here has similar issues, I am thinking of buying this combo "I previously owned the "first generation" of unibody MacBook Pro when it was released back in 2008. I purchased 24

  • How to compare date with null value

    Hi I have a date filed and i assigned that input box with context attribute of type Date. Here my problem is when the end user not entered any thing (null ) the i have give some defaul date. so first in the action method i have to check the date with

  • Sony HDR HC7 - does it work with FCE 3.5 HD?

    Is the Sony HDR HC7 capable with mac fce 3.5 hd? thank you so much.

  • Improper Western Digital ejection fix?

    I have a Western Digital Hard drive that I accidentally ejected without unmounting. Now, in an attempt to fix the mess up I rebooted my computer, and unplugged the hard drive and reinsterted it. When plugged it in again my computer recognized that th

  • Security/Filter on a Shared Member Parent

    I have a few alternate rollups in my 'Organization' dimension. I have allowed Read access to the appropriate 'real' members. In my primary rollup, if all of the children for a parent have Read access then the parent can also be viewed, and so on up m