Questions tagged [cvi]

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

LabWindows/CVI (CVI is short for C for Virtual Instrumentation) is an event-driven, ANSI C89 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

65 questions
52
votes
8 answers

How to increase performance of memcpy

Summary: memcpy seems unable to transfer over 2GB/sec on my system in a real or test application. What can I do to get faster memory-to-memory copies? Full details: As part of a data capture application (using some specialized hardware), I need to…
leecbaker
  • 3,611
  • 2
  • 35
  • 51
3
votes
2 answers

What could cause a Labwindows/CVI C program to hate the number 2573?

Using Windows So I'm reading from a binary file a list of unsigned int data values. The file contains a number of datasets listed sequentially. Here's the function to read a single dataset from a char* pointing to the start of it: function…
Adam Bard
  • 1,693
  • 1
  • 11
  • 17
2
votes
1 answer

NI CVI with Python

I'd like to integrate a Python IDLE-esque command prompt interface into an existing NI-CVI (LabWindows) application. I've tried to follow the Python.org discussions but seem to get lost in the details. Is there a resource out there for dummies…
Nate
  • 18,892
  • 27
  • 70
  • 93
2
votes
1 answer

Does anyone have experience with National Instruments CVI and source control?

I'm using NI's Labwindows CVI and I'm trying to integrate source control. Supposedly it plays well with anything that fits the MS API (MSSCC/SCC) but I haven't found this to be the case in practice. I'd love if there was a SVN service that works…
Firoso
  • 6,647
  • 10
  • 45
  • 91
2
votes
6 answers

How can i catch a runtime error in ansi C90

I am using the library Function ConnectToTCPServer. This function times out when the host is not reachable. In that case the application crashes with the following error: "NON-FATAL RUN-TIME ERROR: "MyClient.c", line 93, col 15, thread id…
Johannes
  • 6,490
  • 10
  • 59
  • 108
2
votes
2 answers

How can you examine lib files?

I have a List of 390 Libraries and need to port a software from lab CVI to Visual C. Those dependencies are killing me. I cant import all of them, that would be overkill - and not all of them are unique and/or can be loaded at all. Is there an easy…
Johannes
  • 6,490
  • 10
  • 59
  • 108
2
votes
0 answers

Very fast COM port read

I'm reading from a COM port at a high speed (3,686,400 b/sec). In order to accomplish this I have to read with 512-byte blocks and significantly increase my timeout (to 1000) so that I'll get a whole block each time and not pieces of it even though…
BioSP
  • 518
  • 4
  • 15
1
vote
0 answers

How can I create a discrete cosine spectrum analyzer for a computer network using LabWindows CVI?

Can someone help me with a project in NI Lab Windows CVI?The project has the following specifications->Project theme: Discrete cosine spectrum analyzer;Application: computer network;User interface: single panel;Input: client aquires signal,…
tudortdt
  • 11
  • 1
1
vote
0 answers

Array too small for DCT transformation in LabWindows CVI

I have been doing a school project about digital watermark based on DCT using LabWindows CVI 2012. I divide an image with the size of 512 * 512 into many 8 * 8 blocks, and then use DCT transformation on each of them. But there is an error message…
Daniel_w
  • 11
  • 2
1
vote
0 answers

Can you compile code into a static library .lib file without a Visual Studio licence?

Title says most of it. Background: I develop on Windows. I do not have access to a Visual Studio licence (not allowed to use the community edition), and therefore not to MSVC. I need to compile third-party code…
1
vote
1 answer

What is the standard method for reading from Serial Port

I have a test case where I need to read text coming across a serial Bus (RS-232). This text is actually the text output by an embedded PC when it boots up. I then need to parse that text output for certain tokens. I am trying to develop a general…
1
vote
0 answers

CVI image processing using FFT and analysis library

im doing my final project using CVI and i have some problems. the project in general is to apply FFT on an image, add white gaussian noise at four levels (channel), apply an IFFT to restore the original image. i have two parts: i can use 2DFFT or…
1
vote
1 answer

Finding USB comport numbers using VID,PID,+SN

I am looking for example code in ansi c/c++ that will find usb devices by their pid/vid/sn# and then find the associated comport number. I have multiple FTDI usb serial ports connected to a pc and need to identify each port by the known SN#. This…
Jon
  • 11
  • 2
1
vote
2 answers

How can i pass a va_list through a function in C90

I want to pass a va_list through to another function. Here is an example of what i am trying to do: void my_printf_1(char* string, ...) { va_list ap; va_start(ap, string); printf(string, ap); va_end(ap); } void my_printf_2(char*…
Johannes
  • 6,490
  • 10
  • 59
  • 108
1
vote
1 answer

How to create a Distribtion Kit via the Command Line with CVI/Labview

I've got a NI CVI/Labview project that compiles by using the compile.exe command on the commandline. This generates the expected executables and runs fine on the development PC. However I'd also like to create a Distribution Kit for this project…
Timo
  • 2,212
  • 2
  • 25
  • 46
1
2 3 4 5