Read-only |
About VISAPassthrough |
Description |
Returns a list of either VISA address strings or VISA address aliases. |
||||||||||||||||||
VB Syntax |
value = Vpassthru.Find (regex, findmode) |
||||||||||||||||||
Variable |
(Type) - Description |
||||||||||||||||||
value |
(Variant) - Variable to store the list of addresses or aliases. |
||||||||||||||||||
Vpassthru |
(object) - A VISAPassthrough object |
||||||||||||||||||
regex |
(String) VISA regular expressions are expressions defined by the user to find devices that have been set up on the VISA interface. The following are examples of VISA regular expressions:
Note that using "INSTR" in the VISA regular expression finds "instruments." To search all interfaces, use "?*". |
||||||||||||||||||
findmode |
(enum as NAVISAFindMode) - Find mode determines the type of return values. Choose from: 0 - naAddresses: return VISA address names 1 - naAliases: return VISA address aliases Note: The list of aliases may have less‒or more‒entries than the list of addresses because not all addresses will have aliases, and one address can have more than one alias. |
||||||||||||||||||
Return Type |
Variant |
||||||||||||||||||
Default |
Address |
||||||||||||||||||
Examples |
value=Vpassthru.Find("?*",1) 'Finds list of aliases |
||||||||||||||||||
C++ Syntax |
HRESULT Find(string reg_expression, enum NAVISAFindMode) |
||||||||||||||||||
Interface |
IVISAPassthrough |