Group execute Trigger on 2 DMMs

Hello

I'm trying to use software trigger to trigger two Agilent 34401 DMM "simultaneously".  I found this article from 2007:

http://forums.NI.com/T5/LabVIEW/how-do-I-use-visa-to-perform-get-Group-execute-trigger-to-three/m-p/...

However, the answer is less useful, because it does not address the issue.

What I'm trying to use is the function GPIB 488.2 Trigger List (such as recommended by NEITHER).  However, generating a list by program turns out a touch... interesting.

Given that the selection of the device is made using aliases VISA, I am trying to use a property node to retrieve the GPIB address.  As a temporary trial, I use a VI with the attached excerpt included code.  With DMM configured in GPIB0::6:INSTR and GPIB0::22:INSTR (but try this at home with no real hardware attached), my probe shows all the values of property as 0.

I tried the wrong approach?  Try this at the office with the DMM attached would produce a different result?  (I'll try again tomorrow anyway.)

All comments would be appreciated.

Kind regards

Geoff

Try to work with the connected digital multimeters (and turned on), the primary address property returns exactly what I expect and the code snippet works - apparently - perfectly.

I had been struggling with getting the DMM to trigger and retrieve the measurements of the DMM.  I tried to use the 'Trigger' function, but it doesn't seem to work without additional steps to ensure that the right listeners are selected - so the function "basic list".  I also had problems of data recovery - partially because he was (probably) not trigger, but especially because I wasn't not wait long enough so that all samples must be collected.

For more information, this system has (by default, but configurable) 10 samples being played at intervals of 0.1 s, so you have to wait a second.  I could just have increased the timeout, but it's a bit messy.  Otherwise, I guess I could loop waiting for signals to be ready, but the driver for this DMM does not seem to include a query function.

The screw with a symbol of the timer on them simply contain a call to Wait (ms).  It's cleaner (in my opinion) that put in a frame.  Now that I have the work function, I also replaced the frame function timestamp and relaxation with a sub - VI.

Kind regards

Geoff

Tags: NI Software

Similar Questions

  • How can I send a GET command (Group execute Trigger) with the "VISA write VI"?

    I have an old Type of Yokogawa (1981) 2553 (DC voltage current Standard) with a GPIB and an Agilent converter USB to GPIB interface. So I write my orders using the "VISA write VI. According to the manual, I send the GET command after the other commands. How can I do this?  I tried to use the GPIB VI, instead of VISAS, but I always got the error 7: "NOR-488: Interface GPIB not found '...

    You cannot use the low-level GPIB functions because you are an Agilent controller. The low-level functions are only for the OR.

    Visa application, use the trigger to make visa.

  • Help group above report

    Hello guys,.

    What I have to do, is to modify an existing report that is in the table style to the group above data model.

    First, I changed the data model to extract the existing data model group and I got no problem with that.

    Secondly, I added grouping framework for my new recordings of grouping (master) and put inside the previous image of grouping (details).

    The problem is when I generate the report that each record is separated by a huge empty line:

    This photo shows this blank line between records:

    [IMG] http://I59.Tinypic.com/bdl46p.jpg [line]

    I think I tried everything, I even deleted all the fields of the report and left only my two group executives, but problem still exist.

    This is my body of report:

    [IMG] http://i62.Tinypic.com/28a3u5l.jpg [line]

    If you have ideas, what can be wrong or what to do, please help

    You mean, there's already detailed report, now you want to change to master detail (group above).

    At the level of the model:

    You divided the existing group into two bases on simple request, haven't you? means there are now two group master and detail.

    means, group existing, becoming a master and detail created a new group. Let's say that G1 is the master (existing) and G2 (new) group retail.

    If above understanding is correct then proceed as follows

    Place the new extensible framework (say RG2) within the existing extensible framework (let say RG1 and assign the name of the new group G2 to RG2. framework and place all the Group detail fields in extensible framework newly established RG2.

    Hopefully, you will get the expected changes in this way.

  • Trigger does not include conditional predicates with FUSION

    Hello world

    I am facing a problem while using the conditional trigger with predicate. The trigger event is a MERGE statement.
    When the fusion (update and insert the two) is executed, trigger is fired, however the results of predicate condition false.

    For example -.

    create table merge_test (col1, col2 number number);

    create or replace trigger merge_test_tr_stat
    After INSERT or UPDATE or DELETE on merge_test
    Start

    If inserting or updating or deleting then
    dbms_output.put_line ('conditional predicates work');
    on the other
    dbms_output.put_line ("' conditional predicates does not");
    end if;
    end;

    Please run set out below:

    Set serveroutput on;
    insert into merge_test values (1,1);

    Set serveroutput on;
    merge into mt merge_test using tab (select 1 col1 of double)
    on (mt.col1 = tab.col1)
    When matched then
    update the value of col2 = 2
    When not matched then
    Insert values (1,1);


    After you run the merge statement, should result of conditional predicates works but we get conditional predicate does not work.

    Please suggest what to do.

    Thanks in advance.

    Kind regards
    Riddhisha

    Its a bug that has been fixed at 11.2 and more

    Bug 9865211  INSERTION / updates always false in the SQL MERGE triggers

  • Use of "DBA_OBJECTS" in 'CREATE AFTER' Trigger

    Hello

    We want to store additional information about our items, we have in the database. Do we tought of the idea of creating a "documentation" table containing an object_id that references to the object_id of the dba_views view.

    Now we want to create a new record automatically in our table documenting when a new object is created, as a first step it should contain only the object_id
    To do this, we use a "AFTER CREATING" trigger, but when this trigger is enabled and if the code finds the new object_id in dba_objects, he returned no records and generates an error. Probably because when the trigger is run, the display is not yet updated?

    create or replace
    TRG_TEST RELAXATION
    AFTER CREATE ON SCOTT. SCHEMA
    DECLARE
    tmp VARCHAR2 (50);
    BEGIN
    dbms_output.put_line (ora_dict_obj_name);

    Select object_id
    in tmp
    from dba_objects
    where object_name = ora_dict_obj_name;

    dbms_output.put_line (tmp);
    END;

    Error report:
    ORA-04088: doing bij uitvoering van trigger ' SCOTT. TRG_TEST'.
    ORA-01403: Geen gegevens anyway.
    ORA-06512: in regel 6
    04088 00000 - "error during execution of trigger '% s.%s '.
    * Cause: An error occurred during the execution of a trigger.
    * Action: Check the triggers that participated in the operation.

    It's in Dutch, so I'll have a go at translating:

    Error report:
    ORA-04088: Exception when executing trigger ' SCOTT. TRG_TEST'.
    ORA-01403: no data found
    ORA-06512: in rule 6
    04088 00000 - "error during execution of trigger '% s.%s '.
    * Cause: An error occurred during the execution of a trigger.
    * Action: Check the triggers that participated in the operation.

    Does anyone have an idea how I can accomplish what I am trying to do here... Or maybe something I am doing wrong?

    Thanks in advance!
    Davy

    Hello

    Instead of select it in your trigger, you may submit a job, what does it for you. This work would not go until your table is created.

    Concerning
    Peter

  • very slow niswitch with signal connected (PXI-2535)

    First time using a switching FET card, running base vi where I connect a line and two columns, and make a measure of resistance with a multimeter.

    I found that with the digital multimeter connected, IE the applied signal, the switch may take more than 5 seconds to close. (Ohm DMM reading 26 ohms after 5 seconds, the 'debounce expectation' although all good reported vi)

    If the DMM is not connected, sometimes instantaniously. (disconnect the DMM, perform the trigger, connect the DMM - instant closing)

    Anyone experienced the same thing?

    Found the problem.

    Seems the FET card goes into protection mode if you do not connect the DMM - signal to the chassis GND.

    After that, it worked fine.

  • How can I use 2530 b and 4065 to measure the resistance between two selected pins?

    I want to be able to select 2 corners on a test with 2530 b set-up and measure the resistance between them with a 4065 DMM (PXI all). Ankles in question are each in blocks of 32 different poles, so I can match them in a double configuration 32 x 1 four or 64 x 1 if necessary. I can measure the resistance between several different pine sets as 0 on 33 pine pine, pin 0 at pin 34 pin 0 to 35 pin and pin 1 to 34 pin, pin 1 pin 36, etc.

    I understand how to measure resistance between a given pin and Earth using the the 2530 4065/b using the wizard OR-DMM/Switch Express, but it is unclear if I can measure the resistance between the two pins of selected by different user. I am a newbie of labview, used to write things in c#, so it may be something very trivial (I hope).

    Any ideas?

    Thank you

    -Russ

    Hey Russ,.

    I recommend starting with the following example (located in the Finder the example ('Help' to find examples):)
    "" Material input and output"Modular Instruments ' OR-Switch" niSwitch Dmm Switch Handshaking.vi

    Because you use a scan list, you can simply drag the two connections to the same entry and then the switch will wait for the two to settle before you send a trigger of the DMM... problem solved.  For example, to connect the CH1 to Com0 (DMM +) and CH93 to Com4 (DMM), then take a measure, then connect CH38 and CH120 to the DMM, you would use the entry list of scan to the following address:

    CH1-> com0 & ch93-> com4; CH38-> com0 & ch120-> com4;

    Note You can have as an entry in list of switch module scan.  In addition, you can only have a single advanced analysis and a measure full per switch module.

  • Several "MemberOf".

    Good afternoon

    How the ISE deal with a user with several entries for "memberOf" for classification in a group?  ISE would use the 1st MemberOf value he meets to assign a group?

    Thank you.

    Cath.

    Yes, it was a typo on my memory of you want generic down and specific to the top. Think of it this way: everybody is part of the "domain users" so everyone would correspond to this rule, but not everyone is a member of the "managers" so you can group executives to the users in the domain

  • Listen to the changing value of the element that is passed under dynamic PL/SQL action

    Hello

    Version 4.2.6 apex

    I have a dynamic action that fires the PL/SQL. It is about 'change' DA for item P1_INPUT.

    It triggers the PL/SQL code

    :P0_ITEM_CONTROL := '{"Item":"#P2_SIF_MT_INFO","State":"success"}';
    

    Now, I want to hear this change (in question (P0_ITEM_CONTROL) in my external JS.

    $('#P0_ITEM_CONTROL').on('change', function() ....
    

    Of course, in that you can only listen for the changes that have been made by typing the entry itself, so I have to add another REAL action that fires the code JAVASCRIPT and trigger the change manually.

    $('#P0_ITEM_CONTROL').trigger('change');
    

    Which is cause of unnecessary bloat. Is there another way to trigger the change?


    First one that comes to mind is to create a DA who listen to change everything I want my JS to trigger. Then trigger manually there from there.

    Then come from your other thread, I take back what I said - I have messed up. I felt pretty sure the plsql execute did not have the change event, but I was wrong - I checked once again after the other thread. Since you're using two versions of jquery your question is exactly the same in this thread as what you experience with the popup lov! Use apex.jQuery to listen for the event changes and you will be fine, since the action of plsql execute trigger changes on 'elements to return'!

  • Oracle Instance shows connected, yet am ORA-01012: not connected

    Hi experts,

    Please help to connect to my database, which unfortunately happened an hour before, but now it does not work

    In the meantime I did change some stuff for my home directory permission, but later again to original permissions.

    It's still haunt me...

    I created my SID/HOST/PATH perfectly, attempted to verify the process at the level of the BONE, they are less, still nothing happens if the database is in place and running.

    I can see it at the level of the BONE and in the alerts log...

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


    Oracle@DAP-CSW-ORA01/home/Oracle > ps - ef | grep pmon
    Oracle 3145946 1 0 18 Feb - 0:44 asm_pmon_ + ASM1
    Oracle 7995430 1 0 18 Feb - 0:50 ora_pmon_adobe_2
    Oracle 13828212 11141232 0 14:59:09 pts/0 0:00 grep pmon
    Oracle 7471386 1 0 18 Feb - 0:57 ora_pmon_fxss_1
    Oracle@DAP-CSW-ORA01/home/Oracle > sqlplus

    SQL * more: Production of liberation 11.2.0.3.0 Thu Feb 21 14:59:12 2013

    Copyright (c) 1982, 2011, Oracle. All rights reserved.

    Enter the user name: virtue sysdba
    Connected.
    SQL > show user
    The USER is "SYS".
    SQL > select instance_name, status from v$ Instance;
    Select instance_name, status of v$ Instance
    *
    ERROR on line 1:
    ORA-01012: not connected
    Process ID: 0
    Session IDs: serial number 0: 0

    Now I understand... It is not a problem with something another authorization makes this mess... Although unknown...

    I have a database rebounded after taking permission from the team of apps, now it works perfectly... no problem whatsoever...

    But I want to know why... I don't want to deal more...

    Whenever oracle installs [YES], it knows what to assign permissions and what is needed.
    You should not disturb them, who are the users, groups, executables, read, write permissions before and after any change and now?
    And I wanted it is interesting to know why you wanted to test these things on the production. Its like playing with fire, so be careful, otherwise it costs a lot :)

  • Muse content moves down in the browser, and it is not a problem of footer.

    I added to a left column items seem to move to the bottom of the page below a tabbed box widget in the right column. It leaves a big empty space in the middle of the page. When I view source on BusinessCatalyst, it looks like the left problem < div > sections element following the < div > tabbed box code. Given that I can't edit code in Muse, suggestions to solve this problem? I tried to put on different layers and by cutting and replacing them, but no joy. There is no hidden text box, and I can't find any other reason, that this could happen.

    Here before (Muse) and after (in Firefox) screenshots. Help!

    Screen Shot 2014-08-03 at 1.59.54 PM.pngScreen Shot 2014-08-03 at 2.01.30 PM.png

    Hello

    Could you try to group executives images of texts related to the entire left column and see if that makes a difference to the rendered output?

    See you soon,.

    Vikas

  • How to create a table of contents of several levels?

    How to create a table of contents of several levels, or at least a TOC of two levels, so that when you click on the sign '+' or something similar to the first level, the second level will increase?

    Select the item/s from the list Table of contents, and then use the arrows that will apear at the bottom of the skin Editor to move them to the right.  This will cause a new point TOC to appear as a cap for all items indented beneath it.

    Be aware that during the execution by clicking on this article of the topic does not operate the game to slide under him.  There is no that expand the group to show slides of the child. You will then need to click on the first slide of the child in the group to trigger playback.  Personally I don't like the way it works, but that's how it is.  Register a feature (like me) request if you want that it works differently in a future version of Captivate.

  • Elements in a GroupItem

    File HAVE with elements of group that can have the GroupShapes in GroupItems.

    If you have a groupitem (contains a textframe and a rectangle object), I can loop through the group element, but it seems that it offers a return type as part of group for each item in the group. , But it should restore TextFrame and a rectangle. Ideas?

    No matter if javascript or vbscript, example or soultion would be beneficial.

    Tom

    Check the length property of the groupitems for the group.

    This is a function I use in a script to get all managers of related texts, you should be able to get what you need this:

    ///////////////////////////////////////////////////////////////////////////////

    Function: getTextFrames

    Use: Gets all texts related to supplied Group executives

    Entry: the Group Reference

    Return: Table of managers of related texts

    ///////////////////////////////////////////////////////////////////////////////

    function getTextFrames (groupRef) {}

    Pass Manager - for each groupItem - groups

    If it's a group, retreat, if it is a block of text, add to the table.

    var textItemsList = new Array();

    If (groupRef.groupItems.length > 0) {}

    for (var i = 0; i)< groupref.groupitems.length;="" i++)="">

    var theGroupItems = (getTextFrames (groupRef.groupItems [i]))

    for (var j = theGroupItems.length - 1; j > - 1; j--) {}

    textItemsList.push (theGroupItems [j])

    }

    }

    }

    If (groupRef.textFrames.length > 0) {}

    for (var i = 0; i)< groupref.textframes.length;="" i++)="">

    textItemsList.push (groupRef.textFrames [i])

    }

    }

    If (groupRef.legacyTextItems.length > 0) {}

    for (var i = 0; i)< groupref.legacytextitems.length;="" i++)="">

    .write $ ('element of text legacy found\n")

    var theTextFrame = groupRef.legacyTextItems [i] .convertToNative)

    textItemsList.push (theTextFrame)

    }

    }

    return textItemsList

    }

  • Problem with LOV in Oracle forms 10g when running on the Web

    Dear

    I am facing problem in displaying LOV under Oracle developer 10g on the web.
    When I press F9 nothing appears on the screen, but in the taskbar, it displays a list of values.
    The query I used in the record group executed in SQL * more and it is there no problem with him.
    What all I need to do, pls help me to solve the problem.

    Thank you

    Hello

    You are welcome. :)

    whenever the issue is resolved, please mark it as correct and useful so that others may know what is the correct answer.
    and take a look at the Label of Forums

    Kind regards

    Manu.

  • problem with RAISE_APPLICATION_ERROR

    Oracle 10.2.0.4.0 EE on OEL4

    Given this piece of code to a logon trigger:
    CREATE OR REPLACE TRIGGER block_tools_from_prod
      AFTER LOGON ON DATABASE
    DECLARE
      v_prog sys.v_$session.program%TYPE;
    BEGIN
      SELECT upper(sys_context('USERENV','MODULE')) INTO v_prog
        FROM dual;
    --
    insert into snuffy.mytable values (v_prog, sysdate);
    commit;
    --
    if v_prog like '%MSACCESS%' or
       v_prog like '%TOAD%'
    then
        insert into snuffy.mytable values ('trapped ms access', sysdate);
        commit;
        RAISE_APPLICATION_ERROR(-20001, 'These tools are not allowed!');
    end if;
    --
    END;
    /
    Everything works as I expect except that all the MSACCESS connections yet. Logging to snuffy.mytable confirms the executed trigger and the IF condition has been reached. A trace file is written in the udump directory. But the connection is failed.

    And Yes, I know this isn't a security method. It will probably be thrown out, but my real problem is to understand why the error is only writing a trace and not to return an error to the application.

    The user in question has the privilege to administer database triggers? If so, which allows them to ignore the failures in a logon trigger.

    As you probably know, trying to prevent users to use special tools to access the data base is at best a rearguard effort since you are relying on information from the client. A user can always find another tool to access the database with - if you block the access they can use Excel or SQL * more or Brio / Hyperion or...

    Could restrict you the IP addresses that are allowed to access the database to production, preferably via TCP instead. INVITED_NODES?

    Justin

Maybe you are looking for

  • How can I install Firefox

    I got on my computer and added a plugin and then I screwed up and I did Mozilla disappear. Help, please.

  • I have the acer S7 392. How can I disable the power button?

    Is there a way to disable the power button? Most of the PC force at least you press the power button for a few seconds before it shuts down, but this button, which is conveniently located for an accident, immediately stops the machine. Please someone

  • DV6 1330et: HP dv6 1330et networ update map

    I want to upgrade the standard n wireless network card (maybe 5 GHz) in my laptop, which are supported? I know it is old laptop but I love her and to watch movies is pretty good. Any suggestions?

  • How to disable show commands

    Hello We have a problem by disabling most of the show locally using AAA on router commands Please check the config and I would like to know what is the way to turn off all orders show except ip int bri... Here is the config:- privilege exec all crypt

  • Problem with display of the Popup details

    Hi friends,I designed a Taskflow. The taskflow image can be seen here.http://snag.Gy/afGa5.jpgIn the Taskflow activity RowKeyStrPG use the viewobject EMPVO1. Once again in the page DeptPG, there is a popup which must be called by clicking the link. T