Intensity Chart confused when changing number of samples

My application uses an Intensity Chart in strip chart fashion, adding one column of data points per cycle. Sometimes the user, while configuring an experiment, may change the number of data points per cycle. This of course changes the Y scale on the chart. Autoscale handles that without difficulty. But the intensity chart display sometimes doesn't. Let's say the user changed the number of data points per cycle from A to B, B > A. Some fraction of the time, after the change, the intensity chart will display only A many points in the column, leaving the upper portion of the column black.
It seems to be a "bad state" thing. While the chart is in a good state,you can change the number of data points and things keep on working fine. But once it gets in a bad state, it stays that way, and the number of data points it will actually display is the smallest number of data points per cycle that it has ever dealt with, once it got in the bad state. Clearing the data history will not get it out of the bad state. Only stopping and restarting the program will.
Is this issue known? Has anyone found a way to work around it?
Thanks,
Ken

Hi Ken,
Thanks for using the NI Forums. Intermittent issues are always the fun ones! In order to help me fully understand the issue, would you be able to post some screen shots of what you are seeing (maybe one when it is working properly and one when it didn't)? That will just help me frame the issue so we can figure this out!
Looking forward to hearing back from you!
Dan T.
Dan T.
National Instruments

Similar Messages

  • Is there any userexit OR BADI  for MIR7 WHEN change number of PO

    I know I can use badi  NVOICE_UPDATE- CHANGE_BEFORE_UPDATE method. to check PO's number when
    I save .
    I want to find an exit or badi to implement when I change number of PO, and  type enter  to  check the number .How can I do ??

    Hi,
    Please check this thread for the procedure to find the BADI for a transaction
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1276392,00.html#
    Or
    You goto se24 and specify the class CL_EXITHANDLER and in that double click on GET_INSTANCE method in that put a break point on the line 
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    and run you transaction... for almost every action you will get this method trigger and in that check the exit name... And that's the BADI for the interaction made in that transactation.
    Please go through this link for Finding BADI using class CL_EXITHANDLER in detail.
    [Finding BADI|http://abapreports.blogspot.com/2008/06/badi-finding-in-abap.html]
    Hope this would help you.
    Good luck
    Narin
    Edited by: Narin Nandivada on Aug 19, 2008 5:30 PM

  • How to keep the waveform chart updated when changing states in state machine/

    Hello Everyone,
                           Can anyone please sugest me how to keep the waveform chart updated even if I am changing the states in a state machine??
    I am having analog inputs on the waveform chart...
    Thanks in advance...
    Now on LabVIEW 10.0 on Win7

    hello guys,
                    thanks a lot for the suggestions, here is the attached code... please follow the following steps to run it..
    ONce you hit play,press either Start Main/Cyl UP button on the front panel,
    once you start observing the waveforms, you can press the Cyl_Dwn button on the front panel... You can observe that the state changes to Start Counter state,
    and the waveform chart also stops updating... I would like both the waveform charts to conitnuously show the data even if the state is changed....
    Now on LabVIEW 10.0 on Win7
    Attachments:
    Soda Vending MAchine.vi ‏212 KB

  • Changed number and facetime is still using old number

    I added a 3rd line/iphone to my AT&T account. When i bought the iphone at the apple store I asked for a 626 area code but was told the only option I had was a 312 area code. I then called AT&T to try to change the number to a 626 number but was told I couldn't add a line from a different market to my account. So I transferred the line to a second account by itself in order to get a 626 area code for my nephew. Now that iphone will not allow me to facetime it using the 626 area code which is the iphone's number now. I have to facetime the old 312 number in order to connect to it, but that number was canceled minutes after i purchased the iphone. And when my nephew facetimes me, my iphone displays the old 312 number. When I try to facetime him I get a "facetime failed" error message. iphone has been restored and has 4.1. Phone number under phone settings has been changed to the correct 626 one. Can't think of anything else. Anyone experiencing the same problem? Thanks
    ~R

    I downloaded the facetime app. I have it going through my email address. Now my wife has Iphone 4. When we first bought her phone, ATT gave her a dumby number for the reason of switching from another carrier. After her contract was up, we ported her number to the iphone. Dumping the other number for her orignal.
    So when I tried facetime by calling her phone it would not connect. I was puzzled. I tried it a few more times and still nothing. I decided to take her phone and call me and it worked. I was confused when another number showed up. After pondering this for some time, I then noticed the number was the dumby number ATT gave her. This number was dumped 2 1/2 months ago.
    Now I know facetime for Mac is just a beta version, but does anyone have an idea * is going on here?

  • Multiple channels acquisition and Number of samples per channel

    Hi,
    I'm a new labview user and I need some help in trasposing an old traditional NI-DAQ acquisition software in a NI-DAQ-mx one.
    I followed the tutorial (#4342) but I found a problem with Analogue 2D DBL Multiple Channels Multiple Samples DAQmx Read Vi.
    I'm trying to acquire 8 voltage signals from a NI-USB-6341 device. When the Number Of Samples Per Channel I set is below the number of channels (8), the software acquires only a number of channels equal to the number of samples per channel I set.
    Is that a normal behaviour?
    Thank you
    Daniele

    This is my code. The problem is the same with or without the code for the scan backlog indexing.
    Tomorrow I will try with the code from the example.
    Thank you
    Daniele
    Attachments:
    acq code.jpg ‏119 KB

  • Intensity Chart X scale flip = image drift

    Hi all! When programming one application for measurement I encountered following problem. Because scanning in this measurement is performed at first from left to right and then immediately from right to left I write the data to intensity chart and when the end of scanning region is reached I flip the x axis and I write the chart history data into history of the chart but in reversed order . This creates the effect of preserving the image as it was during previous scan (only flipping itself without writing the reverse history would also cause flip of the already drew image).
    All seems to work smoothly but if you run it you see small drifting of the image when reaching the edges. On the right the image drifts to the left a bit and on the left to the right.
    What does it cause?
    Thx a lot.
    LV 2011, Win7
    Attachments:
    XAxisFlip.vi ‏33 KB
    data.zip ‏502 KB

    Hi and thanks again.
    Now I realized why Gerd didn't see anything - When testing different datasets I forgot to switch the 'transpose' to false. So please do it and then you will clearly see the shift - maybe focus on the white part in the middle of the picture.
    I am sorry for that inconvenient.
    For the same reason Altenbach we had totally different results of power consumption. The original data has 8001 dbls for one vector(not 100) which in your example results in really high CPU usage(around those 50%)
    My measurement with correct data (reading vi excluded, no delays):
    Mine: 60-70ms
    Yours without cursor: 1200ms
    Yours with cursor: 9200ms
    I am still trying to come with some logical explanation for the shifting because using the picture control seems to bring a lots of work and troubles
    Message Edited by ceties on 08-24-2008 05:29 AM
    LV 2011, Win7
    Attachments:
    Transpose.png ‏1 KB

  • How to set change number is prerequisite when change BOM?

    Dear SAP Experts,
    I have actived EC management  in BOM control data in IMG. But when i changed
    BOM ( the code  CS02 )  with change number blank, system had not given an error message. SO,how to set change number is prerequisite when change BOMs?
    Thanks...
    Regards,
    Joey.

    Just a guess: Transaction os27 and change the number range to external.
    Matthias

  • Error when I change the BOM without a change number

    Hi,
    I would like to receive an Error when I change the BOM without a change number.
    I define the modification parameter (EC management active and History reqmnt), I configure history reqmnt for BOM (I choice the status 1 and 3 for my BOM usage 5)
    In change the message type I don’t have the really message number in the liste.
    How can I create a new message (045) so that I get an error by changing the BOM without a change number.
    Thanks

    Dear Dede,
    check for the Authorization Object C_STUE_NOH for the
    particular User Id's for which you want to Create or Change a
    BOM without a Change number.
    So assign this Authorization Object under all user id's for which
    you want to have this control.
    Adding the mentioned Authorization Object in particular User
    Id's will resolve the problem.
    This can be done using PFCG T code by adding in particular
    Roles.
    Revert back incase of any clarifications.
    Regards
    Mangalraj.S

  • How can i specify pixels in the intensity chart ?

    Hi,
    I want to specify the number of pixels in the intensity chart . I have 56 values that want to be displayed . How can i do that? . 
    Solved!
    Go to Solution.

    Hi jerryvdk,
    By specifying the Number of Pixels, do you mean allowing only a specific Plot Area Size for the chart itself?
    You can modify this through the use of a Property Node.
    Steps to Change the Plot Area Size:
    Right click on the Intensity Chart.
    Scroll through Create » Property Node » Plot Area » Size » All Elements.
    This will create a Property Node which will allow you to change the draw area property of the Intensity Chart.
    By specifying a draw area of 56x1, this would allow a 56px draw area size. Is this what you meant?
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • Error:the number of sample must be 0 please help.

    dear genius.
    I searched the same error in this board but I can not understand how can i fix my problem.
    I am just a beginner in LV so I need your help. I made AM modulation and demodulation vi .
    when  I first used "simulated signal" as message signal, noting happened.
    but, I changed simulated signal as "acquire sound", and add a play waveform, after that, problem occured.
    actually, I can not understand about sample number or sampler rate .
    how can i fix my problem?
    and do you know some website to exercise digital communication using usrp and labview for trying ?
    please let me know your idea.
    thanks a lot.
    Solved!
    Go to Solution.
    Attachments:
    error.vi ‏164 KB

    kimjihwan123 wrote:
    thanks kingt of ni 
    thanks again. but can you tell me the differecne between sample rate and sample per second?  (I thoungt it was same)
    First of all Knight of NI is my title.  Crossrulz is my alias.
    Secondly, Sample Rate is the same as Samples Per Second.  But you want to make sure your sample rate and number of samples gathered are the same from both sources.  I would also turn off the Actual Time (or whatever it is called) in the Simulate Signal so  that it just gives you the sine wave instead of using time to generate it.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can I make a spectrogra​m from a soundwavef​orm using the intensity chart function?

    I want to make a spectrogram for a sound waveform where the x-axis is time, the y-axis is frequency, and the intensity is amplitude. I performed a DFT on the sound waveform, then used it as an input to the intensity chart function. Every time I run my program the x-axis has a scale from 0 to 1 sec, when my sound is longer. The y-axis doesn't give me the same range of frequencies as the DFT. The intensity scale is correct. Can anyone suggest another approach? The labview example did not help since I'm not generating an array and creating the intensity chart at the same time.

    Hello -
    You could probably use a 3D surface graph.
    I am including an attachment to show you what I mean. This example program is available here. I just made a few modifications to make it look as an intensity graph:
    1. By right clicking on the graph and going to CWGraph3D >> Properties and selecting the Grid Planes tab in the Graph tab, I unchecked the grids, to show just the graph. Then, I went to the 3D tab in the Graph tab, and selected Towards X-Y Plane in the View Direction section. Click OK.
    2. Then, I right clicked on the graph again and went to Advanced >> Enabled State and selected Disabled, so
    that the user cannot change the orientation any more.
    You can build your own plot using time and frequency as X & Y, and the amplitude will give you the color. You only need to adjust the orientation so that you can see it from �the top� and it looks like an intensity plot.
    Hope this helps.
    Attachments:
    XYZ_Plot_Example.zip ‏57 KB

  • Hi, i am looking to set cells so that when one number decreases the other increases. The catch is that when the first number goes up the other stays the same. And when it starts decreasing again the other builds up. so forth

    Hi, i am looking to set cells so that when one number decreases the other increases. So say cell A is at 5, and cell B is at 0. When Cell A goes to 4, Cell B goe to 1. The catch is that when Cell A gets down to 1, and i change it to 5 again, Cell B will be on 4 and start incresing from that point on when cell A decreses. This is to show an amount of sales within a company when stock is sold.
    Example:
    A = 3
    B = 0
    A = 2
    B = 1
    A = 1
    B = 2
    A = 3
    B = 2
    A = 2
    B = 3
    A = 1
    B = 4
    A = 3
    B = 4
    A = 2
    B = 5
    Sorry if this sounds confusing.
    Many Thanks,
    Oliver

    Can't be done, in a single cell, for the reasons given by Jerry.
    But not difficult in a column:
    I've moved the columns one to the right to put them in the body cells of the default Numbers table.
    Current stock is listed in column B, with results of increases and decreases entered manually. Any increase  is assumed to be a restocking, and does not affect the sales to date figure in column C. Any decrease in stock is regarded as a sale and increases the current total in column C by the amount of the decrease.
    Until an entry is made in B, the corresponding cell in B will show a hyphen. This can be changed by changing the text between the quotation marks in the formula.
    Enter the formula into C3 and Fill it down the rest of column C.
    Regards,
    Barry

  • ORA-06502 on "Help Text" region when changing pages on a tabular form

    Hello everybody,
    We are developing an application on Apex 4.1.0.00.32. This application have some pages with tabular forms and these pages uses a page zero as template. In this page zero, we have added two sidebar regions: a list region to navigate on the application and a help text to describe how to use our application.
    The problem occurs when the tabular split the records into pages (since it has more records that it can show on a single page). When the user clicks to change to another page, Apex raises an ORA-06502: PL/SQL: numeric or value error as described below:
    Erro ao renderizar a região "Ajuda". ORA-06502: PL/SQL: erro: erro de conversão de caractere em número numérico ou de valor
    Informações Técnicas (visível somente para desenvolvedores)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -6502
    ora_sqlerrm: ORA-06502: PL/SQL: erro: erro de conversão de caractere em número numérico ou de valor
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 2
    component.name: Ajuda
    error_backtrace:
    ORA-06512: em "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654
    ORA-06512: em "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204
    Obs: Our database is in Brazilian Portuguese, so I guess it will be hard for some people to understand the first two lines! :)
    We have tried to change the pagination style of the tabular form and change the region model of the help text but the problem still happens.
    Does anyone an ideia about what this may be?
    Thanks in advance!

    I am getting the exact same message, to the line number, also in APEX 4.1.0.0.32.
    Occurs when changing pages in a classic report, Standard region template, select list pagination, when selecting a different pagination set.
    In English:
    Error during rendering of region "Matched Participants Help & Hints".
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Technical Info (only visible for developers)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -6502
    ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 2
    component.name: <strong>Matched Participants</strong> Help & Hints
    error_backtrace:
    ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654
    ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204
    There are no conditions on the region, and no date string within the Help text. Some HTML <strong> tags, that's it.
    The Help region renders fine the first time.
    The Debug info does not help any:
    3.798360.00062Computation point: After Box Body4
    0
    3.798990.00081Processes - point: AFTER_BOX_BODY4
    0
    3.799790.00068Region: <strong>Matched Participants</strong> Help & Hints4
    0
    3.800470.00213Region rendered dynamically because request was not null4
    0
    3.802590.00096Add error onto error stack4
    0
    3.803550.00084...Error data:4
    0
    3.804400.00084......message: Error during rendering of region "<strong>Matched Participants</strong> Help & Hints".4
    0
    3.805240.00084......additional_info: ORA-06502: PL/SQL: numeric or value error: character to number conversion error4
    0
    3.806080.00081......display_location: ON_ERROR_PAGE4
    0
    3.806890.00081......is_internal_error: true4
    0
    3.807700.00084......apex_error_code: APEX.REGION.UNHANDLED_ERROR4
    0
    3.808540.00082......ora_sqlcode: -65024
    0
    3.809350.00234......ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character to number conversion error4
    0
    3.811700.00082......error_backtrace: ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654 ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204 4
    0
    3.812510.00081......component.type: APEX_APPLICATION_PAGE_REGIONS4
    0
    3.813310.00110......component.id: 24
    0
    3.814420.00099......component.name: <strong>Matched Participants</strong> Help & Hints4
    0
    3.815400.00076...Show Error on Error Page4
    0
    3.816160.00344......Performing rollback4
    0
    3.819610.00225Processes - point: AFTER_ERROR_HEADER4
    0
    3.821850.00268Processes - point: BEFORE_ERROR_FOOTER4
    0
    3.82453-End Page Rendering
    Any thoughts on where to poke around for this one?
    Thanks - Karen

  • Pulse train generation fails with certain values for "number of samples"

    I'm generating a retriggerable analog output signal, and so I'm using a counter as the sample clock (see: Retriggerable AI Using Retriggerable Counter). I am finding that, above a certain number of samples, and only for certain values of the number of samples, the counter task gives me error -200305, "Desired finite pulse train generation is not possibe." The error crops up only when actually starting the task.
    The analog signal that I'm trying to generate will be about 800 kHz, so my counter is set to run at the same frequency. I find that the counter task works fine if the number of samples to generate is anywhere between zero and 671,088 samples. Setting the number of samples to 671,089 gives the error above, as does 671,090 samples and so on. However, using 671,096, the counter task works fine. After that, the counter seems to output fine only if the number of samples is divisible by 8.
    The only thing I can think of is that (617088 samples) / (800000 Hz) = 0.839 s. At the internal clock rate of 20 MHz, 0.839 s is 2^24 samples, and it is a 24-bit counter on this hardware. So if it's this internal counter rolling over, that's fine and I can work around that. But if that's the case, what I don't understand is why increasing the number of samples in increments of 8 samples still works.
    The hardware is a PXI-6733 board, running with LabView 7.1.1 and NI-DAQmx 8.1.

    Hmmm,  multiples of 50 & 100?  Now I'm puzzled again.
    Here's how to make sense of the 100 kHz timebase idea though, even if it turns out not to be the right explanation.  For a retriggerable finite pulse train, you actually use a pair of counters.  If you were to program it manually, you could set your output counter to generate a continuous pulsetrain at 800 kHz using the internal 20 MHz timebase.  This output counter would also be configured to use the other counter's output as a digital level-based pause trigger.  So the 800 kHz pulsetrain is only output while the other counter's output is, say, high.
    The other counter is configured for retriggerable pulse generation.  The pulse duration or high time should be set for (# pulses) / (800e3 pulses/sec).  This other counter can be configured to use the 100 kHz timebase, so its high time would then have to be an integer multiple of 10 usec.
    So let's see...  An 800 kHz pulsetrain is possible with a 20 MHz timebase (exactly 25 cycles).  A 700 kHz (28 + 4/7 cycles) or 900 kHz (22 + 2/9 cycles) is not.  So when you request those other frequencies, you actually get a near approximation.  I dunno if DAQmx can be queried for the actual value correctly or not -- I recall an early version that reported back whatever freq you had asked for rather than what it actually used.  Queries based on ticks (rather than time or freq) did return what was actually used, as I recall.
    Let's suppose a request for 700 kHz gets truncated to 28 cycles of the 20 MHz timebase making a 1.4 usec period.  Then 50 of those periods becomes 70 usec, which is evenly divisible by the 100 kHz timebase.  Bingo!  (Note: 70 is the least common multiple of 10 and 1.4)
    Now suppose the request for 900 kHz turns into 22 cycles of the 20 MHz timebase, or a 1.1 usec period.  Now it takes 100 of those periods to get to 110 usec, which is also evenly divisible by the 100 kHz timebase.  Bingo again!  (Note: 110 is the lcm of 10 and 1.1).
    Did you follow the method here?  It should help you figure out expected results for various output freqs and #'s of samples.
    -Kevin P.

  • I am having email problems with the new Lion.  stmp, imap, etc. I have looked up google info and It is confusing when it comes to TS, SSL also, please explain how to set it up so my email goes out and comes in securely.  Help

    I am having email problems with the new Mountain Lion.  stmp, imap, etc. I have looked up google info and It is confusing when it comes to TS, SSL also, please explain how to set it up so my email goes out and comes in securely.  Help
    Incoming Mail (IMAP) Server - requires SSL:
    imap.gmail.com
    Use SSL: Yes
    Port: 993
    Outgoing Mail (SMTP) Server - requires TLS:
    smtp.gmail.com (use authentication)
    Use Authentication: Yes
    Use STARTTLS: Yes (some clients call this SSL)
    Port: 465 or 587
    Account Name:
    your full email address (including @gmail.com) Google Apps users, please enter username@your_domain.com
    Email Address:
    your full Gmail email address ([email protected]) Google Apps users, please enter username@your_domain.com
    Password:
    your Gmail password
    The Quick Answer
    Follow the instructions below to set up IMAP1 access in most email clients.
    Google Apps users, please follow the default instructions unless otherwise noted, replacing 'your_domain.com' with your actual domain2 name.
    this is all greek to me. WHAT IS STARTTLS? On the first page of Apple set up there is a TLS certificate and it is marked NONE- should I change it to the long APPLE CERT option?  The next page under ADVANCED: THERE IS A BOX SSL MARKED.  Then IMAP Path Prefix - I put stmp.gmail.com.. is that right?  Port 993 can  use this one? as 456 doesn't work and 587 said it wasn't safe.  Under AUTHENTICATION I used PASSWORD.  Should I have used external client cert TLS?
    Please help me set this up securely. Thanks

    Apple - Support - Mail Setup Assistant

Maybe you are looking for

  • Need to send notification to user when salary added or updated on Salary form (11.5.10.2)

    We do not have AME so workflows are not available to us, but I need to find a way to send notifications to users/managers of salary changes.  When a user adds or updates a salary, it needs to go to a second user for approval.  The second user is not

  • Disk Image Verify Option

    Do I need to select Verify Disk when burning a DVD from my disk image file in the Disk Utility? Mike

  • HP 6500 all-in-one gets stuck

    hi, i have a year and a half old HP6500 709n. it works fine most of the time, but every now and then it stucks. the panel lit up and nothing respondes, not the panel buttons, and not commands from the computer (print, scan etc.) the only way to relea

  • Syntax error in WHERE clause

    Hi all, see the code. data: itab type cdhdr occurs 0,         wa type cdhdr. data: begin of itab1 occurs 0,          lifnr like lfa1-lifnr,           ktokk like lfa1-ktokk,         end of itab1. select * from cdhdr into table itab. select lifnr ktokk

  • Mail icon at class is not enabled

    Hi All I am facing strange problem. For few classes link to email all the enrolled/attended people is not enabling. The only criteria for this link to be enabled is "there should be employees with status (Placed/Attended/Pending feedback). But this l