Questions tagged [measurement-studio]

Measurement Studio is a set of test and measurement class libraries, tools, and wizards from National Instruments, that integrated into the Microsoft Visual Studio environment.

Measurement Studio is a set of test and measurement class libraries, tools, and wizards that integrated into the Microsoft Visual Studio environment is the extensive support for accessing instrumentation hardware. It has drivers and abstraction layers for many different types of instruments and buses are included or are available for inclusion. The provided driver interfaces save program development time.

23 questions
4
votes
2 answers

Background Worker: Make sure that ProgressChanged method has finished before executing RunWorkerCompleted

Let's assume I'm using a Background Worker and I've the following methods: private void bw_DoWork(object sender, DoWorkEventArgs e) { finalData = MyWork(sender as BackgroundWorker, e); } private void bw_ProgressChanged(object sender,…
Wollmich
  • 1,616
  • 1
  • 18
  • 46
2
votes
6 answers

Application crashes in InitializeComponent()

First off, I'm using Visual Studio 2010, Measurement Studio 2010 plugin, C# and .NET 4.0. My application receives data from a USB device and graphs the data using a WaveformPlot() [which is a part of Measurement Studio]. I'm able to run the…
Praveen
  • 63
  • 1
  • 8
2
votes
4 answers

Cannot Convert ref double[] to ref object

It seems like I'm on here asking a question just about every day now. I'm not sure if that's a good thing or a bad thing... Today's "Flavor-Of-The-WTF" involves my complete and utter cluelessness when using a function from a NI Measurement Studio…
KChaloux
  • 3,918
  • 6
  • 37
  • 52
1
vote
1 answer

Measurement studio graphs, Collection was modified exception

I have a problem with graphic (I have few instance of this class) of measurement studio dll. after a few occurences i get Collection was modified; enumeration operation may not execute. but the exception is unhandled so I can't see exactly where…
1
vote
1 answer

Measurement Studio controls not visible in VS2010

I am trying to get started with the NI Measurement Studio. After intalling the software, the controls don't show up in my Toolbox. I get the text "Controls in this category are unavailable for the .Net Framework 4 Client Profile. To change this…
Jess
  • 2,991
  • 3
  • 27
  • 40
1
vote
0 answers

Debug National Instruments Measurement Studio (No Symbols Loaded)

I've a problem with a ScatterGraph from NI Measurement Studio 2015, see Background Worker: Make sure that ProgressChanged method has finished before executing RunWorkerCompleted. Now I would like to debug the ScatterGraph. But I can't find the…
Wollmich
  • 1,616
  • 1
  • 18
  • 46
1
vote
2 answers

How to use LabVIEW Property Node in C#?

How to use LabVIEW Property Node in C#(with Measurement Studio) ?
Thorin Oakenshield
  • 14,232
  • 33
  • 106
  • 146
1
vote
2 answers

How to use VIs from NI's library in C#

I'm converting my labVIEW project into C#. In my labview project i've used NI's VI . For example niModInstGet Installed Device Attribute(String).vi. For this in C# i'm using Measurement Studio and i imported the driver from IVI Foundation - > IVI -…
Thorin Oakenshield
  • 14,232
  • 33
  • 106
  • 146
1
vote
0 answers

No update after BeginUpdate/EndUpdate

Using ScatterGraph from National Instruments Measurement Studio and Visual Studio 2012. To prevent the graph to update in various cases I generally block repainting of the component by calling scatterGraph1.BeginUpdate; But sometimes I want the…
JohnSaps
  • 602
  • 5
  • 16
0
votes
1 answer

NI Measurement Studio alternative

I need an alternative to NI Measurement Studio for MFC/C++ applications, since they don't support them anymore.
Andreas D.
  • 73
  • 1
  • 12
0
votes
1 answer

How to extend AxisX display range when using WaveformGraph PlotYAppend

I am using National Instruments WaveformGraph control with PlotYAppend function to display stream of data coming from external DAQ board. By default WaveformGraph show only 1000 points from appended array, how is possible to change that?
baraban
  • 455
  • 1
  • 6
  • 18
0
votes
1 answer

How to use an ipaddress instead of server name in a SQL query

How can I use an ipaddress instead of server name in a Sql Query for example. SELECT * FROM [ipaddress].[databaseName].[dbo].[TableName] Instead of [serverName].[databaseName].[dbo].[TableName] I wanted to get the info from a system of…
user9630935
  • 349
  • 1
  • 4
  • 18
0
votes
1 answer

Should I use NI Measurement Studio or niDAQms for my VB.NET windows GUI app?

I need to create a VB.NET GUI to manage a National Instruments (NI) USB-6343 instrument. Should I use the NI Measurement Studio or niDAQms API? My GUI requirements are: - command the 6343 to input analog values - command it to control output analog…
Doug Null
  • 7,989
  • 15
  • 69
  • 148
0
votes
2 answers

How to use DAQmx Timing (Sample Clock ) in C#.Net

I'm using Measurement Studio. I need to use the DAQmx Timing VI functionality in my C# application. How to do this. Please Help me. The VIs are here
Thorin Oakenshield
  • 14,232
  • 33
  • 106
  • 146
0
votes
1 answer

Invoke method for multi thread application?

I have a bug in my application which is the same as here which this person was running into the same problem. My application is multi threaded where the worker thread is updating the Waveformgraph on the UI. I believe that is where my problem is…
1
2