Jump to content

Programmatically check drivers are present


Graeme

Recommended Posts

Hi all,

I write relatively simple ATE programs in LabVIEW. A pre main routine subVI I always put in is one that checks if all expected VISA resources are present in the ATE system. This works very well if NI-VISA, and in my case NI-488.2 too, are installed on the host machine, but if they're not it can be a bit mystifying to the user. They see that the instruments are present but my ATE program can't find them because those drivers aren't installed.

My question is, what is the best way to check programmatically, that prior to an ATE test that requires (say VISA and 488.2) drivers to be present, the presence of these drivers can be verified?

My first thoughts are to execute some File I/O on their expected path to see if they are there. Then I think this may require some regular expression work as version numbers may differ, but (possibly) be irrelevant. Latterly, I wonder can you programmatically query MAX?

I would be interested if others have encountered the same same problem and what solutions they came up with.

Regards.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.