01-11-2008 02:43 AM
01-11-2008 07:11 PM
Which executable are you referring to, the NI-RIO driver or some other executable? What happens if you don't manually start the NI RIO Service? Does it affect your ability to target the FPGA? Please feel free to post as much relevant information as possible. Have a great weekend!
@JK1 wrote:
When i install the exe in a new system...
01-14-2008 06:14 AM
Hello,
Mike has correct that we need some additional information here regarding which SW and drivers that are involved.
If I understood things correctly you want to have a Windows/FPGA setup where a Windows Host VI directly controls the FPGA and you would like to be able to distribute this setup. When distributing this setup the client computer need the following SW installed:
Another option some customers make use of is that they only distribute the bitfile and let the end customer create the Host VI themselves.The end customer then need LabVIEW Development Environment and NI-RIO.
What happens when you distribute your system to the client machine and start the executable?
If some service need to be started you should be able to do it programmatically using 'System Exec.VI' for an example as described here:
http://digital.ni.com/public.nsf/allkb/87FCE111FD854484862572FF007D252A?OpenDocument
01-17-2008 04:44 AM
01-17-2008 10:52 AM - edited 01-17-2008 10:54 AM
JK1,
You really only need the RIO Server running on your host PC if your intending communicate with RIO devices on the host system from other systems on the network. For any cRIO real time controllers the RIO server is already started. If you are wanting to communicate to RIO devices on your PC from another PC on the network your absolutely right that you'll need to either start the RIO server manually or set it to automatically start ( which you've already mentioned ). How to do this is explained in MAX help but I put and image below just for completeness.
So was the question really, How do I make my installer set the Service to Automatic during the install? For this my first thought was you could have the installer run a .bat file after finishing and use a command line to set the windows setting for it, or possibly set the registry key ( if you knew it and knew what Windows version it would be installed on), some info might help here.
Bassett
01-18-2008 03:14 AM