Error -1073807342
Description and Solution
-
This error is caused when the Resource Name passed to VISA Open is incorrect. The following text shows proper syntax for Resource Name:
-
If you use GPIB addresses, the following syntax is used:
- GPIB[board]::primary address[::secondary address][::INSTR]
- Example: GPIB::4 means address 4 of GPIB board 0
- Example: GPIB2::9[::3][::INSTR] means GPIB board 2, primary address 9, secondary address 3
-
If you use Serial ports, the following syntax is used:
- ASRL[board][::INSTR]
- Example: ASRL1 means com port 1
- Example: ASRL2 means com port 2
- Example: ASRL10 means LPT port 1
- Example: ASRL11 means LPT port 2
- Note: If you are used to the old Serial VI's, this syntax is different. (With VISA, ASRL1 means Com 1.)
NOTE: LabVIEW online help for the VISA Open function gives more detail for all of this information