How to use niDCPower_ConfigureSoftwareEdgeMeasureTrigger in PXIe-4154 (each vi session has two active channels)?

I am trying to use this function in my CVI code to configure a PXIe-4154 to make measurement based on software trigger.
niDCPower_ConfigureSoftwareEdgeMeasureTrigger
I saw this RUN TIME ERROR when I execute the code. Error code -1074118587 ... the requested function is not available when multiple channels ar present in the same session.
But this functions is supported by PXIe-4154.
So how do I go about telling the API that I only need to apply to say channel 0, and get over this problem?

Hello Juswanto,
I see that you are getting help from the AE department directly. We will continue with that method of communication. Thank you for contacting National Instruments.
Regards, 
National Instruments
Applications Engineer

Similar Messages

  • How to use the different class for each screen as well as function.

    Hi Experts,
    How to use the different class for each screen as well as function.
    With BestRegards,
    M.Thippa Reddy.

    Hi ThippaReddy,
    see this sample code
    Public Class ClsMenInBlack
    #Region "Declarations"
        'Class objects
        'UI and Di objects
        Dim objForm As SAPbouiCOM.Form
        'Variables
        Dim strQuery As String
    #End Region
    #Region "Methods"
        Private Function GeRate() As Double
                Return Double
        End Function
    #End Region
    Public Sub SBO_Appln_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean)
            If pVal.BeforeAction = True Then
                If pVal.MenuUID = "ENV_Menu_MIB" Then
                End If
            Else ' Before Action False
                End If
        End Sub
    #End Region
    End Class
    End Class
    Rgds
    Micheal
    Vasu Anna Regional Feeling a???? Just Kidding
    Edited by: micheal willis on Jul 27, 2009 5:49 PM
    Edited by: micheal willis on Jul 27, 2009 5:50 PM

  • How to use the same email address for outgoing email on two iPads?

    How to use the same email address for outgoing email on two iPads?.   My wife and I both use the same email address.  We receive the same incoming email on both iPads but are unable to send email from my wife's iPad.  She is using an iPad 2 and is usng IOS 6.0.1

    Hi Creaturekeeper,
    If you've added the account into the iPad and you are unable to send email from it, then please follow the troubleshooting in the article below.
    Get help with Mail on iPhone, iPad, and iPod touch - Apple Support
    Take care,
    Alex H.

  • How do I stop my itunes from saying my session has timed out when i'm trying to download a song

    How do I stop my itunes from saying my session has timed out when i'm trying to download a song

    What troubleshooting steps have you tried so far?
    Basic Troubleshooting Steps when all else fails
    - Quit the App by opening multi-tasking bar, and swiping the App upward to make it disappear.  (For iOS 6, holding down the icon for the App for about 3-5 seconds, and then tap the red circle with the white minus sign.)
    - Relaunch the App and try again.
    - Restart the device. http://support.apple.com/kb/ht1430
    - Reset the device. (Same article as above.)
    - Reset All Settings (Settings > General > Reset > Reset All Settings)
    - Restore from backup. http://support.apple.com/kb/ht1766 (If you don't have a backup, make one now, then skip to the next step.)
    - Restore as new device. http://support.apple.com/kb/HT4137  For this step, do not re-download ANYTHING, and do not sign into your Apple ID.
    - Test the issue after each step.  If the last one does not resolve the issue, it is likely a hardware problem.

  • How to use ShowValue within a UIX/JSP page to display an active link?

    I am storing URL's in the DB and want to display them as active links on a UIX/JSP page. I thought that I had this working some time ago, but now it no longer works.
    Using <bc4juix:RenderValue datasource="ds1" dataitem="myTextField" /> will display "http://www.otn.oracle.com" as an inactive link using UIX/XML which is expected.
    Using <jbo:ShowValue datasource="ds1" dataitem="myTextField" /> will display an active link using if using BC4J/JSP, which is expected.
    However, I have not been able to do this using a UIX/JSP page.
    Is it possible to use ShowValue within a UIX/JSP page to display an active link?
    Thanks,
    Bill G

    Hi Juan,
    I've done the following and it does not work for me;
    --- snip ---
    <uix:form name="form1" method="GET">
    <bc4juix:Table datasource="ds1" >
    <uix:columnHeaderStamp>
    <uix:styledText textBinding="LABEL"/>
    </uix:columnHeaderStamp>
    <%--
    <jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
    <bc4juix:RenderValue datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    </jbo:AttributeIterate>
    --%>
    <bc4juix:RenderValue datasource="ds1" dataitem="FacilityDesc" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationId" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationDesc" />
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:contents>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    </uix:contents>
    --- snip ---
    Bill G...

  • How to trigging a object event which the object type has two key fields

    Hi,kind guys
    I use the object type QMSM about qualification notification task,it has two key fiedls,qualification notification number and task number (can display by t-code -QM03), I want to trigging the event 'create' in  BOR 'QMSM ' by function SWE_EVENT_CREATE(or SAP_WAPI_event_create), but it only has one object key ,
    example:
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        OBJTYPE                       =  OBJTYPE
        OBJKEY                        =  OBJKEY " only one key
        EVENT                         =   EVENT
    but the BOR object 'QMSM' has two keys,so it cann't be trigged rightly.
    thanks for any help.

    You have to Concatenate the Business object keys and pass it in one variable OBJKEY.
    Thanks
    Arghadip

  • How to use niSwitch_InitWithTopology with PXI-2567 relais card

    Hello,
    I'm trying to get the NI Visual Basic example niSwitchControllingAnIndividualRelay.vbp working with a PXI-2567 relais card.
    I doesn't seem to get my ResourceName and Topology (the first two parameters of the niSwitch_InitWithTopology function) right (the example program creates the errors 1074130544 "This session is not valid" and 1074135030 "Failure loading driver module").
    Where can I find the right ResourceName and Topology for the PXI-2567 (self test all right) to fill in these two parameters ?
    With thanks,
    best regards,
    Geert
    Attachments:
    IMG1.gif ‏28 KB

    Hello AlessioD,
    the relay card PXI-2567 stopped "working" again (I don't know why). So I checked the 'Tools' - 'Select switch card' from the Measurement and Automation Explorer with as result the error "Failure loading driver module" on 'OK'.
    Seems that the driver module of this PXI-2567 can't be loaded. NI-switch 32.dll gives the same error report from the Visual Basic sample program.
    What can be the problem and how to fix it ?
    With thanks,
    best regards,
    Geert
    Attachments:
    driver_not_loaded1.gif ‏37 KB
    driver_not_loaded2.gif ‏28 KB

  • How to use "On My Mac" folders for gmail messages on two MacBooks

    I am currently using a MacBook and a MacBook Air simultaneously and would like to shift email messages from my gmail account to "on my mac" folders on both computers because I receive message of the same topic from different email accounts. However, as soon as I move a gmail message from my IMAP account to an "on my mac" folder it will be removed from the server and it will not download on my other Mac.
    The only solution I found is switching the gmail IMAP account to a POP account and tell the server to keep all messages so I can download them on both Macs and move them into an "on my mac" folder. But Mail 4.3 will not allow me to create a gmail POP account, it automatically assumes I want to create an IMAP account as I tap the "+" button in setting->accounts and enter my details.
    How do I tell Mail 4.3 that I want to create a gmail POP account and not an IMAP account?
    Is there maybe another solution to my problem other than changing to a POP account?
    Thanks a lot for your support!

    Hello tjlj
    Try just exporting out the mailboxes from the old computer, putting them on a flash drive and then importing them in using the import feature in Mail. If you are not using Lion, the steps to export are still the same.
    Lion Mail: Export mailboxes
    http://support.apple.com/kb/PH4811
    Mac OS X Mail: How to import email
    http://support.apple.com/kb/ht2442
    Regards,
    -Norm G.

  • How to use a Submit Sentence with a transaction tha has 2 screens?

    Hi all,
    I want to use the SUBMIT sentence to call the WRP1 transaction, but how can I control the second screen after the SUBMIT to the 1000 screen??.
    This because the first screen of this transaction is returning me to the second one, and I need to hit the execute button at the second screen. 
    thks all!!!

    That won't work using SUBMIT...You will be able to at most SKIP FIRST SCREEN but cannot execute button on second screen.
    Here is work around
    Create a small Z program which will have BDC recoridng for WRP1 first screen and record Execute action on second screen..Submit your Z program from your current program
    Regards,
    Mohaiyuddin

  • HT201250 How to Use One Time Machine External Drive to Back Up Two Macs

    How do I set up two computers -- an iMac and a MacBook, both running Mountain Lion -- to use a single external hard drive for Time Machine backups?
    Both are on an Airport Extreme network

    Yes, it does.
    I took it from there and the iMac is now backing up its contents on the HD.
    Thanks very much for your knowledgeable and prompt help.
    Best regards,
    ed

  • How to use task flow's transaction options with session's user data

    Hi.
    I have custom extension of ApplicationModuleImpl class:
    package test.model
    imports...
    public class CustomAppModuleImpl extends ApplicationModuleImpl {
        public static final String SESSION_VAR = "MySessionVar";
        public CustomAppModuleImpl() {
            super();
        @Override
        protected void prepareSession(Session session) {
            super.prepareSession(session);
            System.out.println("######## " + this.getClass().getName() + ".prepareSession() called.  AM isRoot() = " + isRoot());
            Hashtable userData = session.getUserData();
            if (userData == null) {
                userData = new Hashtable();
            userData.put(SESSION_VAR, "Useless");
        @Override
        protected void create() {
            super.create();
            System.out.println("######## " + this.getClass().getName() + ".prepareSession() called.  AM isRoot() = " + isRoot());
    }Inside userData I store some useful session-based values (here is just an example ;) ).
    Within Model.jpr I defined that every Application Module I create must extends this CustomAppModuleImpl :
       <value n="oracle.jbo.extends.appModule" v="test.model.CustomAppModuleImpl"/>
    ...I have one AM with one view:
    package test.model;
    import oracle.jbo.server.ViewObjectImpl;
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Wed Mar 07 20:22:11 CET 2012
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    public class AppModule1Impl extends CustomAppModuleImpl {
         * This is the default constructor (do not remove).
        public AppModule1Impl() {
         * Container's getter for EmployeesView1.
         * @return EmployeesView1
        public ViewObjectImpl getEmployeesView1() {
            return (ViewObjectImpl)findViewObject("EmployeesView1");
    }Now I have BTF (bounded task flow, with default properties) and I call that task flow on a button press. With default properties ( Transaction: <No Controller Transaction> ) I get preferred values from session's userData within Entity Object.
    Code snippet inside that entity implementation looks like:
            DBTransaction dbt = getDBTransaction();
            System.out.println(getClass().getName() + " entity lives AM: " + dbt.getRootApplicationModule().getClass().getName());
            if (dbt.getSession().getUserData() == null) {
                System.out.println(CustomAppModuleImpl.SESSION_VAR + " -> NULL");
            } else {
                System.out.println(CustomAppModuleImpl.SESSION_VAR + " -> " + dbt.getSession().getUserData().get(CustomAppModuleImpl.SESSION_VAR));
    ...And as I mentioned output is correct:
    test.model.EmployeesImpl entity lives AM: test.model.AppModule1Impl
    MySessionVar -> UselessNow the trickiest part. As soon as I change property of called task flow Transaction to something else that +<No Controller Transaction>+, e.g. Always Begin New Transaction, code snippet from task-flow.xml :
        <transaction>
          <new-transaction/>
        </transaction>
    ..This session stuff begin to act unpredictably. Session's userData is now null. And Output looks like:
    test.model.EmployeesImpl entity lives AM: oracle.jbo.server.ApplicationModuleImpl
    MySessionVar -> NULLWhy in the world ADF uses oracle.jbo.server.ApplicationModuleImpl instead of test.model.AppModule1Impl or at least my defined test.model.CustomAppModuleImpl ?!?
    Is this a bug? Or maybe a feature?
    10x
    Regards

    Hi,
    Why in the world ADF uses oracle.jbo.server.ApplicationModuleImpl instead of test.model.AppModule1Impl or at least my defined test.model.CustomAppModuleImpl ?!?
    Is this a bug? Or maybe a feature?
    ADF BC alwyas has a transaction opened even if the ADFc setting is No Transaction. So if you explicitly ask for a new transaction I assume that the ADF BC data control creates a new transaction without re-executing your AM initialization codes. Looks as if it uses an internal AM instance for this just to hold the transaction. However, worth filing this as a bug - assuming you reproduced this with a later version of either JDeveloper 11g R1 or R2
    Frank

  • How to use a script to kill only forms sessions idle for over 30 minutes?

    We want to use a script to kill forms users idle for over 30 minutes, but we don't want to kill background concurrent processes waiting for resources. even though we set up the timeout but it won't work for users who exit forms ungracefully.
    thanks!

    Java runs at the serverside, while you need a clientside solution. Javascript is perfectly suitable. Pass the current maxInactiveInterval() value to a Javascript variable and write a function around it. You can use for example the onkeypress attribute of the body to clear the timeout counter.

  • I want to know how to check my balance on an itune card that has been activated?

    Hi I purchased an itunes card and just wanted to know how to check the remaining balance on the card. Somewhat new to this.

    Redeem it.
    Once the card is redeemed, the balance is on your account, not the card.

  • How to tell my iwork is a trial version or has been activated?

    How can I tell it is a trial version or not?

    Menu > Pages > About Pages
    It should say under the version number.
    Peter

  • How to use JDeveloper with manifest.mfs?

    I'm trying to figure out how to use JDeveloper to setup a J2EE application that contains two Web applications so that the Web applications will share the same instance of a log4j library.
    I've created the two Web apps and their deployment profiles and I've created a deployment profile for the EAR that contains the two Web apps. I've successfully deployed the EAR to the stand-alone OC4J on my development system and run the two Web apps. Currently the two apps use a log4j library in j2ee\home\lib, but that option doesn't support using separate log4j.properties files for each application.
    I've read the pre-release 9iAS 9.0.4 Servlet Developers Guide document and would like to use the third option described in the Guide's appendix that tells how to share the log4j library by specifying the log4j.jar file in a class-path entry in manifest.mf.
    My problem is I just don't understand the in's and out's of using/creating manifest.mf files with JDeveloper and its deployment profiles.
    Do I create manifest.mf's myself, and if so where should they be in the source folder heirarchy? Should the manifest.mf files for both Web apps include class-path entries for the log4j library, or only the manifest.mf file for the EAR? What are the right manifest.mf settings to use in the deployment profiles for the Web apps and the J2EE app?
    For example, should the EAR deployment profile be configured to merge the manifest.mf files of the two Web apps? Is it necessary to make one of the Web apps dependent on the other Web app?
    Thanks,
    Al Margheim

    Hi,
    Thought I'd use the same subject, because it matches my problem. The questions are:
    1. How do I get JDeveloper to use MANIFEST files properly? I'm using 9.0.3.1 and I have tried (un)checking different options in the EJB JAR/EAR deployment profile, but I never get the archive structure I want.
    2. How do I include third-party JARs in the final EJB JAR/EAR? Any attempt I make to include a library JAR ( via Project Settings or by adding to the project) gives me an expanded set of classes contained in the JAR file, which is something I don't want.
    Of course, I could easily achieve all that I want with Ant, and it will have to be outside JDev (using Ant within JDev prevents JDev from offering me its "full feature set"!). But I'd like to be able to do this while I'm still in the IDE (for what it's worth).
    Any suggestions/recommendations/pointers are welcome.
    regards
    George

Maybe you are looking for