Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-845x driver Labview 2011 SP1

Solved!
Go to solution

HI all,

 

I've faced with problem,

I have a LabView program, that is used NI-8451 to communicate with SPI devices. Program was working perfectly, on PC with LabView 2010. After that, I've moved program to new PC where LabView 2011 SP1 f1 was installed. And now I am not able even to open program - LabView stuck on the white Block Diagramm and (Not Responding).

Program is complex and included ~10 SubVis, that is packed into .llb file. I ve tried different things - to unpack them from .llb, or run subVis themself - for all subVis, that include any portion of NI-8451 communication, I've got LabView stuck. Additionally, after removing NI-845x driver I am able to ignore all and load program succesfully, with "?" instead of VIs from NI-845x pallete.

 

Additionally, when I'am tring start from Blank VI and put NI-845x Device ref link (see Link_on_ref_.jpg in attachment for details) on the block diagramm, I am getting LabView stuck  - see Stuck_.jpg from attachment.

I am using NI-845x 2.0 driver, I've tried to reinstall it several times.

 

So, my suspicious is that NI-845x 2.0 driver is not working for LabView 2011 SP1 f1 - is it possible? Or maybe I am doing something wrong?

 

Download All
0 Kudos
Message 1 of 9
(6,360 Views)

Some addition to my post:

In VISA Test Panel from MAX it is shown one error:

in field - Interrupt in Pipe Status see atachment for details.

0 Kudos
Message 2 of 9
(6,359 Views)

Hi RangerOne,

 

Can you see your USB-5451 in MAX after installing the NI 845X Drivers?

 

Have you rebooted your computer after the driver installation?

 

Does LabVIEW eventually crash when it gets to the not responding point? Do you have a crash report you could attach?

 

Try the suggestions below after installing the drivers and rebooting:

 

http://digital.ni.com/public.nsf/allkb/84E2D71B58E22C87862573FB007E594C

0 Kudos
Message 3 of 9
(6,333 Views)

Hi DylanC,

Thank you for your answer.

 

>Can you see your USB-5451 in MAX after installing the NI 845X Drivers?

 

yes, it is visible in MAX (see attached screenshot)

 

>Have you rebooted your computer after the driver installation?

 

I've tried all possible combinations:

uninstall driver - reboot PC - install driver - reboot PC - Run LabView;

uninstall driver - reboot PC - install driver - do not reboot PC - Run LabView;

uninstall driver - do not reboot PC - install driver - reboot PC - Run LabView;

uninstall driver - do not reboot PC - install driver - do not reboot PC - Run LabView;

No any success, problem is still exist;

 

>Does LabVIEW eventually crash when it gets to the not responding point? Do you have a crash report you could attach?

 

LabView not responding, after 10 minutes of waiting, I've used Task Manager and forced LabView to close;

 

>Try the suggestions below after installing the drivers and rebooting:

http://digital.ni.com/public.nsf/allkb/84E2D71B58E​22C87862573FB007E594C

 

For NI-845X Drivers v 2.00 this fix is already applied, file NI845x.rc - already modified as explained on link.

 

I've roll back to NI-845X Driver version 1.15 - that allow me to work.

 

0 Kudos
Message 4 of 9
(6,319 Views)

Hi RangerOne,

 

If you have time and are willing to upgrade to 2.0 again, if you could run an I/O Trace and then try and drop the NI-845X Device on your Block Diagram and then attach the log, I will take a look and see what I can find out.

 

I/O Trace:

 

http://digital.ni.com/public.nsf/allkb/282C5D41E2BA04F2862574BA007803B9?OpenDocument

0 Kudos
Message 5 of 9
(6,303 Views)

Hi DylanC,

attached I/O Trace with NI-845X device dropped on Block Diagramm for both cases: 1.15 Driver installed (NI-845x_115_Details.nitrace) and for 2.00 version driver installed (NI-845x_200_Details.nitrace).

Thank you.

Download All
0 Kudos
Message 6 of 9
(6,297 Views)
Solution
Accepted by topic author RangerOne

Hi RangerOne,

 

Thanks for the trace, as LabVIEW is hanging this is what I expected but was hoping for another error code. If you could go into MAX and Reset Configuration Data, then create a MAX Technical report and attach it. 

 

If you open the test panel and run a query, does it work or hang? Try running a trace when you attempt to query.

 

I see the same error with the device on my machine under Interrupt In Pipe Status so that is not abnormal.

 

 

I have also noticed that on your machine the Input Parameters for findlist, retcount, and srcName do not have the & on the non-working log. I will continue to look into the reason the & is not there and if this having an effect on the hang.

 

DylanC

Message 7 of 9
(6,278 Views)

Hi DylanC,

 

I've done that you asked, but in this order:

 

1. I've tried run a query from  VISa Test Panel: see attached pictures: DR115_1.jpg, DR115_2.jpg, DR115_3.jpg; and in parallel it was I/O Trace running, (result of Trace log included in MAX Technical Support report: see Query_115.nitrace )

2. After I've uninstall 115 and installed 200, and repeat the query - pictures and results are the same, and log of Trace included (see Query_200.nitrace in MAX Technical Support report)

3. I went to MAX -> Tools -> Reset Configuration Data and reset it, waited ~ 1-2 minutes, until finished

4. Generated Technical Support report (will be included in next message);

 

And after that I was able to put USB-8451x ref on LabView Block diagramm without any problem.

So, Reset Configuration Data helps.

Thank You Very Much!!!

Download All
0 Kudos
Message 8 of 9
(6,265 Views)

Reseults of MAX Technical Support Report and I/O Trace log of putting NI-845x Ref on the block Diagramm for Driver version 200. Note that now &findList, &retcount and &rsrcName in Log are with: &

 

Message 9 of 9
(6,264 Views)