Run a VI with level sensor

Hello

I am currently using sensor and I my VI begin when they are above a certain level.

Is there a way to start a VI without clicking on the "Run" button?

This would be a solution?

Have a case of initialization Structure and do not arrive at the next case, before that the level has been reached.

Thank you

Weepet

It would be possible to open a subvi when the condition occurs, but as a general rule, your VI should be run when open if an application.  It sounds like you are wanting to use it in your development environment.  Not the best way to set.  You can do it with the structure of your business, to which case your first level VI is running, then when the condition is met, the next case is executed, who will execute the code for that State, or to a Subvi to cope.  You will need a state machine to control the conduct of the program.

Tags: NI Software

Similar Questions

  • I can't connect to my surface 3 running windows 10 with my i phone 5 hotspot.

    I can't connect to my surface Tablet 3 running windows 10, with my phone I 5 personal reactive.

    Can you check with other devices if the hotspot works otherwise OK?

    Won't be "passing the ball", but it might be worth your effort to try to get support on this issue on the forums of MS Surface support...

  • Re: Portege Z30: Fingerprint software does not, the connection with the sensor fails

    Hello to you all,.

    I have a great fun for you guys. If you're curious, it's here...

    I just bougt garage a portege Toshiba Portege Z30t-A-126 PT24CE-01400HFR
    Nice machine but SSD is too small, so I changed the original SSD 256 to a 512.

    Reinstalled Win7 completely without any pb.

    Just a pb in fact: the footprint software does not work.
    When I hliant, it fails and says "unable to connect with the sensor.

    In french "fingerprint recognition."
    Unable connect the sensor.

    But when I check the Device Manager computor it says that everything is in place and ongoing execution, validity (WBF) (PID = 0010) sensors works very well and the latest version of the driver is installed.
    (I downloaded the form driver toshiba Web site.) The name of the driver is fp - sw - 20140115084521.zip)

    Then? What's not?

    I spent hours searching the web and tried everything I could. Reinstalled a thousand times the drivers, software, tried other drivers... But there is no way that I can fix it.
    It's really annoying...

    Can someone help me please? Have you an idea? I'm stuck...

    Thanks in advance. :-)

    Hello

    This issue of the fingerprint has been described in another thread.
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=81261

    You should be able to solve the problem installing the chipset driver.
    Another user said, an installation of Proset Ethernet drivers/software was necessary to get the problem resolved. But to be honest that I put t think that missing Proset utility would cause the question

    However, check it out.

    Your comments would be appreciated

  • Digital i/o with clock sensor line sharing

    Hello

    I'm trying to contact several sensors relative humidity using LV 8.6 and a USB-6009. The sensors are Sensirion SHT71. They communicate with 2 lines, a bidirectional data line and a line of the SCK. With the code sent on this forum

    http://forums.NI.com/NI/board/message?board.ID=170&requireLogin=false&thread.ID=179022

    I can easily communicate with 1 probe.

    What I would do, is to extend this to read simultaneously from several sensors. I wish that the readings to be as close in time as possible. I'll use sensors as much as I have available data pins.

    I wonder if anyone thinks that it would work to share a single clock between several sensors line and just use a single row of data for each.  In this way, a single port 8 lines could read 7 sensors simultaneously.

    I tried to do it with 2 sensors using a change very klugy of the code that worked for a single probe... in this case, I simply added 2 read and write routines to a single port. It doesn't seem to work, but I guess I should probably go through and re - write this using several lines per channel.

    I have a feeling that this could be an idea doomed, however, so I would really appreciate if someone can tell me if they think it will be or will not work until I spend the better part of a day to re - write the code. I posted the code only probe that works.

    Thank you!

    Mike

    It solved! Turns out that the simple routine for single point of digital output must manage somehow tristate configuration. The polymorphic, we do not.  So, rather than to read the actual value at the PIN, the DAQmx read 1 sample of channel 1 bool 1 D has been simply by reading the last value passed.

    The trick is to set the tristate true property before trying to read the pin code and then set it to false after completing a reading...

    Thanks to MarkGrot and this thread to help me to understand.

    http://forums.NI.com/NI/board/message?board.ID=250&message.ID=46293&query.ID=323548#M46293

  • PC running slow increadibly with 128 MB of RAM - recommended to increase the RAM

    Original title: pc running slow increadibly with 128 MB of RAM

    My mother's PC runs incredibley slowly.
    After you perform a clean installation of win xp and addition of firefox, and avast antivirus, pc still increadibly slow.
    His laptop is a HP Omnibook xe4100 and has 128 MB of ram.
    What I do need to update the ram of the laptop computer or is the problem of something that can be fixed with software recording cleaning?
    Thanks for any help on this!

    If you did a clean install, it is not the registry slow down your computer. A clean installation removes all and back windows on the system with just windows files, so the registry is only what is absolutely need to run.

    128 MB of RAM is incredibly low, so even if the slowness is caused by something else, you should buy more in any case, because it will help the computer a little.

  • Windows media player (vista) error"running this process with a debugger is not allowed, while trying to copy a cd.

    Original title: multimedia player (vista) running this process with a debugger is forbidden, I tried to copy a cd on my computer, what I had done before, which is a debugger and how do I get rid of it

    I hit start rip, he tell me can't because of debugger, I never had a problem with debugger before, all of a sudden I have a... windows vista

    Hello

    1. What is the full error message?

    2 is a straight digital protected media?

    Follow the steps mentioned below and see if that helps:

    Method 1: The security component update and check if that helps.

    Reference:

    http://drmlicense.one.Microsoft.com/Indivsite/en/indivit.asp?force=1

    Method 2: Follow the steps mentioned below:

    a. click Start, type run, press on enter type msconfig and run it.

    b. Select the Startup tab

    c. click on Advanced options

    d. Uncheck Debugunder detect HAL

    e. reject Advanced options dialog by clicking OK

    f. Select the option allow all settings permanent start msconfig dialogue

    g. click apply

    h. click Yes in the warning dialog

    i. reject msconfig dialog by clicking OK

    j. restart your computer

    Reference:

    Rip music from a CD:

    http://Windows.Microsoft.com/en-us/Windows-Vista/rip-music-from-a-CD

  • Error 'System restore running system' starts with a black cursor screen while trying to use the system restore

    Original title: unit hanging in the middle of the restoration of the system

    Message "System restore running system" starts with a black screen with cursor, but does not move forward.  Windows Vista question

    Have you tried F8 solutions and when I select the system restore it gives me the message above and goes to the black screen even ugly.

    How did I break the loop so I can start a new system restore?

    Hello

    Are you trying to restore your computer or you try to create a restore point?

    Step 1 or 2 can help you to restore your computer.

    Step 1: Try the steps in the section below, if you haven't tried it.

    Start the restore of the system from a command prompt
    http://Windows.Microsoft.com/en-us/Windows-Vista/Start-System-Restore-from-a-command-prompt

    Step 2: Try restoring the system from the recovery console.
    Reference: http://windows.microsoft.com/en-US/windows-vista/What-are-the-system-recovery-options-in-Windows-Vista

    Step 3: Also, look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.

    Measures to check the application event log:

    a. Click Start.
    (b) in the search box type eventvwr.msc, and then on enter.
    c. now, click Application in the event viewer (local).
    d. now, looking for event log on the right side of the event viewer window.
    http://Windows.Microsoft.com/en-us/Windows-Vista/open-Event-Viewer
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-information-appears-in-event-logs-Event-Viewer

    Similar problem: http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/system-restore-wizard-is-already-running/c797baf7-c069-4e3a-894a-e9644cc6df0b

  • Black screen - cannot run Explorer.exe with Task Manager

    Hi guys

    I've been Googling the answer to that for the last day and nothing seemed to work.

    Basically, my portable was working fine until this morning, when I restarted. After the home screen, just a rear screen with the mouse. CTRL ALT DEL and everything still works normally. I can run programs with the Task Manager, but can not run explorer.exe. He returned in the process for about 10 seconds then disappears. I think that it is the cause of the black screen. I tried downloading an own explorer.exe and replace the explorer.exe in C:\Windows\. My computer it did not as he said I need the permission of the administrator, but of course, I am the Admin so I don't know what that's all.
    I tried to restart in Mode safe and that works very well, still, I can't replace the explorer.exe in the C:\Windows\ because I do not have the administrative authorization. I tried to change it in the Security tab of the properties, or impossible.
    I also tried to update the driver software graphics cards, checked the Shell in the registry value and made sure it's explorer.exe, used the difficulty of black of Pevx screen, used HitmanPro and Windows Malicious Software Removal Tool to scan and remove malware. I even did a scf/scannow, checked driver C a mistake (which took 3 hours!), let Windows Startup Repair to fix things, tried a system restore but failed. He says that the anti-virus (Sophos) prevented the restoration of the system, so I've temporarily disabled its access scanning on but still unable to restore to a previous (11/01). Program changes that recent such as listed in the system restore is Google + Auto BackUp who came when set Picasa to date there 3 days and a more recent version of Facebook video call I've ever used. I am now running a scan with Sophos, not too promising.
    So yes, I tried everything. I think that now, there are only three options:

    1 somehow replace the explorer.exe in C:\Windows\ with this new cool explorer.exe, which I downloaded, with the permission of the administrator
    2. try another restore of the system, but I'm sure that nothing will happen, already tried three times.
    3 reinstall Windows 7 Edition Home Premium. It will be a real pain.

    So please help me! I have courses of due on Monday and this portable do not let me what that be done. Thank you!!!

    Please ignore the other my long answer. The problem has now been resolved.

    After trying all kind of scans, drinking and sobbing, I came across TDSS Killer from Kaspersky, who managed to catch a 1 latest unique malicious software (that I was too stupid and really looked hopeless and remember the name of), it cures the problem after reboot. Now, the laptop works well like you wouldn't believe. I'm still confused but way too happy now to care. Thanks a lot for your help nevertheless!
  • My usb ports on the right side of the laptop don't work im not running on wiindows7 with an acer aspire 5253

    My usb ports on the right side of the laptop don't work im not running on wiindows7 with an acer aspire 5253

    Tuesday, July 17, 2012, 10:53:01 + 0000, JonathenHarmon wrote:

    My usb ports on the right side of the laptop don't work im not running on wiindows7 with an acer aspire 5253

    Of course, it sounds like a hardware problem, not a a Windows.
    Contact Acer for repair.

    Ken Blake, Microsoft MVP

  • I can't install the update when I start the creative cloud. I'm getting an error 1002. I run a PC with Windows 7, 64-bit version.

    I can't install the update when I start the creative cloud. I'm getting an error 1002. I run a PC with Windows 7, 64-bit version.

    Hello

    Please, try the following steps:

    Kind regards

    Sheena

  • I am trying to load lightroom 6 from a disc and I get a message that it is not compatible with my windows vista except that I am running windows 7 with service pack 1

    I am trying to load lightroom 6 (I needed updating because I bought a Nikon D750 and shoot in raw that apparently my old LR4 cannot read) and he gets to a point and then tells me that is not compatible with Windows Vista but I am running Windows 7 with service pack 1 on my computer (which (according to the box, it was compatible).  I'm not great with computer and I'm so frustrated right now because I don't know what to do.  Help, please.  Thank you

    Please refer to install OS bad detection

    Hope this will help you.

    Kind regards

    Hervé Khare

  • Run a workflow with REST APIs

    Hi all

    I'm not able to run the workflow with the REST api.

    POST https:// < < HOST > >: < < PORT > > / api/workflows/94dd5f20-c190-4023-a0a7-1589c46f3792/executions/

    Here is the answer. VCO is not all workflow runs so I assumed nothing was performed. I can run to the https://wxpcpvcd006a:8281 / api/stream/f29ebe52-27b2-42d1-84f1-6ecfb939326c to get all the info on the workflow. Any help appreciated.

    {

    'relations': {}

    "total": 0.

    "link":]

    {

                    "href": " https://wxpcpvcd006a:8281 / vco/api/stream/94dd5f20-c190-4023-a0a7-1589c46f3792 / ",

    'rel': 'up '.

    },

    {

                    "href": " https://wxpcpvcd006a:8281 / vco/api/stream/94dd5f20-c190-4023-a0a7-1589c46f3792/executions/ ",

    'rel': 'Add '.

    }

    ]

    }

    }

    Simply enter the braces of opening and closing as your json content:

    {}
    
  • Hey... I have install CS5 on my new PC, Windows 8, and now some features do not work! example: in InDesign, I can't work with levels... Can Sombody help me?

    Hey... I have install CS5 on my new PC, Windows 8, and now some features do not work! example: in InDesign, I can't work with levels... Can Sombody help me?

    Please refer CS5 - Windows 8

    (Double post)

  • Running Powershell script with ESXCLI commands via a scheduled task in Windows 2012 does not work.

    I'm trying to run a powershell script of a scheduled task in Windows 2012. The script calls the commands ESXCLI and ends with success (exporting to a CSV file) but the file has no data inside.  If I run the script manually without the scheduled task file has all the I expect to exit.

    I wonder if there is a framework with Powershell or a PSSnapin I need to add to the script for it to run via a scheduled task.  Has anyone done this before with the ESXCLI commands?

    panhvr - you may to something.  The process account that I use to run this script has only read-only access in vCenter.  I logged on the server I am running these reports with the process ID and tried to run the script.  He gave me errors indicating permission to perform the operations of esxcli was denied.

    I think we found the culprit!  I'll have this process ID in vCenter rights upward.

    Thank you all!

  • even and odd numbers with level

    Hi Master,

    I tried to display numbers with level like that...

    Select the level from dual connect by level < = 10;

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    How to display odd and even numbers with level. I tried with mod(level,0) but does not work very well.

    Please notify.

    Concerning

    SA


    Odd:

    Select 2 * level - 1 from dual connect by level<>

    /

    2 * LEVEL 1
    ----------
    1
    3
    5
    7
    9

    Scott@ORCL >

    Still:

    Select 2 * double connection by level<>

    /

    2 * LEVEL
    ----------
    2
    4
    6
    8
    10

    Scott@ORCL >

    SY.

Maybe you are looking for