Is there a lab view interrupt vi structure?

Hello fellow coders,
I have a little program that reads some process transmitters and controls valves through modbus. 
When I added code to save this data to a spreadsheet, the control valves stopped working on continous run and only work once I stop and start the program.
The code is in a disabled box in the vi
Solved!
Go to Solution.
Attachments:
FPI_VISC_CNTRL.vi ‏44 KB

Data flow.  Your outter loop can't iterate until everything inside of it is complete.  This includes the loop you have to do the logging.  And that loop isn't even needed.  Just remove the loop that is around the logging (keep the logging code though).
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Is there any lab view driver for HP6624A ?

    I would like to know that is there any lab view driver for HP6624A.

    Please place this question in the Instrument Control board, as you will get an answer more quickly there. This board is targeted to questions regarding the MH DDK for NI data acquisition plug-in boards.
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • I would like to know that is there any lab view driver for HP6624A.

    Hi
    I would like to know that is there any lab view driver for HP6624A.
    Regards
    Deepaa

    Yes, here they are :
    http://sine.ni.com/apps/we/niid_web_display.drv_results?p_app_area=&p_man=&p_keywords=6624&p_inst_type=&p_env=&p_drv_type=&p_int=
    If in the future you need drivers that are not available then you can request them.
    Kind Regards
    Steven Bird
    Applications Engineer
    National Instruments

  • Hide/unhide radio buttons works in lab view, not in executable

    Hello,
    I simplified a program I am using. When I run in lab view the radio buttons are visible or not (as programmed). But when I create an executable, this function is not working any more?
    Do I need to make changes in the build settings?
    best regards,
    Rens van Geffen
    I attached the maintest.vi (lab view program) and the executable as well in a zipped folder.
    Attachments:
    My Application2.zip ‏742 KB

    I think it is a bug and reported it in the monthly bug thread.
    RvG wrote:
    Yes i know it is a dirty vi. But I only made it because I had a problem in a complicated vi, with lots of sub vi's etc. in that vi I have all wait functions etc.
    I did not care about any wait function. I was just objecting about the overuse of value property nodes and that exceedingly complicated inner while loop construct that really does not do that much.
    For example, your upper case structure contains writing to two value properties that exist in all cases, while the actual terminal just sits there outside the loop. The cases only need to contain what's different. Shared code elements belong outside the case! Instead of writing to value properties (which is synchronous and resource intensive), you can just write to the indicator terminal instead. Right?
    In parallel to writing to the "group", you also read from another value property instance of the same. Since this happens in parallel to the case structure, you will read a stale value, and not what has been generated by the case structure during the same interation.
    My code modification shows some of the simplications that can be done. Also note that data dependencies enforce the proper execution order.
    Writing to the visible properties only needs to be done when the situation changes and not with every iteration of the loop. Once written, these proerties stay until changed to something else.
    In summarry, these are just some recommendations. They will not fix the LabVIEW bug you exposed.
    LabVIEW Champion . Do more with less code and in less time .

  • How to configure a shell and tube heat exchanger with Lab VIew to get data

    HiI
    In our undergraduate chemical engineering labboratory we want to configure our shell and tube heat exchanger  with a DAq and Lab VIEW to get information about the temperaure (of the cold fluid stream being heated), the pressure (of the steam on the shell side of the heat exchanger) and the flowrate (of the water being heated).
    Can anyone suggest thermocouples, pressure transducers and flowmeters to fit between the heat exchanger and the DAq?
    P.S. the heat exchanger is already fitted with thermometers, a pressure gauge and a rotameter but we don't know how to connect these hardware to the DAq
    Solved!
    Go to Solution.

    It sounds like you have enough information to pick out appropriate sensors, you just need to do the research. I would start looking through the Omega catalog, or give them a call - they're usually helpful. I can't take the time to spec out parts for you - that would be a lot of time spent on someone else's project. Most pressure sensors put out either a 4-20mA or 0-5V signal, either of which you can read through an analog input on a DAQ; measuring a 4-20mA signal requires a resistor to convert to voltage. Most of the NI DAQ boards can read a thermocouple on an analog input, but make sure that your hardware does support reading thermocouples. For accurate readings, use a device that has built-in cold junction compensation - for example, the SCB-68 connector block - and for the most accurate readings, get a board specifically designed for temperature measurement.
    For the flow measurement, a standard, simple solution is an orifice plate. You put a differential pressure transducer across it, look up the appropriate equations, and use them to calculate the flow rate given the density of the fluid (which you'll be able to calculate from the pressure and temperature, since steam tables are widely available). There are other differential pressure devices available as well - at a previous job we used a V-Cone from McCrometer. If you call them they'll spec one for you - but get an approximate cost first to make sure it's within your budget.

  • How to control a NI USB 6210 from a Lab View program?

    Hi,
    I started today with Lab View with some earlier experience long ago.
    While it took me only about half an hour to get my first program running (great), installation time nor included (of course), I meanwhile read documents for some hours and cannot find out how to control measurement hardware in Lab View.
    I want to use a USB 6210 to set a 1-bit digital port. But at the moment there is no USB6210 available so I wanted to write (or do you say draw ?) the program without it and if possible simulate the hardware.
    I drew DAQ Assistant into my block diagram and selected digital line output but get "No supported devices found". I don't know if the appropriate driver was installed during Lab View installation.
    Also I don't understand the mechanism between DAQmx, tasks and the real hardware. Now I have a "Digital Bool 1Line 1Point" Control in my block diagram. How do signals get from program flow to hardware pin? How can I create a simulation for not connected hardware?
    Any help is greatly welcome
    Thanks a lot
    Martin

    Okay here is some more tutorials if you get some free time, specifically the hardware stuff will be relavent.
    NI Learning Center
    NI Getting Started
    -Hardware Basics
    -LabVEW Basics
    -DAQ Application Tutorials
    3 Hour LabVIEW Introduction
    6 Hour LabVIEW Introduction
    Self Paced training for students
    Self Paced training beginner to advanced, SSP Required
    LabVIEW Wiki on Training
    Launch MAX, it was known as Measurement and Automation Explorer, there should be a shortcut in your start menu / desktop.  Under devices and interfaces you can find your hardware and open test panels to control it.  This is the first place to ensure your hardware is working.  If the device isn't seen you'll need to install the drivers and DAQmx software.  If it is there, great.
    Now launch LabVIEW.  The easiest way to control hardware is using the DAQ Assistant.  It has many limitations and isn't recommended for large applications.  But for something quick and dirty it works fine.  You'll find it under the Measurement I/O >> NI DAQmx palette on the block diagram.  If it isn't there you may need to reinstall the DAQmx drivers.  This can happen if you installed DAQmx before LabVIEW.
    Also you'll find under Help >> Find Examples on the toolbar, many examples on controlling hardware.  Feel free to post some code if  you are having problems.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Create test sequence from lab view - add it to the .seq file

    Hello All,
                   I have a query. consider an test sequence that has already stored in "Test.seq" format. let us say we have 5 test steps.
    now is it possible to add a new test step to this existing test sequence using Lab VIEW. I mean if we enter a new test step this has to reflect in the existing test sequence "Test.seq".  i.e in the "Test.seq" we must have 6 test steps.
      If this is possible let me know how this can be done. 

    Michels,
    Guenter mande a very good point.  Make sure to take a look at the forum thread he linked to see the licensing implications of creating your own Sequences.
    There is a very good forum thread that discusses how to create steps programmatically.  You can find the forum here:
    http://forums.ni.com/ni/board/message?board.id=330&message.id=7785&requireLogin=False
    Regards,
    Santiago D

  • In lab view from RS-232 serial port we want to read and diplay that value

    Hello,
             In lab VIEW 8.0,we want to read some data values via
    RS-232, how to read those values, we tried with visa read for read, but that is not displaying the buffer values.

    Hi,
    There is a nice example that come with labview for writing and reading to an RS232 port, I suggest you take a look at this.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Installation of Lab view 8.20, DAQ Assistant has disappeared & Instrument I/O Assistant cant be used

    After upgrading to Lab view 8.20 and on a 8.20 new install I
    notes’ that
    DAQ Assistant has disappeared from the tool pallet completely.
    Also that Instrument I/O Assistant cant be used or
    configured and produces an error
    “NI Measurement & Automation Explorer or the Instrument
    I/O Assistant is not correctly installed. Please install these from the Driver
    CD”
    I have checked both of these and all parts are fully installed
    and I cant fined what part of the Full version of Labview would course this
    problem.
    Would a completely new installation with default settings
    clear the problem, what has coursed these tools to be not avalible.

    Hi Trevor
    You need to load on the Drivers for DAQmx, if you have a CD you can load them on from there otherwise the link to download NIDAQmx 8.3 is:
    http://digital.ni.com/softlib.nsf/websearch/7feaee6a4b4aa836862571c00064e6ca
    There is a order in which you must load things on for everything to work correctly,
    LabVIEW --->> Modules & Toolkits --->> Drivers
    This should solve your issue
    YatinM
    NIUK

  • To View the Document Structure

    Hi All
    I want to view the Document Structure (Product Structure) in the SAP PLM Table.
    If any body knows, could you please share the table information?
    My requirement is to get the Product Name (Doc Type: CE2)  which are Empty (meaning - no parts or product under it).
    Currently we are checking manually, by going through CDESK - Select Document - SAP View.
    Regards,
    Abirami

    Thanks a lot Christoph.
    But My requirement is to identify the empty Product (Product without any parts or product in it).
    For Example.
    Prod1
         SubProd1
               SubProd1-Part1
                SubProd1-Part2
         SubProd2
         SubProd3
                 SubProd3-Part1
                  SubProd3-Part2
    In the above case, SubProd2 is empty.  Normally I used to check using  Display SAP-View Option. But my Main Product has thousands of subproduct. Here I find difficult to verify manually.
    is there any other easy way for this?
    Best Regards,
    Abirami

  • How can I use MS Access in Lab View

    how can I use MS Access in Lab View
    Its urgent

    There are a couple of routes you can take to communicate with MS Access in LabVIEW. The preferred method is our Database Connectivity Toolset. This allows you to use VIs to communicate with your database. Here is a link to the product for more information.
    http://sine.ni.com/apps/we/nioc.vp?cid=6429〈=US
    Your other choice would be to use ActiveX. I believe there are a couple of examples on our web site using it. Overall you will probably spend a lot more time taking this route.
    Matt Kisler
    Applications Engineer
    National Instruments

  • LAB View crashes changing background colour

    My LAB View runtime application (7.0) crashes sometimes without error message when changing the background colour of my frontpanel. My operating System is XPP.

    We have reproduced the crash with the development environment and with the runtime version (.EXE made with application builder).
    Enclosed are 2 word files: one from development crash and one from runtime crash.
    The runtime crash is from a computer with visual studion 2003 installed, so I made some visual studio debug snapshots.
    At the development crash, there are no internal errors to investigate!
    Attachments:
    Crash_FP_Color.zip ‏739 KB

  • Lab View is not detecting two com ports of system

    Hi,
       In my PC, three com ports are there COM1, COM4 and COM6. But when we create new visa resource name, lab view is detecting only COM1 port. I want to know is there any way to correct this.
    Regards
    Shivakumar Singh

    Hi,
    First of all check if the ports are visible in the NI MAX. If not, you can try to Create New Port by going into Measuremenmt & Automation Explorer. Assign the Port values accordingly. This can be done by right clicking on the Ports (Serial & Parallel) section of the Devices and Interfaces tree.
    Regards,
    Deepu.

  • Device drive of lab view fpga 2013 for Spartan 3E FPGA

    Hi NI
    I has get labview 2013
    but I need  FPGA device drive of Spartan 3E
    can NI release it for us !!!!!!!!!!!!
    best regards
    hi ?Q>

    T-REX$ wrote:
    Hey mangood,
    There currently is no support for the Spartan3E board in LabVIEW FPGA 2013, and I am not aware of any plan for developing support in the near future. Sorry for the bad news...
    DEAR
    i have lab view 2012 and it has device drvie for spartan FPGA
    only one year
    may be can NI do this its simple
    thank
    hi ?Q>

  • How to shutdown the PC using Lab View

    Hi,
    We are doing UPS project. In this project we have to shutdown the PC if there is a battery low condition. I want to know whether is their any library function in Lab View to shutdown the PC. And also we want make this labview to run in background whenever PC turns ON, is their any way to make Lab View VI to run in background process. We are also planning to send UPS Status through SMS message to specified mobile number using modem, is their any way to do this using Lab View. Please help me in this regards.
    Regards
    Shivakumar Singh

    Sorry
    Attached now
    "Qod natura non dat, Salmantica non praestat"
    Attachments:
    Shutdown_labview.zip ‏67 KB

Maybe you are looking for