Quantcast
Channel: Measurement Studio for .NET Languages topics
Browsing all 1999 articles
Browse latest View live

detect whether cDAQ-9188 chassis online

Hello, I am programming in C# directly against the driver libraries.  Things are working well.   I need to programmatically detect which cDAQ-9188 chassis are available and online (I can access...

View Article


DigitalSingleChannelWriter vs DigitalMultiChannelReader

I create output tasks with several DigitalSingleChannelWriters for my USB-6525 device. I can execute writer.WriteSingleSampleSingleLine(true, state); statements to change the output states. That works...

View Article


DataSocket in 64 bit application.. (needed for OPC client)

Hi, I asked this some time ago but no reply.. So I try again.  The target is to make an OPC server client connection by using the DataSocket as described in NI documentation. But now there is the...

View Article

Graph.DefaultPlotRenderers.ReplaceAll() does not cause any changes to GUI

WPF C# Hi,I have no idea what I am doing differenly from DefaultPlotRenderers example that came with NI Studio.  I can see in debugger that DefaultPlotRenderers object contains either nothing or my...

View Article

Can't read TDMS files using TDMSReader 3.0.12

Hi, I'm trying to use TDMS Reader package on Nuget (updated June, 2015) to read a DAQMX 9.9  logged TDMS file in C#. I get a "unknown data type -1" error on File.Open(); The sample TDMS files open...

View Article


Drivers and other required for new application?

I am building a .NET application that will be installed onto a Windows 7 Embedded machine.  I will be using an Ethernet cDAQ 9184.  The chassis will have an NI 9205 module installed for sure, but...

View Article

USB mouse and keyboard connection effects on NI DAQmx .Net application.

Hi All, I wrote an application using DAQmx 15.01 and the MeasurementStudio.TDMS library from Measurement Studio 2015.  Whenever my application is busy acquiring the data from ADC, if I just remove a...

View Article

How can I configure a digital input task to read continuous samples?

I am trying to create a digital-only task which will do digital reads at a hardware-timed rate using a PCIe-6509. However, when I try to set the task timing as follows (which works on a PCIe-6509), I...

View Article


Changing the border width of a LED control?

I'm am building a Windows Forms application in VB.NET 2012.  Is it possible to change the border width of a LED control, or is this only possible in ASP.net webforms applications?? Thank you.

View Article


Image may be NSFW.
Clik here to view.

c# invoke dll built by labview. How?

I want to use some dll built by Labview in VS2010 C# environment. Could someone can share a simple example to illustrate what to do that? I also dowload an example from website and attach it as...

View Article

programatically get voltage range being used

I am using VB.NET to write an app that acquires data and graphs it for the operator. I know that I can get the available AI voltage ranges from the card using AIVoltageRanges. Is there a way to verify...

View Article

How to adjust CWIMAQViewer display range for gray scale images?

Hi,I'm using CWIMQViewer in VS2008 to display a 12-bit (0-4095) gray  scale image.  How do I adjust the display range of the viewer so that when the image is very dim (say max. is 300), there is still...

View Article

How to change the size of CWIMAQViewer at runtime?

Hi,I am using CWIMAQViewer on a Windows Form (VS2008) to display gray scale images.  I want to be able to change the size of the CWIMAQViewer at runtime.  Is it possible to do this?

View Article


Install Measurement Studio 2015 in Visual Studio 2015

Hi,I have a new System only with Visual Studio 2015 installed. How can I install Measurement Studio 2015? For MS 2013 in VS 2013 I found:  Using Measurement Studio 2013 with Microsoft Visual Studio...

View Article

[NI PCI-6509] Read Digital Input is always showing "true"

Hi All, I have installed a NI PCI-6509 DAQ and am testing it using the sample source codes (ReadDigitalChannel) provided by the NI-DAQmx installer DVD. I am using Visual Studio 2013 Professional with...

View Article


Image may be NSFW.
Clik here to view.

Programmatically change AI Channels properties?

I'm creating a custom data logger application for my company using a cDaq-9184 chassis with a 9205 AI module in it.  Each channel will have its own waveform graph on the UI. I'm to the point now where...

View Article

Multiplot Cursor seems to truncate data to integer values

Start with example program PlotRenderer.  I used VS2010. Add Cursor To graph: <ni:Graph.Children><ni:MultiPlotCursor ValuePresenter="Group: 0;0.00" Label="multiPlotCursor1"...

View Article


I would like the X axis on my WPF graph to display time in seconds from Zero

I have a graph with three AnalogWaveform<double> with sample rate of 50 as the datasource. What is the best strategy to get the graph to display time in seconds or mm:ss starting at zero and...

View Article

AnalogSingleChannelReader?

I have an application using an NI 9205 module configured for 16 differential analog channels.  I want to make it so that a user can select which paricular channel/s he/she wants to log data to TDMS....

View Article

read/Write calibaration file from E5071

I am writing a program to control a network analyzer (E5071c). After calibration, I want to fetch .sta file from device and then reload this file to device when I do measurement. Does someone has  an...

View Article
Browsing all 1999 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>