12-16-2010 04:58 AM
Hello,
I observe a quite strange behaviour of CVI IDE I've installed (CVI 7.1):
- Open "DigPulseTrain-Cont" example
- Compile and Build are OK
- Run --> Start --> an Error appears (attached screenshots) - DAQmx lib crashes ????
- If I run the same program BUT from .exe file (*_dbg.exe or .exe - never mind) - all is OK.
I've reinstalled a full NI package (CVI, DaqMx driver....) a couple of time (by MsiBlast) - but it doesn't help. I've replaced NIDAQ card by another one - the same result.
I'm using CVI from a long time but I've never seen the problem like this one.
Any suggestions .... ?????
Thanks in advance
Petko G.
12-17-2010 05:30 AM
Dear Petko,
When you were reinstalling the NI software, what versions of DAQmx did you use? And what model of DAQ card are you using?
Could you also tell me, if the card actually generates the pulse train when you run the exe or you just don't see the error?
Please create a report from Measurement and Automation Explorer (File->Create Report...) and attach it here.
Regards,
12-17-2010 07:54 AM
Hello Mateusz,
Please find attached MAX report.
About DAQmx:
I use rev. 8.1 with PCI6221. I've installed it a year ago and it has worked well. A week ago I updated DAQmx with rev.9.0.2 after what I faced two problems:
- MAX DAQ Test panel didn't start;
- All programs, required some hardware didn't run from within CVI IDE. If run the same program from .exe files - all is OK ( I checked that by pulse train example and own CAN communication program).
I came back to rev. 8.1 and MAX rev.4.5.1 (supplied with NICAN 2.6.2 ) . After what I've succeded to fix the first problem ( manuly deleting nidmfpan.exe - MsiBlast doesn't remove it ) but the second one is still present.
I suppose there are some garbage files from DAQmx 9.0.2 distribution but not removed by MsiBlast.
Petko G.
12-20-2010 03:20 AM
Dear Petko,
From http://ftp.ni.com/support/softlib/multifunction_daq/nidaqmx/9.0.2/readme.html#OS it seems, that there should be no conflict of drivers even if you were using DAQmx 9.0.2. The only problem could be LabVIEW, which should be at least 8.2.x. This might have caused some installation errors. The simplest solution would be to install everything from the scratch on a clean system.
But first, please try to just suppress the Runtime Fatal-Error dialog by navigating to Run>>Break On menu and deselecting "library errors" and see if it works.
You could also try the "repair" option of DAQmx installation.
Regards,
12-20-2010 04:05 AM
Hello Mateusz,
Of course the new install on formated drive will fix the problem but I want to avoid this.
Run>>Debug>>Library Errors OFF doesn't suppress the error. The error appears each time NI hardware is used - it doesn't relate only to DAQ card.
I've reinstalled all NI parts 3 times (using MsiBlast). Even more - I've manually deleted all ni*.dll and cvi*.* files - but this doesn't help.
Is there any files (.dll, .lib, sys ... ) common to all installed NI hardware under CVI ???
Is it possible Windows Installer to generate the problem ? ( I use WI rev.4.5).
By the way, "DigPulseTrain-Cont" works fine under LabView installed on my PC. So the problem relates only to CVI.
Regards
12-21-2010 10:46 AM
Dear Petko,
I don't think Windows Installer can be generating the problem but you can try running the Windows Installer Cleanup Utility. The same applies to shared files installed for NI hardware - if you delete all NI software they should all be gone.
When you were using MSIBlast and unistalling NI Software did you also delete all registry keys connected to NI?
Remember also to do all of it WITHOUT any NI hardware connected.
Regards,
01-03-2011 02:37 AM
Dear Petko,
did you try the above procedure? Did it help?
Regards,
01-03-2011 07:39 AM
Hello Mateusz,
Yes, I've tried it but the result is the same.
Even more - on other two PC, where a real test programs are running we observe the same problem. The first installation of CVI works well, but after some period of time - only .exe is able to run. We've checked for viruses - no one. The next presumption is to check if any other application on PC is in collision with CVI ?
Regards
P.S.. Happy New Year. My best wishes for healthy and lucky 2011.
01-05-2011 01:23 AM
Dear Petko,
you say that the problem appears after some time. Could specify what do you mean by that? What changes during that time? Windows Updates, driver updates etc.? How long does it actually work?
Are you running the applications in Debug or Release mode? Does the problem remain if you switch from one to another?
Happy New Year!
Regards,
01-07-2011 09:22 AM
Hello Mateusz,
Till now we have 3 PCs with the same problem - after a few months (1...5) application run through CVI IDE crashes. The common one for PCs are CPU + motherboard + WinXP SP3 (see attached SysytemInfo).
The problem rerlates to PCI or USB Hardware runing through CVI IDE (NI-DAQ4220 - see attached ErrorNIDAQ, Agilent34405a - see attached ErrorAg34405a). On the both PCs with PCI-NIDAQ installed - the same fault address is pointed 001B:7C90E4DF(I think this is an address ?). Can this help us to find root cause ?
I've checked COM ports - they works well even through CVI IDE.
The problem appears for both debug and release modes. But .exe are running well (I mean Ctrl+F5 run).
Regards