Different values when in highlight execution mode.

I am running a vi which does a bunch of math on scalars and floating point images. When I run the vi, the output images are filled with "Not a Number" but when I go throught the vi in highlight execution mode the numbers come out as what they should be. This doesn't have anything to do with the camera not responding fast enough to supply the data for the image when in normal execution mode. I'm just testing the vi by defining an image filled with a particular value so that I can see if it is doing the math correctly. If the "NaN" result was all I had to go on (when running the vi normally) I would keep looking in my code for errors, but I get the correct numbers when I run it with execution highlighting.
Can anyon
e explain why this would be happening?
Thank you.

Hi,
I made the expirience that function in undefined order are executed in
different order if the vi is run in highlight mode or normal mode. So it
can be usefull to put some critical functions in a sequenz for the right
order.
Niko

Similar Messages

  • FSV showing different values when executed by different users

    Hi Experts,
    While executing FSV throug RFBILA00 we are getting different values when executed by differet users. Variant selection is same except the user (which is different). For one user report is perfect for another user some GL accounts were not displayed and some accounts shows different values.
    Anybody could help on this. Is there any userwise settings are there.
    Thanks in advance.
    Regards,
    Narayanan

    Hi,
    check user authorization, maybe one user has limited display authorization for some values (as they are linked to specific profit center,...)
    BR Christian

  • How to find which sub-vi is running in highlight execution mode?

    Hi there,
    It sometimes happens that while debugging you program you open a lot of sub-vis put probes in many places turn on highlight execution in dirrerent sub-vis and then forget to turn it off.
    You close all sub-vis and run software and it runs SLOOOOW. Then you need to go and find that sub-vi that runs in highlight execution mode.
    I was just wondering if there is an easy/automatic way find which vi has highlight execution mode turned on?
    Solved!
    Go to Solution.

    Here is a small utility to switch off Execution Highlight mode off all opened subvis. Drop it into the Project subfolder in the LabVIEW application folder, then restart LabVIEW. A new item "Stop Highlight mode..." will appear in the Tools menu. Enjoy !
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Stop Highlight Execution.vi ‏16 KB

  • Cant transmitt and Recieve data when USER INTERFACE Execution Mode selected

    Hi..
    I am working on a project in which I have to continuously send and recieve serial data..
    Again, in my application, I want to use AciveX control to open PDF (Theory related to the project).
    PDF can be opened only in USER INTERFACE Execution Mode.
    (I dont want to open PDF in Adobe Reader.. I want it inside my application)
    But when I use this execution mode, I am unable to transmitt and receive data through VISA.
    When I change the Execution mode to STANDERD, all works fine.
    Again, I could not change the mode Using Property node.. Shows error that I cant edit the VI in running mode.
    How should I get these two works done at a time..

    Hi Avatar,
    both links are essentially the same…
    I don't have Acrobat installed, so I cannot reproduce the problem or test the VI.
    Did you try a different tool? There are other PDF viewers available…
    Maybe the MS Webbrowser (available as DotNet) can show PDFs on the frontpanel of your VI…
    You cannot change the execution system at runtime as it would require recompiling the VI. Point.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Why i get different value when subtractin​g two elements of different arrays then the actual value in a timed loop

    Hi Everyone
    I have a probem in substracting the two elements of two different  1-D arrays. The problem is, I am taking out data from a CCD camera which gives me data in form of 2-D array. So i select 1-D array out of it. Now this CCD output is in a timed loop, hence i am getting data in each loop. I select a perticular array output of the CCD and this is then passed to shift register and in all the loops later on, one of the element of the output array of the CCD is substracted from the same indexed element of the selected array. For reference i have pasted the snap shot of the block diagram. In this snap shot you see three probes. The value at the prob 1 is 232, at probe 2 is 255 and at 3 is 4294967273, where as actually i sould have a value of -23 since i am substacting prob 1 and probe 2 values. Since the value of probe 2 will always remain at 255 as i have fixed it by choosing an array form CCD and i checked the value of probe 1 which never goes above 255 so why do i get this false value here.
    Can you please help me in problem.
    Regards
    Chauhan
    Attachments:
    clip_image0011.gif ‏15 KB

    Your data is U32 (unsigned integer) which does not have negative values. According to unsigned integer math, "negative" results will wrap.
    You need to work in a datatype that is appropriate for what you want to do. How many significant bits do you have in the raw data?
    Message Edited by altenbach on 03-17-2008 11:15 AM
    LabVIEW Champion . Do more with less code and in less time .

  • Constant dates gets different values when instantiated using different cale

    Hi,
    I have a package that's like this:
    CREATE OR REPLACE PACKAGE DATABASE_SYS IS
    first_julian_day_ CONSTANT NUMBER := 2378211;
    last_julian_day_ CONSTANT NUMBER := 2545125;
    first_calendar_date_ CONSTANT DATE := to_date(first_julian_day_, 'J');
    last_calendar_date_ CONSTANT DATE := to_date(last_julian_day_, 'J');
    FUNCTION Get_First_Calendar_Date RETURN DATE DETERMINISTIC;
    PRAGMA restrict_references(Get_First_Calendar_Date, WNDS);
    FUNCTION Get_Last_Calendar_Date RETURN DATE DETERMINISTIC;
    PRAGMA restrict_references(Get_Last_Calendar_Date, WNDS);
    END DATABASE_SYS;
    CREATE OR REPLACE PACKAGE BODY DATABASE_SYS IS
    FUNCTION Get_First_Calendar_Date RETURN DATE DETERMINISTIC
    IS
    BEGIN
    RETURN first_calendar_date_;
    END Get_First_Calendar_Date;
    FUNCTION Get_Last_Calendar_Date RETURN DATE DETERMINISTIC
    IS
    BEGIN
    RETURN last_calendar_date_;
    END Get_Last_Calendar_Date;
    END DATABASE_SYS;
    If using two different SQLPlus sessions:
    First session
    SQL> ALTER SESSION SET nls_calendar='PERSIAN'
    2 /
    Session õr õndrad.
    SQL> SELECT to_char(database_sys.Get_First_Calendar_Date, 'YYYY-MM-DD') FROM dual
    2 /
    TO_CHAR(DA
    1799-03-21
    SQL>
    SQL> ALTER SESSION SET nls_calendar='GREGORIAN'
    2 /
    Session õr õndrad.
    SQL> SELECT to_char(database_sys.Get_First_Calendar_Date, 'YYYY-MM-DD') FROM dual
    2 /
    TO_CHAR(DA
    2420-06-10
    SQL>
    SQL> ALTER SESSION SET nls_calendar='PERSIAN'
    2 /
    Session õr õndrad.
    SQL> SELECT to_char(database_sys.Get_First_Calendar_Date, 'YYYY-MM-DD') FROM dual
    2 /
    TO_CHAR(DA
    1799-03-21
    SQL>
    SQL> ALTER SESSION SET nls_calendar='GREGORIAN'
    2 /
    Session õr õndrad.
    SQL> SELECT to_char(database_sys.Get_First_Calendar_Date, 'YYYY-MM-DD') FROM dual
    2 /
    TO_CHAR(DA
    2420-06-10
    SQL>
    Second session:
    SQL> ALTER SESSION SET nls_calendar='GREGORIAN'
    2 /
    Session õr õndrad.
    SQL> SELECT to_char(database_sys.Get_First_Calendar_Date,'YYYY-MM-DD') FROM dual
    2 /
    TO_CHAR(DA
    1799-03-21
    SQL>
    SQL> ALTER SESSION SET nls_calendar='PERSIAN'
    2 /
    Session õr õndrad.
    SQL> SELECT to_char(database_sys.Get_First_Calendar_Date, 'YYYY-MM-DD') FROM dua
    l
    2 /
    TO_CHAR(DA
    1178-01-01
    SQL>
    SQL> ALTER SESSION SET nls_calendar='GREGORIAN'
    2 /
    Session õr õndrad.
    SQL> SELECT to_char(database_sys.Get_First_Calendar_Date,'YYYY-MM-DD') FROM dual
    2 /
    TO_CHAR(DA
    1799-03-21
    SQL>
    SQL> ALTER SESSION SET nls_calendar='PERSIAN'
    2 /
    Session õr õndrad.
    SQL> SELECT to_char(database_sys.Get_First_Calendar_Date, 'YYYY-MM-DD') FROM dua
    l
    2 /
    TO_CHAR(DA
    1178-01-01
    SQL>
    Why does the dates differ?
    Should not the dates be the same?
    Should not Julian dates always be the same regardless of my session parameters?
    What am I missing here?
    Regards
    Håkan

    The problem seems to be with Julian date conversion code being sensitive to the user calendar, while it should not be:
    SQL> alter session set nls_date_format='YYYY-MM-DD';
    Session altered.
    SQL> select to_date('2378211','J','NLS_CALENDAR=GREGORIAN') from dual;
    TO_DATE('2
    1799-03-21
    SQL> select to_date('2378211','J','NLS_CALENDAR=PERSIAN') from dual;
    TO_DATE('2
    2420-06-10
    I have logged bug #5386942. If you want to follow this bug, you have to contact Oracle Support.
    As a workaround, specify explicit third parameter 'NLS_CALENDAR=GREGORIAN' in your TO_DATE() calls.
    -- Sergiusz

  • Why does my program run fine in highlight execution, but not normally?

    When I highlight execution, the program runs fine, but when I run the program normally, nothing happens. (I believe the program is stuck at the initialize cam vi). If someone could help me out, I'd be very thankful
    Attachments:
    intensity10.vi ‏139 KB

    The first troubleshooting technique I did was to add several "waits" throughout the program, particularily with the loops. I learned the problem was actually with the hardware itself and the camera mode. The camera must take an empty frame before it can store the image, thus the for loop needed to be replaced with a while loop.
    However, after fixing the program using boolean logic, 2 of the buttons disappear on my front panel during use (which I will have to further troubleshoot). Thank you!
    Attachments:
    intensity11.vi ‏158 KB

  • CALCLATED KF SHOWING DIFFERENT VALUES FOR DIFFERENT CURRENCY TYPES

    Hi Experts
    When I am executing the query( On a Multi provider) with the selection of Company code, controlling area, WBS ELEMENT, currency type I am seeing two different values (XXXX EUROS and YYYY EUROS)for a formula for total variable cost when i select two different currency types( CONTROLLING AREA AND GROUP CURRENCY)
    I have two currency types called CONTROLLING AREA CURRENCY and GROUP CURRENCY(BOTH IN EUROS).
    This WBS  element is not having any sales document.How can I see the exact value for this WBS element in the R3 side.
    Is there any possibility that the same dataelement TOTAL VARIABLE COST have different values when i execute with differnt currency types in the selection screen.
    In what approach can i proceed from R3 side  to the query to solve this issue. on the R3 side when i see in FB03 (settlement posting) for this WBS it is balanced. I am seeing only partial posting for this in the Query
    Could any one help me to solve this.
    Thanks in Advance
    Best regards

    Hi Rajesh,
    I guess the holiday which was configured in Holiday calendar (Holi) is not declared as Paid holiday in Public Holidays-Holiday Calendar.
    Goto SCAL - choose Public Holiday - change mode - look for the holiday (Holi) configured - change mode again - lookout for 'Public Holiday Class' and see whether ' 1 ' is maintained there, if not maintained, type 1 there and save it.
    PS (1 - Ordinary Public Holiday....i,e paid holiday).
    Now go to PT01 and generate WSR. This will sort out your issue.
    If the above is not working,
    I guess there are different PSA/ESG grouping for the employees and maybe their Holiday Calendar itself is different. check out whether the PSA and ESG grouping in Time Mgmt is same or different for those employees for whom the paid holiday is not getting generated and also check out the Holiday Calendar for these set of employees and try the above given solution there.
    Hope this helps.
    regards,
    Santhosh
    Edited by: Santhosh on Mar 31, 2009 11:34 AM

  • Highlight execution problem

    Hello
    I have created a small vi for taking measurements form DMM.
    My goal is to stop it when buffer reaches to 100.i.e. Buffer is full.
    I am giving command F1G0B1Q11X to read my data.
    but buffer is never reaching 100. Buffer count sometime increases sometime decreases and program runs continuously.
    It is working fine in Highlight execution mode in labview, when at runtime labview shows us where the program is executing at any instance. Buffer is increasing and program also stops when it reaches 100.
    I am attaching my vi kindly take a view on it and let me know What wrong I am doing.
    Please help me.
    Attachments:
    BufferCount.vi ‏16 KB

    Well, you are constantly reading it, which takes items out of the buffer.  So that just means that you are keeping up with the acquisition.  I most situations, that is a good thing.  If you just want the 100 items, then don't read them.  Just check for the buffer reading 100 and then use a FOR loop to read the 100 samples.  Or you could just use a FOR loop to read the 100 samples in the first place.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Highlight execution options

    I'm working with decimals that require more than 3 significant figures but
    in highlight execution mode, the numbers that show at the nodes do not have
    enough significant figures to help me. Is there any way to make it show numbers
    with more significant figures in highlight execution mode?

    nathan wrote:
    > I'm working with decimals that require more than 3 significant figures but
    > in highlight execution mode, the numbers that show at the nodes do not have
    > enough significant figures to help me. Is there any way to make it show numbers
    > with more significant figures in highlight execution mode?
    Nathan,
    I don't know of a way to control the precision of the values dynamically displayed
    at nodes during execution highlighting, but it sounds as if you might be able to
    get the results you want by using a Custom Probe.
    The default probe created on a floating-point wire appears to be in scientific
    notation with 4 digits of precision. If instead you wanted to see 6 digits of
    precision in the probe value, here's an approach that involves using a Custom
    Probe:
    1. Create a digital control on a panel and set its format and precision to
    scientific notation and 6 digits
    2. Select the control, do Edit >> Edit Control, and then Save the control in the
    User.lib folder
    3. Reset your control palette by switching to another palette set and then back to
    your initial set
    4. Now you can pop up on a wire, select Custom Probe, go into the User Controls
    subpalette, and use
    your extra-precise control as the probe indicator
    Not quite the thing you were after, but perhaps helpful information anyway.
    Regards,
    John Lum
    National Instruments

  • Highlight Execution deviation

    Good day: I am using AO Waveform gen.vi to produce a 40Hz wave, and the vi successfully produces the wave during the highlight execution mode.  When not in the highlight execution mode, however, the output signal is not the desired sine wave, but rather sporadicly decaying traces with variable amplitudes.
    Any help is greatly appreciated, Thanks!

    ok, we've come to the idea that the problem involves the ao wait.vi.  we used the ao config, write, start, wait, and clear in place of the ao waveform gen and find that when ao wait is inside of the while loop that ao config, write,and start are in there is an infinite loop which prevents the rest of the program from running while the buffered waveform runs to completion.  when we move the ao wait to outside of the while loop, the waveform isn't seen at all, but the rest of the functions on the front panel not included within the while loop do run.  additionally, changing the buffer size does impact the length of time that the program is stuck within the infinite loop.
    if this is a problem with the ao wait i'm not sure how to arrange the vi's to acheive a constantly running waveform without causing an infinite loop.
    thanks for any help you may lend

  • Why different values in Illustrator/InDesign/PS when converting Pantone to RGB & CMYK?

    I'm starting off with a pantone color in InDesign and trying to determine a close and consistent approximation of RGB, CMYK, and Hex. When I do this conversion in InDesign, I get different results than if I do it in Photoshop or Illustrator. I have all the apps working at the same color management setting (Adobe RGB (1998) and US Web Coated (SWOP) v2). I'm working old school in CS1.
    Here are my results for Pantone 187C:
    InDesign
    Photoshop
    Illustrator
    RGB
    171 x 0 x 34
    153 x 33 x 55
    167 x 37 x 53
    CMYK
    0 x 100 x 79 x 20
    21 x 100 x 81 x 12
    16 x 100 x 86 x 6
    HEX
    992137
    A72535
    I realize that any conversion from Pantone is an approximation, but why do the different applications yeild different results? I'm fairly new to color management and print (I come from the video world), so any efforts to dumb down explanations are appreciated.

    Photoshop's default is to use Lab values when converting from spot colors. So you need to set InDesign and Illustrator to use the same values.
    In Illustrator, from the Swatches panel menu, choose Spot Color Options. Choose Use Lab Values specified by the book manufacturer.
    In InDesign, from the Swatches panel menu, choose Ink Manager. At the bottom, check Use Standard Lab Values for Spots

  • Why does subVI open when a VI is run without highlighting execution

    When running the VI Proc Recipe Array without highlighting execution the subVI VPTS Proc Cmnd gets a green arrow over its icon and opens. I want to run the main VI without opening any of the subs. Why does that subVI open? All sub are in the attached LIB file and the test file needed is also attached. You should place the input file in the C:\VPTS\Recipe folder.
    Attachments:
    Vacuum_Pump_subVI.llb ‏949 KB
    test_rcp_011402.txt ‏3 KB

    This is because the SubVI VPTS Proc Cmnd has an option "Suspend when called".
    To cancel this
    1.open the subVI,
    2.click with the right mouse button on the subVI icon in the up-right corner of the window,
    3.select "VI properties...",
    4.choose category - Execution
    5.and uncheck the option "Suspend when called".
    Good luck.
    Oleg Chutko

  • Different session values when passing &APP_SESSION. as a parameter

    Hi all,
    I'm using APEX 3.1.1 and having the following issue: I have a JS function in my app, which builds an URL using the parameters provided. Its signature would look something like:
    function xxx(p_app_process, p_param_item, p_session, p_app_id)
    Yes, I'm using this to call an on-demand application process (AJAX magic ;)
    The problem is that when I call it from a page item using &APP_SESSION. for the 3rd parameter, it seems like for some reason JS is receiving a different value (I verified this myself putting an alert and displaying both the parameter value and the &APP_SESSION. substitution string).
    I know you will say, +"then why don't you use &APP_SESSION. instead?"+ but the thing is, my JS code is in a separate file, and for whatever reasons, APEX won't replace that string on that separate file.
    So... any suggestions? Ideas? New approaches?
    Thank you all in advance for your help.
    Regards,
    Aníbal

    Hello,
    In an external file you can use -
    $x('pInstance').valueor
    $v('pInstance')(depending on your version of APEX)
    to reference the value of the current session.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Ok, im new to numbers but i cant work this one out. In column A is an average of hours worked. I have 4 columns. A and B have different values. Column C is an average of hours worked. When column C is less then 8 i need column D to equal column a

    Ok, im new to numbers but i cant work this one out. I have 4 columns. A and B have different values. Column C is an average of hours worked. When column C is less then 8 i need column D to equal column A. When column C is equal or greater then 8 i need column D to equal the sum of A and B.

    Hi Lucas,
    Try this:
    Formula in D2 (and Fill Down) =IF(C2<8, A2,A2+B2)
    The IF function follows the logic of if, then, else.
    IF(this is true, then do this, else do that)
    If it is raining, then stay at home, else hold a picnic .
    Regards,
    Ian.

Maybe you are looking for

  • Salto de Numerção NFe

    Boa Tarde Pessoal, Tivemos no ambiente de produção o problema de pulo de numeração da NFe, gostaria de saber se alguém já utilizou o relatório J_1BNFECHECKNUMBERRANGES com sucesso e se existe solução para gerar uma NFe no SAP R/3 com o numero faltant

  • Swapping between different logical views

    I am designing an applet that has several logical views, such as Login, Registration, Waiting Area, and Game. I am very new to applets and Swing, and I can't figure out how to have each of these designed separately and then swap between them. Ideally

  • Can't read (or input) Devanagari (Hindi, Sanskrit etc.) fonts - only 1 char

    For a while now I've had this problem, but as I'm studying Hindi I need to solve it now. In Safari, or Mail or Pages or any Carbon application instead of showing different characters I just see the same one: द I can't even be sure you'll see the same

  • Is there a means to get an item count within folders in Yosemite?

    Is there a means to get an item count within folders in Yosemite?

  • Help Extending Range for Itunes music

    My goal is to get my itunes music from my computer out to my backyard which is over 125 feet away though a few walls. This is what I have: Verizon FiOS, a Time Capsule, newer Airport Express with 802n an an older Airport Express. I've been trying to