Loading and running scripts consecutive in LabVIEW

Hello

I would like to start by saying that I am very new to LabVIEW so I apologize for questions that should seem obvious. In addition, when you answer please don't forget I am unfamiliar as I want to be with LabVIEW in general. I recently had a problem on my desktop to add features to a VI preexiting, quite complex. The solution seems to be in scripts. However, a script more 55 loading lines gives an error (is this normal? Is there a way around it?). The problem is fairly easy to break into small pieces, so that the script has been divided into several smaller parts which offer the same functions when run consecutively. After each script execution, the system will take time to process (up to 300 ms, IIRC) and assert a bit ready when you are finished. Using this ready signal as a trigger, I want to run the following script.

Scripts are read correctly in the program using "niHSDIO Script.vi of Scripture" and can be selected by hardcode the name of the 'script' in 'Configure Script niHSDIO to Generate.vi'. It will run all the scripts successfully of when hardcoded, but trying to call the following script (script names stored in a table and incremented with a while loop) an error is given:

Error - 1074118651 occurred at niHSDIO Write
Script.vi

Possible reason(s):
Driver Status: (Hex 0xBFFA4005) You cannot perform this
action while the session is in the running state.

At this point, I read quite a bit online and in the documentation to trying to find a way to suspend, interrupt, etc. the State to allow another script load, but I have not been able to understand.

On the other hand, if there is a way to load a script of arbitrary length, I think that can solve my problem as well. Please let me know what additional information may be required to help solve this, I am sure that I left out all the good bits.

Thank you in advance,

Landon

Edited for clarity.

Oops... Here is the link to the white paper:

http://www.NI.com/white-paper/7283/en/

See you soon,.

Tags: NI Software

Similar Questions

  • at the start of geta pop up = document Manager service could not be started, check the filter of the vault is loaded and run

    starting to get a pop up = document Manager service could not be started, check the filter of the vault is loaded and run

    Hello

    ·        Since when are you facing this problem?

    ·        Remember to make changes to the system?

    Method 1:

    I suggest you uninstall and reinstall download System Manager and check if the problem is resolved. See the article mentioned below.

    How to change or remove a program in Windows XP

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

    Thanks and regards.

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

  • Internet and the performance of Windows 7 on computor are loading and running slow

    Original title: super fofana
    my computer and the internet is loading and running slow

    Hi Charlesdurbin,

    Thanks for posting in the Microsoft Community.

    If I understand correctly you have a performance issue with your computer and the Internet.

    He would be grateful if you can answer these questions to help you further.

    1. have you made changes on the computer before this problem?
    2. what version of Internet Explorer you are using, if you are using Internet Explorer?
    3. is it limited while accessing a particular application?

    I would suggest trying the following methods and check if it helps.


    Method 1:

    Optimize Windows 7 for better performance: http://windows.microsoft.com/en-us/windows7/Optimize-Windows-7-for-better-performance

    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, the data files that are infected can be cleaned by removing the file completely, which means that there is a risk of data loss.

    Method 2:

    I suggest you perform a clean boot and check if it helps.

    Clean boot will check if any third-party application is causing the problem, as the clean boot helps eliminate software conflicts.

    How to solve problems using the clean boot in Windows 7: http://support.microsoft.com/kb/929135
    Note: Once the diagnosis has been made, make sure that you try to step 7 of the article to reset the computer as usual

    Method 3:

    The resolution of performance problems of Internet explore and see if that solves the problem: http://windows.microsoft.com/en-US/windows7/Open-the-Internet-Explorer-Performance-troubleshooter


    Method 4:

    Optimization of Internet Explorer and check to see if it can help

    How to optimize Internet Explorer? : http://support.microsoft.com/kb/936213

    Note: Please note that reset the settings of Internet Explorer running resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also, this will delete browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords

    Reference:

    Improve performance and security in Internet Explorer: http://support.microsoft.com/mats/ie_performance_and_safety/

    Thanks for posting the results and let us know if you need help to solve the problem and we will be happy to help you.

  • Windows 7 is very slow to load and run programs

    When I load Windows 7 it takes 3-5 minutes until the desktop. It then takes another 2 1/2-4 minutes for the icons to load and other programs to be active. Also, when you access my IP (AOL) it takes more than three minutes to load the program and to establish a connection (via ADSL). Never, it took a long time with XP or Vista. Is - this common with Windows 7?

    If you start in Mode safe mode it loads a lot faster?

    Vista advanced boot options
    http://Techblissonline.com/Vista-advanced-boot-options/

    If it loads a lot faster then see if you can further isolate the problem through these articles.

    310560 How to troubleshoot by using the Msconfig utility in Windows XP
    http://support.Microsoft.com/kb/310560

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/default.aspx/KB/929135

    Discover control Panel\All Control Panel Items\Performance information and Tools\Advanced tools, see if it mentions nothing under "performance issues".  Look around the rest of the subjects while you're there, there are a lot of 'goodies' in there.

    Have you checked your machine for malware?

    I see a lot of recommendations here for programs such as -

    Malwarebytes' Anti-Malware
    http://www.Malwarebytes.org/MBAM.php

    SuperAntispyware
    http://SUPERAntiSpyware.com/

  • The Stimulus of the Table load and run in the stream or target RT via Ethernet?

    I need to re-read a CAN track with the high fidelity and sequencing of rapid fire. The PC operating system is in the way too much to be able to control this tight of the moment. It must be managed within the target in real time.

    Do the stimulus of the table the stimulus replay load data to the RT, and then run the target of RT, or don't work space running on the PC the data flow to the RT for execution? Streaming would be subject to delays of PC operating system and network transport times.

    Thanks in advance for your help.

    Table of stimulus data gets loaded completely in memory on the target of RT and are replayed from there. PC or network delays has no effect on reading as soon as it starts.

  • How to down load and use OpenStreetMap offline with LabVIEW 2013

    Dear all

    How can I download the OpenStreetMap database and API for LabVIEW call this map offline database!

    Thank you

    Luong.Tran

    Thank you!

  • application in the start menu can load and run in windows developer preview

    I use windows 8 developer preview and when I click on an icon to start metro application app does not work, the app has only load logo welcome

    Hello

    I suggest you according to the question in this forum and check if that helps:

    http://social.msdn.Microsoft.com/forums/en-us/windowsdeveloperpreviewgeneral/threads

    It will be useful.

  • McKey external hard drive recognized a hard drive in vista, software cd will not load and run, it goes to my computer and can be open, but not installed.

    This windows vista 32 bit has recently had a complete recovery, and now I want to add my old documents, photos and music to the recovered system. The Maxtor safty drill CD must be installed, but the software is recognized by AutoPlay as images to open or add files. AutoPlay is set to run or install the software. Why is this?

    I plug the USB external hard drive and the the only way to know its plugged in is by going to my computer, and then make sure he displayed as a drive hard C: and D:. How can I fix it?

    This computer is still the updates, but this should not be here.

    I would like to have all the answers.

    http://social.answers.Microsoft.com/forums/en-us/vistarepair/threads

    "Restore the previous settings, repair installations, recover data."

    Repost in the Vista repair and recovery Forum above.

    See you soon.

    Mick Murphy - Microsoft partner

  • Since installing Windows 10, Thunderbird very slow load and run. Is there any solution for this? RESOLVED itself. cause: unknown

    It is not the only slow feature on this PC since installation W10. Internet Explorer is also very slow to load.

    Start * Windows * safe mode with active network
    -win10 http://windows.microsoft.com/en-us/windows-10/change-startup-settings-in-windows-10
    Always in Windows safe mode, start thunderbird in safe mode
    - http://support.mozillamessaging.com/en-US/kb/safe-mode

    Problem disappear?
    Just reply to inform us of the results.

  • El Capitan loaded and running, but does not restart after it turns off

    I just downloaded El Capitan and installed on my iMac which was under Snow Leopard 10.6.8. There are 12 GB ram, and this is a 2009 end clocked at 3.06 Ghz version. The installation went well and it ran OK, everything seemed normal.  The problem came when I close shot tried to start again.  The Apple logo appears, and the progress bar goes about 2/3 of the way and hangs up.  I tried to reboot several times with the same results.

    Try to start safe mode and then restart try safe mode if your Mac does not end commissioning - Apple supportnormally

  • I have XP Professional on my Dell. It appears to load and run the SYSTEM RESTORE, but does not restore to a different date. How can I fix it?

    I have Windows XP Professional on my Dell E-310. I got a VIRUS episode 2 weeks ago
    and NOW my PC will NOT be reset to a previous RESTORE POINT using System Restore.
    Any Suggestions?

    Spybot SD resident and professional SAS are not enough.

    If you have been affected by malicious software, the best way to get help is by identifying. Bleeping Computer has created guides large removal on their site, for Trojan horses, etc. (I hope so, Debbie C think not I just spammed forum, which goes against the "Code of conduct").

    Once you get all set (and may require a clean install), you must make sure that you have all the latest Micorosft XP patches security installed. In addition, a quality anti-virus program like Microsoft Security Essentials or Avira AntiVir (both free) are essential (hope that is not considered spam, either).

  • Start and run the OS from USB Thumb Stick

    Probably seems like a silly question, but we plan to compare the performance of the disks of a set entirely filled with disks (6-3.5) PE2950 with HD Tune. In order to make writing tests, to test disks must be empty which limits the ability to test. The only way to make it work is by using one of the disk for the operating system and the other for all of the r10, which leaves two equation, one for the os and an empty disc and severely restricted the raid10 anyway. I was hoping it might be possible to load windows 2003 on a USB thumb. I am not concerned about the actual performance of the OS, just the ability to load and run the OS tools. Similarly, we can start the server of SAN right now as I have no space free lun I can attribute to this effect.

    Thank you


  • Run script .jsx and/or the Actions button in HTML extension?

    Hi all

    I'm quite a novice at things .js, .jsx, and HTML.  I use scripts of JSX one former co-worker created and Photoshop actions for many years.  I looked through and have managed to modify the JSX scripts with a few minor changes, but that's all.  Using the Configurator, I created a custom for use in CS6 Panel.  We are moving finally CC2015 team and I'm the only person in our team who has experience and/or desire to convert compatible with CC 2015 Configurator easily created CS6 bench.  I got all of the HTML developed, interface extension runs within Photoshop and I have the buttons either launch an alert or by creating a new document in Photoshop.  The function of coding was all found code.  Now I need to figure out how to make these buttons work our various actions and some to run our scripts JSX.


    Configurator makes it is easy to select a button and tell it to perform an action or launch an external script file.  Is there an easy way to do this now using actions and JSX files that we have already created?

    And just a reminder, I'm a NEWB, so take it easy on me... if possible. In addition, it is only a sign used internally so I need power to market/sell it.  This is specific to our company of workflow and needs.

    Thank you!

    SMM

    for stocks, you can use this command

    ---

    Application.doAction (action: string, to: string)

    Object Adobe Photoshop CC 2015 library

    Playing the action specified in the Actions palette.

    Action: Data Type: string

    The name of the action to play. (Note that the action name is case-sensitive and must match the name in the Actions palette).

    of: Data Type: string

    The name of the action set that contains the action being played. (Note that the defined action name is case-sensitive and must match the name in the Actions palette).

    ---

    Make sure they are loaded in photoshop

    Another way is to convert action scripts (I see people often using this tool http://www.tonton-pixel.com/blog/scripts/utility-scripts/convert-actions-file/)

    and run the scripts, you put them on the .jsx file, where they will be evaluated, if you used standard mat and then call them by the name of the function

    I suggest you check out the samples, if you still have questions

  • Can we load and unload the files in the run time?

    Can we load and unload the files in the run time?

    For example, there are four files named 'test1.h & test1.c' and another series 'test2.h & test2.c' (I have attached as an attachment to this post).

    test1.h contains the code:

    int variable; variable declared as integer

    test1.c contains the code:

    variable = 1; variable a value assigned

    test1.h contains the code:

    char * variable. variable declared as string

    test1.c contains the code:

    variable = "EXAMPLE"; a string that is assigned to variable

    So here, in this case can I dynamically load / unload first & second group files so that the same variable "variable" name can be used as an integer and string? And if so, how to do?

    Hi pa1majeti,

    You cannot simply consider that some code is loaded into memory or not: all code in a compiled application is permanently in memory unless you divide your application into DLLs that you dynamically load if necessary and remove if is no longer necessary.

    But as I understand from your description, you're better given the amount of memory occupied by the data (i.e. the contents of the variables) rather than the code. If this is the case, your only option is to allocate memory for variables dynamically and free it after it has been used. Now, even if this option is useful if you are using large networks of data, there is little or no effect on the unique variables.

    A final Council, given the huge memory installed on modern computers, are you sure you really need that extra work? I mean, the dynamic allocation of memory involves some additional precautions in programming: check the errors on each function malloc or calloc, check that the pointer is valid before each use, freeing pointers before reassignment in order to avoid memory leaks and so forth, so a balance must always be sought between the memory and the difficulty in programming.

  • There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    Hi, I m a bit new in LabVIEW and I'd like to ask a few questions...

    -There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    -One API PI or raspberry beaglebone exists for LabVIEW?

    -Power supply Wich can recommend you control with LabVIEW? (some chip solution witn 0 - 30v / 0 - 3A DC)

    Thank you very much for your advice!

    Best regards

    Elena

    Elena,

    I know raspberry, so no comment on that.

    For the rest:

    -Do you want to create tools for developers? If so, we must look in the API of project VI and VI server. If this isn't the case, please compile your application LV as executable and call this one using a batch file.

    -LV prefer specific supplies. LV is a programming language. There are several power supply providers (including OR) which provide directly the LV API for their power supplies. So, essentially, the approach is:

    1. choose food that serves your needs.

    2. check if the power supply has a standard interface for programming (such as Ethernet, GPIB, or if the power supply is PXI, is already providing a programming interface!)

    3. check if the LV API (so-called "instrument driver") is available for the device. In the case of a PXI system, get you a device driver (for example NI DCPower).

    4. check if the LV samples are available (for example in the Finder for example LV once you have installed the driver).

    Norbert

Maybe you are looking for

  • Satellite A110: Graphics card is only 64MB after update 1.70 traditional Bios

    Hello!! I have toshiba satellite A110. I updated my bios to version 1.70, but now my video card is only 64 MB. What I can do for my back video card 128 MB or where can I find the update of the traditional bios to this bios version. Thank you

  • Combat wings of Britain mouse battle in the process of disappearance

    Recently I bought battlefield combat wings from England and there is no visual of the mouse pointer, and I don't know why, it happened also with medieval total war gold edition, can someone give me advice and help me. Thank you, hitch25

  • How to reset a BIOS password?

    Hello I need help here, I tried to remember the password I used for my admin BIOS and I don't remember any. I tried a couple times by guessing and I can't get any success. Here's what the system tells me: 'Disabled system [76222413]' I would be recog

  • screen appearance is at a right angle

    Can someone tell me how to get the screen back to normal appearance, it is 0900 instead of 1200.  Thank you!!

  • A2109A: No debugging with 4,1,1

    Since I've updated to 4.1.1 JB with my A2109A, the entire development part is gray. I can't turn on USB debugging, I need to write a udev for my ubuntu-box rule with "udevadm monitor - environment - udev. Is there another way to find the ID, when deb