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

Image may be NSFW.
Clik here to view.

Database disconnected problem

I built a Labwindows project and paste it to the remote desk.But the database cannot connect. Here is my code. They say that it is the problem is relating to different version of CVI. I use Labwindows...

View Article


Multi threading or Pragma omp parallele

Hi, I m quiet new in multi threading world. In my program i have a lot of instruments to initialize and that take quiet a long time . I was wondering to initialize those instruments in parallele but i...

View Article


Image may be NSFW.
Clik here to view.

tooltip bug: "buffer passed was too small for the operation"

Yet another SP2 problem.  This time with tooltips  Enter any text into the multiline mode of a tool tip dialog and I get the following error:  Happens with any control.

View Article

Image may be NSFW.
Clik here to view.

I came across a problem while using the LabWindows SQL Toolkit

 The version of CVI I used is version 2009. When I copy the whole project to the remote desk, when I click the exe. file, it will popup a message that tell the database is unconnected. I have...

View Article

Image may be NSFW.
Clik here to view.

I will do a small software that plot a 2D function curve use openGL , feasible ?

1,  I have a lot of sample data, it can be plot a 2D dot distribution map. 2, then, I need fit a function curve,such as: 3,then , I need got the point of intersection coordinate (x0, y0) 4,then if I...

View Article


Table control issue [CVI 2013 SP2]

I just found a bad behaviour while editing a table control on CVI 2013 SP2. A minimal sequence to duplicate it is the following: 1) New project2) File -> New -> User Interface3) Create->...

View Article

Button-table with colors?

Hey everyone, I made a matrix table of buttons (please open my attached picture to understand what I meant). I would like to do two things:1. Make the buttons clickable, and to make an event each time...

View Article

Cannot find 32-bit program file for library

Yesterday I installed LabWindows 2013 SP2.  I am now receiving the following Library Load Errors when running LabWindows. "Cannot find 32-bit program file for library '.ini-Style Files For Multibyte...

View Article


How to use DLL written in CVI 2013 in Visual C++

using , #import "mydevice.dll" in VisualC++  ,I get "Error loading type library/DLL"I built the DLL & LIB files in CVI 2013 , how do I use them in visual C++

View Article


error: implicit declaration of function 'GetActiveProcessorCount' is invalid...

I am getting  the following error: error: implicit declaration of function 'GetActiveProcessorCount' is invalid in C99. Make sure that you include the function prototype. I have included windows.hwhich...

View Article

有很多采样数据需要显示在2D坐标系中,要能用鼠标自由缩放和平移,可以实现吗?

之所以要求能自由缩放和平移,主要是方便查看!可惜我也没找到这样的例程,似乎都是仅仅显示。。可以吗?

View Article

为什么我不能缩放和平移?(Why I cann't zooming and panning on Graphs?)

http://digital.ni.com/public.nsf/allkb/D7D38C80BF7F875A86256F9D00832681 这里明确说/ Here explicitly say:If you set Zoom Style to Zoom to Rectangle in the Edit Graph dialog box or set the ATTR_ZOOM_STYLE...

View Article

viRead/viScanf Problem On VISA-USB INSR

Hi everyone, I use viRead to get a string terminated by 0xA(linefeed) from a USBTMC compatible USB INSR, the string lenth is 51(count termiate char in). The code is like this: viSetAttribute (lInstr,...

View Article


need to install LabWindows/CVI PID Control Toolkit (Part Number 320794A-01)

Hello -I have a customer with a very old application who needs to upgrade their system to Win7 64-bit. The app references the old PID functions (manual here: http://www.ni.com/pdf/manuals/320794a.pdf)...

View Article

How to close CVI dialog window programmatically

I'm using CVI_AppOpenProject to open up CVI prj on automated tester but if a CVI dialog window pops up then the window sits there waiting for the operator action defeating the purpose of automation (ie...

View Article


create DAQmx task

Hi, i have a probem that when i click the creat DAQmx task in the menu "tools", it look like the CVI doesn't have any response! can someone help me?thanks!

View Article

Graph control causes general protection fault when changing axis range (64bit)

Hello, i wrote a 32bit application which i'm porting to 64bit now and stumbled across a problem with the graph control.The Graph axsis are set to editable so that the user can change the axis range...

View Article


Finding "USB to RS232" resources list

Hi, I'm wondering how to get the "USB to RS232" device name, description and serial number, as NiMAX is able to do (please see the attached image NiMAX-USB-232.jpg). Using the viFindRsrc function (as...

View Article

Error with ExcelRpt_SetCellRangeAttribute for ER_CR_ATTR_FORMULA

Hi Using CVI 8.5 My application needs to write an excel file. some test code :             __caErrChk (ExcelRpt_SetCellValue(SheetMoteur, "A1", CAVT_INT, 30));            __caErrChk...

View Article

NI-6343 the buffer of AO and DO

      I have Used the CVI program to creat 4 AO Channels which in the  NI-6343 board ,so that the board can output datas at the same time, now I want to generate the Digital Data line in the DO...

View Article
Browsing all 5339 articles
Browse latest View live


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