Quantcast
Channel: LabWindows/CVI topics
Browsing all 5355 articles
Browse latest View live

Understanding calibration

Hello all,One of my experiments has parts of its inputs running on a NI 9215. I use the last NiDaqMx in my CVI code. The people running the acquisitions have noticed that each channel has its own...

View Article


Standard I/O window

Hi, When my programs terminates, the standard I/O window, which has the standard output my program produced using printf, is destroyed.How do I get access to this information after my program exits? I...

View Article


DAQmx ANSI C application error -200018

I am running experiments with the modified example ContGen-IntClk.c to generate 60 Hz analog sine waves on 9 channels. I am using three 9263 DAQ modules and cDAQ-9174 chassis. The program runs fine...

View Article

Host-RT Target communication lost

I am using the sample under "National Instruments\CVI2015\samples\realtime\ThreadPriorityRT" to control and communicate with the real time target (PXIe 8820, Pharlaps). So the TCP server is on the...

View Article

CVI 2013 Attach to process very slow

I am trying to debug an application in CVI 2013 but when ever I try to start debugging it takes approximatly 10 minutes for the debugger to start the debuggable exe. I have tried starting the...

View Article


Image may be NSFW.
Clik here to view.

auto-saved .tui files never deleted

Following the suggestion from Roberto here I enabled "Automatically save copy of UIR as TUI file" in CVI 2015 SP1. This simplifies the handling of UI files in git.I have enabled the "auto backup"...

View Article

Canvas height and width size TO resolution

Hello,I positioned a canvas control at size of 600X400 [Height X Width].I would like to know, what is the measurement units of thos parameters? Is it possible to know the resolution only of the canvas...

View Article

Canvas height and width size TO resolution

Hello,I positioned a canvas control at size of 600X400 [Height X Width].I would like to know, what is the measurement units of thos parameters?Is it possible to know the resolution only of the canvas...

View Article


Auto-restart

Hello all,OK, this is not really a CVI question, more a Windows question, but since I don't do Windows programming anymore (only Linux and supporting old Windows progs), I'm a bit lost.Long ago I wrote...

View Article


CVI2013 + Windows 7 Update => errors

Hello, I have a code with XNET functions, with no comiplation error. Since I installed the last Windows 7 update yesterday, I'm not able to compile the project. I get "Undefined symbol" for all the...

View Article

SQL Toolkit

Hello, Just have a quick question about the SQL toolkit (v2.3).Is there a way to lock an ms sql database upon connection? I'm currently doing the following...

View Article

PostDeffered Calls and Multithreading

Hi, Can someone give a brief idea about post deffered calls and use of the same in multithreaded applications. Is it like calling the same function from multiple threads? In that case, whether the...

View Article

Using the ATTR_LABEL_TEXT and others

Hello all,I am trying to complete an exercise to create a simple calculator. This calculator has all the number buttons and the simple math functions. The hard part is to use one function for the...

View Article


Queue of Structure datatype

Hi, I have a strcuture of following form. typedef struct DaqData{int stopFlag; char Data[]int readingData;  int panel;  int threadInited;} AIData; I would like to create a thread safe queue with the...

View Article

Run time error

Hello,I'm runnig a multithread program, after 2 hours i have the famous error "Run Time error".Is there any method to fix it? Thanks a lot

View Article


Error: Unexpected Token

Hi All, What could be the possible manual errors for the complier to throw build error 'Unecpected Token'?I am unable to find any syntax error in the code. This error points to one of the header file...

View Article

Convert a float to unsigned char

Hello, I have a variable float type (example float a = 5.02) and I want to save the value into unsigned char.I tryed to cast the value but it dosn't work :-/unsigned char a; float b = 5.02; a =...

View Article


CVI application slowing down

Hello, I have programmed testing equipment application. It works, but every test (loop) applications slows down.Even realays on hardware clicking slowly.After restarting program it works normally again...

View Article

Update 2012 not available

Hey Guys, because of another problem i had to deinstall CVI 2012. We purchased CVI on 09/2011, so i have a CVI 2010 installation file. 2012 should be included because of 1 year SSP.How am i able to...

View Article

How to Save Picture from Picture Control to my Computer (Urgent)?

Hello All,I have a picture indicator that have a picture, my requirement is when i click save button the picture showing in the picture box save to my computer at specified location.Screenshot is...

View Article
Browsing all 5355 articles
Browse latest View live


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