LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 6.0.2 Illegal Operation error with rpcrt4.dll

Hello,
I am using LV 6.0.2 on a Win98SE machine along with Office97 SR-2. I have VI that calls Excel and reads data from the workbook. On the PC I developed the code it works great. Well I went to install LV on a second machine to try it and when I try to access the 6.0.2 updater on the CD it runs and then once it prompts about converting LLBs from 6.0 and such, I click okay and get an error (attached below). This also happens when I am trying to run my program that calls Excel VIA Labview just using hte 6.0 version without the 6.0.2 updates. it seems to occur on the Range: Value Property node in LV. At least that is when the error pops up on the screen.

The DLL is the same version on both PCs as well as th
e Win98 OS.

If I can get it to work for the 6.0.2 updater I would think it would work well. I am really not sure what to try next.
Jeff D.

Certified Architect LabVIEW Champion DQMH Framework

0 Kudos
Message 1 of 4
(2,774 Views)
Microsoft changed the Range->Value property from Excel 97 to the Range->Value2 property in Excel 2000. If you are using the example program that ships with LV for your Excel driver, then you are calling code that may be different between 6.0 and 6.02.

Your simplest solution is to drill down in your application and open the VI that has the Range->Value2 property. Right click on the Value2 property and change it to the closest match on the list (probably Value). Repeat this for all VIs that have the Range->Value2 property.

Once this problem is corrected, you should be able to Mass Compile the vi.lib directory.

Michael Munroe
www.abcdef.biz
Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.1, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 2 of 4
(2,774 Views)
Your answer makes sense, but it works as range:Value on my developement machine which is Win98/Office 97 just like the sencond machine.

I guess I bigger concern is why am I getting that same error when I run the updater from 6.0 to 6.0.2?
Jeff D.

Certified Architect LabVIEW Champion DQMH Framework

0 Kudos
Message 3 of 4
(2,774 Views)
Have you tried removing the ExcelExamples.llb from the Examples\comm folder before the mass compile? If that works, then try to open the Write Table to XL.vi and then Save All.

Michael
Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.1, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 4 of 4
(2,774 Views)