Using Offset Compensated Ohms from IVI DMM in TestStand

I am using TestStand 3.5 with a PXI-4070 DMM and I want to be able to use the Offset Compensated Ohms function from the TestStand IVI-C DMM steps.  I cannot find this functionality from the TestStand step, even though it is shown on the front panel of the Soft Front Panel DMM, and is stated as a IVI function.
Anybody with any ideas would be greatly appreciated.
A.

Good afternoon A,
The Offset Compensated Ohms function that you are looking for is more
specialized than what the IVI driver has to offer.  Instead of
using IVI DMM, try NI-DMM.  This is a free download off our
website, which can be found here:
NI-DMM version 2.5 for Windows 2000/XP--LabVIEW Real-Time
http://digital.ni.com/softlib.nsf/websearch/1F1A167276498327862570AC005199D5
Regards,
Mike Torba
National Instruments

Similar Messages

  • Programmat​ically use of offset compensate​d ohms in NI-DMM

    There is an option " offset compensated ohms"  in the soft panel of NI-DMM 4071 in resistance measurement. but this option disable in voltage measurement. i want to know how can i use this option in voltage measurement programmatically.  i need it please reply soon.

    what are you trying to do?
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Teststand 4.0 IVI-DMM Step error

    I have Teststand 3.5 and 4.0 installed on a computer and a NI-4060 in a PXI chassis.  When I try running a sequence that has an IVI-DMM step in it in 3.5 everything runs fine.  When I try the same sequence opened in 4.0 it gives me the following attached error (both attachments are the same error one is just scrolled down so you can see the whole thing.)  I have tried adding a simple IVI step from scratch in teststand 4.0 and I get the same error.
    Any ideas?
    Brian
    Attachments:
    untitled1.JPG ‏107 KB
    untitled2.JPG ‏106 KB

    Ok, I used the version selector, went back to 3.5, and ran the sequence and it ran fine like I expected.  When I switch back to 4.0 and ran it it worked (first time in a dozen tries.)  So I switched back to 3.5 ran it and then ran it 4.0 again and it failed.  I attached a spy capture from 3.5, 4.0 worked, and 4.0 didnt work.
    Brian
    Attachments:
    DMMConfig_TS40_Capture_Didnt_Work.spy ‏1 KB
    DMMConfig_TS35_Capture.spy ‏11 KB
    DMMConfig_TS40_Capture_Worked.spy ‏12 KB

  • Problem in using offset value in streams

    hi friends,
    I have been having this problem far few hours. I am unable to understand why this exception is comming, although I know the cause of exception as I have figured it out by now but unable to remove it.
    here is a simple file copy program using character streams wrapped around Buffered streams.
       import java.io.*;
    public class CopyBytes {
        public static void main(String[] args) throws IOException {
            BufferedReader in = null;
            BufferedWriter out = null;
            char []buff=new char[5];
            int offset=0,length=5;
            try {
                in = new BufferedReader(new FileReader("Factorial.java"));*
                out = new BufferedWriter(new FileWriter("outagain.java"));            
                while (true) {
                    in.read(buff,offset,length);     //this line causing error
                    out.write(buff,offset,length);
                    offset+=length;
            } finally {
                if (in != null) {
                    in.close();
                if (out != null) {
                    out.close();
    }when I ran the program I got following exception java.lang.IndexOutOfBountException
    I know the exception is at commented line, but I am not sure wheather this is coming due to offset or length variable
    by the way, first 5 characters from source file have been copied to destination file as I saw.
    thanks in advance

    san_4u wrote:
    how can I skip offset variable as this method must pass one char[] and two int variables.
    would you please explain how these three parameters are being used. I have read it many times but still unable to understand the use of offset and length variables.For the read method, the offset parameter specifies at which index of buff to start writing data.
    For the write method, the offset parameter specifies from which index of buff to start reading data.
    Since you are using buff as temporary buffer only, you can always read stuff into buff at its beginning (i.e. index 0).
    Of course, when writing data to the stream from buff, you should write the data previously stored. So, you should (obviously) use the same offset for writing to the stream as you previously used when reading from the stream. To be able to write exactly the data you previously read, you also need to know how many chars were read and stored in buff. Luckily, that is exactly what the return value of read does tell you (with -1 being a special flag for "no more data available").
    Hope you can figure it out now.

  • Error in query when using offset in variable

    Hi,
    I have a query in which I use av variable (0CWEEK) for the current week. The query works fine with this varable. But when I use an offset of for example minus 1, the query displays an error:
    (A299(BRAIN)) Terminate: System error in program SAPLRRI2 and form REP_ASSIGN_INITIAL_OPT-01
    We use offset of 0CALWEEK in other info cubes, and there are no problems with that.
    In this case we have implemented 0CALWEEK in a DSO. Perhaps this somehow causes the problem? On the other hand the variable works fine in the DSO, as long as we don't use offset.
    So - why is there a error, and how to solve it?
    BR,
    Niclas

    Managed to solve the problem. The reason was that there was no column (or row) with the variable without offset. I.e. there needs to be a column for the actual week in the query as well, not only week with offset. In this case I didn't want the actual week, only an offset to it. So I just hid the column with the actual week from presentation.
    /Niclas

  • Using offset in join statement

    hi,
    i wanted to use offset in join statement. but it is giving error.
    select a~kunnr
              a~vkorg
             from knvv as inner join zcust
             on knvv-kunnr+5(5) = zcust-refid.

    hi neha,
    try this code i tested it.
    types: begin of ty_knvv,
           INCLUDE type knvv,
           kunid type i, " For u type is zcust-refid
           end of ty_knvv.
    data: it_knvv type STANDARD TABLE OF ty_knvv INITIAL SIZE 0,
          wa_knvv type ty_knvv.
    select *
      from knvv
        into table it_knvv.
    loop at it_knvv into wa_knvv.
      kunid = wa_knvv-kunnr+5(5).
      wa_knvv-kunid = kunid.
      MOdify it_knvv TRANSPORTING kunid.
      read table zcust into wa_zcust with key resid = wa_knvv-kunid.
    endloop.

  • Using offsets in the query

    I am using a custom calendar which will always have 52 weeks. Now i need to display 5 weeks past and 5 weeks future(forecast) data in my query.
    While using offset query is taking the system weeks.
    For eg. When i enter current week as 01.2005
    Current week -1 ( with offset -1) should be 52.2004 in my case but it is showing 53.2004 and no data in front of it.
    Is it possible to have 52 weeks for all the years as per my custom calendar and implement offsets for the same ?

    Hi,
    Sorry for the late Reply for a better solution..
    Do this..
    Create a Variable zcalweek as reference of 0calweek (standard one). Now you are saying that you are facinf problem at year starting and year end(if offset +1). To cater that..you can do this..
    Create a USer-entry variable for ZCALweek.
    Now create a custome exit variable on zcalweek and derive normal value from zcalweek while using offset...the problem is at start of year and end of year...
    so Add this code in your custom exit..
    If week+4(2) = '01'. '01.2005
    'week+4(2) = '52'.
    or better solution is do this..
    Select single max(week) from /bic/odsname00 where year = week+4. 'this will give either 53 or 52 as per max value in that year
    week+4(2) = week. '522005
    week0(4) = week0(4) - 1. 'week = 522004
    else.
    week - 1. 'if week not eq to 01.2005..directly apply minus 1
    endif.
    Hope i m clr.
    Regards,
    San!

  • How to use offset for select-option parameter ?

    Hi experts
    could anybody please let me know how to use offset for select-option parameter. i can able to use offset for table fields, variabiles and all , but don't know how to use for parameters.
    following is my code
    SELECT-OPTIONS: s_prctr  FOR vbsegs-prctr OBLIGATORY.
    here "prctr"  length is 10.
    i'm using two tables  1. vbsegd-bupla
                                    2. vbsegs-prctr
    here prctr+6(4) = bupla.
    "Bupla" length is 4
    SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
                                                                 WHERE belnr = it_vbkpf-belnr
                                                                   AND gjahr = it_vbkpf-gjahr
                                                                   AND bukrs = it_vbkpf-bukrs
                                                                   AND bupla IN s_prctr.  
    the above statement is not working as prctr and bupla lenths are different. here i want to use offset.
    SELECT belnr gjahr bukrs prctr sgtxt buzei FROM vbsegs INTO CORRESPONDING FIELDS OF TABLE it_vbsegs FOR ALL ENTRIES IN it_vbkpf
                                                                WHERE belnr = it_vbkpf-belnr
                                                                  AND gjahr = it_vbkpf-gjahr
                                                                  AND bukrs = it_vbkpf-bukrs
                                                                  AND prctr IN s_prctr.
    this is working as prctr and s_prctr lengths are equal.
    could anybody please help me out in this.
    Thanks in advance.
    regards
    satish

    Below code will work for you.
    SELECT-OPTIONS: s_prctr  FOR vbsegs-prctr OBLIGATORY.
    RANGES: s_bupla FOR vbsegd-bupla.
    s_bupla[] = s_prctr[].
    DELETE ADJACENT DUPLICATES FROM s_bupla.
    SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
                                                                  WHERE belnr = it_vbkpf-belnr
                                                                    AND gjahr = it_vbkpf-gjahr
                                                                    AND bukrs = it_vbkpf-bukrs
                                                                    AND bupla IN s_bupla.

  • Agilent 34980A simulation using IVI-drivers in Teststand?

    Hello! I am unable to simulate 34980A in TestStand and here are some results based on testing:
    Agilent 34980A is linked to logical name SampleDmm. Simulate With: Specific Driver.
    IviStepTypes.seq used with only DMM and Switch steps.
    Using IviDMM IVI-C causes runtime-error in Ivi DMM Configure Single Point: Component Works IVI Control Error: The IVI Configure operation failed for logical name 'SampleDmm'. Details: Extension capability not supported by instrument driver.  (Base)
    Using IviDMM IVI-COM causes runtime-error in Ivi DMM Read Single Point: Component Works IVI Control Error: The IVI Read operation failed for logical name 'SampleDmm'. Details: Attribute ID not recognized. [IVI Error Code:  BFFA000C] Source: TSIviStepTypes
    Skipping Ivi DMM SFP -step removes that error but next one waits in Ivi DMM Configure Multi Point: Component Works IVI Control Error: The IVI Configure operation failed for logical name 'SampleDmm'. Details: Attribute or property not supported. [IVI Error Code:  BFFA0012] Source: TSIviStepTypes
    Skipping multi point steps helps until Ivi Switch Connect where another error hits: Component Works IVI Control Error: The Connect operation failed for logical name 'SampleDmm'. Details: No path was found between the two channels. [IVI Error Code:  BFFA2011] Source: TSIviStepTypes
    I find some similarities in forum post that involves HP 34401A and IVI .
    According to IVI-C Class Driver Support for IVI-COM Specific Drivers the fault might be in 64 bit system (the note in the end). Is this the case? I can't use IVI-COM-drivers in 64bit system?
    Example's default DMM Hewlett-Packard 34401A Digital Multimeter simulation works perfectly in unmodified example(it has IVI-C). It even shows simulated numbers in the SFP which is zero all the time with Agilent.
    Has anyone succeeded to simulate 34980A properly in TestStand? Any knowledge about how to solve this thing? Any help is welcome. Thank you.
    Setup:
    -Teststand 5.1
    -Windows 7 64bit
    -IVI shared components 2.2.1
    -Visa shared components 1.5 64bit
    -Agilent IO libraries suite 16.3 Update 1
    -Agilent 34980A IVI Driver 1.5.3
    -MAX/Agilent 34980A published APIs:
        -IviDmm 4.1 IVI-COM (IVI-C tried with less success)
        -IviSwtch 4.0 IVI-C & IVI-COM

    Some IVI drivers are designed to work in simulation mode, that is, the virtual instrument can be defined in MAX but no physical instrument is necessary to use the "instrument". If you turn off the simulate checkbox on the validate dialog box, TestStand will create the instrument session without simulation and the driver will attempt to talk to a physical instrument. If no physical instrument definition is available or if the address defined for that virtual instrument is incorrect, the above error can occur.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • IVI DMM step won't connect

    When I try to connect my IVI DMM Acquire step to a 34411A, I get the following error:
    ivi_IviDmm Configure Power Line Frequency [PLF].vi<ERR>
    Primary Error: (Hex 0xBFFA0011) Does not support this class-compliant feature: method %1
    Elaboration: FunctionId: 69, FunctionName: ConfigurePowerLineFrequency
    <b>Complete call chain:</b>
    ivi_IviDmm Configure Power Line Frequency [PLF].vi
    ivi_subDMMPreExecute.vi
    ivi_InstrDMMBlockState.vi:1
    I'm guessing that the IVI Dmm Acquire step is attempting to call the IVI 'ConfigurePowerLineFrequency' function, which is (apparently) not supported by the 34411A driver. Is there any way to work around this?
    Thanks,
    Aaron

    Hi Aaron,
    I currently have not found any resources that allow SignalExpress to ignore initialization errors. However I did find a resource that has the command for the power line frequency for your device (page 8). http://www.home.agilent.com/upload/cmc_upload/All/34410A_Quick_Reference.pdf?&cc=US&lc=eng
    You can modify the 34411A library so that this command is not used during your IVI DMM Acquire Step; however, I was unable to find the subDMMPreExecute.vi in a search of the project. 
    Sam B.
    Applications Engineer
    National Instruments

  • NI-DMM vs. IVI-DMM - Soft Front Panel

    Hello All,
      I have been developing a testing application that will eventually use a PXI-4070 DMM (currently simulating it in NI MAX).  I had been using the IVI DMM functions, but ran into a problem when I couldn't do a diode test (diode test is apparently not officially standardized by IVI yet).  So I switched to using the NI-DMM functions. For the most part, it was a pretty seamless transition, but there is one thing I have not been able to replicate with the NI-DMM simulation that I could do with the IVI-DMM.  When I used the IVI-DMM functions, and ran the VI, a popup opened that allowed me to enter in the simulated value that I wanted the DMM to read.  I can't get this to work with the NI-DMM functions.  Is it possible?  If so please let me know how to activate.  Thanks.
    GSinMN 
    Solved!
    Go to Solution.

    The advanced simulation exists only on the IVI class driver level (IviDmm). The IVI class drivers implement simulation features by using simulation drivers. The IVI Compliance Package (ICP) installs a simulation driver for each IVI class driver. Each simulation driver plugs in to the corresponding class driver and performs flexible output data simulation. The NI-DMM driver is a specific driver that supports series of NI DMMs, and therefore does not include the advanced simulation feature.

  • Retrieving mapping from IVI logical name to full driver session name.

    MAX, of course, lets you set up "Driver Sessions" with full names, and then "logical names" which are shortcuts to the full driver session. How can I retrieve the actual driver session that the logical name maps to? I can get the handle to the logcal name list via the IVI library, but I can't find any function that lets me retrieve further information about the logical name. Is this available in the "Configuration Server C API"?

    What I want is, as I said, the mapping between the logical name and the session. This must be available, since the IVI drivers use it to go from a logical name to the attached session! One would think that it would be a single function call.
    I'm doing this because in my program I can select which of a number of drivers (Newport motion controllers, in this case) a particular GUI control is attached to. The full session name is long, and there are - of course - sessions that have nothing to do with motion controllers. In the control list (a ring control) I use the logical names, which are shorter. However I want to also list the full session name elsewhere. Since I can't go from the session name to the logical name, that mapping isn't stored anywhere, I must go the other way around.
    Ok, I think I figured it out. This could really be documented better!
    Also, this whole thing could really be in the .ivi library configuration store section, which encapsulates a few of these calls, but not all of them.
    //include section
    #include <IviConfigServer.h>    //IVI configuration store
    //done once at program startup. Note: this gets a copy, you don't have to dispose of ConfigStoreHandle afterwards.
    static IviConfigStoreHandle ConfigStoreHandle = NULL;
    Status = Ivi_GetConfigStoreHandle (&ConfigStoreHandle);
    //This is the pain in the butt.    
    ViStatus Status;
    IviLogicalNameCollectionHandle LogicalNameCollectionHandle = NULL;
    IviLogicalNameHandle LogicalNameHandle = NULL;
    IviSessionHandle SessionHandle;
    ViChar         ControllerSessionName[MAX_Controller_Name_LEN];  
    ViChar         ControllerDescriptor[MAX_DESCRIPTOR_LEN];
    ViChar         ControllerDescription[MAX_Controller_Name_LEN];
    //get the configuration store logical name collection (what you see in MAX under "Logical Names")
    Status = IviConfig_GetConfigStoreLogicalNameCollection (
        ConfigStoreHandle,
        &LogicalNameCollectionHandle);
    //how many logical names are there in the collection?
    Status = IviConfig_GetLogicalNameCount (
        LogicalNameCollectionHandle,
        &IVI_ItemCount);
    //For each logical name, find the corresponding session name   
    for (i = 1; i <= IVI_ItemCount; i++) {
        Status = IviConfig_GetLogicalNameItemByIndex (
                LogicalNameCollectionHandle,
                i,
                &LogicalNameHandle);
        //get the session name for this logical name
        Status = IviConfig_GetLogicalNamePropertyViString (
                LogicalNameHandle,
                IVICONFIG_VAL_LOGICAL_NAME_NAME,
                MAX_Controller_Name_LEN,
                ControllerDescriptor);
        //get the description for this logical name
        Status = IviConfig_GetLogicalNamePropertyViString (
                LogicalNameHandle,
                IVICONFIG_VAL_LOGICAL_NAME_DESCRIPTION,
                MAX_Controller_Name_LEN,
                ControllerDescription);
        //get the handle for the ession attached to this logical name
        Status = IviConfig_GetLogicalNameSessionReference (
                LogicalNameHandle,
                &SessionHandle);
        //get the name of the session (what I really wanted in the first place)
        Status = IviConfig_GetSessionPropertyViString (
                SessionHandle,
                IVICONFIG_VAL_CONFIG_COMPONENT_NAME,
                MAX_DESCRIPTOR_LEN,
                ControllerSessionName);                

  • Capture an image using the web camera from a web application

    Hi All,
    Could anyone please share the steps what have to be followed for capture an image using the web camera from a web application.
    I have a similar requirement like this,
    1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)
    2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.
    3) Upload the Image to the server from the temporary location.
    Please share the details like, what can be used and how it can be used etc...
    Thanks,
    Suman

    1) Detect the Webcam on the users machine from the web application.(To be more clear when the user clicks on 'Add Photo' tool from the web application)There's not really any good way to do this with JMF. You'd have to somehow create a JMF web-start application that will install the native JMF binaries, and then kick off the capture device scanning code from the application, and then scan through the list of devices found to get the MediaLocator of the web cam.
    2) When the user confirms to save, save the Image in users machine at some temporary location with some unique file name.You'd probably be displaying a "preview" window and then you'd just want to capture the image. There are a handful of ways you could capture the image, but it really depends on your situation.
    3) Upload the Image to the server from the temporary location.You can find out how to do this on google.
    All things told, this application is probably more suited to be a FMJ (Freedom for Media in Java) application than a JMF application. JMF relies on native code to capture from the web cams, whereas FMJ does not.
    Alternately, you might want to look into Adobe Flex for this particular application.

  • Using Groups in SharePoint from Active Directory

    Hello,
    Is it possible to use groups in SharePoint from AD?
    I have several groups in AD that I would like to use in SP. Of course SP has its own set up groups in permission (Owner, Member and Visitor). I do not want to use these groups. What I would like to do is use groups that are in my AD and assign those the
    designer, contributor, read-only..etc permission.
    For example, SP people picker finds my AD group called "Finance_Project" and assign this group with permission rights as a contributor.
    Is this doable in SharePoint. I would think since SharePoint can be authenticated with AD, you should be able to use your own AD groups.
    Any suggestions, articles and answers are greatly appreciated.
    artisticweb

    You can do this in SharePoint. are you importing the AD groups via UPA?
    Creating a SharePoint group and adding an Active Directory group to its members…this allows anyone in the Active Directory group to participate in the SharePoint group
    Mapping roles directly to Active Directory groups and not using SharePoint groups at all.
    here is couple of article which will explain your choices one over to other
    Assign permission levels in SharePoint 2013
    Using Active Directory Vs. SharePoint Groups
    http://sergeluca.wordpress.com/2013/07/06/sharepoint-2013-use-ag-groups-yes-butdont-forget-the-security-token-caching-logontokencacheexpirationwindow-and-windowstokenlifetime/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Hi. I am using the iPhone 4S and when I'm searching for places using Google it does not automatically detect my location. How do I change this? FYI...under settings i have it set at "Use new precise locations from my device."

    Hi. I am using the iPhone 4S and when I'm searching for places using Google it does not automatically detect my location. How do I change this? FYI...under settings i have it set at "Use new precise locations from my device."

    If you are missing using google maps - try the Nokia map app called "here"

Maybe you are looking for