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

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


Programming for NI USB 6221 by MFC (Visual C++)

Hi,I have NI USB 6221 M-Series DAQ DEVICE. I want to programming for it by MFC (VISUAL C++). I use the Visual Studio 2013.Thus, How can I do it? Who can guide to me step  by step?  Please help me?...

View Article


Image may be NSFW.
Clik here to view.

Measurement Studio C++ MFC Legacy for visual C++ 2010

Hi,How can I install Measurement Studio C++ MFC Legacy in VIsual C++ 2010?  Please help me (((( Thank you very much! 

View Article

Error 1304 happened on Win7 x86 while installing the package made by NI...

Hi, We made the Installer package with the help of NI Measurement Studio Installer Builder. The Installer ran properly on Win7 x64 without any issue. But when we ran the Installer package on Win7 x86,...

View Article

CWButton Control classic image

Hi,im using a CWButton control, classic style, with image, in an MFC dialog.   I want the image to appear "floating" on the black background but there is a thin silver frame around outside of perimeter...

View Article


Reading data through NI PCIe-8381 in Visual C++

Hi,I would like to seek some guidance in accessing NI PCIe-8381 card using Visual C++.The issue is that I need to read the data in my C/C++ application directly through the PCI-8381 card instead of...

View Article

ANSI C example : "DAQmx Error: No device by the given name was found."

Hi everybody, I'm trying to build and run a DAQmx ANSI C example, which is "/Analog Out/Generate Voltage/Cont Gen Volt Wfm-Ext Clk" (Windows 7 Pro, NI-DAQmx 17.1.0, NI-MAX 17.0.0). I modify it to...

View Article

How I can run DLL generate from Labview in my MFC project?

Hi,   Now, I need to use a dll ,which generated from labview,  to my MFC project. It seems like this, when I click a button on my MFC , pop the  application front panel (as see in the labveiw) . Anyone...

View Article


Image may be NSFW.
Clik here to view.

Suggestions for Accurate digital sampling and control program using M-series DAQ

Hi, Recently, I found a method to develop a digital control program on C or C++,which uses the M-series NI DAQ device just as like other microprocessor units(e.g. ARM). My device is NI-USB 6281.I have...

View Article


Image may be NSFW.
Clik here to view.

SCPI command not found

I am developping a auto-test program according to GPIB to connect to E4404B, spectrum analyzer, than I found some example code here,  /*Reset the instrument*/viPrintf(viESA,"*RST\n");/*Set Y-Axis units...

View Article

Install Measurement Studio C++ MFC Legacy for 2010

Where is the download for the legacy Measurement Studio C++ MFC for 2010? 

View Article

NI6509 Watchdog timer expires prematurely

Hello,I am using the Watchdog functionality of NI6509 PCI board.The problem I am experiencing is that Watchdog time sometime expires prematurely.Especially if I stop the watch dog and restart it...

View Article

HOW can i wrap the MPI parallel code into a DLL and use LabvIEW call it.

hi,I write my algorithm in C language by MPI (process-level parallel ). After that, I want to wrap the parallel code into a DLL(dynamic link library) and embed the DLL to LabVIEW. But the MPI must be...

View Article


Reading calibration time

Hello everybody I try to read the latest calibration time from a instrument in my PXI chassi using C++functions in nisyscfg.h. Below is a code snippetNISysCfgTimestampUTC lastTimeCalibrated;...

View Article

niRFSA_init

Hello, I have followed the correct instructions to import the correct nirfsa.lib and my paths are correct.When I comment out this line, my program compiles fine.niRFSA_init ("PXI1Slot2", VI_TRUE,...

View Article


use labview dll in visual studio c++

Hi, all, Questions:I want to control Microsoft Visual Studio to use the dll which generated from labview. I have some problems here. I use labview 2017 and visual studio 2015. 1.I create a test project...

View Article

use labview dll in visual studio

Hi, all, Questions:I want to control Microsoft Visual Studio to use the dll which generated from labview. I have some problems here. I use labview 2017 and visual studio 2015. 1.I create a test project...

View Article


What is the ID of an Attribute?

Hello, I am trying to make a simple get call niRFSA_GetAttributeViString. Where can I find the ID of an Attribute? I am trying to make a call to the NIRFSA_ATTR_SERIAL_NUMBER but this attribute is not...

View Article

Use DAQmxCreateAOVoltageChan() to create multiple output channels in VS2017

Hi, all:I want to use c++ to control NI-USB-9263. First, when I create a single output channel as: DAQmxErrChk...

View Article

PXIe-1085 C code documentation

What C API do I use that can tell me how to get the serial from the PXIe-1085, and later send or retrieve data to any cards inserted? Where can I find the C API for System Configuration API 17...

View Article
Browsing all 660 articles
Browse latest View live


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