Calling DLL in CVI2013
Sorry for this basic question but I am not very familiar with external DLL's... I have some older code where I used typedef void ( __stdcall *fp_SPNDLdllTYPE )( double *, double *, double *, double *,...
View ArticleQsort issue with CVI 2012 in 64 bit mode
Possible CVI 2012 64 bit bug. Qsort returns very slowly in CVI2012 in 64 bit release mode. Not sure if there are memory leaks or if function actually returns the correct answer as I fixed the problem...
View ArticleSQL Toolkit does not work when migrating from CVI9.0 to CVI2012
Hello I have a monitoring software developed in LabWindows CVI version 9.0. Software is complex and composed of different threads, instruments, activeX and SQL toolkit commands. When releasing new...
View ArticleEctron 1140A, USB Control....
Hi, We have an Ectron 1140A, Thermocouple Simulator-Calibrator, with USB control. I see there is LabView drivers, do you know is there anything for CVI? Using the USB interface and MAX, Ver 5.4, I was...
View Articlex64 distribution not working
I made a setup of an x64 application and installed it on another pc (Windows 7 x64), but it isn´t working. It can´t start and Windows gives me the error code 0xC000007B. The Problem is that there was...
View Articlex64 release not working
I develop an x64 application, which uses a SQL database and it works in debug and release, if I start the application from cvi. The application does not work (I get "Automation error code -2147024809...
View ArticleMultithread mouse cursor issue
I have noticed a bad behavior of SetMouseCursor function when used in multithreaded programs. I've written a simple program to demonstrate it (the full project is in the attached zip).Pressing the...
View Articlenetwork exist function & UIEIOError
Well, just when I thought I was out of the woods, I have Ini_WriteToFile errors again. My app runs in a network environment. You can read about my first run-in here. That time, it was all about the...
View ArticleMultiple user access to files with Formatting and I/O Library
I'm developing a data-logging application using LabWindows/CVI 2013.This is for a life test that will run for 2 years uninterrupted.It will save data at a rate of about 20 bytes once per second.I...
View ArticleDifferences between OnboardClock and SampleClock
Hello, what is the exact difference between OnboardClock and SampleClock as clock source for 6024E device? Greetings,chemph
View ArticleUsing Traditional DAQ for NI USB 6509 (Digital I/O)
Hi all,I am trying to port an old Program (written in CVI 5.5 using Traditional DAQ for a PCI DIO card) to new Hardware (NI USB 6509) and OS (Windows 7 enterprise, sp1). As I'm new with LabWindows/CVI...
View Articleself programmed pre- and post trigger
Hello, I am planning a measurement system and search some ideas for programming how to realize it. I have an older NI PCI-6024E and want to measure 8 voltage signals with 2 kHz. When task is started it...
View ArticleDoes a CVI 2013 product installer support integration into Visual Studio 2012?
Hi all, I determined that the latest release of TestStand 2013 supports Microsoft Visual Studio 2012:http://zone.ni.com/reference/en-XX/help/370052M-01/tshelp/infotopics/2013whatsnew/#VSSupport ...and...
View Articlecvi use of visa library creating a server/instrument
I was looking for an example of using the visa library in CVI, to create a TCP server within a thread to allow the thread to look like an instrument to another application already running on the system...
View ArticleAlways getting "Invalid Argument" error on CNV functions
Hallo,I'm quite new to LabView/LabWindows/CVI. I'm trying to create a very simple C++ application that will exchange Network Shared Variables with a LabView VI.But no matter which function I call, I...
View ArticleToo slow cycle time when using network variables
Hi there!One the one side I have a LabView VI. In that VI a value is set to a shared network variable. This happs in a while loop with no extra delay.Thus this should run at maximum speed (and my...
View ArticleDoes Coverity Support the LabWindows C Compiler?
Does the Coverity tool support the LabWindows C Compiler? It appears that it does not. Here is the list of compilers that Coverity claims to support: ARMCosmic C Cross CompilersFreescale Code...
View Article0xC0000005 Access Violation in cvirte.dll (SetWindowsErrorMode?)
Hello, We will occasionally see a crash with our CVI LabWindows based 2010 SP1 application, a 0xC0000005 Access Violation exception thrown from within cvirte.dll. The app is working primarily from a...
View ArticleADE does not remember screen size
Hello, Windows 7 provides the possibility to maximize windows by moving the upper/lower window bar to the upper/lower screen border. This works even for CVI :smileywink: If I have the environment...
View Articlehow to start two or more tasks at the same time?
Hi all, I have few tasks setup to send analog and digital output to different channel with buffer and given sampling rate. I need to precisely control the timing of samples output to each channel. But...
View Article