Different answer to 'Run' and 'step by step'?

Hello!

I'm working on a mini project to control a monochromater (model: Acton SP 2150i) and a photon-detecting.

In my program, the first step is to get the initial condition of the monochromater, including current wavelength, cailleboti No. and the scanning speed. Please see step.bmp to summary the block diagram.

What confuses me, is that when I "Single step" program, it comes out good value to me (see the step.bmp and stepfromt.bmp: current wavelength: 299.995nm, scan rate: 15 Nm / s, decking No.: #1), while I "run" the same program directly, it's weird responses (run.bmp shows: scan nm.) Speed: 0.016666/s, current nm wavelength: 0, decking No.: #1).

Could someone give me some advice? I'm a newcomer to LabVIEW, and this problem exists for the weeks...

Thank you!!

TriStones,

The fact that it works when you single step is an indicator of a synchronization problem.  You write the command to the instrument and then immeadiately check how much bytes is in the memory buffer of RRs.  Normally, I would suggest some delay between reading and writing VISA VISA to allow the complete response of the instrument to be received by the COM port.  In this case, there is a better way to fix your code.  Your instrument uses a termination character when it passes and you must configure your COM port accordingly.  Reading VISA will continue to read the buffer until either the termination character is received or a timeout occurs.  I suggest always configure the COM port in your code LV.  Do not rely on the computer or MAX settings.  A person can change something and interrupt your program.

Extract attached should solve your problem.  Suggest you do some reading on NI-VISA and how to work the characters of endpoint.

Tags: NI Hardware

Similar Questions

  • Try to get updates of vista to run and move 3 steps for each stage.

    I have vista home edition and install never updates.  I worked through the procedures step by step and everytime I try a procedure, it fails.  So I have to step by another procedure to correct this procedure and of course, it fails too, so I have to scroll another procedure to fix the second procedure failed... etc... etc... so I did back off so much, I know not what was up or down more.  (Anyway, I spend more time trying to get this computer/operating system to work than to actually produce something with her.)

    I used the .net framework cleanup utiility according to the instructions of error code 643.  who supposedly worked, so I continued with the instructions to reload the .net framework 3.5 sp1, which was to be followed by a .net framework1.1 which was to be followed by .net framework 1.1 sp1.

    The problem is that the reinstallation of .net framework 3.5 sp1 was interrupted because of yet another error.  The instructions don't tell me what to do in this case...

    can someone tell me what I can do to solve the problem?  (other than the obvious answer of 'get' a mac)

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hi Squirrelgod,

    I suggest you uninstall all the facilities of the .NET Framework from your computer by using the .NET Framework cleanup utility again , and then reinstall all versions one by one.

    Follow the link below to download the clean utility and all versions of the .NET framework.

    When you try to install an update for .NET Framework 1.0, 1.1, 2.0, 3.0 or 3.5, you may receive Windows Update '0 x 643' error code or error code Windows install "1603".

    http://support.Microsoft.com/kb/923100

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • When I'm on a Youtube video that is running and I want to move to a different tab, Ctrl + < number of tab > doesn't work, is this intended functionality?

    When I'm on a Youtube video that is running and I want to move to a different tab, Ctrl + < number of tab > doesn't work, is this intended functionality?

    This can happen when the video player (Flash plugin) has focus.
    In this case the plugin consumes all key presses.
    You will need to click with the mouse on the page or in the UI to work keyboard shortcuts.

  • hr_assignment_api.update_emp_asg_criteria - contact your system administrator citing the procedure and step 40.

    Hi all

    I looked online and found this question popping up but without a clear solution.

    I have reduced API hr_assignment_api.update_emp_asg_criteria to a minimum and still can't seem to update my existing assignment. I use all the current values on the assignment so I know that all values are valid and configuration. Also, I checked and my people flexfield group is enabled and allowing the dynamic insertion. I also ran:

    INSERT INTO fnd_sessions (session_id, effective_date)

    Select ('sessionid'), SYSDATE USERENV

    of the double

    If USERENV('sessionid') not in (select SESSION_ID from fnd_sessions);

    Any help would be greatly appreciated!

    I get the error:

    Error report-

    ORA-20001: System error: procedure in step 40

    Cause: The procedure created a mistake in step 40.

    Action: Contact your system administrator citing the procedure and step 40.

    ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 17385

    ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 15701

    ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 15486

    ORA-06512: at line 26 level

    And here is my code:

    DECLARE

    ln_special_ceiling_step_id PER_ALL_ASSIGNMENTS_F.SPECIAL_CEILING_STEP_ID%TYPE;

    lc_group_name VARCHAR2 (30);

    ld_effective_start_date PER_ALL_ASSIGNMENTS_F.EFFECTIVE_START_DATE%TYPE;

    ld_effective_end_date PER_ALL_ASSIGNMENTS_F.EFFECTIVE_END_DATE%TYPE;

    lb_org_now_no_manager_warning BOOLEAN;

    lb_other_manager_warning BOOLEAN;

    lb_spp_delete_warning BOOLEAN;

    lc_entries_changed_warning VARCHAR2 (30);

    lb_tax_district_changed_warn BOOLEAN;

    -Select * from per_all_assignments_f where assignment_id = 18525;

    ln_ORGANIZATION_ID PER_ALL_POSITIONS.ORGANIZATION_ID%TYPE: = 612;

    ln_LOCATION_ID PER_ALL_POSITIONS. LOCATION_ID % TYPE: = 161;

    ln_job_id PER_ALL_POSITIONS. JOB_ID % TYPE: = 76;

    ln_grade_id HR_ALL_POSITIONS_F.entry_grade_id%TYPE: = 84;

    ln_assignment_id PER_ALL_ASSIGNMENTS_F.ASSIGNMENT_ID%TYPE: = 18525;

    ln_person_id NUMBER: = 23729;

    ln_object_number NUMBER: = 5;

    ln_people_group_id NUMBER: = 2410;

    BEGIN

    () hr_assignment_api.update_emp_asg_criteria

    p_effective_date = > trunc (sysdate),.

    p_datetrack_update_mode = > "CORRECTION."

    p_assignment_id = > ln_assignment_id,

    p_location_id = > ln_LOCATION_ID,

    p_grade_id = > ln_grade_id,

    p_job_id = > ln_JOB_ID,

    p_organization_id = > ln_ORGANIZATION_ID,

    p_people_group_id = > ln_people_group_id,

    p_object_version_number = > ln_object_number,

    p_special_ceiling_step_id = > ln_special_ceiling_step_id,

    p_group_name = > lc_group_name,

    p_effective_start_date = > ld_effective_start_date,

    p_effective_end_date = > ld_effective_end_date,

    p_org_now_no_manager_warning = > lb_org_now_no_manager_warning,

    p_other_manager_warning = > lb_other_manager_warning,

    p_spp_delete_warning = > lb_spp_delete_warning,

    p_entries_changed_warning = > lc_entries_changed_warning,

    p_tax_district_changed_warning = > lb_tax_district_changed_warn

    );

    END;

    It turns out that all of my trouble was because of NLS parameters in SQL Developer. Tools > settings > database > NLS. Now, I chose to ignore the settings NLS and things work much better.

  • Upgrade now display is different, restore the missing and the system functions was useless...

    So my computer was installing auto updates and I accidentally closed. Next time on all the icons were huge and overall display of "old." Other random changes: sleep and Hibernate are currently not available for me, when I closed the Explorer but windows open and put the mouse on the icon Explorer shows me written page name whereas before he showed me a small version of the actual page... Really sucks and help would be appreciated...

    johnleer,
    According the description, it sounds as if your display driver may have been corrupted and has returned to a default value.  I suggest you make sure you have the latest display driver on the site of hardware manufacturers.

    If you encounter any problems with Windows Update, please post with the information requested here: what to post in the Windows Update forum
    Start with the troubleshooting steps and post returns with the requested info and arises from the troubleshooting.

    Clean boot your PC, and then run Windows Update.

    Reset the Windows Update components

    Perform operations of KB883825

    Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Dw20.exe is running and take 50% of the time CPU

    Dw20.exe is running and takes 50% of the time CPU when no other program (user) is running on my computer vista laptop.  Is this normal?  I wonder if it's one of the reasons why my computer was slow.

    Hi ykxx,

    Welcome to the Microsoft Answers site!

    First of all, you can try to access the link, the link below and try to disable the Application Error Reporting tool

    Description of the Windows error reporting tool (Dw20.exe)

    http://support.Microsoft.com/kb/841477

    Method 2: you can try to create a new user account and check if you can solve the problem.

    To create a new user profile, follow the steps:

    1. open user accounts by clicking the Start button, click Control Panel, click user accounts and family safety (or by clicking on user accounts, if you are connected to a network domain), and then clicking user accounts.

    2. click on Manage another account.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. click on create a new account.

    4 type the name that you want to assign to the user account, click an account type, and then click create an account.

    If you are able to resolve the problem and then copy files to the new user account

    For more information, you can consult the following link to resolve the damaged user account:

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    Method 3: you can also check the following link and run a security scan online on your computer to remove the infections of viruses on the system.

    http://OneCare.live.com/site/en-us/default.htm

    Hope this information is useful.

    Jeremy K

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Says Vista system AG Searchhook class is running and the original internet is slow

    my computer says I have class searchhook ag running and slowing down my internet what? and how can I get rid of it please any help.

    * original title - this IS THAT AG SEARCHHOOK CLASS *.

    Hello

    I suggest you follow the steps from the link below and see if it helps.

    http://answers.Microsoft.com/en-us/IE/Forum/IE8-windows_other/AGSearchHook-class-is-running-in-Internet-Explorer/62326ece-1dfa-4B8F-B7F9-b3bb679e607c

    Concerning

  • How to solve this error change Assistant? -all agents must be running and sending impulses for applications...

    I have a problem with the wizard to change and could not find a solution for it.

    When I go and you try to view the environment it is said that "all agents are running and sending impulses... before the beginning of change Assistant".

    Here are the steps I followed:

    -Configuration of the Agent EM: hubURL = http:// < localhost >: 80/PSEMHUB/hub agentport = 5283

    -Configuration of the Hub EM: hubURL = http:// < localhost >: 80/PSEMHUB/hub agentport = 5283

    -Bring the PIA first without any problems.

    -Bring EM Agent and get this error:

    Main EMF_CATEGORY of error - error reading cookies.xml cookiesrules.xml

    but he sends impulses anyway.

    -Configuration of the load change Wizard and ping to the host. OK, but the button results display gives this error "all agents must be running and sending impulses... before the beginning of change Assistant".

    Someone knows how to fix this?

    Thank you

    I had this happen a few times.  I work around this problem, but don't remember how (probably to do the cleaning agent and hub or maybe it was CA).  I think that once, I didn't have the time to screw with it, so I worked around it by pointing to a different HUB that already existed.

  • stops current runs and deletes all system restore points

    System Restore stops during the run and removes all previous points. tried to open and close and tried to manually set points. "He fixed but delete again on the next race event viewer alert gives says ' 0xC0000243 ' treatment ' mpengine.dll. hrddisk volume 2'. error unexpected '%2' of file '%3' volume ' %4%. I checked a lot of hard disk space. John

    I am answering my own question in case someone can help and can also help others with the same problem. It did not work (see above), so I removed the superspyware and restoring worked for a week then reloaded superspyware. Then work 4 days / nine/years/day when restoring the system began he arrested and removed all the previous restore points. File problem same reason given under the terms of the mistake of sr service, then stopped. It's a different file every time!  I have now removed superspyware again and will run for a month. Maybe I should give up on superspyware but it deletes items of adware that is not microsoft. I would like to just patch up restoration, but all I can do is to reload xp new total which is a terrible bore place dating any comment please help! John s.

  • After upgrading Office 2003 to Office 2010, when rebooting, open a window of choce of windows update, if you select do not do updates, wauclt.exe runs and the pigs, cold start pc is required

    After upgrading Office 2003 to Office 2010, when rebooting, open a window of choce of windows update, if you select do not do updates, wauclt.exe runs and the pigs, cold start pc is required to restart or allow time (about an hour) for wuauclt stop execution and free PC - our aim here is to bundle 2010 via ZEN na enter the beam perfectly - this popup must be eliminated

    Hi Pops1148,

    ·         Is the question not confined with updated Microsoft Office?

    Follow the suggestions below for a possible solution:

    Method 1: You can follow the steps in the article in the Microsoft Knowledge Base and check if it works.

     

    Troubleshooting Windows Update or Microsoft Update when you are repeatedly offered an update

    http://support.Microsoft.com/kb/910339

    Method 2: Try the SFC (System File Checker) scan on the computer.

    To run the System File Checker tool, follow these steps:

    a. click Startand type cmd in the box start the search .

    b. right click on cmd in the list programs, and then click run as administrator.

    c. If you are prompted for an administrator password or a confirmation, type your password or click on continue

    d. at the command prompt, the following line and press ENTER:

    sfc/scannow

    Reference:

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    http://support.Microsoft.com/kb/310747

     

    File system (CFS) Checker

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/system_file_checker.mspx?mfr=true

    Method 3: I also suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

     

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

     

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: While hard disk analysis if bad sectors are found when scanning try to repair this area, all available on which data can be lost.

    Let us know if that helps.

  • Svchost.exe is free running and leaves multiple windows open all gel. Re-loaded windows XP after a crash with original rescue records.

    Original title: Windows XP - free race - is lost.

    Just re - load windows XP after a crash with original rescue discs, svchost.exe is free running and leaves several Windows Open gel, all on and offline. Any ideas? I ran ms-fixit beta for all listed. I also disabled Norton and now use Windows Defender, still no luck.

    Hi MarkBerri,

    ·         How long have you been faced with this problem?

    ·         Did you do changes on the computer before the show?

    Svchost.exe is a process name generic host for services that run from dynamic link (dll) libraries. The Svchost.exe file is located in the folder C:\Windows\System32. At startup, Svchost.exe checks the registry services part in order to build a list of services that it needs to load. Multiple instances of Svchost.exe can run at the same time. Each Svchost.exe session can contain a grouping of services. Therefore, separate services can run, depending on how and where Svchost.exe is started. This grouping of services enabling better control and easier debugging.

    Svchost.exe groups are identified in the following registry key:

    HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Svchost

    You can run the auditor of system files on the computer.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    http://support.Microsoft.com/kb/310747

    Note: if it asks you the service pack CD, follow these steps from the link: you are prompted to insert a Windows XP SP2 CD when you try to run the tool on a Windows XP SP2 computer system File Checker:

    http://support.Microsoft.com/kb/900910 (valid for Service pack 3)

    Hope this information helps.

  • Double-sided printing. The different margins top, front and back

    I'm tying to print the aWord 2013 document on A4 sheet, double-sided, on my envy of 7640, now my Windows 10 pc.

    I played with different sizes of margin and sometimes the text at the top of the page is missing or text starts at least 30 mm from the top of the cover page. Still back starts about 7-8mm from the top of the printed page.

    I can't say with certainty that it is since the free update of Windows 10, but he printed double-sided OK in the past.

    I have not modified parameters, only diversity of margin sizes when creating documents.

    Hi @crag67,

    I understand that when you print from 2013 of Word by using the duplex function, the margins on the front of the page and the back of the page are different. This happens when you print from other programs or just the word? If it occurs with other programs, it could be the driver, but if it occurs only when you print from Word, Word or a framework within the program, in which case I suggest reaching out to Microsoft or the Microsoft community.

    If this problem occurs when you print from several programs, we will remove the driver and re - add new.

    I suggest to use the following steps to remove the printer from the device and printers and the driver from the properties of the server.

     
  • SE error message: "nvlddmkm.sys not answer but recovered" and cannot access Starcraft II or LOTRO

    Original title: nvlddmkm.sys does not

    Just started having this couple weeks message. Killed or damaged at least one of my 9800 GT cards (SLI), which have been replaced under warranty. Who sets the part of the question of the display, but still cannot access to Starcraft II or LOTRO - connect and just get a black screen (have sound, no picture). Then the message "nvlddmkm.sys not answer but recovered" then nothing and having to use task Mgr to close the program. Here's the suspect: update the video driver (uninstalled old, clean install) which again helped a little but the screen remains black when entering the games. While they inspected the files, the file Nvidia\Displaydriver shows the new driver as the device Mgr when I check that. BUT then when I check the directory ofC:\windows\system32\drivers there is still an OLD version of nvlddmkm.sys. I'm sure that it is the culprit, but it won't let me delete it or rename it who were other corrections that I read about. I know that this is an endemic problem with Windows and has been for awhile now. ANY suggestions?

    Hi malomar,.

    1. This only happens when you play Starcraft II and LOTRO?

    You can try to uninstall and reinstall all the programs and features Nvidia drivers and Device Manager.

    Step 1:

    Uninstall the audio drivers from programs and features

    a. click on start

    b. type appwiz.cpl in the start search

    c. search for all driver packages, Nvidia, right click and uninstall.

    Step 2:

    Uninstall the drivers from Device Manager.

    a. click on start

    b. type devmgmt.msc in search, and then press enter

    c. in find Manager device for the device, right-click on it and select the option uninstall.

    After you remove the drivers of these two places, you can try to remove the NVIDIA folder and restart to see if that solves the problem after I installed the generic drivers.

    Step 3:

    To delete the folder:

    one. Click on start and Type C:\windows\system32\drivers folder in start search

    b. click on drivers and select nvlddmkm.sys

    c. right click and rename nvlddmkm.sys in nvlddmkm.sys.old. or delete.

    d. restart the computer and check.

    You can also check the manufacturer's website and download the latest drivers from Nvidia:

    http://www.nvidia.com/download/index.aspx?lang=en-us

    Also check the Nvidia support link:

    http://forums.nvidia.com/index.php?showtopic=45605

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I see a different type of shortcuts and desktop.in satellite A100 - 784 PSAANE

    Hi people,

    I have the Satellite A100-784 PSAANE series... with windows Visa basic home edition...
    For the last 10 days or so I don't know, but I see a different type of shortcuts and the desktop.ini files all over the PC!

    I don't understant that...
    There was some new files in existence to which I do not have access! Some shortcuts came over some of my hidden files are out!

    I mean they are seen hidden at all and as recycler or something!
    I don't know what happened... I find the file desktop.ini anywhere...

    Please if anyone knows what happened please answer...

    Thank you very much..

    I hope that my laptop is not crazy!
    Kind regards
    Perkins

    Don t be angry with me, but who needs to know what you did on your laptop?

    Maybe you have something has changed accidentally or installed any 3rd party applications that could have a bad influence on the settings of Vista (Yes, that is possible) or you get any Virus or malware.

    You may be able to see the hidden files and system, because this option has been activated.
    So, try to activate the hide option in the folder options.

    Or you'll flip the BONE to the beginning!

  • Correct answers for drag and drop dialog box

    I'm trying to get a better handle on the different options for drag and drop interactions.

    The right answers dialog box is used only for the edition of the correct answers after a drag and drop interaction has already been created?

    What does the column 'Number' and what is its purpose?

    Hi jay,.

    With the correct answers dialog box, you can get the following,

    1. can I change the answers correct configured.

    2. can define several correct answers to the same question.

    3. can we do good response as a 'combination', or a sequence

    The "count" column allows you to set the correct answer in the following scenario.

    Suppose you have a bunch of oranges (Say 12) while sources drag on and a fruit basket is in the form of the target, and the question is to drag and drop five oranges in the fruit basket; Then, you can configure a drag and drop interaction as follows,

    1. Select all the oranges, mark them as source and add them to the custom type orange

    2. mark "Basket of fruit" as target.

    3. create a correct answer between the oranges and the basket link.

    Now when you open the correct answers dialog box, it shows the correct answer as follows.

    Orange > basketball > 12 fruits.

    You can change the number of 5, the question being 'Drag and Drop five oranges' at the fruit basket.

    I hope this helps.

    Thank you

    VERALINE Sukumaran.

Maybe you are looking for