How to switch two Digital IO in a DAQmx as a output

Hello, i need to switch two Digital IO in a DAQmx (Output in a PXI-6528).
LabVIEW launch next error:
Error -200014 occurred at DAQmx Create Channel (DO-Digital Output).vi
Possible reason(s):
Terminal cannot appear multiple times within a single digital input or output task.
Physical Channel Name: port3/line0
Virtual Channel Name: PXI1Slot3/port3/line0
Task Name: MyDigitalOutTask

Hi Andreu,
the best way to analyze your question is to post a short example on the programming language that you´re using in order to investigate a little bit.
Moreover, under NI Find Examples of LabVIEW (if you programm with LabVIEW), you can find several examples how you can programm your digital port about (you can type "Write" or "digital" under Search tab).
One example would be: "Write Dig Chan-Int Clk-Dig Start.vi".
Regards
Diego M.

Similar Messages

  • How to switch two languages in wireless keyboard in window 7 in imac?

    I bought Imac in Canada and bought wireless keyboard which has Korean and English in Korea. Now I connect and use English Korean keyboard in OS X  succesfully. But I can't use English Korean keyboard in window 7 in Bootcamp.. The English Korean keyboard is already connected but can't type Korean. I tried command and space bar, and alt key when I want to switch that. But It just doesn't work. Please let me know how I can use Korean in my keyboard. Thanks

    That is obviously a point of view that many would share. However, it does not really answer the question :-).
    When using multiple Desktops with many open apps using Cmd + Tab can require a lot of keystrokes - even if you use Cmd + Shift + Tab to move backwards.

  • How to switch two buttons at same place?

    Hi everyone,
    I'm changing the GUI of my project. The following is a test program. It want to switch jButton2 and jButton3 at same place when you click jButton1. But it cannot display jButton3. What's problem? Who can help me?
    Thank you very much.
    CODE ----------------------------------------------
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends JFrame {
    JPanel jPanel1 = new JPanel();
    JButton jButton1 = new JButton();
    JButton jButton2 = new JButton();
    BorderLayout borderLayout1 = new BorderLayout();
    JButton jButton3 = new JButton();
    public Test() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    jButton1.setText("jButton1");
    jButton1.addActionListener(new Test_jButton1_actionAdapter(this));
    jButton2.setText("jButton2");
    jPanel1.setLayout(borderLayout1);
    jButton3.setText("jButton3");
    jPanel1.add(jButton1, BorderLayout.NORTH);
    jPanel1.add(jButton3, BorderLayout.CENTER);
    jPanel1.add(jButton2, BorderLayout.CENTER);
    getContentPane().add(jPanel1);
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    public static void main(String[] args)
    Test t = new Test();
    t.setSize(100,100);
    t.show();
    void jButton1_actionPerformed(ActionEvent e) {
    if (jButton2.isVisible())
    jButton2.setVisible(false);
    jButton3.setVisible(true);
    else
    jButton3.setVisible(false);
    jButton2.setVisible(true);
    class Test_jButton1_actionAdapter implements java.awt.event.ActionListener {
    Test adaptee;
    Test_jButton1_actionAdapter(Test adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton1_actionPerformed(e);
    }

    Try this:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends JFrame {
    JPanel jPanel1 = new JPanel();
    JButton jButton1 = new JButton();
    JButton jButton2 = new JButton();
    BorderLayout borderLayout1 = new BorderLayout();
    public Test() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    jButton1.setText("jButton1");
    jButton1.addActionListener(new Test_jButton1_actionAdapter(this));
    jButton2.setText("jButton2");
    jPanel1.setLayout(borderLayout1);
    jPanel1.add(jButton1, BorderLayout.NORTH);
    jPanel1.add(jButton2, BorderLayout.CENTER);
    getContentPane().add(jPanel1);
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    public static void main(String[] args)
    Test t = new Test();
    t.setSize(100,100);
    t.show();
    void jButton1_actionPerformed(ActionEvent e) {
    if (jButton2.getText().equals("jButton2")) jButton2.setText("jButton3"); else jButton2.setText("jButton2");
    class Test_jButton1_actionAdapter implements java.awt.event.ActionListener {
    Test adaptee;
    Test_jButton1_actionAdapter(Test adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton1_actionPerformed(e);
    The idea is to change the appearance of a single button instead of dealing with two separate buttons. If you want the second button to perform different task, you can use the getText() method and check to see whether is says jButton2 or jButton3.
    ;o)
    V.V.
    PS: If this helps, don't for get the Dukes.

  • How to switch two fields with one of them OBLIGATORY

    Hi everyone,
    i have two radio button on the screen: RD_A  and RD_B, while there are two fields corresponding to them: P_A and P_B, P_A is OBLIGATORY.
    i want to implment: when i click RD_A, field P_A is enable and field p_B is disable. when i click RD_B, field P_B is enable and field P_A is disable.
    i tried using LOOP AT SCREEN ...screen-input = '0' and screen-required = '0' ....MODIFY SCREEN...statements, but it cannot work fine. when i switch from A to B, it always popup error message 'Fill in all required entry fields'.
    can anyone help me? thanks in advance!

    you can try this approach, instead of using Obligatory Addition.
    REPORT  ztest_radio.
    TABLES: sflight.
    SELECT-OPTIONS: carrid FOR sflight-carrid,
                    connid FOR sflight-connid.
    PARAMETERS: r1 RADIOBUTTON GROUP g1 USER-COMMAND abc DEFAULT 'X',
                r2 RADIOBUTTON GROUP g1.
    AT SELECTION-SCREEN OUTPUT.
      IF r1 = 'X'.
        LOOP AT SCREEN.
          IF screen-name CS 'CONNID'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-name CS 'CARRID'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    AT SELECTION-SCREEN.
      IF sy-ucomm = 'ONLI'.   "This triggers only when you press execute button
        IF r1 = 'X'.
          IF carrid IS INITIAL.
            MESSAGE 'Enter Carrid' TYPE 'E'.
          ENDIF.
        ELSE.
          IF connid IS INITIAL.
            MESSAGE 'Enter Connid' TYPE 'E'.
          ENDIF.
        ENDIF.
      ENDIF.

  • How to design a digital switch in order to modulate an analogue carrier?

    Hi,
    I am struggling with something that, I think, might be simple. I am programming a digital modulator. It multiplies an analogue waveform (carrier) by 1 or -1 according with the value in the digital signal.
    Thus, how to design a digital switch using a digital waveform? 
    I have tried to use Numeric and Boolean functions, but I am getting constant errors due to data type incompatibilities (broken wire).
    Many thanks,
    Dave

    MInd showing us your code?
    You might have to use a FOR loop to process your data.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Hi. I tried switching my Apple ID email address to my new email address and I don't know how to switch it for iCloud and iTunes. Please help!! It seems like Apple thinks I have two separate accounts, when I just tried to simply change it!

    Hi. I tried switching my Apple ID email address to my new email address and I don't know how to switch it for iCloud and iTunes. Please help!! It seems like Apple thinks I have two separate accounts, when I just tried to simply change it!

    Settings > Store > Sign Out.
    Sign in with the correct ID.

  • I have just owned a macbook pro and trying to learn things since i have all along used windows laptop. My first question is : when there are two files i am working together, one above the other on screen, how you switch over between the two with key ?

    I have just owned a macbook pro and trying to learn things since i have all along used windows laptop. My first question is : when there are two files i am working together, one above the other on screen, how you switch over between the two with key ?

    Hi...
    Mac OS X keyboard shortcuts
    Control-F4
    Move focus to the active (or next) window
    Shift-Control-F4
    Move focus to the previously active window
    By the way...  since you are new to Mac, click a clear space on your Desktop. You should see "Finder" top left corner of the screen in the menu bar.
    Click Help then click Help Center
    As an example type in    keyboard shortcuts
    You can use the Help menu for almost any application on your Mac.
    Apple - Find Out How - Mac Basics
    For held switching from PC to Mac >  Apple - Support - Switch 101

  • How to get only two digits after decimal point of an expression

    i am doing simple multiplication between two float numbers.
    both the numbers have two digits after decimal point.
    so naturally the result will have 4 digits after decimal point.
    i want to get only two digits after decimal point.
    help me please...

    If you just want to limit the displayed decimal places, you can do the following...
    import java.text.*;
    public class Formatting {
        public static void main(String[] args) {
            NumberFormat format = NumberFormat.getNumberInstance();
            format.setMaximumFractionDigits(2); //what you seem to want
            format.setMinimumFractionDigits(2); //if you always want at least 2 digits displayed
            System.out.println(format.format(12.345));
            System.out.println(format.format(12.0));

  • How to switch USB-6008 between digital input and output modes

    Hi I have been following the examples of setting a specific port to either inout or output using the DAQmxCreateDIChan() or DAQmxCreateDOChan() calls. What I now want to do, is switch betwen inout to output mode and back again.
    DAQmxCreateDOChan()
    DAQmxWriteDigitalLines()
    // do something
    //switch to input
    DAQmxReadDigitalU32()
    // switch back to output
    I can't seem to find any calls or discussions on this.
    rjmiller

    Hi RJM,
    If you want to be able to switch your digital line between input and output, then you will need to use the Tristate Property. There is another discussion forum with more detailed information about using this property and I believe that you have already seen it. I am going to post the link in case anyone else wants to see the other forum as well: Tristate Property Discussion Forum. Reddog's post is very informative.
    Regards,
    Hal L.

  • How to switch between messages in the BlackBerry Hub

    With the release of BlackBerry 10 version 10.1, we’ve added a new gesture to the BlackBerry Hub that allows you to quickly switch between your next and previous messages. It’s simple: while viewing a message drag your finger from the left to the right and in one continuous motion swipe up or down.
    For example, in the following screenshot you’ll notice I am viewing ‘Test 08”. To get to the next message, “Test 09”, all I need to do is swipe from left to right (red arrow) followed by swiping up (green arrow) in a single motion. To switch to the previous message, “Test 07”, I complete the same gesture, but swipe down instead (blue arrow).
    Tip: Using a BlackBerry Q10 or Q5? On top of using this gesture to switch between messages, you also have the option of pressing the N key to view your next message, or the P key to view a previous message.
    If this gesture doesn’t appear to be working on your device, verify you are using BlackBerry 10.1.0.4181 or later by going to Settings > About and reviewing the OS Version field. If the OS Version is lower than 10.1.0.4181, check for updates by going to Settings > Software Updates.
    For more details about the availability of BlackBerry 10.1, check out Inside BlackBerry’s post on BlackBerry 10 Software Updates.
    VIA | helpblog.blackberry.com
    http://helpblog.blackberry.com/2013/10/how-to-switch-between-messages-in-the-blackberry-hub/
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

    I would set up a variable before you get to that node, lets call it $EmpID and assign to it the value of the prompt you want to play lets say 12345 which would be the library promptID. It will then play prompt, get digits, and once you validate if it goes through the expression that flags it as invalid, in that node re-declare the variable, but this time give it the value of the new prompt you want to play, then sent it back to the node which will then play the new prompt and collect the digits.

  • How to switch off internal macbook screen when using external monitor(s)

    as far as i observed, adding external displays ( running different screens on them, not mirroring)  to a macbook pro  increases the gpu workload and with that comes temperature rise in the laptop and increase in ventilator noise - and probably increased hardware aging and risk of component faillure due to high temperature inside the laptop.
    simply try connecting two external 27" screens and open some flash video on both of them. then run a temperature monitoring software and watch temps rise, compared to running same flash videos / demanding tasks only on one connected external screen or only on the laptop screen with no external monitor connected.
    especially in mavericks, due to its increased background routines, such a set-up appears ever the more taxing, then again who does not love apple`s nice adds showing laptops with two 27” screens connected to it and the workspace vision they invoke....
    i have seen temps around 100° to 102° celsius on a 13" macbook pro 2012 edition, which i would expect is territory where the cpu / gpu temp safety switches will trigger system shutdown any time soon ( hardware status before verified as fully in order by apple service and default osx installation)
    imagine your anti-virus software starting some realtime content screening while runnign some demanding tasks already and the system shuts down easily (all such situation observed in reality)
    (would be interesting to see how a retina display macbook fares with 2 external monitors running demanding tasks, considering the retina display already increased taxing for the gpu - any experience from users of such a setup would be very much appreciated as it will provide critical purchase decision intelligence for all of us envisioning a retina-book and two big screens adoring our desks...)
    turning down the macbook`s built-in screen`s backlight may reduce power consumption but i have not seen any evidence that it switches off the gpu-to-screen feed and respective gpu load - it certainly did not prevent gpu, cpu, board, etc temps to rise to borderline levels.
    so the key question here is, how to switch off the macbook pro`s built-in screen in order to avoid gpu cycles being wasted on that screen ( and the resulting heat developments)  when working with big external screen(s)  connected to the laptop ?

    this thread talks about running several monitors as advertised by apple and running demanding task on them.
    with the lid open, the keyboard offers a very efficiant heat escape vector, which is blocked when the lid is closed - this is a basic and commonsense insulation effect.  this thread also mentions the use of temperature monitoring software and thus a repeatable test setup. the temps recorded were also mentioned. they rose when the lid was closed, the running task remaining unchanged. as far as i could track down the cpus in discussion will shut down around the 105 degree celsius range. i observed system shut downs when the system approached 103° celsius.  not to mention that the fans will run loud well before that.
    again this is on hardware checked and ok-ed by apple service.
    the question still welcoming an expert answer: is there any way to switch off the built-in macbook monitor while the lid is open ?

  • In Lion, Word for Mac only prints last two digits of year

    In Snow Leopard, the automatic dates that auto fill in Word for Mac (08, 2011) worked fine...BUT since I 'upgraded' to Lion, (10.7.3) only the last two digits of the year will autofill, EVEN in full date mode...ie, SHOULD BE:
    February 21, 2012
    BUT auto filled as: February 21, 12
    I saw on a MS help site that it's ID'ed as a problem in Lion:
    From http://answers.microsoft.com/en-us/mac/forum/macoffice2008-macword/automatic-dat e-entry-doesnt-enter-entire-year/91793432-006b-4f6a-99fa-cf425266cb84
    This was the query:
    automatic date entry doesn't enter entire year
    Applies To: Office for Mac | Office 2008 for Mac | Word for Mac
    When I enter the weekday at the beginning of a sentence, the month, date and year are automatically filled in. However, instead of having the whole years, such as 2011, it only enters the last two digits, such as "11". This is new since an update a month or so ago. I would like to set it back to the original "Friday, November 04, 2011" if possible.
    Appreciate any help I can get.
    ANSWER:
    Its a bug in OSX.7 evidently MS has not rung up Apple and said hey get off your duff and fix this date issue.  If you can find a place to send bug report to Apple do so.
    So I checked the OSX Lion support site on apple.com and could not find an answer.
    Does anyone know how to fix or how to get Apple to fix?
    Thank you.

    It's a bug, but whether it's a bug for Apple to fix or for Microsoft to fix is unknown. The thread you post is unauthoritative, being only comments by other users who have no more idea as to where the bug really lies (unless an Apple engineer has confirmed a Lion bug, something I've not seen) as any other user does; no one in that thread works for or speaks for either Microsoft nor Apple.
    You can comment on the issue to Apple, if you wish:
    http://www.apple.com/feedback/macosx.html
    but whether it's something they can fix or whether it's Microsoft's problem I can't say.
    Regards.

  • How to write Arabic digits in PS

    I have installed photoshop cs 4 Middle east version.There is one problem to writing arabic digits..
    How to write these digits into arabic form ..(1,2,3,4,5,6,7,8,9,0).
    I have install Arabic fonts.
    Also window support Arabic language.
    ThanX

    Yoni
    Did that work?
    I would defiantly not tried that as a first choice.
    I presume that only the character panel has Arabic on it.
    What are the other panels in? English or Hebrew?
    1st option try http://forums.adobe.com/thread/526990?start=0&tstart=0 Trashing preferences, probably will work.
    2nd option If that doesn't help you can try http://www.indiscripts.com/post/2009/10/switching-indesigns-ui-language-in-windows but I'm not sure that will help either.
    3rd option get in touch with WinSoft support. http://www.winsoft-international.com/en/support/support-contact.html That is presuming that you registered your product.
    4th option do what Ariel suggested.
    Let us know what happened and what did work.
    Regards
    Trevor

  • How to synchronize two fpga DIO?

    Hi!
    I am using two FPGA 7962R (flexrio) with each 6581 terminal board in PXIe-1082 chassis. My problem is how to synchronize two 7962R digital output with PXIe-1082 chassis backplane signal Dstar* or Clk10 or DAQ signal.
    Actually I tried the synchronization with one DAQ counter clock (confering 'Gen Dig Pulse Train-Finite_NI. vi') , and get the signal PXI-Trig0 by source terminal and target terminal connection, but that one does not work properly. Especially, one trigger signal in HOST to set the starting point of each FPGA (7962R), make error by depending on the trigger signal value(Hz value and Timed loop clock in FPGA vi). It was very tricky and not reliable. (I am attaching figure files as explaining the situation)
    My aim is simply to use two FPGA 7962R Digital output as one FPGA, for controling X-axis, Y-axis with each FPGA, while able to change each FPGA (X-axis, Y axis) digital output value. Because the synchronization is not correct, X,Y axis control with Two FPGA currently is out of target if I use simply while-loop design in HOST and timed-loop design in FPGA vi. What is correct design to synchronize the two FPGA 7962R without using PFI line, only with PXIe-1082 chassis backplane signal and able to change the digital output value? Please let me know any idea for HOST vi, FPGA vi programming.
    Many Thanks
    Attachments:
    host1.png ‏47 KB
    fpga1.png ‏131 KB

    Posted response to this in the following thread:
    http://forums.ni.com/t5/Real-Time-Measurement-and/synchronization-two-fpga-7962r-digital-output/m-p/...
    Patrick H | National Instruments | Software Engineer

  • HT5961 I want to receive the verification code for the keychain but I was sent to unknown number because the last two digits do not represent my phone number

    I want to receive the verification code for the keychain but I was sent to unknown number because the last two digits do not represent my phone number, so how can I change it to receive it on my cell phone ?

    I found this in the iCloud Keychain FAQs:
    How do I set up iCloud Keychain on a new device if I don't have one of my other devices to approve from?
    If you don't have access to any of your other devices that are using iCloud Keychain, you can still set up iCloud Keychain on another device if you have these items:
    - Your iCloud Security Code
    - The device that is using the SMS-capable phone number you provided when you first set up iCloud Keychain. A verification code is sent via SMS to this phone number. If you don't have access to this number, contact Apple Support, who can verify your identity so that you can complete setup on your new device.
    - If you have these items, follow the iCloud Keychain setup steps documented above. Your iCloud Keychain will then be pushed from the cloud to the new device.
    So it seems that you would have to directly contact the Apple Support: http://www.apple.com/support/icloud/contact/

Maybe you are looking for

  • Installing 10.8 over 10.9 w/o optical drive?

    I know this has been talked about, but I have a unique case. I am basically having a nightmare situation with Pro Tools and Mavericks. I just bought a Macbook Pro Retina and it came with 10.9. I absolutely need to install 10.8 and wondering how I go

  • Bex broadcasting

    hello Prakash Darji, can i select the filter by selected characteristics for the output format as MHTML in the Bex Broadcast email. I am having troubles in selecting the filters. its saying "Filter navigation is not supported with the output format s

  • Data Load using only 1 data package

    Hi, I am moving data from one cube to another manually using an infopackage. This system has recently been upgraded from 3.0 to 3.5. It is only using 1 datapackage (I am loading 19m records) and have done this successfully before and it used 4 datapa

  • I've problems with imessage

    i've problems i update to IOS5 but imessage doesn't work with wifi always failure when i send to another i phone ISO5?and my frinds's iphome after update the imessage worke ?

  • 10.4.5 update and iPod updater

    Hi all, I have a G4 PB 15 inch running 10.4.4 (everything working perfect!) I also have a 60G ipod video edition, also working perfect. I have seen the posts about problems with the 10.4.5 update and also the ipod updater so I have not installed them