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

C# How can a counter pulse sync with an analog stair-step output

Hi, Now I'm using NI PCIe-6251 and BNC-2110.I generated a stair-step signal and output it from analog output port AO1. I want to make counter pulse signal which sync with the each step of the...

View Article


Start trigger - weird issue with multiple channels in task

Hi - having a bit of a strange problem. I have some code that watches the signal on AI0 and start-triggers on that; it uses the measured frequency of that signal to record a single period of data on...

View Article


How do I find the BdIndx (for use in ibdev) for a named board (e.g. 'GPIB0')?

I have several NI GPIB-ENET/100 devices in equipment racks each acting as 'Hubs' for one or more GPIB-controlled instruments.Each of these Hubs is configured in NiMax under the usual naming scheme,...

View Article

How to pass a openCV Mat from C/C++ DLL to Labview

Full Question:          What is the best way to handle a openCV Mat given in a C/C++ DLL to use the data in Labview?Problem:        A C/C++ DLL is given where i have a global Mat which contains data....

View Article

EEPROM ---- How to Read Back

Here is the code that MSP430f47197 includes in its code as follows for READ/WRITE Functions. Write:int iicEEPROM_write(uint16_t addr, void *dat, int len) { int i; int j; int section_len; uint8_t *p;...

View Article


Read analog output's last value after DAQmxStopTask

Hello everyone.I'm a physics engineer graduating and I've been trying to develop a software to output an analog signal that will be amplified and applied to a piezoelectric element to perform...

View Article

Datasocket does not read 10th channel from CFP DI 301

We are using InstallEventHandler to read the value from cfp DI 301.Its working for channels 0 to 9.But it does not read values from channels 10 to 15. Datasocket always returns 0, even if the value is 1.

View Article

Read and export from excel

Hi All Can someone please assist me in this regard: I have a VI that continuosly measure and log data from two frequencies, frequecy A and frequncy B interchangeably and then save the logged data in...

View Article


Measurement Studio Visual C++2008 in cRIO

Hi, I try to install NI-RIO drivers but I can't because I don't have installed Measurement Studio Visual C++2008, and I don't find this drivers and I don't know where I can found.Can someone help me?...

View Article


NIScope error 0xBFFA002E when executable in on a network drive

The setup :-NI-PXI 5142-Windows 7-VisualC++ Express 2008 I get error 0xBFFA002E (initialization failed in driver dll) from niScope_init(), but only if the executable is on a network drive.If I copy the...

View Article

is there a devicenet PCI Card Labview example in common for any devicenet PCI...

 Dear all,I am trying to program a devicenet Communication protocol and  GUI,  having CIFX 50-DN Devicenet PCI card as a master device interface.It  is to use  labview platform(National Instrument...

View Article

Image may be NSFW.
Clik here to view.

barcode vision 2015

hi all    i have a problem for coding to read 1D barcode.the visual studio error is:        error LNK2019: 无法解析的外部符号 __imp__imaqReadBarcode2@28,该符号在函数 "protected: virtual int __thiscall...

View Article

rsspecan.h

Hi, where can I find this file: rsspecan.h? Thanks for your help. 

View Article


switch on/off port

please help me to on/off port fot ni6516for example consider port (p 6.0)

View Article

How to stop this ao task and writer?

When I close the application, the hardware is still output  Voltage 'val' .How to stop this ao task and writer?Code as follows://////////////////////try{CNiDAQmxTask...

View Article


Image may be NSFW.
Clik here to view.

USB-8451 I2C interface for MPU 9250-9150-6050 IMU

Hi there,  I'm using the USB-8451 for reading data from a MPU 9250/9150/6050 IMU (mostly the same ). The chip allows a I2C protocol for this task. I usually write my code in C, sometimes CVI but in...

View Article

Malloc in c-code on RT

Hi! I run some c-code on my cDAQ and using eclipse to compile it. However i would like to use the function malloc in the c-code but I get some error when compiling.#include <stdio.h> #include...

View Article


use of Select Signal ND_PFI_2, Convert when pin is disconnected 6030E series

I am converting Traditional NiDaq code to DaqMX. This is not my original code and the original programmer is no longer around.The following code is used without any wiring connected to pin 43 on 6030E...

View Article

Image may be NSFW.
Clik here to view.

How to use data socket to get OPC server data from windows network

Hi~~ I can use data socket function to get OPC server data from my local computer in visual studio, like the picture   And now i have the other computer , computer name NTC02,workgroup is SOLAR I also...

View Article

DAQmxWriteAnalogF64 slow in communication

Hello, I'm using a USB cDAQ-9174 chassis with 9263 4xOutput module and a 9215 4xInput module. I'd like to implement a PID control loop with input ai0 and output ao0. To do that I need to know how fast...

View Article
Browsing all 654 articles
Browse latest View live


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