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

Getting Connection Lost Everytime whenever i am trying to use sleep in my cpp...

Using sleep in the below code gives me error  Connection lost , why , help me in this , i have mentioned where i am getting...

View Article


sbRIO communication failure

Hi, I have a sbRIO 9631, labview 2012, RT and FPGA, I connect it to my PC windows 11. When I am compiling shows an error "this host does not have the appropriate Microsoft Visual C++", I do correctly...

View Article


Whether there is an upper limit on the parameters of the DAQmxReadAnalogF64...

float64 data[200000]={0};DAQmxReadAnalogF64(taskHandle,-1,-1,DAQmx_Val_GroupByChannel,data,200000,&read,NULL); The function will crash if it has more than 20k parameters or an array of more than...

View Article

Image may be NSFW.
Clik here to view.

Analog output and TTL counter phase match

Hello,I want to generate two analog output signals (2100Hz sine wave) and TTL signal (from ctr2).When I set the frequencies of these signals to be the same, I found that the analog output and the TTL...

View Article

C/C++ examples for Linux

Hello, I've downloaded the Linux drivers for NI. But I can't find any example code or documentation for how to use them. Where would I find the examples or documentation? Thank you for your help!

View Article


qt software about freeing the cache

Hello, I use DAQmxCfgSampClkTiming (taskHandle, "", 50000.0, DAQmx_Val_Rising DAQmx_Val_FiniteSamps, 800000).Function to set the cache, reads and writes data to the cacheCall DAQmxReadAnalogF64...

View Article

how to set DLLImport for the NI845x.dll ? Calls dont work

Have the NI USB8452 DIO/SPI/I2C box.  Example code in labview and C My app is C sharp 8.0 winforms  Unmanaged C will not run in C# since its a managed environment.  The workaround is to use...

View Article

Taskhandle restart but not repeated write

Hello, I have a task handle that is already created. And I have a for loop. In this loop, I will start this task, make some comments, and then stop the task. However, when I start the next for loop,...

View Article


PCIE-6341 synchronizes with other high speed digitalizer C++

I want to let NI PCIE-6341 synchronize with other high speed DAQ.The high speed DAQ will be the master clock, and NI PCIE-6341 will be slave clock.The frequency of the clock output from high speed DAQ...

View Article


Help with setting up and using NI example (calling APIs using C or C++)

Let me preface by saying I am not a programmer. I am hoping to directly use an NI example (from their install>examples) to get certain instrument APIs working on my PC. For reference, I am looking...

View Article

Minimum installation for console apps

I've written console code under Windoz 11 to acquire 8-bit parallel data using the NIDAQmxBase (2025-Q1) installation driving NI USB-6009 & 6501 pods. Works fine. However, I don't need/want...

View Article

NIDAQmx No locks available on Linux

Hi, I am using a Linux server controlling a PXIe chassis. It basically works fine but sometimes (perhaps after operation of 2 months) the system enters a strange state and `nilsdev` results in a...

View Article

Get externalCalibrationLastTime

Hi,I use "nisyscfg.h" library, I can't get the property data "NISysCfgResourcePropertyExternalCalibrationLastTime", the return struct data are all "0",but i can get the property data...

View Article

Browsing all 653 articles
Browse latest View live


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