The following knowledgbase tells how you can launch the Resman.exe and gives additional command line options.
KnowledgeBase 0OM7OT52 : The Resource Manager (Resman) Explained and Useful TipsAlso, according to VXI Specifications, you can not run Resman twice. Most Instruments do not behave nicely under these circumstances anyways. You can programmatically tell if Resman has ran or not. This is an
UNSUPPORTED feature and may not work as expected under all circumstances. See the info below.
Title:
How Do I Programatically Tell if Resman Has Run on My System?
Problem:
How do I programatically tell if Resma
n has run on my system? I want to run Resman from my application only if it needs to be run.
Solution :
There is an undocumented field in GetDevInfo. All you need to do is call GetDevInfoLong (0,0x8110), where 0 is the logical address and 0x8110 is the field for determining if Resman has run.
The return values are:
0: Resman has been run sucessfully
258 (0x102): Resman has not run yet
Anything else: not sure - this is undocumented
Refer to devinfo.h for more undocumented fields.
You can also consult the NI-VXI API Help files by going to Start » Programs » National Instruments » VXI » NI-VXI API » NI-VXI API
Joji