Quantcast
Channel: LabWindows/CVI topics
Viewing all 5340 articles
Browse latest View live

user 32 mouse_event dll not working in windows 10

$
0
0

Helllo everyone,

I have been working with mouse_event library to generate mouse clicks  and it was working fine in my laptop which is running on windows 7 ( even  as a executable ) but when i made it an exce and deployed it on another pc working on windows 10 it is not working. I have a strong feeling it has something to do with the Library function as the micrsoft page says its suppressed could this be the reason if so what can I do to overcome it.

Ps: i havent worked much with dlls even the mouse even dll i fould in an example.

Thanks in advance


Labview LvLib to Dll

$
0
0

Hi,

 

I have a application runs on Labwindows/CVI , as a latest addition ended up with vendor only provides LVlib as a driver file to control his hardware , can any one please help me , how to convert Lvlib to a DLL? or any other alternative to use Lvlib in Labwindows/CVI?

 

your help on this is very much appreciated!!!

 

Thanks

Bharathi

 

Labwindow/CVI driver development

$
0
0

how to develope dll in labwindow/CVI for TestStand calling. Please provide a documents which have atleast one example.

初歩的な質問ですみません

$
0
0

現在のプロジェクトを引き継ぎつつ、新しいプロジェクトを作りたいと考えています。

つまり、一部改変して、新しいEXEファイルを作りたいのです。

 

古いプロジェクトで開いて、プロジェクト名を変えるといいのかと思ったのですが、プログラムファイル、ユーザーインターフェース、ヘッダーなどはもとのファイルをそのまま参照してきてしまいます。

 

説明が下手ですみません。

 

簡単にファイル名をコピーして、新しいプロジェクト名で置き換えるような、方法はあるでしょうか。

 

מדידה מהספקטרום מפסיקה תעבורת מידע lan

$
0
0

שלום ,

יש לי בעיה קטנה עם הספקטרום , ברגע שאני מבצע קריאה ממנו דרך תקשורת אטרנט שאר תעבורת המידע שעוברת על אטרנט למכשירים אחרים "קופאת" ורק לאחר סיום המדידה היא משתחררת.

 

עובדת עם CVI 2015

WINDOWS 10

SA 9010B

תודה מראש.

IO Device error DAQmx -2147220719

$
0
0

I've been using an application developed in CVI 2013.  This application has been running using IO card NI PCI-6534 with no issues.  I then updated the IO card to the NI PCIe-6536B due to the PC not having additional PCI card slots.

 

When running the application I am able to run the IO tests about 2-3 times before getting the -2147220719 error.  I've attached a file "Capture.txt" and was able to know if anyone else has received these errors and was able to correct them?  TY!

 

Unable to create installation file - Template.ini - HELP

$
0
0
Hi please can anyone advise me how to fix this error?
program.jpg
 
All of a sudden, I can't create a project for me.I uninstalled and reinstalled LabWindows / CVI and the error persists.
Creation hangs.
It's very important to me.
I also have LabView installed, so I didn't want to uninstall it.
 
Thank you very much for your help.
Regards
Majkl
 

Need help changing the picture of a command button during a run

$
0
0

Hey,

I'm trying to make a command button change its image during EVENT_LEFT_CLICK

and change back to original at EVENT_LEFT_CLICK_UP

is there a way of doing so?


Where is the activation code of current version?

$
0
0

Hello all,

I always have problems with licenses... I just installed CVI 2019. It wasn't in the 'New products or updates' of the updater so I was tired of waiting and I downloaded it from ni.com.

 

Now for the activation I have a site license for all NI products, and I've been told to just reuse the activation code I got for CVI 2017. But I can't find this code. I seem to recall with previous versions it was available in the activation manager and/or MAX/Software, but I cannot find it.

Thanks

Strange EVENT_DISCARD Behaviour

$
0
0

CVI 2019. 

 

I have a couple pretty large apps that have suddenly started acting odd under 2019 in debug on Win10.  When I quit the app EVENT_DISCARD is issued to every Callback function.  Not just once, but infinitely.  I always have to click the red stop button a couple extra times to get the app to actually quit.  I put a case EVENT_DISCARD: in one of the callbacks, with a breakpoint, so I could see this point reached over and over.  At some point a stack overflows or something, because the app goes belly-up quitting at some unknown location.

 

This does not seem to happen in Windows 7.

 

Anyone ever see this?  Is there some setting in the IDE I'm missing to prevent this?

 

 

Attempt to realloc pointer to memory not allocated by malloc() or calloc()

$
0
0

hello all,
sometimes i get this error :
and i don't know how to solve it !!
and my program doesn't work when i switch to debug run ,
CaptureError.PNG

i even try to make a small project (just for getting the same error to know what's the responsible of this)
but i can't do it ,
can someone help me to solve this error ,

or how i can make a little program to get this error.

unexpected output in DebugPrintf

$
0
0

Hello,

today I used the DebugPrintf command to compare two different numbers obtained by two different routines and was quite surprised to not only see these two numbers: before that line there were several lines of text, see attached screenshot.

Where do these text lines come from and what do they mean?? Definitely it is not from my code...

Thanks in advance!

DebugPrintf.png

 

Rebuild command still crashes CVI

$
0
0

For the last decade I have had every version of CVI crash every time I try a simple [Build][Rebuild]:

 

[FATAL] [GeneralSignalHandler] [.\source\jeff\i386\except.c:175] Unknown

I've posted a similar message in the past for CVI 2017, 2015, etc, to no avail apparently as the problem is still present in CVI 2019. My guess is that it is due to some option or obscure setting I've been carrying from version to version.

 

I've attached the log.

Documentation Tags won't show up

$
0
0

After finding out that these tags could be used for user generated functions I wanted to start using them in my code. I can see the tool-tip help in the library functions but not in mine. Even after compiling, building etc...

 

Is there some option/setting that has to be configured to see the tool-tips for my functions??

DocumentationTags.PNG 

 

These are the sites that I used as reference to try and figure out this problem.

http://www.ni.com/tutorial/6502/en/

https://forums.ni.com/t5/LabWindows-CVI-User-Group/LabWindows-CVI-Tip-Generate-Documentation-for-your-Functions/ta-p/3516554?profile.language=en

Documentation Tag Issue

$
0
0

After finding out that these tags could be used for user generated functions I wanted to start using them in my code. I can see the tool-tip help in the library functions but not in mine. Even after compiling, building etc...

 

Is there some option/setting that has to be configured to see the tool-tips for my functions??

DocumentationTags.PNG

 

These are the sites that I used as reference to try and figure out this problem.

http://www.ni.com/tutorial/6502/en/

https://forums.ni.com/t5/LabWindows-CVI-User-Group/LabWindows-CVI-Tip-Generate-Documentation-for-your-Functions/ta-p/3516554?profile.language=en


Keysight E8267D

$
0
0

Hello everyone,

 

I am using signal generator which is called Keysight E8267D.

 

I found the IVI driver, but I could not understand I how to control pulse width with PRI.

 

Could you help me please.

 

 

TTI QPX1200sp

$
0
0

Hello everyone,

 

I am using TTI QPX1200SP power supply and I could not find any driver to control with Labwindows CVI.

 

Is there anyone who has used before?

 

Thank you.

FileSelectPopup errors out

$
0
0

Runtime error window:

NON-FATAL RUN-TIME ERROR: "c:\...\CVI\Includes\excel_datafile_stuff.c", line 1004, col 13, thread id 9752: Function FileSelectPopup: (return value == -180 [0xffffff4c]). The dialog cannot be displayed in a thread whose concurrency model is multithread apartment (MTA)

Code function call:

char currentFilename[MAX_PATHNAME_LEN] = {"C:\\Users\\Public\\Documents"};

char newFilename[MAX_PATHNAME_LEN];

...

FileSelectPopup (currentFilename, "*.xlsx", "*.xlsx;*.xls;*.txt;*.csv", "Select Data file",
VAL_SELECT_BUTTON, 0, 1, 1, 1, newFilename);

Windows10, CVI 2019

{userint.h}

#define MAX_PATHNAME_LEN 260 /* includes nul byte */

 

This code worked ok in CVI 2012 - CVI 2017 

 

CVIRTE.DLL crash from service

$
0
0

I am developing an application that is launched from a Windows service. This application links to several DLLs which, indirectly link to cvirte.dll. This procedure succeeds when I am working from my development setup.

I created a Windows installer for my application, however, when the Windows service launches the application from its directory within %ProgramFiles(x86)% it fails.

 

From a dump of the failing process I find the following exception:

Unhandled exception at 0x774F1E0B (ntdll.dll) in app.exe.8480.dmp: 0xC0000005: Access violation writing location 0x00000014. occurred

and the associated call stack:

ntdll.dll!RtlpWaitOnCriticalSection()
ntdll.dll!RtlpEnterCriticalSectionContended()
ntdll.dll!_RtlEnterCriticalSection@4()
cvirte.dll!687df3cc()
[Frames below may be incorrect and/or missing, no symbols loaded for cvirte.dll]
cvirte.dll!685c967a()
cvirte.dll!685b4b4a()
cvirte.dll!688007c3()
cvirte.dll!688351f1()
cvirte.dll!688352b4()
[External Code]

The interesting thing is that I only get this error when the application is installed and is then launched from the Windows service. I can launch it manually, whether or not installed, or it will launch from the service when the service is started from script.

 

My assumption is that this failing code is a part of the DLL initialization code since my application's WinMain function is never hit when I get this failure. I expect that cvirte.dll needs access to a resource but due to some security constraints it cannot reach it and then fails in ntdll.dll when it tries to proceed. Without knowing what cvirte.dll might be doing I have not been able to confirm my hypothesis.

 

Version information:

cvirte.dll: 17.0.0.295 (32-bit) from NI Automated Test Software Suite (SPR18)

Windows 10: 1809 (OS build 17763.914)

Necessary module for distribute application with excel report

$
0
0

Hi,

 

I am trying to installing the cvi project (my developed project on cvi) after creating a distribution on new PC that no have a cvi compiler. My project use excel2000 driver supplied by NI. 

After i installed project on new PC, i receive the message that the driver does not see the excel on this PC. 

 

Note: Excel exist on this PC, and working properly when i start him manually.

 

After this fail, I trying to create the distribution from excell2000dem project that supplied by cvi, and i receive a same problem.

 

What i need to do when i create the distribution?

 

Thank you 

Very Much

 

Viewing all 5340 articles
Browse latest View live


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