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
1
vote
1 answer

Using ThreadSafe variable macros in LabWindows/CVI

I am using the thread safe variable macros in the LabWindows/CVI environment and have observed that it is possible to get a pointer to a thread safe variable before it has been released. (from a previous request) Because the data I am…
ryyker
  • 22,849
  • 3
  • 43
  • 87
1
vote
1 answer

Automatically filling a form and running a program

A friend sent me 3 programs, which are written in C or C++. Every program has a form, which is filled and then a button is pressed to perform some calculation. The programs were written in LabWindows/CVI which I've never heard of. He asked me, if it…
TheAptKid
  • 1,559
  • 3
  • 25
  • 47
1
vote
1 answer

ANSI C Memory allocation for pointer to struct throws non-fatal run-time error

I am using ANSI C code, generated from a code generator that produces several layers of nested struct as well as function prototypes with argument lists that use pointers to the top layer struct for passing or accessing data located in the inner…
ryyker
  • 22,849
  • 3
  • 43
  • 87
1
vote
0 answers

LabWindows CVI .Net Controller C#Wrapper for Cognex DataMan

I need to Integrate Cognex Dataman Wireless Handheld scanner in to existing Application developed using LabWindows CVI. Cognex has provided SDK in C#. Below SDK link http://www.cognex.com/support/downloads/File.aspx?d=2628 I used CVI Tool .Net…
1
vote
2 answers

How to layout GUI using pixels

I'm not sure how one layouts a GUI, e.g. buttons, edit boxes, text and etc., when one is given measurements in pixels. As in Microsofts's GUI Guidelines all the specifics are given in distances of pixels. How does one transform that into actual…
67vette427
  • 71
  • 1
  • 7
1
vote
1 answer

How to detect Windows XP or Windows 2000 OS to run a CVI executable

I am using NI LabWindows CVI 8.1 to compile and build a executable program which I need to run on either Windows XP and Windows 2000 OS. I use Windows XP to compile and build the executable. The info I have so far is that I need to place some…
dm.
  • 11
  • 1
1
vote
1 answer

Writing to an Excel file in Labwindows when Excel is not installed

Is it possible to produce an Excel file in Labwindows when Microsoft Excel is not installed on the system? I have looked at CVI samples, and although the use of Activex controls is handy in Labwindows, it presupposes that Excel is installed on the…
Essi Shams
  • 159
  • 1
  • 13
1
vote
1 answer

How can one target older CVI versions during build?

I am currently using LabWindows/CVI 2012 to develop lab automation software. My customer's lab stations all have the CVI 9.0 runtime environment (RTE) installed. The customer strongly prefers to avoid updating their lab stations to the latest CVI…
Jesse Craig
  • 560
  • 5
  • 18
1
vote
3 answers

Is it possible to customize the signal returned by a NI-DAQmx simulaled device?

NI-DAQmx has a "simulated driver" feature. In the case of an AI, the returned signal is a noisy sine. Is it possible somehow to change this behavior in order to have any type of the signal? And if not, are there some alternatives to simulate…
luc
  • 41,928
  • 25
  • 127
  • 172
1
vote
2 answers

Difference between C# and LabWindows/CVI

I am new to LabWindows/CVI. Can anyone please explain, what is the major difference between LabWindows/CVI and C#.
0
votes
0 answers

Use Labwindow to draw the trajectory of the sphere on the plane

I used MPU9250 to collect the data of the xyz axis as well as the acceleration, angular velocity, gravity, and want to use these data to construct a plane graph to record the trajectory of the movement of the sphere, but I don't know where to start,…
0
votes
1 answer

Is there a way to Connect Labwindows CVI to teststand?

I'm trying to figure out how to connect my labwindows UIR to a teststand .seq file. I want the UIR to be able to read the .seq file and then display some data from the .seq file to the UIR.
0
votes
0 answers

Crashing Reasons application c

Hi guys I have a big project written in C that sometimes (not always) in some condition crash. This application read some measures from an eletronic board and store it to a log file in hard disk. (The application is written with labwindows). I…
0
votes
2 answers

flatcc undefined symbol aligned_free/aligned_malloc

Resolved I'm currently working on LabWindows/CVI, this is a C. The only version of C supported is c99. I'm trying to integrate Google Flatbuffers (the c version flatcc) to my current project. When I'm trying to link my solution, I'm facing a linking…
Xemuth
  • 415
  • 3
  • 12
0
votes
2 answers

How do you read text from a website in LabWindows CVI?

I'm trying to read a simple text string from a website into my LabWindows CVI program. I've looked everywhere but can't find an example of using a simple HTTP GET request. Does anyone know if this can be accomplished in LabWindows? Here's the…
FoppyOmega
  • 447
  • 1
  • 4
  • 17