or-switch close or open the relay with an entry 1 or 0

I try to open and close relays on the pxi-2503 or-Switch with a 0 or a 1 entry in the node of relay action. I am trying to replace the constant control of opening and closing by a 0 or 1. The digital input is respectively 20 and 21, these integers they control relay. How can I change the values 0 and 1. I deleted the order of opening and closing of the driver itself and connected an integer constant in the pilot I32 node. I made the mistake of saving it. Now the relay returns an error as the sink empties and all relays now have a cut wire and no control input. I tried undo it and wiring of control of origin (open/close) for the entry I32. It continues to error. I'm Noah re - install the drivers or switch. All I need is a solution so that the relay to accept 1 or 0 for relay control.

Hi Martin,

Starting from the example VI, you need not to change anything with the VI relay control.  All you have to do is input a 20 to open the relay or a 21 to close the relay.  If you work on 0 to close and 1 to open you can have him in place so that opt-out of the control of the 21.  This way, if your control is to give a value of 0 you get 21-0 = 21 enter the VI of relay control that will close the relay.  If you have a value of 1 from control you get 21-1 = 20 go to the command of the relay which will open the relay.

Tags: NI Software

Similar Questions

  • I can't open the PDF with Adobe Reader XI... get an error that "Adobe has stopped working" then it closes.  Any suggestions?

    I can't open the PDF with Adobe Reader XI... get an error that "Adobe has stopped working" then it closes.  Is it a question of Adobe, Microsoft problem or security issue?

    Since you talk about Microsoft, I guess you're on Windows.

    Can you open Reader by itself?  If so, try to disable the Protected Mode [Edit |] Preferences | (Improved) security].

  • How to open the labview with function of Labview program to stop smoking inside?

    Hi any idea how to open the labview with the Labview function program to stop smoking inside?

    I forgot to add and define the condition of the type for this program.

    If the program is an application, she closed immediately.

    If it is still the work of labview, it will go directly to editing without closing the program.

    I so need to retrieve, open it and make some changes.

    Clement

    Place the VI in a project and open it from there, then it should not autorun. App.kind application property allows you to decide whether to close or not.

    /Y

  • Why the computer wants me to choose a program to open the downloads with

    Why the computer wants to choose me a program to open the downloads with

    I fixed missing .exe file

  • In total, I connect app... When I try to open the camera with quick time just, it is there and goes to white screen

    In total, I connect app... When I try to open the camera with quick time just, it is there and goes to white screen

    Hello

    You can check the link, download the manual to link Total perform operations.
    http://www.centralillinoissecurity.com/resources/documents/TC1.PDF
    You can also check out the Apple support link and view the query.
    http://www.Apple.com/support/QuickTime/
  • Windows media player does not automatically open a video file on a Web site but I save it and open the file with Windows media player to play the video or audio recording.

    Windows media player does not automatically open a video file on a Web site but I save it and open the file with Windows media player to play the video or audio recording. I used to be able to play any video or audio file in any site!

    Hello

    Try resetting the default associations for WMP and IE.

    How to set default Associations for a program under Vista
    http://www.Vistax64.com/tutorials/83196-default-programs-program-default-associations.html
    How to associate a file Type of Extension to a program under Vista
    http://www.Vistax64.com/tutorials/69758-default-programs.html

    If necessary:

    How Unassociate a Type of Extension file in Vista - and a utility to help
    http://www.Vistax64.com/tutorials/91920-unassociate-file-extention-type.html
    Restore the Type Associations by default Vista file extensions
    http://www.Vistax64.com/tutorials/233243-default-file-type-associations-restore.html
    How to view and change an Extension of filename on Vista
    http://www.Vistax64.com/tutorials/103171-file-name-extension.html

    ====================================

    Also follow these steps:

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ------------------------------------------------------------

    Then, if necessary:

    Have you recently installed another player?

    Reset your associations for WMP and IE.

    How to set default Associations for a program under Vista
    http://www.Vistax64.com/tutorials/83196-default-programs-program-default-associations.html
    How to associate a file Type of Extension to a program under Vista
    http://www.Vistax64.com/tutorials/69758-default-programs.html

    ---------------------------------------------

    Do this to reregister the Jscript.dll and Vbscript.dll files.

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    type or copy and paste-> regsvr32 jscript.dll
    Press enter

    type or copy and paste-> regsvr32 vbscript.dll
    Press enter

    Restart and if all goes well, it will run now.

    --------------------------------------------------------------

    Have you recently added stores or ANY application from Stardock?

    Using 64-bit Vista?

    Can you think of recent things you did in WMP which could be the cause? You added another
    reader recently or an add-on for WMP?

    When I try to use Windows Media Player 11, the program does not start, or some UI elements
    are empty - a Mr Fixit
    http://support.Microsoft.com/kb/925704/en-us

    Maybe something here
    http://msmvps.com/blogs/chrisl/articles/17315.aspx
    and here
    http://msmvps.com/blogs/chrisl/Archive/2004/10/30/17399.aspx

    Check here the news of WMP11
    http://zachd.com/PSS/PSS.html

    I hope this helps.

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • Open the file with Buddy API... and WITH...

    Hello

    It works well:

    on exitFrame me

    myFile = the moviePath & "IMBNRadio.M3U".

    OK = baOpenFile (myFile, "normal")

    end

    It opens the multimedia file. M3u with Windows Media Player, but what happens if I want to open the file with another player?

    How can I do?

    Thank you

    See baShell() or baRunProgram()

  • I can't open the program with an update to the latest version after that effect does not appear, to me, character animation program

    I can't open the program with an update to the latest version after that effect does not appear, to me, character animation program

    12334.jpg

    non-active way?

    The only way I've seen to solve this problem is to uninstall/reinstall After Effects

  • Script to change political colors managent or open the files with "keep profile".

    Hello!

    I am trying to open the girls with the parameter 'profile hunt kept '' through my script.

    I really don't like if it's done with "openoptions" or changing policies managent RGB and CMYK color to "preserve the profile. (Available via the Edit menu-> color settings.)

    I know that this is possible through action, but I really need to change that through my script.

    I'm totally at a loss here, so any pointers in the right direction would be much appreciated!

    Thank you!

    / Peter

    A slightly cleaned up version:

    Open the file without warning mismatch and keep current color space:

    2015, use it at your own risk.

    #target photoshop

    Var ref = new ActionReference();

    ref.putProperty (stringIDToTypeID ("property"), stringIDToTypeID ("colorSettings"));

    ref.putEnumerated (charIDToTypeID ("capp"), charIDToTypeID ("Ordn"), charIDToTypeID ("Trgt"));

    var docDesc = executeActionGet (ref);

    var colorSetting = docDesc.getObjectValue (stringIDToTypeID ("colorSettings"));

    var theOpenMismatch = colorSetting.getBoolean (stringIDToTypeID ("askMismatchOpening"));

    var theRGBPolicy = colorSetting.getEnumerationValue (stringIDToTypeID ("policyRGB"));

    var theCMYKPolicy = colorSetting.getEnumerationValue (stringIDToTypeID ("policyCMYK"));

    var theGrayPolicy = colorSetting.getEnumerationValue (stringIDToTypeID ("policyGray"));

    disable the warning;

    preserve var is stringIDToTypeID ('Star');.

    setPolicy (preserve, maintain, preserve, false);

    Open the file;

    App.Open (new File("~/Desktop/VA13AHN_1.psd"));

    back to the setting;

    setPolicy (theRGBPolicy, theCMYKPolicy, theGrayPolicy, theOpenMismatch);

    political game.

    function setPolicy (RGB, CMYK, gray, theBool) {}

    // =======================================================

    var idsetd = charIDToTypeID ("setd");

    var desc16 = new ActionDescriptor();

    var idnull = charIDToTypeID ("null");

    ref4 var = new ActionReference();

    ref4.putProperty (charIDToTypeID ('Rprp"), stringIDToTypeID ("colorSettings'));

    ref4.putEnumerated (charIDToTypeID ("CAPP"), charIDToTypeID ("Ordn"), charIDToTypeID ("Trgt"));

    desc16.putReference (idnull, ref4);

    idT var = charIDToTypeID ("T");

    var desc17 = new ActionDescriptor();

    var idpolicyRGB = stringIDToTypeID ("policyRGB");

    var idpolicy is stringIDToTypeID ('policy');.

    desc17.putEnumerated (idpolicyRGB, idpolicy, RGB);

    var idpolicyCMYK = stringIDToTypeID ("policyCMYK");

    desc17.putEnumerated (idpolicyCMYK, idpolicy, CMYK);

    var idpolicyGray = stringIDToTypeID ("policyGray");

    desc17.putEnumerated (idpolicyCMYK, idpolicy, gray);

    var idaskMismatchOpening = stringIDToTypeID ("askMismatchOpening");

    desc17.putBoolean (idaskMismatchOpening, theBool);

    var idcolorSettings = stringIDToTypeID ("colorSettings");

    desc16.putObject (idT, idcolorSettings, desc17);

    executeAction (idsetd, desc16, DialogModes.NO);

    };

  • Why when I click with the left button of the mouse on the unique tool, you open the window with the other instruments?

    When I click with the left button of the mouse on the unique tool, open the window with the other instruments


    Mohito Hi, this morning, I solved the problem by trying to support. I realized that the problem was in mice, because the click rate is at its highest level, and then click the instruments was like if he did 2. I will now set the minimum speed of the clicks.

    Thank you

  • I need to send an email when the recipient opens the PDF with a password, can someone help me and show me how to do

    Hello, I am trying to send an email when the recipient opens the PDF with a password, can someone show me how to do

    Hi Line,

    Password protect a PDF file, you must use Acrobat. If you do not have Acrobat, you can try it free for 30 days. See www.adobe.com/products/acrobat.html for more information.

    In Acrobat, choose file > properties when the document is open, and then click the Security tab allows you to set up a password.

    Please let us know how it goes.

    Best,

    Sara

  • Cannot open the document with 'failed to load Composition.

    After confronting an error message when posting, I can not re open the document with the message "failed to load composition.

    I desperately need to save this document! are there opportunities to save him?

    the screenshot is here.

    javascriptLoading Error.png

    This is the error you get when you open the content published on the web. It is a bug, but you can use the fix below.

    Open the publish/web/index_edge.js and remove the "use strict"; statement at the beginning.

    This will fix the problem. We will address this in the next version.

  • How to design and the list in ascending order from the minimum to the maximum with 6 entries

    Hello

    How to design and the list in ascending order from the minimum to the maximum with 6 entries in Labview?

    It is easy to write in C++, but not in Labview, can be that I am new to Labview. I managed to get the 1st and the 6th after a comparison, but I can't get the 2nd, 3rd, 4th, 5th.

    and can I write language c ++ in Labview VI?

    Thank you.

    Try this:

  • I can't open anything without: "choose which program you want to use to open the file with" and "Application not found".

    I got a used computer and it worked fine for a while. I guess that I did something for her, because now I had a problem with the opening just like files and almost all of the icons in the start menu. I found someone had mentioned this on another post, but it has not been answered and I have the same problem:

    "I don't know what to do. I tried reseting IE back to its "settings by default, but nothing seems to work. It doesn't let me open any programs on my computer. I can't even find the virus because there asking what program I want to open it with and when to choose IE he sent me through a series of 'SAVE or RUN' windows and then back to the "choose a program you want to run the file with.» I am only able to access the internet via a shortcut of Internet Explorer button that I dragged on the start menu, because the original one on my desk does not open. »

    It's the best way I can explain this problem. I've had this problem for a while now and I have looked everywhere for an answer and still nothing. It would be great to get help, thank you!

    After much research, I found the answer here:

    http://WindowsXP.MVPs.org/exefile.htm

    But thanks for the help!

    This problem has not helped me with my problems to download iTunes correctly, that's why I set out to solve this problem in the first place. I also get a lot of it popping up every 10 minutes:

    "MobileDeviceService has encountered a problem and needs to close. We are sorry for the inconvenience. »

    The error signature is always:

    szAppName: AppleMobileDeviceService.exe szAppVer: 17.88.0.8

    szModName: kernel32.dll szModVer: 5.1.2600.5781 offset: 00012afb

    It won't do anything when I click to send error report or not, it does not close anything as it is normally would. I think it might have something to do with the steps I took to reinstall iTunes properly...

    And

    1. I use Microsoft Windows xp Version 5.1, at least that's the stuff I wrote, do not know if this is the answer you're looking for. I am not sure computers.

    2. my anti-virus software is ESET NOD32 Antivirus 4

  • Cannot open the PDF with Firefox 11.0

    Firefox automatically upgrades the version I use. Since he has recently been updated I can't open pdf files. Am facing a blank page. I went through some of the suggestions on these pages, and when I opened the tool window, there is a caveat:

    Firefox PDF Plugin for Mac OS X is not compatible with Firefox 11!

    Is there a way around it? Or it's time to say goodbye to Firefox and go on Safari?

    I had the same problem. Go in Tools > Modules > Plug-Insand disable the plugin Adobe Acrobat. Once I did, my PDFs opened in preview.

Maybe you are looking for