Finding the Device and Channel Name(s) of a IVI Device

Updated May 30, 2018

Reported In

Software

  • LabVIEW
  • Measurement & Automation Explorer (MAX)

Driver

  • IVI Compliance Package

Issue Details

I have a power supply that I am trying to control via USB. I installed the USB driver, the IVI and LabVIEW drivers. However, I don't know which channel name to use. When I execute any of the example VIs that came with the driver, I receive one of the following errors:
  • -1074135008: "Unknown channel or repeated capability name."
  • -1074130544: "The session handle is not valid."

Solution

These errors indicate that the channel name used in LabVIEW is wrong:


IVI devices typically support both physical channel names and virtual channel names. Both can be used in LabVIEW. Follow these steps to verify the channel's name:
  1. Launch Measurement & Automation Explorer (NI MAX)
  2. Navigate to My System » IVI Drivers » Logical Names
  3. Locate the device to be used in LabVIEW. Be aware that the Logical Name is case sensitive; IVI drivers distinguish between upper case and lower case letters.
  1. Note the Driver Session and navigate to it by clicking Go To.
  2. In the driver session, open the Virtual Names tab. If the channel name used in LabVIEW is a virtual channel, find its Virtual Name here and verify its spelling. Be aware that the virtual channel names are case sensitive as well. In case the channel in use is not a virtual channel, continue with step 6.
  1. If a physical channel name is used in LabVIEW, proceed to the Software tab, find the Software Module section, and click Go To.
  2. Here, open the Physical Names tab and find the Physical Names of the device's channels. Verify that the channel name used in LabVIEW equals the Physical Name listed here.

WAS THIS ARTICLE HELPFUL?

Not Helpful