Quantcast
Channel: LabWindows/CVI topics

Image may be NSFW.
Clik here to view.

Download link for OFFLINE 2017 Run-Time installer?

I am needing the 2017 Run-Time installer, but it has to be the offline installer since the target systems generally do not have any internet access. When I select 2020, I see four different options to...

View Article


Image may be NSFW.
Clik here to view.

Building LabWindows 2017 GUI using Microsoft compiler - Error -86

As we work on migrating away from LabWindows, I began trying to build a simple one-panel GUI program using the Microsoft C compiler. I am using the free Code::Blocks IDE. It came with GCC, but allows...

View Article


Automate "UI to Code Converter..." (uiconv.exe)?

We use LabWindows 2017. As part of our migration away from the LabWindows compiler, I have started compiling our code in an external compiler. I have yet get the .uir files to work, so I have been...

View Article

ClientTCPRead timeout in callback TCP_DATAREADY

Hello Everybody, I'm having some strange behaviors while using the Labwindows/CVI 2020 TCP library.I use the TCP Callback Function to read data.The first strange behavior is that, in some cases, there...

View Article

Are LabWindows .libs static or dynamic? warning LNK4098: defaultlib 'LIBCMT'...

I am building our LabWindows program using CMakeLists.txt inside Visual Studio. I am getting this warning: warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use...

View Article


How to use CheckForDuplicateAppInstance() across different contexts

Trying to avoid duplicate instances of my LabWindows/CVI application.  The first instance was run using Task Scheduler before user logon with the option, "Run whether user is logged on or not"....

View Article

How to Monitor TestStand Execution Context from an External CVI Application?

Hello everyone, I’m working on a project where I’ve developed a standalone CVI application (a separate EXE) that needs to monitor the current execution status of a TestStand sequence running in the...

View Article

Image may be NSFW.
Clik here to view.

Can Vision Builder AI 2023 handle 4 parallel inspections with 4 cameras?

Hello everyone,I'm currently working on a project using Vision Builder AI 2023 that requires 4 cameras, each assigned to an independent inspection job (one script per camera).My goal is to run 4...

View Article


LabWindows netstat function?

Is there a LabWindows function that does the equivalent of the Windows "netstat -s" command? Specifically I'm looking to read the count of UDP receive errors. 

View Article


Open 2 digital pattern instruments with niDigital_init

Hello When i try to open two digital pattern instruments with niDigital_init, function returns error -1074097808 with description "Could not load the dynamic library. Library Name: niDigitalCXP.dll"One...

View Article

BUG During set ATTR_TEXT_CHARACTER_SET in Float Ring

Hello, I found a serious bug when modifying the ATTR_TEXT_CHARACTER_SET attribute both in code and on UIR.Modifying the ATTR_TEXT_CHARACTER_SET attribute in a float ring sets all the values ​​of the...

View Article

Image may be NSFW.
Clik here to view.

How to localize "out of Range" Popup?

I have a quick question.My application has been translated into German using LWCVI Language Resource Files, but I don't know how to change the following text:It’s a nice feature of CVI, but I haven’t...

View Article

Can Distribution Kit launch a separate installer as Admin? (FTDI installer)

Our application installer contains the FTDI driver installer, and that runs after the main program installs. This has been fine for years, but we started running into issues. FTDI support told me we...

View Article


Making a panel (splash screen) display as fast as possible

Our LabWindows 2017 program seems to have quite a delay before the splash screen appears. We load a TON of panels on startup, so I tried moving the splash screen display near the top: if (InitCVIRTE...

View Article

Image may be NSFW.
Clik here to view.

921600 Baud Rate

I am getting this error:when I try to do an OpenComConfig with any baud rate greater than 115200.I can open the port using TeraTerm all the way up to 921600. The code is nothing special iStatus =...

View Article


Cannot find 64-bit program file for library 'VXI Library'.

Our 64-bit project fives this warning:Cannot find 64-bit program file for library 'VXI Library'.What is this and what do I need to do to shut it off?Thanks...

View Article

Image may be NSFW.
Clik here to view.

Issue with LIN communication software – inverted frame IDs in log file

Hello everyone,I’m currently working on a software project that manages LIN communication between a master and a slave. The software loads a file that contains the frames to be sent on the LIN bus....

View Article


LabWindows / CVI , thread safe variable async timer

Hallo community, I recently came across multi theadening and ways to handle threads in a way to avoid race conditions. I did read this:...

View Article

Lab windows cvi support

Hello,Knowing that to.my knowledge, NI won t release any New release of cvi (last version is from 2020l, isn t it a high risk for all the users?  No support means no potentiel bugfix with windows...

View Article

Code Example for Digital Waveform Generaton

Given a cDAQ-9189, NI-DAQmx and the proper DO module, is there a code example out there to help me figure out how to create code to generate digital pulses of varying widths?

View Article


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>