Quantcast
Channel: LabWindows/CVI topics
Browsing all 5339 articles
Browse latest View live

Executable icon doesn't update when .ico file is changed

I'm having a similar problem to this thread, but with my executable file. I have a project in LabWindows 2015 SP1 using Windows 7 Pro.  I created an icon file and set my project to use it by selecting...

View Article


Is it possible to select a specific table cell and have the row and column...

I can't seem to find a function that will do this. I previously used EVENT_TABLE_ROW_COL_LABEL_CLICK to get the column information when a column header was clicked, but now I need the row and column...

View Article


Image may be NSFW.
Clik here to view.

Version of NI Update Service

Hello NI,recently the NI Update Service wanted to update itself to a new version, 16.0.1. Fine.After the update, the version number says 16.0.0.33.

View Article

CVI调用MATLAB生成的DLL

这几天一直在研究这个问题,都没有调用成功。matlab写一个简单的求和函数:function value = my_add(a, b);value = a + b;end;mex -setupmbuile -setupdeploytool 分别生成过C library版本和C++ library版本的DLL文件,在CVI中隐式调用和显式调用都没通过。求高手提供一个可用例程,多谢~

View Article

How to call a DLL (generated by MATLAB) in LabWindow CVI?

The function, for example:function value = my_add(a, b);value = a + b;end;Use the deploytool in MATLAB generate my_func.h my_func.lib and my_func.dll。I want to konw how to call the DLL in CVI?  Is...

View Article


Excel_RangeSort

I'm trying to sort a list of name but I always got an error.The code is the follows:void SortAnagrafica (void){ int     i = 0, j = 1; HRESULT    esito = 0; ExcelObj_App  ExcelAppHandle = 0; VARIANT...

View Article

iberr = 2[0x2] when using ibwrt() using NI GPIB-USB-HS

I am trying to communicate with an instrument using the gpib library in CVI. I can see and communicate with this instrument in MAX without problems. The instrument is connected to a USB port of the PC...

View Article

How to delete a tdms & tdms_index file programmable.

I have a tdms and a tdms_index file that I open and display the data on a graph and after which I close.I then want to delete this file using the function DeleteFile(filename).  I keep getting error -6...

View Article


How to control an usb light / Comment piloter un gyrophare USB ?

Bonjour, devant réaliser un programme, j'ai comme tâche annexe de piloter un gyrophare sonore et lumineux par USB lorsqu'un seuil maximum est atteint. Ma question est donc: est-il possible, via...

View Article


Excel Report - Save to specified location?

Hi,  I've been using the Excel Report library to generate an excel sheet for a CVI project (CVI 2015). The library is working fine when I load it as an instrument to create new sheets, rename...

View Article

use of undeclared identifier lineitem

When I tried to establish the communication between dde and excel, he suggested that the use of the undeclared identifier, do not know how to build this connection, please explain in detail, thank you!

View Article

DAQmx RegisterEvent error

Hi, I have following code:void SetSingle (TaskHandle AITask){ DAQmxCfgSampClkTiming (AITask, "OnboardClock", numberOfSamp*2, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, numberOfSamp);...

View Article

create dll in CVI with C# dll

 i want to create a dll with cvi to call function in a C# dll.when i use the dll ,which i created,in teststand and find it can't work. 

View Article


TDM C DLL calls work as exe, not as DLL (Error -6204)

Hello all, I was hoping to get some help on creating a DLL (I am using VS2017 but hope people on here might be able to trace or help on the issue) using the TDM C DLL functions.I had everything working...

View Article

TDM C DLL calls work as exe, not as DLL (Error -6204)

Hello all, I was hoping to get some help on creating a DLL (I am using VS2017 but hope people on here might be able to trace or help on the issue) using the TDM C DLL functions.I had everything working...

View Article


Image may be NSFW.
Clik here to view.

Lab Windows 2015 Getting Crashed

Hi,Whenever I restart my PC or when I open and close Lab windows CVI, it is getting crashed. Due to this am not able to run my application in my PC. Can anyone please help me on this. Below are the...

View Article

Simple console application on real-time target

Hi, I am looking into creating a simple console application on a real-time target. However, it doesn't seem like it will be as easy as I expected. I noticed in the BIOS that Legacy USB Support is...

View Article


InsertTreeItem cause fatal run time error

Run into this weird problem.  The inherited code has ~ 10 thousand lines. InsertTreeItem(panel, TREE, .............., NULL);causes crash ONLY in debug version !  not in release version.The Tree is...

View Article

General protection fault when using Windows Creators Update

Hello, I've just migrated to Creators Update, and any application fails when exiting with a "General protection fault" message.I'm using CVI 2015 SP1f1 and I confirmed the issue on different computers...

View Article

Extrapolation of an isotherm

Hello,Please, I am intraineeship and I work on a project and I have been blocked for several days on a problem.I trace an isotherm that arrives up to 0.23 and I want to extrapolate to 1.If there are...

View Article
Browsing all 5339 articles
Browse latest View live


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