06-29-2015 04:58 AM
I'm using the Simple LabVIEW UI that comes with TestStand 2014. I have customised it to my requirements, but have a small issue. I want to deploy the interface to numerous production PC's but cannot workout how to get the interface to use a networked Users.ini, at Login on those PC's. Does anyone know how to make the user interface use a networked Users.ini? I know that in TestStand 2014 you can use the menus Configure>Station Options>User Manager to tell it where to find a networked Users.ini. I don't know how to make the Simple LabVIEW UI do the same thing. Hopefully I've missed something obvious and will soon be felling rather stupid.
Thanks
Colin
06-29-2015 09:44 AM
Colin,
This setting is stored in TestExec.ini. You can deploy this by following this link: http://digital.ni.com/public.nsf/allkb/E5E4FEADEFE6023D862571590000C5CC
Here's another link:http://zone.ni.com/reference/en-XX/help/370052N-01/tsdeploysystem/infotopics/includingcfgfiles/
TestExec.ini is just 1 of many cfg files for TestStand. They all need to be in the same folder. Generally the ProgramData\National Instruments\<TestStand>\Cfg folder. The exception is Users.ini. It is the only cfg file that can be in a different location (as you have discovered)
So I recommend pointing to the users.ini on your development machine and then adding TestExec.ini to your workspace. Then you need ot put it in the Cfg directory on the deployment machine. Be careful though because there are a lot of other settings stored in that file.
Hope this helps,
06-30-2015 08:05 AM
Thanks for the tip about TestExec.ini. I would have been searching for a while before stumbling across it. The easiest way for me to get the functionality I want, is the include TestExec.ini in my deployment and paste the network location of the Users.ini into the TestExec.ini on the deployed machines.
Thanks again.
Colin
06-30-2015 08:39 AM
Colin,
You shouldn't need to paste anything if you deploy a TestExec.ini to the right location with the network location of the Users.ini already in it.
TestExec.ini always exists on a machine with TestStand. If it doesn't then TestStand creates it when it starts. It needs it in order to run. So your deployment machines already have the file.
The point I was trying to make was to deploy a file with the settings already in them. It will replace the existing one. Then you don't have to configure anything on the deployment bench.
Hope this helps,
06-30-2015 09:20 AM
It wasn't installing TestExec.ini from my development machine. I ticked the 'Force File to Install' box and it worked perfectly. No pasting anything anywhwere.
Thanks,
Colin
06-30-2015 09:25 AM
Awesome. Glad it worked.