From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Reports and Application Build

The new Active X based NI reports do a super job and I have included them in
my current application. Problem is I can't easily get them to work out of
the development environment.

The development machine is running win 98 SE and labview 5.1.1. The built
application works correctly on this machine.

The intended target is running Win95(usb). The application works on this
machine except for those parts that call the NI Reports.

If I install LabView on the win95 machine and run my built application the
NI reports work. This clearly isn't the way to go for future rollouts so
what am I missing?

Do I need to do something specifically to enable NI reports on the target
machine?
Do I need to build the application in the same op
erating system as the
target machine?

Many thanks in advance......
0 Kudos
Message 1 of 4
(2,410 Views)
Stuart,
I dont work with Active X and rarely work on WinX platforms
(UNIX forever !) , but I may be able to point you in the right direction.

1. I believe that the Active X components (.ocx or whatever they are called)
must be registered in some fashion with the OS. This normally taakes place when
the SW
is installed (ie install Labview).
It is possible that your built app is not installing / registering this.

2. The old NI-reports seemed to need the files that were in the install
directory
(and exe, and a .tlb I believe) there may be similar requirements for the new
version.

Hope this helps
Kevin Kent

stuart wrote:

> The new Active X based NI reports do a super job and I have included them in
> my current application. Problem is I can't easily get t
hem to work out of
> the development environment.
>
> The development machine is running win 98 SE and labview 5.1.1. The built
> application works correctly on this machine.
>
> The intended target is running Win95(usb). The application works on this
> machine except for those parts that call the NI Reports.
>
> If I install LabView on the win95 machine and run my built application the
> NI reports work. This clearly isn't the way to go for future rollouts so
> what am I missing?
>
> Do I need to do something specifically to enable NI reports on the target
> machine?
> Do I need to build the application in the same operating system as the
> target machine?
>
> Many thanks in advance......
0 Kudos
Message 2 of 4
(2,410 Views)
NI Reports must be installed on the target machine as well. To do this,
create an installer for your program when you build the application. In the
advanced options under the installer tab, select NI Reports installer.

There is a knowledge base article describing this on the NI web site. Punch
in "NI Reports" into the search engine and it should return the document.

Clyde


"stuart" wrote in message
news:954284210.6912.0.nnrp-09.d4e52dc7@news.demon.co.uk...
> The new Active X based NI reports do a super job and I have included them
in
> my current application. Problem is I can't easily get them to work out of
> the development environment.
>
> The development machine is running win 98 SE and labview 5.1.1. The built
> application wor
ks correctly on this machine.
>
> The intended target is running Win95(usb). The application works on this
> machine except for those parts that call the NI Reports.
>
> If I install LabView on the win95 machine and run my built application the
> NI reports work. This clearly isn't the way to go for future rollouts so
> what am I missing?
>
> Do I need to do something specifically to enable NI reports on the target
> machine?
> Do I need to build the application in the same operating system as the
> target machine?
>
> Many thanks in advance......
>
>
>
0 Kudos
Message 3 of 4
(2,410 Views)
Thankyou both for taking the trouble to respond to my request I am
exceedingly grateful. One hears so much about the wonders of the internet
bringing people together but still at nuts and bolts level human effort is
required!

I had not seen the NI installer option previously because I never needed to
use it. Being on a network I have always installed the runtime engine
manually and then copied across the application.. I can't try it right now
but will do tomorrow. I am quite confident the outcome will be a success.
Thanks once again and long live the newsgroups.



stuart wrote in message
news:954284210.6912.0.nnrp-09.d4e52dc7@news.demon.co.uk...
> The new Active X based NI reports do a super job and I have included them
in
> my current appli
cation. Problem is I can't easily get them to work out of
> the development environment.
>
> The development machine is running win 98 SE and labview 5.1.1. The built
> application works correctly on this machine.
>
> The intended target is running Win95(usb). The application works on this
> machine except for those parts that call the NI Reports.
>
> If I install LabView on the win95 machine and run my built application the
> NI reports work. This clearly isn't the way to go for future rollouts so
> what am I missing?
>
> Do I need to do something specifically to enable NI reports on the target
> machine?
> Do I need to build the application in the same operating system as the
> target machine?
>
> Many thanks in advance......
>
>
>
0 Kudos
Message 4 of 4
(2,410 Views)