Local array initializations not recognized
This code generates a compile warning: myRoutine(){ unsigned int localBuffer[8] = {0,0,0,0,0,0,0,0}; ... if (condition) { myVariable = localBuffer[1]; }} ==> warning:...
View ArticleCVI to control Excel and Word
Hi, I understand I need to use ActiveX for the following, still have not go to grips with it!! I have python code, our standard, to perform the production test and get data, 3 different arrays, into...
View ArticleDistribution kit fails without .exe
Hello all, Firstly, thanks by advance to all that could help me on this issue. My problem is : I want to use the Distribution Kit tool, but not in order to install a program on a computer. In my case,...
View ArticleSave Loaded Instruments/Libraries
In my CVI project, I have several instruments loaded, e.g. niscope, nidmm, etc. However, when I save the workspace and transfer the files (.C, .cdb, .cws, .prj) and transfer those files to a new...
View ArticleBuilding 64 bit Distribution
Hi, I have been using CVI to create 32 bit drivers (dll) for a while without too much trouble. I would then switch to LabView and use the "Create VI Interface to CVI Driver" wizard to create a LabView...
View Articlememory leak with callback function
Hi,I am fairly new to LabWindows and the ninetv library, i have mostly been working with LabVIEW.I am trying to create a basic (no GUI) c++ client that sets up subscriptions to several network...
View Articleabout digital signal trigger and dynamically change the output voltage
Hi all, I am wondering it is possible to implement something like the following with DAQmx. I would like to continously output analog samples of contstant value,says 3.2volts, at a given update rate...
View ArticleNI VISA 5.4 ok to use, NOT WORKING when building an application
I'm using Mac Book Pro with OS Mavericks. Installed NI VISA 5.4 for MAC. It can detect an USB instrument ok - via NI VISA CONFIGURATION tool. Now trying to build Xcode based example programs that...
View ArticleHow to handle formfeed received on rs232?
Hi, I am new to CVI, however have good knowledge of microcontroller based C programming. I am trying to figure out how to handle formfeeds sent by a device. HARDWARE:1) I am running LabWindows CVI 2013...
View Article2013 cvi cannot identify #include
hi,i'm a newer to cvi.my program works well in 2010,At first it alos works well in 2013.but now it has the folloing error. the following statements are needed in "rs232,c", #include <rs232.h> do...
View ArticleCVI_AppGetCVIState takes a long time
I am using the CviServer function CVI_AppGetCVIState and find that if I get the state of a 2013 project it takes 500 times longer than getting the state of a 2012 or less project. As my software calls...
View ArticleCustom CVI Real-Time Web Interface
Hello, Is it possible to replace the default CVI Real-Time web interface with a custom (application specific) interface? Tom
View ArticleWhere are the "New Project" Templates when using Visual Studio 2012 with...
Background:Platform: windows 7 X64Visual Studio 2012Labwindows/cvi 2013 I install Visual Studio 2012 first. Then follow this with installing Labwindows 2013. In the install options I tick "visual...
View Articlecvi :how can i save datas to EXCEL automatically
hi. i just want to save the real-time collecting data to excel automatically ,but no need to open the excel " ExcelRpt_ApplicationNew (1, &appHandle);' will open the excel Is there way to connet...
View Articleabout digital-edge triggering and buffer pointer reset
Hi all, I am learning how to use the digital edge to trigger the task for analog output. I copy some code from the NI example and have the code written as follow double data[102000]; int datasize =...
View ArticleUDP
Hi, I am using UDPWrite() API for one of the application software developed. I am using labwindows CVI 12.0. The target processor is NI PXIe 8133, RTOS - PHARLAP ETS It is a real time...
View ArticleProgram identifies the pxi chassis
I have a utility in Lab Windows CVI 2012 that runs on a PC, PXI or PXIe. I would like the program to be able to identify which of these it is running on.Right now we have a read of a device in the PXI...
View ArticleCVI2013 DAQmxGetSystemInfoAttribute (DAQmx_Sys_DevNames, buf, 0);
After installing CVI 2013 this function is taking about 1 minute to execute. In CVI 2012 it was less than a second. I use this function to read the names and serial numbers of all DIO devices...
View ArticleLabview locks event processing in external library (DLL) :-(
Hi all! I have to test some Bluetooth functionality for devices on production line.I use Bluesoleil Bluetooth C++ SDK to make small DLL to support several simple Bluetoth operations.This DLL...
View ArticleCorresponding PFI line
Concerning the example ContWriteDigChan-Burst, Introductions for running, no.6 "6. Specify the handshaking parameters. The Ready for Transfer Event will be asserted any time this device is ready to...
View Article