NEITHER 9213 interfaced with Measurement Studio

I have a question on how to explicitly set a task of temperature measurement using view high resolution for the nor-9213.  I am able to do the measurement, but if the action is performed in mode high resolution or high speed is ambiguous.  I can't find an overload that we will put me in the studio of measurement using c#.

Any help would be appreciated.

Derek Hopkins

C# equivalent: myTask.AIChannels.All.AdcTimingMode = AIAdcTimingMode.HighSpeed;

Brad

Tags: NI Software

Similar Questions

  • DAQ Assistant does not appear when starting a new project in Visual Studio 8 with Measurement Studio

    Hello

    I have installed a system with the following configuration:

    Windows 7 Prof

    OR MAX

    Visual Studio 2008 Standard

    Measurement Studio 2013 (evaluation)

    Device drivers OR Feb 2013

    When I start a new project in Visual Studio, I can choose a model with NEITHER Windows forms application. After that I get an overview of the classes, but after that, I get no DAQ assistant. What Miss me as is actual references in the Toolbox, with the exception of the buttons and graphics of NOR.

    Someone at - it a solution for this problem?

    Thanks in advance,

    Erik

    Dear Erik,

    I saw the same problem and I think that you can solve with the installation of the DAQmx 8.8 and make sure to include the Visual Studio integration.

    If you have any questions just reply to this email.

    Have a good time.

    Kind regards

    Hossein

  • License with Measurement Studio and Visual Basic 2008 Express problem

    Hello!

    I have a license for the professional edition of studio measure 8.5 and I use the express edition of Visual Basic 2008.

    I am trying to use the FFTfunction, but get the exception {"NationalInstruments.Restricted.AnalysisLicenser is unauthorized."}

    Does anyone have an idea?

    Thanks in advance!

    Andreas

    Here is the full error message:

    System.TypeInitializationException wurde nicht Festival.
    Message = "Der Typeninitialisierer as 'NationalInstruments.Analysis.Dsp.Transforms' hat eine exception caused."
    Source = "NationalInstruments.Analysis.Professional"
    TypeName = "NationalInstruments.Analysis.Dsp.Transforms"
    StackTrace:
    BEI NationalInstruments.Analysis.Dsp.Transforms.RealFft (Double [] realData)
    EIB LDS. LDS_Form1.ButtonFFT_Click (Object sender, EventArgs e) D:\devel\LDS\pc\LDS\LDS\LDS_Form1.vb:Zeile 1700.
    bei System.Windows.Forms.Control.OnClick (EventArgs e)
    bei System.Windows.Forms.Button.OnClick (EventArgs e)
    bei System.Windows.Forms.Button.OnMouseUp (MouseEventArgs mevent)
    EIB System.Windows.Forms.Control.WmMouseUp (Message & m, MouseButtons, Int32 clicks button)
    EIB System.Windows.Forms.Control.WndProc (Message & m)
    bei System.Windows.Forms.ButtonBase.WndProc (Message & m)
    bei System.Windows.Forms.Button.WndProc (Message & m)
    EIB System.Windows.Forms.Control.ControlNativeWindow.OnMessage (Message & m)
    EIB System.Windows.Forms.Control.ControlNativeWindow.WndProc (Message & m)
    bei System.Windows.Forms.NativeWindow.DebuggableCallback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW (MSG & msg)
    bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop (Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner (Int32 reason, ApplicationContext context)
    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop (Int32 reason, ApplicationContext context)
    EIB System.Windows.Forms.Application.Run (ApplicationContext context)
    BEI Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun)
    BEI Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel)
    BEI Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (String [] command-line)
    EIB LDS. My.MyApplication.Main (String [] Args) in 17d14f5c-a337-4978-8281 - 53493378c1071.vb:Zeile 81.
    bei System.AppDomain._nExecuteAssembly (Assembly, String [] args)
    bei System.AppDomain.nExecuteAssembly (Assembly, String [] args)
    bei System.Runtime.Hosting.ManifestRunner.Run (Boolean checkAptModel)
    bei System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly)
    bei System.Runtime.Hosting.ApplicationActivator.CreateInstance (ActivationContext activationContext, String [] activationCustomData)
    bei System.Runtime.Hosting.ApplicationActivator.CreateInstance (ActivationContext activationContext)
    EIB System.Activator.CreateInstance (ActivationContext activationContext)
    BEI Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone)
    bei System.Threading.ThreadHelper.ThreadStart_Context (Object state)
    bei System.Threading.ExecutionContext.Run (ExecutionContext executionContext, ContextCallback callback, Object state)
    bei System.Threading.ThreadHelper.ThreadStart)
    InnerException: System.ComponentModel.LicenseException
    Message = "NationalInstruments.Restricted.AnalysisLicenser is unlicensed."
    Source = "NationalInstruments.Common"
    StackTrace:
    AT NationalInstruments.Restricted.LicenseBase.ShowUnLicensedBehavior (Type type, object instance)
    BEI NationalInstruments.Restricted.LicenseBase.a (String Type A_0, A_1, A_2 object)
    BEI NationalInstruments.Restricted.LicenseBase.a (Type A_0, A_1 object)
    AT NationalInstruments.Restricted.LicenseBase.RunTimeCheck (Type type, LicenseContext context, object instance)
    BEI NationalInstruments.Restricted.LicenseProviderBase.GetLicense (context, type, object, Boolean allowExceptions instance Type, LicenseContext)
    bei System.ComponentModel.LicenseManager.ValidateInternalRecursive (context LicenseContext, Type type, Object instance, Boolean allowExceptions, license, licenseKey, String & license)
    bei System.ComponentModel.LicenseManager.ValidateInternal (Type type, Object instance, Boolean allowExceptions, license & license)
    bei System.ComponentModel.LicenseManager.Validate (Type type, object instance)
    EIB NationalInstruments.Restricted.AnalysisLicenser... ctor()
    EIB NationalInstruments.Analysis.Dsp.Transforms... cctor()
    InnerException:

    Hi Andreas,

    It is scheduled for any Visual Studio Express edition, because these editions do not allow 3rd party integration. So, you will need to perform some additional steps to get a license to work properly.  Refer to the Measurement Studio for Visual Studio Express Editions support KB (in particular, paragraph 2 pointing you to our help).

    Best regards

  • NEITHER 9213 working with 9174 DAQ for reading of temperature

    Hello

    I use NI 9213 and DAQ-9174 to monitor the temperature. Without thermocouple wire connected, using NOR-DAQmx tasks, reading is 2.296334 K. When I use DAQmx Read (Analog DBL 1Chan 1Samp) .vi, reading is 1377.69.

    1. What is the good?

    2. why reading is not taken into account the room temperature which is around 26?

    3. do I need to do the calibration for NI9213 before using it?

    Thank you

    Ott

    Hi Ott,

    If you do not have a thermocouple attached to the 9213 module, the module just go read electric noises. This electrical noise has no physical relationship to the room temperature. When you do actually connect the thermocouple, be sure to configure the DAQmx task as a task of thermocouple to HAVE. Also be sure to select the correct thermocouple specifications (i.e. type of thermocouple).

    Here is a good article giving measures by thermocouple.

    Here is the acquisition of data getting started guide.

    Hope this helps,

    Chris G

  • problem reading DAQmx using Measurement Studio 2010 (even with examples OR)

    Hi all

    I'm reading the voltage using a map of NOR-DAQ-6211 with Measurement Studio 2010 SP1 V9.1.0.204. using Visual Basic .net 2010.
    When I create the task of data acquisition with the measurement studio Wizard, (Assistant DAQ) everything works fine. However, when I try to create my own task player in looking over the "ContAcqVoltageSamples_IntClk" everything I read is a value in the range of Vmin to Vmax (or to Vmin Vmax) and then she stays there no matter if I change my diet. Vmin and Vmax does not yet match my values of voltage. (It acts like that on my application and example of OR) I guess I missed a few initial settings. The config of AIChannel in two projects (manual task and Augo-Gen) use AIChannelConfig.RSE (I tried other options, but no luck).

    The only wiered thing is that when I open examples of projects, VS does not recognize the object references of NOR. Workspace names DAQmx. When I check the references, it shows that it does not find the reference to NI.Common. To make it work/compilation, removed from the solution and I again added. (I don't think this is related, as it seems that there are available tensions but not read correctly).

    The other thing is that my input voltage is 3 or 0 volt. When you use the manual DAQtask, when I toggle the voltage, the values displayed change momentarily the order of 0.001 Volts and then go back to their previous values of Vmax and Vmin.

    Is there more information I can provide?

    Help, please
    Thank you

    Yay! I just solved my problem,

    From the first moment I knew there was something fishy about this AITerminalConfig thingy! I made two errors:

    1. in the code example Configuration AI is encoded: CType (-1, AITerminalConfiguration) that caused the code example does not work for all channels to HAVE it

    2 - also, I have in my code, I had put this config to the correct value, but I was checking ai0 all the time while the signal was on another I. I was under the impression that since the example does not work for all my channels, then probably my code does not work as well.

    If after changing the line in the example for the correct terminal configuration settings, he began working for the AI number I was looking for too much and I found that my code worked for my AI # correctly from the beginning. I wasn't just to see it!

  • Programming ZUP6-66 lambda via Measurement Studio

    I'm looking for examples of programming of the Lambda ZUP6-66 or similar device with measurement studio. This unit uses a RS-232 communication port. I do this on Windows 7 64 bit, Dot Net 4.0, Visual Studio 2010.

    Thank you

    Todd K.

    Todd K. Hello,.

    You will need to look in the NI-VISA example file for the examples of DotNET 4.0 perform a simple read and write to see how. You will then get the Protocol for this device send the specific strings necessary to combat it. It doesn't seem to be drivers of instruments available for your device on www.ni.com/idnet, but feel free to suggest for them to be developed at this place.

    Kind regards

    Jeff L.

  • Problems with ASP Master Page for examples of measurement Studio Web Form

    I loaded Measurement Studio Web form examples (ASP projects) in VS 2008. Running within VS proceeded without problems. Then I built and published on IIS 7 for ASP pages

    wwwroot / vb , for example.

    Opening with the Internet Explorer browser, the home page is OK: localhost / vb. However, all of the examples under come with the following error:

    The file ' / vb/Annotations/Examples.master' does not exist (being one of the subpages Annotations)

    I looked in several discussions on the Web and found no logical explanation why this is happening

    Finally, I understood NOR appearing Web controls do not on a remote browser.

    The cause is IE, and I am currently using version 7.

    With Google Chrome, for example, everything works OK. Other Web, including Telerik control providers, are complaining about visibility of IE 'spoil' controls.

    Change some property settings for a Web control can solve the problem with IE

  • What is Measurement Studio 7.1 compatible with Visual Studio 2008?

    I'll be able to use v7.1 Measurement Studio with Visual Studio 2008, VB.net?

    Thank you

    Joe

    Hello Joe,

    Measurement Studio 8.5 was the first version using Visual Studio 2008, VB.NET.

    NickB

    National Instruments

  • Measurement Studio 2010 with Visual c# Express 2010

    I don't know if this is supported, however, I get this error when you try to install the Measurement Studio 2010 Visual Studio integration.

    2 error: Cannot perform action Measurement Studio Visual Studio 2010 integration configuration.

    I can select the VS c# Express items in my screenshot. But they do not appear in my Inbox tool for me to use...

    Can some help me please? I'm new to all this...

    Visual Studio Express Editions of Microsoft Visual Studio do not support the Measurement Studio integrated tools. Controls support Measurement Studio for Visual Studio Express Editions KB.

  • The difference between Measurement Studio and NiDAQmx?

    What is the main difference in Measurement Studio and NIDAQmx. I have a DAQ software, which was originally developed in Visual C++ 2003 M, who initially used Measurement Studio. Now, I want to replace involved studio by NIDAQmx latest version. It is Possible to do?

    Hello

    Measurement Studio is an extension for Visal Studio, which contains a variety of libraries for measurement applications as well as user interface such as graphics.

    DAQmx is the setting for hardware drivers for Multifunction DAQ devices of NOR. If you are using a DAQ card, you need this driver to access with any environment programming (LabVIEW, CVI, C, C++, .NET).

    This means that you can access the material, also with Visual Studio, which has no Measurement Studio installed. Although Measurement Studio is analyze and present the data acquired much easier.

    Kind regards

    Robert H

    OR Germany

  • Encoder interfaced with NOR-9401

    I bought a coder who has open collector and resistance to pull-up 3.3 kohm (TTL) logic output.

    The encoder comes with four sons: power + 5V, GND, channel A and channel B. channel A and B are logic output.

    Channel A and B are connected to the OID of NOR-9401 which is mounted on the cRIO.

    A standard VI for encoder counting is used and compiled under the FPGA environment.

    During the measurement, I have observed that there are number of significant loss in both directions encoder.

    I don't think that there is a problem with VI like I used it several times on the encoders with output RS422.

    Is there a problem with my current encoder with respect to its electrical interface with NOR-9401?

    Thank you.

    I don't think that there is a problem with pull-up resistance. Even if the digital IO ports have their own resistance to pull-up (usually of the order of 4.7kOhm - should be included in the manual), the power to be handled by the circuit of encoder output transistor is about 2mA. -Check your configuration for a correct connection GND. You must connect the encoder directly power GND to DGND to the printed circuit board Terminal.

  • Best way to generate the software clock for USB-6501 of Measurement Studio for c# VS2008

    Hi all

    I wonder if there is a better way to generate a clock software for USB-6501 of Measurement Studio for VS2008 in C Sharp?

    I have developed a clock using C Sharp "Thread.Sleep (msecPauseTime)"; and statements to switch digital output high and low. There are a few things I noticed in creating a software clock in this way:

    1. The smallest delay by the Thread.Sleep command time is 1 millisecond (which means higher clock period is 2 msec-500 Hz, not holding not ball account no. 2 below).
    2. Sometimes the delay I see on an oscilloscope is considerably longer than the delay that I specified in the sleep command.

    In my application, I create signals (a clock, a latch enable and data series) to control what an attenuator step through the USB-6501 RF connected to a USB 2.0 on my computer. This particular step RF attenuator can accept clocks with frequencies up to 10 MHz, so I would like to generate a software clock (without having to connect to an external clock to a line of input on the USB-6501) which is closest to this maximum frequency, and I think that the USB2.0 line could handle clock speeds over 500 Hz. Also, I would like to know why the delays that I see on the scope are sometimes longer than the time specified by the Thread.Sleep command. Is it caused by the suspension of the execution of my program processor for something else, as I suspect? Of course, this isn't a big deal, because it does not affect the time as my serial data and pieces change compared to my clock. However, I would like to know why it does this.

    I appreciate your help.

    Thank you

    Jonathan Becker

    Doctoral research engineer

    Carnegie Mellon Silicon Valley

    Jonathan,

    Since the USB-6501 DIO is software programmed, you are at the mercy of the planning of the operating system and won't be able to work reliably with an external clock in the software.

    You can try to set the priority of your thread 'generation of clock' to improve performance, however, because Windows is not a deterministic operating system, there are still no guarantees.  Operating systems are not required to honor the priority of threads.  You can find examples and information on the definition of the priorities of the threads in c# here:

    http://msdn.Microsoft.com/en-us/library/system.Threading.thread.priority.aspx

    Kind regards

  • Visual Studio 2008 Pro takes a long time to start after the installation of measurement Studio 2009

    After installing Measurement Studio 2009, I noticed that it takes a long time (30-60 seconds) to open a Visual Studio project.

    I do not have an internet connection on my development computer and suspect he might be waiting on some kind of operation of the network to time out.  I had problems with Visual Studio in the past as well and had to work around them by adding entries to my hosts file (to redirect some addresses of Microsoft to the local IP address - this causes network operations to expire immediately).

    Just curious if anyone has encountered this kind of slow startup time and found a solution.

    Thank you!

    I found an article referring to a question similar to MS 8.1.  I don't know if the problem has simply not been corrected or why I am still having this problem.  Workaround "per computer" listed in the article solved my problem.

    http://digital.NI.com/public.nsf/allkb/18E25101F0839C6286256F960061B282 I have

  • Measurement Studio 2015 under VS2012 c# IntelliSense does not

    I upgraqded my MS2013 MS2015 and now intellisense on MS all controls is no longer works. For all other controls language intellisense works normally. When I open an existing project using MS control (Gauage, plots, etc.) all the properties of control NOR and methods are of red color. When I press period after an instance control no properties or methods appear. Exisitng with methods and properties valid projects still compile without error.

    Hi Frank334,

    I tried to recreate what you see by creating a project using measures Studio 2013 for Visual Studio 2012 that mimics the code in your screenshot, installation of measurement Studio for Visual Studio 2012 2015 and again opening the project. Here's what I see:

    Everything seems to work. Can you walk us through the process you used to update to Measurement Studio 2015? Have you tried anything to refresh the IntelliSense information for your project? I found this article of stack overflow that can help: http://stackoverflow.com/questions/13375961/visual-studio-2012-intellisense-sometimes-disappearing-b...

  • WiX Installer Measurement Studio merge modules

    Is there a tutorial somewhere on how to create a WiX Installer for a Measurement Studio application similar to the http://digital.ni.com/public.nsf/allkb/ED87C183E056CAC386256DF1004E54C6Knowledge Base article? I have an application Measurement Studio c# which I am creating a WiX Installer for and I have problems to get the measurement of inside studio merge modules. I get errors ICE30. I'm using WiX 3.0.

    Hi d_sdl,

    Our merge modules should work in WiX, as I have tested this several times. When you say that you have found ICE30, that fails your build? As you probably already know, one of the nice features of WiX is that you can set a flag so that whenever WiX compiles and links your source, it works ICES on them. This allows you to catch problems early in your development process. I guess you do is put the WiX linker fails if ICE warnings/errors are thrown. You can configure WiX for actions based on ICES advice you get. What is important is that you can turn off this setting, but it depends on how you are nvoking WiX (i.e. through NAnt, MSBuild, Votive, etc.). In any case, there are different ways to disable this option. What I would say is to disable the option, or be specific about which ICES to ignore. This decision would be to the you. The key is to understand what actually means ICES and determine if they are legitimate questions.

    ICE30 can indicate a variety of different things, but a common reason corresponds to the entries of the SFN. Some of our merge modules are always generated through Visual Studio deployment projects and VS created RFU very well. Thus, you're left with SFN entries duplicated in the MSM. Long file names are different, but the short file names are the same. WiX does this correctly which is nice, but unfortunately we can't convert some of these modules more MSM because of VS restrictions and limitations, that we found. It would be nice if better RFU created VS.

    Attached is a zip file that contains two projects that are:

    • C# project that produces the binary file that the Setup program will install
    • Project of WiX that creates the MSI file

    First, be sure to build the c# project. I tested the MSI that result, and it works very well on a target system.

    Note If you want to load the wix project, you must have the final version of Votive on your system.

    Best regards

Maybe you are looking for