Unintuitive behavior of snap-to-point cursor with hidden plots
Hello all,I just noticed a very unintuitive behavior of the cursor snap-to-point mode. It snaps to the closest plot (which is expected), even if that plot is not visible (not expected!). I would go so...
View ArticleUnresolved Symbol error while executing interactive virtual instrument
Hello everyone, I develop an application for several customers, on a PC running under Windows7 32 bits and CVI 2013. On this computer are installed DAQMX V.15, IVI V.14, VISA V.15, one PCI-GPIB board...
View ArticleSecond derivative
Hello all,this is rather elementary numberical question, but I haven't done this in a while... Say I have 2 arrays: V[] and I[]. The 1st order derivative dI/dV can be computed for each point...
View ArticleDrag and Drop files
Hello all,I have problems with file drag and drop on CVI2015/Win10. First of all, it doesn't work ! I enable EnableDragAndDrop() but then I never receive EVENT_DROPPED in my panel callback. I also...
View ArticleRequest: improve the file popups under Linux
Hello all,in recent years I've taken the habit of delivering my acquisition sofware on CVI for Linux. It saves on all security nightmare of Windows. And interfacing with custom hardware is much...
View ArticleGet number value from TestStand Station globals
Hello, I want to get the value of few variables (type number) fro the Station Globals of TestStand. I have CVI 2013 / WIN7 I did this : TSerrChk(TS_SeqContextGetStationGlobals (rSequenceContext, NULL,...
View ArticleGetTickCount64 error using NI-488.2 functions
Hello,When executing the Send function in the NI-488.2 library, I get the following error: “The procedure entry point GetTickCount64 could not be located in the dynamic link library KERNEL32.dll” My...
View Articleerror: expected ')'
Hello,I have just installed CVI 2015 SP1 and I am trying to compile a CVI 8.5.1 project but I get a lot of "error: expected ')'" errors. For instance here:BOOL LEM_502A_Init () { if (!Init ()) { return...
View Article"variable is uninitialized" and unions
CVI 2015 and CVI 2015 SP1 always give compilation warning "variable is uninitialized" for structs which contain unions.As an example, the following structtypedef struct { UA_UInt16 namespaceIndex; enum...
View Article'Designated Inits' in CVI 2015 SP1
This document says that CVI 2015 support 'Designated Inits' with warning.Using CVI 2015 SP1 this instructionnamespaceArray->value.dataSource = (UA_DataSource) {.handle = server, .read =...
View Articlemultiple functions in one function
Hello, I would like to know how to create a function which involves multiple other funcions in it, so i could simplify my code. For example here is my issue: /*DAQmxErrChk...
View ArticleCallback function
How this Callback function working ,is it using pointer or function pointer? int CVICALLBACK LatchStatus (int panel, int control, int event, void *callbackData, int eventData1, int eventData2) {...
View ArticleACTIVE-X CONTROL TO CREATE THE TABS IN UI IN CVI
Do we have any active-x control to create the tabs dynamically in cvi environment?
View ArticleGet RunState Value
Hello, I have a serious problem :-/ I need to read a value from TS : "RunState.ThisContext.SequenceFile.Path" but the API function seems to be no able to find it.. My code :...
View ArticleUDPRead Timeout With Extended Debuging
Hi.My code is sat in a loop performing a UDPRead instruction with a timeout set (1000mS) waiting for a remote node to power up and send a message. UDPRead(hSocket, pResponseBuf, responseSize, 1000,...
View ArticleFeasibility of Multiple Threads Accessing same file
Hello, I'm designing an application in which there are two threads. The first thread would create a TDMS file and will keep on writing data acquired from multiple sensors to the file until the program...
View ArticleDAQmxWriteAnalogF64 - Non Fatal error -200920
Hi.My application is loading a wav file, carving it up into a number of blocks and then continuously playing the file with DaqMxWriteAnalog64. I am seeing a non fatal buffer error and I do not...
View ArticleAdvise using CVI and excel
Hi RobertoBozzolo,I saw you gave a lot solutions of the CVI in the forum. i met a question of using the CVI. Can you give me some advises?i use the cvi to send a string to the Excel for calcul the...
View ArticleMutex Handle leak with DAQmx
Hi, I'm using CVI 2015 and DAQmx 15.1.1. When I use DAQmx functions from user DLL that created by CVI, there is Mutex handle leak even if after unload that. For example, WinDbg reports handle leaks on...
View ArticleInetTelnetOpen Multi
Hello,I use InetTelnetOpen in 4 thread each one have it's handle, I noticed that the time elapsed during a single thread in telnet is 2 sec but with 4 threads 9 sec.Is there any solution to this...
View Article