reading character string from text file without spaces
help me read text file my text file contains following four lines//////////////////////////////////////////////////////////////////file start ///////////////////////////////////////com1=2com2=8IP...
View ArticleC++ code development with CVI
I know this topic has been asked several times in the past, but CVI compiler was an ANSI C compiler and didn't support C++ (see here or here for example).Some documents on how to integrate C++ dll into...
View Articlestring array as function parameter fails in loop
Hallo, I've got a weird issue here and I hope some one can help me finding the cause. I have a function where I declared an array of strings (string_list). I pass the array to a function that does...
View ArticleLooking for Contract Help to revise CVI program
We are a small engineering firm in San Jose, CA, USA. Our existing programmers are too busy, and we need help. We have an upgrade to make to an existing CVI program, controlling Sanyo-Denki motor...
View ArticleHow to locate advanlys.lib in CVI2015?
Hi, We are using polyfit() function in one of our C++ based application. We have installed the evaluation version of CVI2015 (FDS package) and we see the below files getting installed,...
View ArticleCan ai ports be accessed by different tasks on USB-6221?
My program creates task1 and reads volts on ai0. Works great. I tried to create task2 to read volts on ai1. But when I start task2 I get error -50103 with text message saying "specfied reource is...
View ArticleNI visa NCIC error
HI I am using labwindow CVI to iterface the Ketsight instrumnet (I am getting the VISA Read error "VI_ERROR_NCIC: Not the controller-in-charge". Please tell me anyone what is mean by this error...
View Articleerror: Undefined symbol '_debug' referenced in...
Link ProjectName.dll error: Undefined symbol '_debug' referenced in "ProjectName\cvibuild.ProjectName\Release\libgpib.obj"How the error can be solved?
View Articleproblem updating ini file ini file
i get input ip address from the user and replace the previous ip address in the .ini file with latest ip address but the issue is this that when a user enter the ip address and i write it to my ini...
View ArticleUndefined symbol '__imp__GetCurrentProcess@0'
Hi All, I am trying to build a real time project using a full version of LabWindows CVI 2015 and an evaluation version of the Real Time Module. When I try to build the following message appears. error:...
View ArticleGetPanelHandleFromTabPage on Nested Tabs
I'm having trouble getting the panel handles from nested tab controls. I have two main tabs with nested tabs under each of those. When I try to get a handle from one of the nested tabs under the second...
View ArticleError while running the .exe file
I am facing a problem while I move my .exe file built using CVI 2010 to another folder and run it.When I run the .exe I get the error shown in the screenshot
View ArticleConnectToTCPServer is not returning an error
I'm using the ConnectToTCPServer function to try to connect to a TCP server, but when I change the port to something invalid, the function does not return an error. How can I poll the connection to...
View Article(Hex ox BFFA000C) Attribute ID not recognized
I am running the IVIDigitizer sample in LabWindows CVI 2015. The sample is under Most Recent File. I have configured a logical name under NI MAX and created a session. I am using the NI PXIe-5114...
View Articlevisa error comport detection
HII am trying to do visa communtion to dectect/find comport . I am facing issue in max(visa) to detect comport (Vertual com port).some boards are detecting correctly in Max as comport but some bard...
View Articlewindow zoom and minimizing oddities
I just came across this message which addresses a problem that has been bothering me for a long timeSpecifically: some applications of mine need to run maximized so I use SetPanelAttribute (hparent,...
View ArticleProbit method
Hello everybody,I have to realize for one of my customers a software that must be used to calculate a Binomial Probit regression (https://en.wikipedia.org/wiki/Probit_model) on a set of data. I have...
View ArticleCan't get SetEndOfFile (or anything in kernel32.lib) to link
I'm attempting to truncate a file using the SDK function SetEndOfFile. I'm essentially trying to recreate the code that RobertoBozzolo posted in this thread. I'm using CVI 2015 and the 8.1 SDK. I...
View ArticleHow to measure frequency of non-TTL pulses?
Google says the "on" threshold for TTL pulses is 2.0 volts (Vih). But I need to measure frequency of pulses that don't all reach 2.0 volts. Is that possible? My (limited) understanding is that the...
View ArticleCVI 9.0 Project in LabWindows™/CVI™ 2012 SP1
i have a project created in CVI 9.0 now i want to run that project in LabWindows™/CVI™ 2012 SP1. how to resolve compatibility issues ??
View Article