Quantcast
Channel: Measurement Studio for VC++ topics
Browsing all 653 articles
Browse latest View live

NI4882 namespace example for Visual Studio 2010 c++

Hello I am new to the NI GPIB concept. Currently I am working on an application which I am developing in VIsual C++ 2010 express with Windows Forms, using C++/CLI language.I am using the NI4882.dll and...

View Article


DAQmxReadAnalogF64 blocks for ever, although time-out setup

Hello,I have a project with NI USB-6003 device, where I need to acquire in continues mode Analog Inputs using EveryNSamplesEvent.I am using Visual C++ ( Visual Studio 2013 ).The project consists of...

View Article


Accessing Shared Variable with Network Variable API from Delphi

Hi all,I'm trying to translate the Network Variable API to Delphi (ninetv.dll, cvinet.h, cvidef.h). Some functions are already working. But I can't find some parameter types in the header files. For...

View Article

Generating Type library with Visual Studio 2015

In CVI, I have generated a type library from this article, http://zone.ni.com/reference/en-XX/help/370052M-01/tsfundamentals/infotopics/lwcvigeneratingtypelibraryinfo/. From MSDN, there is a tool that...

View Article

Install window to small

Hello, I'm a long time CVI user and I wanted to try Measurement Studio but I have an issue with the installation.As you can see in the attached picture the install window is to small and doesn't...

View Article


CNVPutDataInBuffer and CNVGetDataFromBuffer reads old data

I'm using CNVBufferedWriter and CNVBufferedSubscriber to write/read a shared variable. When I write data to a scalar variable it works fine. I see the new value in NI-DSM.But when I write data to a...

View Article

Continuously creating, configuring, starting, and clearing a DAQmx task leads...

Hello everyone,Hardware: cDAQ-9174 with two modules, NI 9263(Outputs) and NI 9215(Inputs).I'm running a loop that executes Nexec times the following tasks:- Configure and execute an output task.-...

View Article

CAN 8513 Problem

NI - CAN model 8543 driver version 14.5 1、How to realize the timing sending function,The time to ask send frame 1 ms or 2 ms 2、How to use nxPropFrm_CANTxTime? Which function can be called it? 3、How to...

View Article


If I want to start my loop with a nonzero value, how to set up?

If I want to start my loop with a nonzero value, how to set up? https://www.miamidolphinsjerseyspop.com

View Article


Communicate with a FT232R device on Windows 7

I connect a FT232R device controlled by a VMX controller(http://www.velmex.com/Products/controls/VXM_Controller.htmll). The device is connected to the COM9 port and I use the ftd2xx.lib library. Here...

View Article

Image may be NSFW.
Clik here to view.

imaqlearnpattern4

Operating environment: vs2013 + NI Vision module 2015i use imaqlearnpattern4 to learn a template, it's no error when used.but when i use imaqmatchpattern4 ,it have one error (you can find in picture)...

View Article

Generating two digital signals and measure analog input

Hi, since Im a bloody beginner with DAQmx. I came up with the question if my task would be even possible:I need to interact with three channels:Digital output 0: PWM with 2.5Hz, 50%Digital output 1:...

View Article

Thermocouple Channel influenced by other Voltage Channel

Hello,I am using the BNC-2120 and a K-type Thermocouple (TC). On the software side I use C/C++ and DAQmx to acquire the temperature and some analog input signals (AI). While I was setting up the input...

View Article


Adding multiple channels to a task

Hi, I have several thermocouple input modules in a Compact DAQ chassis and I would like to read all channels on EVERY module within the same task. All of the examples I have seen using...

View Article

Triggered AI Task Question

I would like to acquire data from multiple channels, started from an analogue trigger. The example program Acq-IntClk-AnlgStart is almost what I need but I have a question... Once I have read the...

View Article


Measurement studio options for c++ in Visual Studio 2013

Greetings, I have installed Visual Studio 2013 and Measurement Studio 2015. When I try to select a new project with C++, there are no measurement studio options to select. However, if I select Visual...

View Article

Image may be NSFW.
Clik here to view.

Control of two voltage channel by same triggering signal

Hello, I'm trying to control two galvo-mirrors by DAQmx. I wanted to use same triggering signal for both of mirrors, so I did the below tasks for both of mirrors. Create task->Create voltage...

View Article


Image may be NSFW.
Clik here to view.

How can I get NiVisa100D.lib?

First,please  allow me to introduce myself,I am a Chinese,my English is very poor,sorry to make you laught at me. When I debugged my C project,the VS2012 signaled an error as the follow figure.But...

View Article

Convert std::string to LV path to apply to an dll generated from labview

Hi.I am working with a dll-function generated from LV which needs an path type.I would like to convert a std::string to LV-path and tried the following code.  std::string v_PathAsString_o =...

View Article

NI-DAQmx Base : Synchronize PC clock (QueryPerformanceCounter) with PCI 6221...

I'm running a loop in windows7 which periodically polls the parallel port for a TTL signal while continuously reading samples at 1KHz for approx 1 hour. As a test, I split the incoming TTL and *also*...

View Article
Browsing all 653 articles
Browse latest View live


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