NI-Scope Functionality?

Hello All
New NI-SCOPE user.  Does NI-SCOPE offer th functionality to automatically record wave forms (create references) and data (values for excel) on a pre-defined interval?
If it does not, is there software that can?

Hi digigdawg,
The NI-VISA is a driver for our scopes and digitizers. While it does offer the soft front panel that looks and acts like a normal scope interface, you cannot set up recording or automatic measurements with it.
In order to save the measurements, I would recommend using LabVIEW or LabWindows/CVI with using the NI-SCOPE drivers to save the data as you can also analyze your data at the same time.
Justin M.
Applications Engineering
National Instruments

Similar Messages

  • How to use multiple dimension attributes in SCOPE function

    Hello everyone,
    Need urgent help on the following:
    The requirement is, when [EMPLOYEE ONSHORE OFFSHORE] attribute of EMPLOYEE dimension having value "ATC Onsite" or "Permanent Onsite", "Onsite CPC" measure will have same the value of "Forecasted Blended CPC"
    measure. In all other cases, it will be 0.
    Here's the code snippet:
    I have created a new calculated member as:
    CREATE MEMBER CURRENTCUBE.[Measures].[ONSITE CPC]
    AS 0,
    FORMAT_STRING = "#,##0.00;-#,##0.00",
    VISIBLE = 1 , ASSOCIATED_MEASURE_GROUP = 'MARGIN ANALYSIS' ;
    Then, I have used the scope function. Here I am getting a build/compile time error.
    SCOPE([Measures].[ONSITE CPC]);
    SCOPE([EMPLOYEE].[EMPLOYEE ONSHORE OFFSHORE].&[ATC Onsite], [EMPLOYEE].[EMPLOYEE ONSHORE OFFSHORE].&[Permanent Onsite]);
    THIS = [Measures].[FORECASTED BLENDED CPC];
    END SCOPE;
    END SCOPE;
    Best Regards, Arka Mitra.

    Use { } in the second scope.
    SCOPE([Measures].[ONSITE CPC]);                 
            SCOPE({[EMPLOYEE].[EMPLOYEE ONSHORE OFFSHORE].&[ATC
    Onsite], [EMPLOYEE].[EMPLOYEE ONSHORE OFFSHORE].&[Permanent
    Onsite]});
                    THIS
    = [Measures].[FORECASTED BLENDED CPC];
            END SCOPE;                 
    END SCOPE; 

  • SCOPE Function in MDX

    HI All,
    I have a very basic doubt in SCOPE function.
    We have a new calculated measure called CustomCalculation.
    The expression that I have used for this measure is :
    SCOPE ([Measures].[CustomCalculation]);
    THIS = ([Gender].&[Male],[Measures].[TotalPopulation]);
    END SCOPE;
    Here, the calculation is giving me the correct value,  but below are my questions:
    1- When we simply drag the new calculated measure, it gives NULL
    2- When we drag any other dimension apart from Gender, it gives NULL
    3-It only shows value when we drag Gender dimension, in the presence of Gender dimension it will show the correct value for other dimensions also, but as soon as I remove Gender dimension it will show NULL for every other objects.
    Is this the intended behavior of SCOPE function or I am doing any wrong thing.
    Thanks
    Sudipta Ghosh
    Sudipta Ghosh Tata Consultancy Services

    Hi Sudipta ,
    Since your Scope will create always the (Male,TotalPopulation) tuple, it should show values for Male only .
    Let's say we dragged the Female member . We will expect to get no data back cause only the Male member is used in the calculation .
    Guessing the default member is something like [gender].[gender].[All] can be the explanation for your questions .. Change the 'DefaultMember' property of the gender attribute to [Gender].&[Male] to overcome the issue OR you can create an All genders
    scope for the All member calculation :
    Scope([Measures].[CustomCaculation], [gender].[gender].[All] );
    This= Aggregate([gender].[gender].[gender] , [Measures].[CustomCaculation]) ;
    End Scope ;
    Hope it helps :)
    Regards, David .

  • Do you have a transaction scope that spans multiple requests.

    We have and application that includes multiple tabs, which are really iframe instances. We need to maintain state for the entire time the tab is open, which may be across multiple requests.
    I am not comfortable making all our backing beans "session" scope, and making them "request" forces us to do lots of work (DB access etc...) on every post-back to re-initialize the backing bean.
    I have been looking at both Shale and JBoss SEAM to give me this "conversational" scope. I have looked at "process" scope, however we may have the same backing bean in use for multiple tabs, therefore would need it linked to something like the viewId.
    Does ADF plan on enhancing the "process" scope functionality or is it OK to add SEAM or shale at the front-end of the ADF processing lifecycle?
    Your guidance would be appreciated.

    The processScope functionality seems pretty crude.
    I was looking to define which data elements of the backing bean need to be stored (maybe using annotations) and have them restored automatically before the APPLY_REQUEST lifecycle gets initiated. I can write this functionality, however I was looking for a more robust solution.

  • Do you have a "transaction" scope for multi-request views

    We have and application that includes multiple tabs, which are really iframe instances. We need to maintain state for the entire time the tab is open, which may be across multiple requests.
    I am not comfortable making all our backing beans "session" scope, and making them "request" forces us to do lots of work (DB access etc...) on every post-back to re-initialize the backing bean.
    I have been looking at both Shale and JBoss SEAM to give me this "conversational" scope. I have looked at "process" scope, however we may have the same backing bean in use for multiple tabs, therefore would need it linked to something like the viewId.
    Does ADF plan on enhancing the "process" scope functionality or is it OK to add SEAM or shale at the front-end of the ADF processing lifecycle?
    Your guidance would be appreciated.

    Hi,
    have a look at the ADF developer documentation on OTN and read the chapters on taskflows. You can have beans in a taskflow that have their scope set to backing bean.
    If a taskflow is then used multiple times in a region, the backing bean scope makes sure the two instaces are isolated
    You can't mix and match Seam or Shale lifecycle with ADF Faces RC and vice versa.
    Frank

  • SCOPE Definition debuging

    Hi All,
    I am working at Prod Support Project on SSAS.
    At cube side many scope statements related to calculated members and measures are present at calculations tab.
    Could you please help us , how to check which part of the scope is applied to particular measure/calculated measure.......
    We are taking more time to find out the exact scope statement...
    Your's help is much needed here.
    Thanks & Regards,
    Mahesh Alam

    Hi Mahesh,
    According to your description, you want to know which part of the scope is applied to particular measure/calculated measure, right?
    Here is a sample SCOPE function in AdventureWork cube.
    Scope
    [Measures].[Amount],
    [Account].[Accounts].[Account Level 02].&[96], -- Headcount
    [Account].[Accounts].[Account Level 02].&[97], -- Units
    [Account].[Accounts].[Account Level 02].&[99] -- Square Footage
    Format_String ( This ) = "#,#" ;
    End Scope ;
    As you can see on function, there is a measures inside the scope function, so the scope is apply to this measures. We can use scope function inside scope function, if there is no measures specified inside the scope function, then the scope apply to the measures
    which were specified in the parent scope function.
    Reference.
    http://msdn.microsoft.com/en-us/library/ms145515.aspx
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Oscillioscope and function generator

    Hello,
    How difficult is it too create a virtual oscillioscope and a function generator that outputs through ethernet or usb to some NI module (Chassis, analog, digital etc) that will send signals to a circuit? So, basically instead of having an oscillioscope or a function generator, you create a virtual one on labview and can send signals to the circuit in the real world. Is that even possible? And if it is how hard do you think the task would be? 
    Thanks in advance for all the input!

    So I happen to have a myDAQ at home and I thought I would try to use it as a scope.  Checkout this video after a 1:30 for a demo of some of this software.  The software it comes with has all the test panels for various instruments for scopes, DMM, function generator, aritrary waveform generator and several others.  The hardware also appears as a normal DAQmx device if you so choose to write your own software.
    Honestly it isn't half bad.  Maybe it's because the software mirrors normal scope functionality but I was able to see my signal and understand it, when I had no other hardware that was capable.  It won't replace a desktop scope but it's what I had on hand.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Python with NI-SCOPE DLL

    Hi, I'm trying to use ctypes in Python to import the NI-SCOPE_32.DLL and interface with a 5105 and 5124.
    So far, I have successfully (I think) created a new session with the 5124. I can't do anything else as trying to access any constants results in an error such as "AtrributeError: function 'NISCOPE_VAL_NORMAL' not found" when trying to access any of these constants. I can look in the niscope.h file and see that they are #defined, but it seems the compiled DLL doesn't contain these definitions, or I can't access them for some reasons. Has anybody got this to work correctly or have any advice?

    snelltaylor wrote:
    Thanks for the input. I had been looking for the #define's in the headers, and found them, but the definitions were just to other strings - such as IVISCOPE_VAL_NORMAL.
    Where would I go about finding what the values these represent are? Do I just have to chase them down through the headers?
    Also, what kind of value should I be getting back from the niScope_init function? Right now, it gives a return value of -10something, maybe 5 or 6 digits, but the viSession pointer (which I pass using ctypes.byref()) ends up with a value of 0. The two booleans that are passed were just Python's False, so the function call looked like:
    import ctypes
    scope = ctypes.cdll.niscope_32
    viSession = ctypes.c_long() #do I need a value here for an actual variable rather than null?
    scope.niScope_init("PXI2::13::INSTR",False,False,ctypes.byref(viSession))
    Does this seem reasonable? Am I missing something big here?
    Thanks,
    Sean
    Sean,
    As far as deciphering the various #define's, you will have to look at niscope.h, iviscope.h, and perhaps even ivi.h. Namley, anything IVISCOPE_VAL_xxx will most likely be defined in iviscope.h, and anything IVI_VAL_xxx should be in ivi.h. There might be some definitions elsewhere, but little grep-ing ought to get you all you need. This is where the type library information would come in very handy, but again, I am not sure how to do this in Python.
    NI-Scope functions will return a ViStatus (a signed 32-bit integer). Value of 0 means that the function succeeds without an error, a negative value indicates an error, while a positive indicates a warning - one can usually ignore the warnings, while the errors usually mean some run-time condition that will prevent further predictable execution.
    In you specific case (from the code snippet), I believe that the first parameter is invalid ("PXI2::13::INSTR"), and niScope_init() function does not generate a valid session - hence the value of 0 for ViSession (by the way, your ViSession definition is just fine). Specifically, the first  parameter for niScope_init() needs to be the device name that you see in MAX under Devices and Interfaces >> NI-DAQmx Devices (something like "Dev1", or "PXI1Slot5", or something similar - you can also give it your own name (both 5105 and 5124 are DAQmx devices). Refer to the NI-Scope (a.k.a. NI High Speed Digitizers Help) for more details on the functions and their parameters.
    Hope this helps.
    Regrads,
    Sead Suskic
    National Instruments

  • Output pulse with NI-Scope only, on 5102 PFI line

    The NI-Scope documentation briefly mentions a "Configure Digital Output" function, but it is not clear exactly what this does, and what parameters are available (e.g., pulse width, polarity, stand-off, etc...), or if it merely "configures", and another function is needed to actually generate the pulse.
    Programming in VB, with NI-Scope, for the 5102, what NI-Scope function(s) would I call to initiate an output pulse on a PFI line? What parameters of the pulse can be controlled?
    Thank you, Ed More

    Hello Ed,
    You need to use functions in NI-DAQ in either LabVIEW or ComponentWorks to do this. There are some examples and a knowlegdebase article that describe this.
    Here are the links:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/fead136291ec002186256aaa006c2019?OpenDocument
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DFC756A4E034080020E74861&p_node=175381&p_source=external
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3DD5756A4E034080020E74861&p_node=175341&p_submitted=N&p_rank=&p_answer=&p_source=External
    If the links do not work, go to developer zone and search on 5102 and pfi to find the examples and go to support and search in knowledgebase on 5102 and pfi for t
    he knowledge base entry.
    -Brian

  • Program NI scope board in C++

    I am using NI scope board to measure prop delays between 2 signals and rise/fall time of them. I am looking for a sample program in C++ that does those things. Wonder if anybody could help.
    TIA

    Ioch,
    There are several example programs installed with the NI-SCOPE driver that will allow you to take different measurements including rise and fall time. In the following folder (C:\Program Files\National Instruments\MeasurementStudio\VC\Examples\niScope) you will find two example programs called "MeasurementLibrary" and "AdvancedMeasurementLibrary". These programs have a selection on the control called "Scalar measurement" with Rise Time and Fall Time.
    The function that is being used to make this measurement is called niScopeFetchMeasurementStats and details on this function can be found in the NI High-Speed Digitizers Help document. This document can be found by going to Start >> Programs >> National Instruments >> NI-SCOPE >> Documentation. In the Help document go to the following section . . . Programming >> NI-SCOPE Function Reference Help >> Functions >> Measurement Functions.
    Hope this helps!
    Erick D.
    NI Applications Engineer

  • Ni-Scope time per record

    I am just starting with Labview so this may be an easy question.
    I have a PXI-5105 digitizer and I would like to be able to set the time per record attribute.  However, when I try to do this with a property node I get the error message:
    The channel or repeated capability name is not allowed.
    Attribute: NISCOPE_ATTR_HORZ_TIME_PER_RECORD, Channel: 0
    I can set the min. sample rate and min. record length to adjust the time per record, but I am confused about why you can only set minimum values of the parameters.  Why not set the absolute sample rate and record length giving an absolute time per record?  Are these parameters just adjusted to the next higher, and available value?

    Hi ESD and welcome to the NI forums,
    The property you're trying to use is part of the legacy driver support and is now considered obsolete [1]. It remains part of the driver, though, for legacy hardware, but a 5105 is new enough that it doesn't use this older API.
    The recommended way to configure horizontal timing is using the other properties you mentioned: minimum sample rate and minimum record length. The reason that you cannot specify an exact rate or length is because the board's clock cannot be set to any arbitrary frequency and so it will be rounded up to the nearest valid setting [2].
    However, if you still prefer to set record length according to time, then I suggest doing what you have been doing: specify a sample rate and record duration and then calculate the minimum record length.
    Please let me know if you'd like further clarification.
    [1] niScope_ConfigureAcquisition :: NI High-Speed Digitizers Help » Programming » Reference » NI-SCOPE Function Reference Help » Functions » IVI Compliance/Obsolete Functions
    [2] Coercions of Horizontal Parameters :: NI High-Speed Digitizers Help » Programming » Getting Started with NI-SCOPE » Coercions
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • Using Scope With Cross Entity Reasoning

    I have been looking through the functions examples for scope for relationships for an entity. Can scope functions be used on self-referencing relationship.
    For example I have one entity the applicant and in addition the containment relationship the applicants I create a self-referencing relationship the applicants tax filer. Can I use a scope function on the relationship applicants tax filer?
    Thanks

    941611 wrote:
    I have been looking through the functions examples for scope for relationships for an entity. Can scope functions be used on self-referencing relationship.
    For example I have one entity the applicant and in addition the containment relationship the applicants I create a self-referencing relationship the applicants tax filer. Can I use a scope function on the relationship applicants tax filer?
    ThanksScope is very useful for self referencing relationships. Its necessary when you need to use a self referencing relationship in a rule.
    For example.
    Imagine a school based rulebase with an entity "the child" with a reference to "the child's classmates" (source and target = "the child")
    The natural language form works as as long as you use an Alias (scoping the target child as "the other child")
    The child is top of the class if
       for all of the child's classmates (the other child)
          the child's test score > the other child's test scoreThe functional form uses the ForAllScope instead of ForAll
    The child is top of the class if
       ForAllScope(the child's classmates, the other child)
          the child's test score > the other child's test score

  • Best practice to initialize my instruments

    I wonder what is the best practice to initilize instruments on test stand.
    i have a vi that will ready a INI configuration file and map my instruments  and will output  a cluster(DMM, Scope, etc..)
    so when starting the sequence on pre UUT i will load that ini file and pass it to some local variables.(dmm, scope, function generator etc..).
    the question is here. is it better to initialize every instrument on the sequence one by one, or is it better to make a vi and initialize everything on one vi.
    or do a call to a sequence where i initialize all step by step?
    just some random thoughts but i wonder what is the best practice.

    I initialize each instrument in a special sequence in TestStand.  Seems a little easier to maintain my drivers that way.  It is also a little cleaner than doing a state machine or sequence everything with an error cluster in LabVIEW.
    Of course, I also have each instrument with its own routine to read the configuration file and initialize the driver/instrument.  So I just have to pass the configuration file around inside of TestStand.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to Zero Debt After Account Closure Date in MDX Calculated Measure

    Thanks in advance to anyone who can help me with the below problem.
    I’m building a Finance cube, it holds all customers we have billed and any cash received against their debt. I have a few calculated measures that work out Total Debt, Total Cash. From these I have a calculated measure called Total Debt Outstanding which
    is (Total Debt - Total Cash)
    My problem, when an account is closed the debt is not always zero. We don’t always get all the cash to cover the debt so just write off the outstanding debt. I have a requirement to zero out the debt after closure date has passed. 
    If I look at the calculated measure [Total Debt Outstanding] today for all accounts it will include debt figures from closed accounts, I need the calculated measure
    [Total Debt Outstanding] to ignore this and not to inflate my current debt figure.
    Example
    Account 12345, Debt £3142 added on 15/03/2013, Cash £1,687
    received on 12/12/2013, Total Debt Outstanding £1107. The Account closed on 15/12/2013 with a balance of £1107, after the closure date I need the total Debtor outstanding figure to be £0 if you browse the cube with my date dimension. 
    My date dimension Hierarchies is Year-Quarter-Month-Day
    I have tried using the Scope function to Zero the Total Debt Outstanding figure after closure date but can’t get it to work. 
    My scope calculation is below:
    Scope([Measures].[Total Debt Outstanding]);
    This = IIF([Date].[Year-Quarter-Month-Day].Currentmember > [ClaimData].[Closed].[Closed].Currentmember,0,[Measures].[Total Debt Outstanding]);
    End Scope;
    My Account Opening and Closing dates are in my ClaimData fact table, with Opening Date linked to the date dimension. I can’t link Closing date as we don’t always have a closing date until the account closes, so SSAS errors.
    Many Thanks

    Hi,
    Try compare key value of members. For example,
    [Date].[Year-Quarter-Month-Day].Currentmember.Properties("key") > [ClaimData].[Closed].[Closed].Currentmember.Properties.("key")
    And think about UnknownMember in Date dimension. In this case you can link Closing date
    Best regards,
    Aleksandr Severin

  • Require Doc Formats Related to Integration

    Hai All,
      I want prepare Functional and Technical spec. So that
    I require some documents formats like Scope,Functional
    Speficiation , Technical Specificatiosn or any documents
    related to Integration using XI. If you people send to
    this id [email protected] then it is very helpful
    for me.
    regards,
    Ansar.

    hi Ansar,
    download this file
    https://websmp101.sap-ag.de/~sapidb/011000358700004874282004E
    and search for *.doc , *.xls and you'll find all you need
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • Problem with application connection

    Hello, I use Oracle APEX online environment, I develop an application and I export this application. I install APEX on my PC Win7 64bit, I upgrade it to 4.2 version. I try the "Sample" application and I have no problems. If I create a new application

  • OSX Won't Start Up????? PLEASE HELP!!!!!

    So I own a G4/1.2GHz/iBook w/Tiger OSX completely updated. The other day when I started it up, when it got to my desktop, it froze. When I restarted it, it would get to the blue screen right after the grey screen with the Apple and freeze. I finally

  • Invoice Table

    Hi all, i want to develop a report for PO line item status. for that, displaying fields are "po no, podate, lineitem,mat code,mat desc,uom,po qty,ven code, vend name,GR no,GR date,GRqty,GR vlaue, IR no, IR date, IR qty, IR value." what is the table f

  • World travel adapter kit with MacBook

    I have just bought a travel adapter kit to use with my MacBook Pro (UK). I believe that my MacBook does have a MagSafe power connection, which the product details seem to suggest are compatible with the adapter kit. However, whilst it is obvious to m

  • EJB or PHP

    Hi all I am helping to implement and build a student managment system for the education institution I work for which must be accessibel over the net .And I am having a hard time trying to convince senior mangement to switch from PHP to using the JAVA