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

Graph with several plots, one cursor programmatically jumps from plot to tlot

Hi, I am using MS 2013 with Vstudio 2010I have a graph with 3 plots, and one cursor which in design time is attached to plot 0.I need to reattach this cursor to plots 1 or 2, based on the index of my...

View Article


NI PCI 5153 Interfacing.

dear Friends can anyone tell me how to read waveform data from NI PCI 5153 Data Acquisition card? I tried the following: #include "niScope.h"#include "niHWS.h"#include "NIPCI.h"int main(int argc, char*...

View Article


How to work with opencv using Microsoft Visual Studio?

I have MVS 2008 and done with CMAKE thing with opencv. Now I wonder how to make it work with NI-IMAQ. I've gone through the examples given by NI, and everything is working. But now I want to play...

View Article

develop a project using MSVC using NI-IMAQ

Where can I learn to start a project, so I can use OpenCV library to process a video capture from my Camera lInk (using frame grabber PCI 1428). 

View Article

NI-DAQmx Base : Synchronize software clock with PCI 6221 Ai signal at 1KHz

I have a C++ application that uses NI-DAQmx Base to read up to 5 input signals at 1Khz each. Using simple sequence - DAQmxBaseCreateTask()- DAQmxBaseCreateAIVoltageChan() and then DAQmxBaseStartTask()...

View Article


Raw data format for DAQ

Hi, I hope this is the right location for putting this post. If not, please let me know a more appropriate place. I am trying to read raw analog sample data using ANSI C and would appreciate if someone...

View Article

Error 0xbffa4004 when Initializing DMM measuremnt

NI PXI 4065C++ visual studio - not visual but win32 consoleDmm setup for external triggerWhen sending niDMM_Initiate to start and wait for trigger I geterror 0xBFFA4004 Thanks

View Article

Reading TDM files in VS2013, C++

I am trying to use the TDM C DLL files created by NI to read and write TDM/TDX files in a C++ program in VS. When I try and build the code calling functions in nilibddc.h, I get LNK2019 errors, saying...

View Article


How to record video as AVI file?

Snap, Sequence, Grap got official example But how to record video as AVI ? I found related api:imaqCreateAVIimaqWriteAVIFrameimaqCloseAVI I don't know how to input parameter.Someone know about it ?

View Article


USB 6211 - DAQmxSetStartTrigRetriggerable Problem

Hi, I have a simple requirement to acquire bursts of data on AI0 using PF0 as the trigger. The trouble I am having is that I cannot get the configured task to retrigger. In other words, it triggers...

View Article

emulation of DAQ card -- am I reinventing a wheel that is made already?

Hi All, I am writing a general-purpose data acquisition program in C and am wondering if I can take advantage of existing code somewhere to help with its testing. It takes command line arguments...

View Article

Last written AO value from DAC

I am using DAQmx with C++ I am using buffered analog output on several different types of devices (for example m-series cards and X-Series USB devices).  The output is continuous,  does not allow...

View Article

software signal lock example in C++

Hello,I'm new to NI and DAQ. Just posted this question before http://forums.ni.com/t5/Signal-Conditioning/usb-6211-DAQ-frequency-question/td-p/3202422  and found out that the signal can't be locked on...

View Article


fatal error C1083: Cannot open include file: 'NiVisaComponent.h': No such...

I found the error of => niincludes.h(18) : fatal error C1083: Cannot open include file: 'NiVisaComponent.h': No such file or directoryI have checked some path, "C:\Program Files (x86)\National...

View Article

What is the latest NI-VISA that fully support to Virtual studio 2005?

What is the latest Ni-VISA which fully support Virtual Studio 2005? I found the error, NiVisaComponent.h': No such file or directoryand I think this is from NI-VISA may not fully support to Virtual...

View Article


Settling time for DAQ

What is the best way to increase settling time on Visual C++ measurements of the PXI-6255 A to D? We needed to make some hardware changes that resulted in a measurement via a high-resistance voltage...

View Article

DAQmx: Synchronize two counter input tasks

Hello, I read a lot of posts with a similar question, but unluckily I still haven't figured out how to solve my problem.I'm trying to count the pulses of two devices, but I don't know how to get the...

View Article


DAQmxClearTask of output channel takes 20 seconds

I have a NiDAQmx device on NI PCI-6713. I'm creating a task for analog output. I stop the task, and clear it using DAQmxClearTask. The call to DAQmxClearTask takes 20 seconds. On other systems I'm...

View Article

Decrease size of TDMS

I am using the NI DLLs to save as TDM files, and my main issue is that it basically just writes the raw data on the disk, without any sort of compression. My code: struct ScopeData {...

View Article

DAQ and DMM Synchronization

When attempting to synchronize a 4071 DMM and a 6255 DAQ, The DMM seems to have inconsistant start delay. I have several bits of code that turn on and off voltages and I am attempting to align the rise...

View Article
Browsing all 653 articles
Browse latest View live


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