Ini_ReadFromFile - open and closing of file
When I use the function 'Ini_ReadFromFile()' does it handle the "open" of the file and getting of the file handle, read the contents into memory and then "close" the file and releasing of the file...
View ArticleViScanf invalid format string due to #sample size data1, data2,... response
I'm writing a program which will utilize the internal memeory of the Agilent 34410A DMM for making fast measurements (10K/s). In order to do this, I need to setup a test, have the data stored to the...
View Articleabout wait function and parallel coding
Hi all, I am porting a labview code to CVI. In the LV Code, I use Wait to delay some times in millisecond . I wonder for CVI, should I replace theat Wait with Delay(double) in CVI? Second question. In...
View ArticleCVI 2013 release compilation
I'm migrating my projects to CVI 2013.While I'm really pleased to improvements in the build process, I am experiencing some troubles when executing release compile.My projects use Visual C 9.0 (from VS...
View ArticleCompilation in CVI2013
Hello, I am still discovering all those nice features of CVI2013, so here I am with two questions on compilation: 1) On the Build Options / Configuration Options panel, the checkbox 'Show warning flags...
View Articlewindows exit button doesn't work
Hi, Does anybody know why the windows' red exit button doesn't work for my program? Thanks
View Articlehow to lock the current tab
Hi all, I have placed a tab control to the application, in one tab panel I am running a heavy code which takes couple minutes to be done. During the code running time, I want to lock the current tab...
View Articlejust created a distribution, and...
...it's 170 MB (compressed). An earlier version of this program that I built in May was more like 22 MB. What on earth could I have done to cause this? I do notice in my volume subdirectory, there are...
View Articlewhat's the safe way to do initialization and finalization?
Hi all, I have a thrid party driver for an external device to use in my CVI. I have to initialize the driver when the main panel is initialized and HAVE to release the driver upon the closing of the...
View ArticleHow to Scan ASCII numbers in german format
Hi all!I have the following problem:I need to read ASCII files with lots of sensor data. There are 102 float values per line. Each line ends up with a CR LF (\r\n). The one who created the data files...
View ArticleCallBack after ending a thread started with CmtScheduleThreadPoolFunctionAdv()
hi all, just have a little problem using this function (after using it successfully many times). ->I want to open and work a second thread by using this fct (see title of this message) inside a dll...
View ArticleCVI2013 install : avira antivirus detect TR/Crypt.XPACK.Gen
Hello everybody, When installing lwcvi2013, avira antivirus complain about TR/Crypt.XPACK.Gen detected in cvi2013\bin\msvc\iw.exe. Is that a false alert or real threat ?
View Articleaccess dictionary objects from C# dll in CVI
I am try to use a C# snmp dll in CVI. I have things working but I am at a loss as how to get the data out from the "snmp.Get" function since the result is a .net dictionary type. What do I do with the...
View ArticleIs there any string library provied by CVI?
Hi all, I just switch to CVI from labview. In labview coding, it is pretty easy to operate string. But in CVI, I don't find the string library. I am looking for something like "Array to Spreadsheet...
View Articleextcode.h conflicts with toolbox.h?
Hi all, I have compiled some labview code to DLL in labview2012 so it can be called in the CVI. I have get it tested and it works pretty good. In the CVI program, I have to add extcode.h so the DLL...
View ArticleHow to use ImageControl on another thread out main
Hi All, I'm looking to use ImageControl (ImageControl.fp) on another thread out main thread In my second thread i try to update image but i have a error (This panel operation can be performed (if a...
View Articleauto indent
How do I have to set my bracket style / auto indent options to nothave the following formatting affected, i.e. selecting the text and applying 'Format Selection' should not change anything (because...
View ArticleDBGetColBinary -- num of bytes copied?
Hello, How do we know the num of bytes really copied by DBGetColBinaryBuffer or by DBGetColBinary? The only diff between them is that DBGetColBinary also allocated mem. Thanks,
View ArticleError writing workspace file
Hi all! When I compile my CVI Project I get sometimes the following message: "Error writing workspace file d:\.... (File already exists)", and afterwards the question to continue or not (see the...
View ArticleFree 2D array of String (3D of char)
Hi, I have done a fonction that rread data from DataBase. Ininiatialized an array of 3 D char (2D array of string) . I having problem to free this array after using "DBGetVariantArrayValue". I get the...
View Article