set graph properties in code behind
I am trying to add graphs dynamically in the WPF code behind. This works fine, but I can't find a way to set the default interaction to zoom and the interactions to pan - is it possible to do this in...
View ArticleSampleQuantityMode.FiniteSample or ContinousSamples
Hello,I have written simple code in MS which was earlier written in CVImRunningAiTask.Timing.SampleTimingType = SampleTimingType.SampleClock; mRunningAiTask.Timing.ConfigureSampleClock(string.Empty,...
View ArticleNationalInstruments.VisaNS.UsbSession.ControlIn - Actual Count?
I'm able to connect and communicate with my USBTMC instrument and retrieve information using UsbSession.ControlIn. The problem is that method doesn't return the actual bytes received like the old...
View Articlegaugedouble range binding
Hello,i've a Problem by Setting the Range of an GaugeDouble with MVVM Here is my Code that doesn't work. Hope anyboy can help me: <ni:GaugeDouble Range="{Binding GaugeRange}" Value="{Binding Value}"...
View ArticleDo I have to install NI-DAQmx software or just .dlls file references are enough?
I have an application to measure voltage levels for which I only need to use NationalInstruments.DAQmx.dll and NationalInstrument.Common.dll files. If I have those files stored in a application...
View ArticleNI-DMM speed
I'm using a PXI-4065 multimeter with MS Visual C#.NET 4.0 and NI-DMM. I have a test that requires a sort of closed-loop feedback system and I need to take DC voltage readings with an interval of every...
View ArticleWPF GaugeDouble RangeFill
HiI am trying out the GaugeDouble wpf control. For the winforms control there is a RangeFills property. Is there a similar property for the GaugeDouble wpf control? Kind regards/Axel
View ArticleUsing external clocking to implement a frequency divider in .NET
Hi, I've modified one of the example .NET projects to take an external clock over PFI0 and then output half the frequency on PFI1 by writing out a 0,1,0,1 ... waveform clocked by the PFI0. My code is...
View ArticleUI.WebForms.LED Displays in test website...does not display in production...
Hello, I have an ASP.NET web application containing several WebForms.LED controls. When running the web site within Visual Studio, all of the controls display properly. However, after I publish the...
View Articleinvisible plots still being drawn
Strange thing happens: when I've got multiple plots, and they all are hidden (Visibility=Collapsed), then when I output data, it is shown first, and then hidden (instead of not being drawn in the first...
View ArticleWiX and the MStudioDAQmx.2012 merge module
I am using Visual Studio 2012 + NI-DAQmx 9.7.5 (and tried 9.7.0 before that) and want to create an installer that includes the necessary merge modules MStudioDAQmx.2012.msm, its dependency...
View ArticleQuestion about the " the application version require that assembly...
Hi I am using mesurement Studio with Visual Basic .NET (with GPIB USB Cable) and When I was running the program, I got error message. "Unable to install or run the applcation. The application require...
View ArticleSplitting PFI lines between multiple tasks
I'm trying to write to two different PFI lines. I'd rather have them in separate tasks because they'll need to have different length wavefroms, which would make updating them at the same time...
View Articletask parallel library
I am having an issue when using Task Parallel Library of .NET 4.0 along with ADO.Net.I am trying to execute two stored procedures parallel by creating two seperate tasks for each of them. The scenario...
View Articlestrange plots on graphs
This is list of points I feed to the Graph:[0]: {729000000,-50} [1]: {756000000,-50} [2]: {NaN,NaN} [3]: {758000000,-50} [4]: {768000000,-50} [5]: {NaN,NaN} [6]: {869000000,-50} [7]: {894000000,-50}...
View ArticleMultiple Task Instances
I am using the NI-DAQ 6343 to create 4 analogue outputs. I have created a tiny generic wrapper class to wrap a single output channel. The class contains an instance of aNationalInstruments.DAQmx.Task...
View ArticleError Reading From DataSocket server Using DSReader Microsoft Visual C# .NET
I want to run the example program 'dsreader' from http://zone.ni.com/devzone/cda/epd/p/id/1139. This example demonstrates how to use the Measurement Studio 6.0 CWDataSocket ActiveX control to create a...
View ArticleTrigger waveform capture on change event
Hardware: NI USB-6525IDE: Microsoft Visual StudioLanguage: C#System: Windows 7 The end goal is to determine the amount of time between two digital signal rising edges. My attempt at generateing...
View ArticleError about retrieving dependency MStudioCommon.2012
I am developing applcaiton based on visual basic .net and I would like to build installation package by installation shield.However, when I built the setup project, I am getting an error , so i can't...
View ArticleWPF Scatter Plot
I currently have an ObservableCollection<Point[]> which i am binding to the datasource property of a graph. This plots fine, but the points in each point array are joined by a line. Is there a...
View Article