Questions tagged [labwindows]

LabWindows/CVI is an event-driven, ANSI C programming environment developed by National Instruments.

LabWindows/CVI (CVI is short for C for Virtual Instrumentation) is an event-driven, ANSI C programming environment developed by National Instruments. LabWindows/CVI uses the same libraries and data acquisition modules as the better known National Instrument product LabVIEW, and is thus highly compatible with it.

See

63 questions
0
votes
2 answers

Merge code from several folders

Good Morning, I am working on legacy code. This legacy code consists of multiple projects (language C with NI LabWindows CVI) and was never manged in a source control System but only in on folders. Over time it got a little messy and copies of this…
0
votes
1 answer

Use of TCP in ATEasy

I want to create a server-side program using ATEasy so that the ATEasy tests will send tests information to LABWINDOWS\CVI which will implement the client side. My question is, does someone have a good tutorial or example on how to use TCP sockets…
Raz
  • 489
  • 3
  • 8
  • 17
0
votes
1 answer

Sending ATD command to a Fastrack Supreme via RS232 in LabWindows/CVI

I work on project based on a FASTRACK SUPREME which has to receive commands via a serial RS232. The problem is: When I use HyperTerm the command ATDxxxxxxxxx; works fine. When I use the CVI RS232 library nothing happens. Is it possible that my…
Annees
  • 1
  • 2
0
votes
2 answers

Is It possible to add dll refrence of c# file into Labwindow

Is It possible to add dll refrence of c# file into Labwindow. Hi I want to use dotnet program written in c# in Labwindow/cvi in c language is it possible or not??
user299757
  • 155
  • 2
  • 3
  • 7
0
votes
2 answers

A program caused the program to stop working correctly

I've developed a software using National Instruments LabWindows/CVI and installed the .exe in a Windows 7 32 bit PC with 4GB RAM. When I run my software, sometimes I get the following error. "A program caused the program to stop working correctly.…
Sujith Rajan
  • 11
  • 1
  • 1
0
votes
1 answer

Labwindows fails to compile- says it is missing a dll that is already in project

I'm trying to use openCV with LabWindows 2012SP1. I've got a simple project attempting to run a simple "Hello World" program in debug mode. The code I'm trying to run is #include #include // Create a window to show the…
0
votes
1 answer

Labwindows strange behavior when adding DOUBLE numbers

I am running the following block of code inside a CALLBACK function for a timer. if (start_value <= end_value) { start_value += increment_value; } else { return 0; } all three variables are defined as DOUBLE. Double start_value =…
Essi Shams
  • 159
  • 1
  • 13
0
votes
1 answer

Assign UI control names dynamically during runtime

I have a server that receives simultaneous client connections. I have mostly used the MultiClientServer sample provided by NI as a model to implement a server that uses multi-threading. I have up to 4 clients connecting, with each client sending…
Essi Shams
  • 159
  • 1
  • 13
0
votes
1 answer

Is there an example of using NonLinearFit in Labwindows?

I want to fit a curve defined by a certain function to a set of (x,y) points. The documentation says Labwindows features a function for this purpose, NonLinearFit. I am wondering if anyone has an example of how this function can be used. I have…
Essi Shams
  • 159
  • 1
  • 13
0
votes
1 answer

labwindows nullChk returns with an error

What is nullChk and how should it be properly used? I am using the following line of code: nullChk(temp = malloc (numBytes + 1)); and I get the following error message: 700, 9 error: use of undeclared identifier 'error' 700, 9 error:…
Essi Shams
  • 159
  • 1
  • 13
0
votes
1 answer

labwindows: What argument does ServerTCPRead exactly need?

The Labwindows documentation says the following about the ServerTCPRead Method: int ServerTCPRead (unsigned int conversationHandle, void *dataBuffer, size_t dataSize, unsigned int timeOut); dataBuffer void * The pointer to the buffer in which to…
Essi Shams
  • 159
  • 1
  • 13
0
votes
1 answer

LabWindows: implementing thread safe queues that can handle string elements

I have a Labwindows server that listens for data from a python client on a remote machine. On the Labwindows server, whenever the TCP_DATAREADY event is fired, I read the buffer to get the data from the client. At this point I need to parse the…
Essi Shams
  • 159
  • 1
  • 13
0
votes
1 answer

How can I install multiple versions of the LabWindows Development Environment on the same machine?

I develop software in LabWindows for multiple customers. Often it is the case that a customer is using a backlevel version of the CVI Run-Time Engine (RTE). When possible the customer is urged to upgrade to the latest, but when they can't I must…
Jesse Craig
  • 560
  • 5
  • 18
0
votes
2 answers

C extension for Tcl built in LabWindows crashing after upgrading to Tcl 8.6

Okay, so we have an extension that is written in C for Tcl 8.4 using LabWindows. After upgrading to Tcl 8.6 calling any procedures that were produced by the dll causes wish to crash without producing a useful error code. This happens from both a…
jjno91
  • 653
  • 7
  • 19
0
votes
1 answer

Embed Python in NI CVI(LabWindows)

I need to access LabWindows API and/or functions written in labwindows from Python. My approach so far I have been able to do so in Visual studio using SWIG to some extent, but my dll creation fails when i try to generate it in Labwindows using the…
Kazoom
  • 5,659
  • 16
  • 56
  • 69