07-25-2012 12:09 AM
Are the RsrcManagerHandles returned by viOpenDefaultRM () expected to be unique for every call of viOpenDefaultRM () ?
Or are there valid cases ,when two calls of viOpenDefaultRM () may return the same handle?
Background : I'am using a VISA based intrument driver, in a Teststand code module. which is run in Teststands Batchmodel in parallel mode with two test sockets. In both patallel teststand threads viOpenDefaultRM () returns the same RsrcManagerHandle. The following call to viOpen() (with different resource IDs for every socket) is successful and usings these ressoueces shows no probelsm,. But when closing the instrument, closing the Session returned by ViOpen() is still sucessful . Both viClose() on the RsrcManagerHandles are failing then with a BFFF000E error.
07-26-2012
03:34 AM
- last edited on
11-14-2024
11:54 AM
by
Content Cleaner
Hi,
Can you enable a setting in your I/O filtering? enable "All defined aliases for all resource classes" in the Include these aliases box. This prevented you from seeing a BFFF003A/000E errors. You will be able to write and read information.
I found to the Error BFFF000E some Information:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1qzCAA&l=en-US
https://www.ni.com/docs/en-US/bundle/ni-visa/page/using-visa-driver-wizard-to-program-pxipci.html