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

How to find if a font is installed on the system inside LabWindows CVI?

In a panel from a User Interface Resource file there are few Text Message controls with special fonts (this is an old project where UIR was already deigned and is used in production so cannot change it). At design time LabWindows detects if the font…
user2380383
  • 174
  • 1
  • 8
0
votes
0 answers

Convert 16 bpp image to 8 bpp greyscale in c++

I have image source that generates images in 16 bpp. I have this info in unsigned char * buffer. I need to display image, which I cant using Labwindows directly in 16-bit. It doesnt support 16 bit. How to convert 16bpp in 8 bpp to show it…
user9559196
  • 157
  • 6
0
votes
1 answer

DiscardAsyncTimer returning before timer callback is complete

I'm trying to write a program in LabWindows/CVI 2017 using async timers but ran into a problem with the DiscardAsyncTimer() function. From the documentation for DiscardAsyncTimer(): A call to create or discard an asynchronous timer will not…
Matt
  • 3,651
  • 3
  • 16
  • 35
0
votes
0 answers

Interpolation of 3D grid data

I have six point in 3D plot. For example: x = [2, 28 , 44, 33, 10, 19] y = [23, 49, 8, 42, 32, 19] z = [23.5955, 23.7141, 23.7410, 23.5603, 23.7948, 23.6131] In matlab I can use griddata function and the result: 3D Plot results: Now I need do the…
Rariusz
  • 73
  • 7
0
votes
2 answers

Printing SQL in C

I'm looking for help with printing the results of an SQL statement out in C. I'm trying not to set each variable to a pointer and then using that pointer to print the variable out. If I did, I'd have like a couple hundred variables. This is what…
mpwbs92
  • 19
  • 6
0
votes
1 answer

how to print text to a listbox in labwindows CVI

h, i am student and study C programming, by lab-windows CVI.. in GUI i have create text-box and list-box... i read from a file to text-box and the user, searches after a word... when it is matched, it should appears the word in the list-box... i…
0
votes
1 answer

Toggling between NRSE, RSE and Differential Analog inputs in LabWindows CVI

I'm having some issues reading analog input from a DAQ card in LabWindows CVI; the input configuration seems to be set to "Differential" by default, and I was wondering how I would go about changing that to NRSE.
0
votes
1 answer

Compiler specific pointers?

I am having problems to use pointers from a NI LabWindows Application in functions from a dynamically linked DLL. DLL was build using MinGW 4.7 NI LabWindows uses a really old LLVM CLang ANSI C Compiler with C89 standards and C90 extensions as far…
Aeonos
  • 365
  • 1
  • 13
0
votes
1 answer

Identify GREEN color in an image with NI VISION in Labwindows\CVI

I am using NI VISION imaqColorHistogram(...) in CVI which gives me a report for each plane, for a colorMode that i choose ( RGB , HSL HSV, HSI,CIE, CIEXYZ ) on an image which needs to contains a GREEN spot (the spot is most of the image)   A report…
Raz
  • 489
  • 3
  • 8
  • 17
0
votes
1 answer

General Protection error when using NI VISION imaqDetectLines() function

I am using National Instruments Vision module in Labwindows\CVI For some reason, when i use the func imaqDetectLines(), i get FATAL RUN-TIME ERROR: "Angle tracker.c", line 50, col 11, thread id 0x00002004: The program has caused a 'General…
Raz
  • 489
  • 3
  • 8
  • 17
0
votes
1 answer

Distinction in Control Styles for Lab Windows CVI

I'm creating some UI controls in Lab Windows CVI programmatically, and I saw on NI's site that there are two different graph types, "CTRL_GRAPH_LS" and "CTRL_GRAPH". Many other controls have the same suffix. What are the differences between the…
Glasses2C_Sharp
  • 149
  • 2
  • 8
0
votes
1 answer

How can I realize a solution where data from a running Labwindows/CVI program gets stored in a Cassandra database?

I am using (or at least trying to use) the free DataSax distribution for Windows, and I found the C++ driver, but the only video/description I found was for VisualStudio. Is it possible to use Cassandra with Labwindows/CVI?
0
votes
0 answers

Call exported function from dll from LabWindows/CVI

I'm new at programing in C/C++, and although I've looked in Microsoft's help and in other StackOverflow questions I haven't found the answer to my problem. I am trying to call an exported function from a DLL I made in Visual Studio 2008. This DLL…
D.García
  • 1
  • 2
0
votes
1 answer

Measure Volt DC from an Analog input into an array and Calculate Volt DC in RMS

I am developing Test automation in GeoTest ATEasy and LabWindows\CVI, in the tests i measure analog and digital outputs\inputs. In one of the test i need to measure an Analog input which contains an audio signal - and verify its Hz and Volt DC…
Raz
  • 489
  • 3
  • 8
  • 17
0
votes
0 answers

C - Debug mode won't acknowledge callback event

I'm trying to write a simple UDP transfer program in Labwindows/CVI. The idea is it creates 2 UDP channels, uses one to write data to a port, and the other to receive the data and print it out. Here's the receiving end: //Called whenever data…
FreshWaterTaffy
  • 270
  • 1
  • 2
  • 18