How to open and close an electronic shutter with LabView 8.5.1 using an NI USB-6009 case?

Also, I need to set up a timer so that the shutter is open for 15 minutes and closed for 30 minutes.  It has to do 500 times.

The USB-6009 case is a relatively new device, and LabVIEW 8.5.1 is a fairly old software. You should check to be sure that you have the corresponding to your version of LabVIEW (DAQmx) drivers that support of this material. It sounds as if you put it in place to MAX and control the output manually, which is a good sign. I don't have access to the version 8.5.1 and I do not exactly remember which functions he supported, but the attached picture shows a simple diagram in a new version of LabVIEW that would do what you want. Of course, you should test with shorter and less iterations because it takes more than 2 weeks to complete! Add any controls, indicators and the error checking you want.

Rich

Tags: NI Hardware

Similar Questions

  • Track pad pinch open and close does not not with Firefox 4

    pinch open and close feature to adjust the size on my touch pad Mac does not work

    The first part is the pref name and the second part of the command that you can use as the new value of the preference. Preferences have a value of empty string and you can double-click the pref to change the value of a copy and paste.

    browser.gesture.pinch.in -> cmd_fullZoomReduce
    browser.gesture.pinch.in.shift -> cmd_fullZoomReset
    browser.gesture.pinch.out -> cmd_fullZoomEnlarge
    browser.gesture.pinch.out.shift -> cmd_fullZoomReset
    
  • Using the NI USB-6009 case to generate a 12VDC output and output current of 300mA

    Hello

    I use the OR-USB-6009 my power supply for a 12VDC with drive current of 300 solenoid my. Initially, I used a non reverse Op-amp circuit and Inverter circuit operational amplifier to get the + 12V and - 12V output but I could not get the current I required. Should I use a transistor?

    Please find attached photos. Any input would be appreciated.

    Thank you

    Adam

    Well, really depend on your piercing circuit.  But I used most systems use the transistor to set the voltage of the device to 0V.  So when your DIO is high, the output is actually 0V (low).  So using a converter chip, your release of the DIO will be sort of the output circuit.  If you get the right IC, then the inverter will give you also a few extra current to drive your transistor.

  • No video and microphone when I open and close the laptop

    I have a Pavilion dv7 everytime I open and close my laptop to the camera and the microphone stops and it does not appear in Device Manager. It of like something is loose inside, this happened before its just out of warranty and how can it be solved?

    Thanks, I still have a warranty on the outside and I talked to them, so I'll send for repair. In the case of an ongoing problem I wish HP would recall and fix the problem.

  • When I try to defrag, a window opens and closes and a file download-security warning. A loop repeats. Other programs to do the same thing. Please help me fix this loop? SOS?

    When I run defrag, an IE window opens and closes and a file download-security warning comes up and asks me to run or save the file name: c:\windows\system32 dfrgui.exe, if I hit then another warning of IE - sec stands up and says 'the Publisher could not be verified. Are you sure that you want to run. I struck and the loop repeats. I run a diag of the F10 boot menu with dell. They say that its software and non-material, pay! Microsoft says that Dell is responsible. Other programs to do the same thing. I've updated and rerun my AVG security without error. We are automatically updated, and no other programs were added. Please help me fix this loop? SOS?

    Vista - open file - security warning
    http://www.Vistax64.com/Vista-security/125044-open-file-security-warning.html

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista
    http://support.Microsoft.com/kb/936212/#appliesTo

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

    Your programs launch properly from Safe Mode?  Or Normal Mode if you create another user to test with?

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

    Try running ChkDsk to check your drive for errors. Right click on your drive icon / properties / tools / error checking.  Try first by checking do not each box (that it will run in read-only mode) to see if it reports any problems file or hard drive.  If so, restart it by checking both boxes and restart to allow him to attempt to fix any problems found.

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

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

    SuperAntispyware
    http://SUPERAntiSpyware.com/

  • Some program flashes automatically opens and closes immediately

    This program flashes - opens and closes automatically every three to five minutes which is really annoying:

    http://img132.imageshack.us/img132/164/flashlb.jpg
    Please note that Im not trying to open any program, it opens at random every few minutes.
    What is this program?
    How can I disable this opening automathic?
    Thank you

    At either the analysis of the find anything bad?

    1. As a test, if you start in safe mode with network, it continues to blink then?
    2. If you boot into normal windows and sitting mode to your desktop (IDLE - running nothing) is still flash upward?
    3. If it isn't, then open IE and let it run only on your home page - it flashes up then?
    4. If it sounds like a browser hijacking might be. Have a read through this - http://www.microsoft.com/en-gb/security/pc-security/browser-hijacking.aspx and see if it helps. NOTE: DO NOT worry about step 2 (MSE) IF you already have a bunch of AV updated running on your PC.


    Who will stop him?


  • Open and close the connection in oracle procedure

    Here is the procedure I'm in I insert data into the table temp_soap_monitoring using the select statement. I have soap_monitoring table FONIC_RETAIL database where I want to take the data and insert into the table temp_soap_monitoring. I play the position of planner of all 5 minutes for this procedure so that I get always the latest data in soap_monitoring@fonic_retail table. The problem of this procedure is that it takes too much cost and the query execution time to perform this procedure. Whenever he tries to extract the data from db link and save my local database. I remember in Java, php, and other programming languages, we have method in order to open the db connection when we tried to extract data from db link and then once integration is complete, we can close the db connection. So the performance improves and also has no load on db link. In this method, we have to assign link db to retrieve the data. So I think is it possible to apply this logic in my oracle procedure. The question arises because at this moment I am hard code the link db, but now I have 3 db more links and I will not reproduce the same procedure by assigning diffferent db links.

    PROCEDURE  "EXT_SOAP_MONITORING" AS

    LAST_SM_ID Number
    := 0;
    LAST_CAPT_DATE DATE
    ;

    BEGIN

    SELECT LAST_TASK_ID INTO LAST_SM_ID FROM CAPTURING where DB_TABLE='TEMP_SOAP_MONITORING';

    insert into TEMP_SOAP_MONITORING(ID,REQUEST_XML,RESPONSE_XML,WEB_SERVICE_NAME,WEB_METHOD_NAME,CREATE_DATE,ERROR_CODE,ERROR_MESSAGE)
    select ID,REQUEST_XML,RESPONSE_XML,WEB_SERVICE_NAME,WEB_METHOD_NAME,CREATE_DATE,ERROR_CODE,ERROR_MESSAGE from
    SOAP_MONITORING
    @FONIC_RETAIL WHERE WEB_SERVICE_NAME ='RatorWebShopService'  and WEB_METHOD_NAME = 'placeShopOrder' and ID > LAST_SM_ID order by ID desc;

    update
    CAPTURING
    set LAST_TASK_ID=
    CASE WHEN ((SELECT MAX(ID) from TEMP_SOAP_MONITORING) IS NULL) AND (LAST_TASK_ID  IS NULL)  THEN (SELECT MAX(ID) from SOAP_MONITORING@FONIC_RETAIL)
    WHEN (SELECT MAX(ID) from TEMP_SOAP_MONITORING) IS NULL THEN LAST_TASK_ID + 1
    ELSE (SELECT MAX(ID) from TEMP_SOAP_MONITORING) END,
    CAPTURING_DATE
    = CURRENT_TIMESTAMP, LAST_CAPTURED_DATE = LAST_CAPT_DATE where DB_TABLE='TEMP_SOAP_MONITORING';

    END EXT_SOAP_MONITORING;

    I have it here is the procedure which I insert data in

    temp_soap_monitoring table by using the select statement. I have

    soap_monitoring table of FONIC_RETAIL database where I want to take the data and insert into the table temp_soap_monitoring.

    WHY? Why you are moving the data? Why not just use it table, is it already?

    The problem of this procedure is that it takes too much cost and the query execution time to perform this procedure.

    The solution is to FIND THE PROBLEM. Troubleshoot the code and find out where is the problem, if any.

    Based SOLELY on what you have posted the solution might be to add just an appropriate index.

    Whenever he tries to extract the data from db link and save my local

    database. I remember in Java, php, and other programming languages, we

    method to open the db connection when we tried to extract data of

    DB link and then once integration is complete, we can close the db

    connection.  So the performance improves and also has no load on db link.

    What? The LAST thing you want to do is keep the closing and opening of the connections. I don't know how 'remember you' from Java or other languages. The main reasons pools of connections were invented to AVOID have to repeatedly open and close connections.

    A db link not a NOT a "charge" - the "charge" is the query is made. If you write a poor query or have a poor data without the necessary index model, or have missing statistics, then you will get poor results.

    In this method, we have to assign link db to retrieve the data. So I have
    is it possible to apply this logic in my oracle procedure to belive. The
    question arises because at the moment, I'm hardcode db link but now I
    have more ties db 3 and I will not reproduce the same procedure by
    assigning diffferent db links.

    You can certainly write Java code to connect to each database with a direct connection. But all write code PL/SQL must include the database link. And the only way to avoid hard-coding the link is to keep the names of link in a table and use dynamic sql statements to build and run the query. This isn't what you want to do if you're looking for performance.

    SELECT LAST_TASK_ID INTO LAST_SM_ID FROM CAPTURING where DB_TABLE='TEMP_SOAP_MONITORING';

    For all we know which could be the WHOLE CAUSE of your problem. If there is no index on the table, you could do a full table to a table with lines scan 800 billion;

    We have NO WAY of knowing since you haven't posted info. Please read the faq to find out how to post a request for tuning and the info you provide.

    1. the query

    2. the table and index DDL

    3. the execution plan

    4 RowCounts for tables and query predicates

    5. the info on the stats: how you collected them and if they are up to date

    update
    CAPTURING set LAST_TASK_ID=
    CASE WHEN ((SELECT MAX(ID) from TEMP_SOAP_MONITORING) IS NULL) AND (LAST_TASK_ID  IS NULL)  THEN (SELECT MAX(ID) from SOAP_MONITORING@FONIC_RETAIL)
    WHEN (SELECT MAX(ID) from TEMP_SOAP_MONITORING) IS NULL THEN LAST_TASK_ID + 1
    ELSE (SELECT MAX(ID) from TEMP_SOAP_MONITORING) END,
    CAPTURING_DATE = CURRENT_TIMESTAMP, LAST_CAPTURED_DATE = LAST_CAPT_DATE where DB_TABLE='TEMP_SOAP_MONITORING';

    My guess is that TERRIBLE method of trying to get a 'LAST ID' is what's causing ALL your problems of performance. This method will not scale, and it will NOT properly work in a multiuser environment.

    You need create a good BATCH_CONTROL table that all processes use during the creation and execution of lots.

    The MASTER of the process batch:

    1 Gets a new BATCH_ID using a sequence

    2 locks the current row in the table control and uses / change the value "last".

    3 creates a new line in the control table for the new batch process

    4. the line of control to date with the start time, end time, result State, County, etc. for the batch

    Your likely PROBLEM of has NOTHING to do with the links of the db.

  • I opened the window and 1-2 sec it close and open and close only I can't use firefox what should I do?

    When I open firefox, it opens and after 1-2 seconds it closes so I can't do anything and it will open and close automatically several times.
    I have uninstall for a month of waiting for the new version hopes can solve this problem, but he cant last vertion is 37.0.1 now 38.0 I used Windows 7
    What should I do?
    I always use firefox be my browser. But if this problem cannot be resolved, so I can't use it

    What happens when you start Firefox in Firefox SafeMode?
    https://support.Mozilla.org/en-us/KB/troubleshoot-Firefox-issues-using-safe-mode#w_how-to-start-Firefox-in-safe-mode

  • Open and close the Panel the Subvi front

    Hi all

    Run LabVIEW 2011 on Windows 7 x 64.  I am trying to get a Subvi front to open from my main PC with the touch of a button, then close with a button press in the Subvi.  Here's the piece of my main FP who calls the VI and opens the FP

    Locations is defined in another loop and all loops are in a flat order.  I made this way because I want to start with the first press and not stop my main loop to run.  So I don't know if I can run in the same line as the event or not, I've moved the element to the left loop around a lot.  Anyway the VI of openness seems to work very well.

    The problem arises when you try to close the Subvi for the SECOND time.  The code is here:

    As I said, the first time I open and close the VI everything works as it should, hopefully.  Then, I am able to reopen but now 'empty' button does not work and I can't close the window or even to open the block diagram to probe anything.  I tried to understand this point for a while, any insite would be greatly appreciated!

    Thank you

    Found my problem, I had the wrong boolean on one of my other events.  If this seems to be a good way to open/close a Subvi if anyone is interested!

  • VI of hand stops fucntioning after as I open and close a Subvi to a structrue event.

    Hello

    I try to open a pop up vi of an event. I've been struggling with this for a while now. When I open a pop up vi and close it, the main vi stops correctly.

    I narrowed down it to the fact that the event that reminds the Subvi is never ending when the Subvi is closed.

    The attached picture is an example of what I'm doing. When I run the present, I never see the dialog box indicating "here.

    may be useful as an allusion to the problem...

    This does not work correctly if I run the vi, click to open the Subvi, close the Subvi (here the main vi is not working properly, do not click on anything whatsoever) then stop the main vi, run the main vi has even once, open and close the Subvi and then I see the dialog 'here '. , and my main vi works correctly.

    Thank you

    J

    What actually happens, is press you the Ok button and your panel closes and you set the stop 2 true.  OK, it's fine except that the stop Terminal 2 has already been read during this iteration of the loop.  So the loop will go again.  This time, it is read stop 2 to a REAL, but the structure of event needs an event before the loop can fill.  But the façade was already closed and you're stuck.

    As Dennis said, get rid of the 2 stop and just wire the TRUE constant straight out of the case of the event.  Wire a FALSE for all other cases of event.

  • Window opens and closes automatically

    I also have the same problem.
    I bought a laptop more than two weeks ago, I turned on and it started downloading the updates for Vista. (I have Vista Home Premium)
    Then when I turned off my laptop, you could see that Vista was installing updates before power off.

    When I restarted the laptop, I have the same problem that jmwmh has.
    Several programs of the control panel will not open, as the update of Windows, user accounts, Parental controls, etc. They open and close automatically.
    I even used the recovery DVD and reinstalled Vista several times, but after some time, the problem returns.

    I even tried to disable Windows Update, because I discovered that it was after an update of Vista that my laptop has gone mad, but STILL it downloads an update and installs it without my permission.

    I have administrator rights, so this isn't the problem...

    Any ideas?

    Donangelus,

    Thank you for using answers.microsoft.com

    My suggestion is to try to create a new user profile and see if the problem occurs in the new profile.

    Here are the steps to create the account.

    • Create a new user profile:
      Follow these steps to create a new account, we can test:

      1. Open user accounts by clicking the Start button, clicking Control Panel, clicking user accounts and family safety, then clicking on 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 you want to assign to the user account, choose the type of administrator account on the computer, and then click on create an account.
      5. Log out and log in to the new account.
      6. Verify that the problem you are experiencing is resolved

    Let us know if that fixes the problem or if assistance is needed.

    Kind regards

    Debbie Microsoft Support Engineer answers visit our Forum of Microsoft answers Feedback and let us know what you think.

  • How to open and view multiple images in PS?

    How to open and view multiple images in PS?

    You must select several images in Lightroom and choose Edit in > open as layers in Photoshop to get them in the form of layers in the Photoshop document.

  • Apps do not launch. Application Manager opens and closes repeatedly.

    Hi none of my adobe applications launch. Just adobe application manager opens and closes repeatedly. OS X 10.10.5

    Please see the links below.

  • How to open and edit a .slz file?

    How to open and edit a .slz file?

    Laughing out loud. RoboHelp is a publisher of fishy?

    SLZ's just with a different extension zip files. You can extract it as all the archives. I regularly just threw in pictures updated or .slp usins 7-zip files.

    If you want to change beyond the capabilities of the built-in Editor, does not open the .slp files in RoboHelp. That will mess up the layout. Use Dreamweaver / Notepad ++ / something else instead.

  • I'm looking for video clips that I can use to open and close my video with a third lower, y at - it a link to download these templates?

    I was looking for video clips on the theme, like a clip that opens and closes my video and with the lower thirds

    the lower third models are here, if that's what you're looking for?  Library, title, missing model projects templates: Premiere Pro, After Effects, yet

Maybe you are looking for

  • WIN8.1, T540p - brightness buttons do not work

    Hi all! I have a new T540p with Windows 8.1 and fn + f5/f6 do nothing, while the sound buttons work fine. Is it possible to change the brightness of the screen, coz he too birght for me by default.

  • 32-bit operating system and 64-bit

    Hello Can someone explain the difference between the 32-bit operating system and 64-bit? I am running with 32-bit win7 butHow about 64 - bit? Does it mean that 64-bit is more advanced? Thanks in advance.;-) Klyde

  • Reading on the 700 p email attachments

    When I try to read an attachment, I get a message that says that I don't have the Viewer. I have DataViz Documents to go, v.10, and thinking that would do it. What Miss me? Z310

  • My Dell Inspiron 530 will not light

    The computer has been like that for a while now. When I have the power cable connected to the back of the computer the Green underside is on so I don't know if it means that something is supposed to happen. When I opened the computer there is a yello

  • Updated CS3 to CS4

    I have an old Mac, specs are:Mac OS X 10.5.82, Dual 3 GHz Power PC G52 GB DDR2 SDRAMI have the CS3 Master Collection installed on it, but I need to create content using After Effects CS4.  Since there is no way that I'm aware of to use a project of A