License Activation and API Configuration Guide

This section covers the operational configuration for Agent for LabVIEW, including:

  • License status check and activation

  • Model API Key configuration and connectivity testing

  • Initial run verification

It is recommended to execute this section immediately after completing the Installation Guide.


Scope

  • LabVIEW 2018 and above

  • Applicable to both 32-bit and 64-bit versions

  • Toolkit installation completed (can see AI Agent related functions in Functions palette)


Step 1: Check License Status

  1. Open LabVIEW

  2. Go to Tools -> VIRobotics License Manager -> VIRobotics License Manager

  3. Select key modules (such as genai, vi_advisor) in Product Name

  4. Check License State

Common status explanations:

  • No license: Not activated, can apply for trial or formally activate

  • Community, xxdays left.: Activated, online subscription version

  • Offline Permanent Version: Permanent version

  • expired: Expired



Step 3: Formal License Activation

When trial ends or entering formal deployment stage, please use formal authorization.

Online Activation

  1. Obtain License ID / License Key

  2. Select target product genai or vi_advisor in License Manager

  3. Enter License ID / Key

  4. Click Activate

  5. Confirm status changes to Success.

Offline Activation (For environments without external network and locally deployed LLMs)

  1. Open offline activation entry in License Manager: Offline Version

  2. Copy or record Computer ID

  3. Submit to technical support to obtain offline authorization file (.lic)

  4. Load .lic and click Activate

  5. Confirm status changes to offline activated


Step 4: Configure API Key (Required for First Use)

4.1 Apply for API Key

The toolkit supports multiple providers including Aliyun, DeepSeek, Baidu, Doubao, Zhipu, Siliconflow, and more. API application entry and key steps for each provider are as follows:

Provider Application Entry/Platform Key Steps Summary
Aliyun (Bailian) https://www.aliyun.com/product/bailian Register/Login Aliyun -> Enter Bailian platform -> Activate service -> Create API Key in API-KEY management page
DeepSeek https://platform.deepseek.com/ Register/Login -> API Keys on left -> Click Create API Key and copy/save
Baidu (Wenxin Yiyan) https://cloud.baidu.com/product/wenxinworkshop Register/Login Baidu Cloud -> Enter Qianfan LLM platform -> API Key on left console -> Create API Key
Doubao (Volcano Engine) https://console.volcengine.com/ark/region:ark+cn-beijing/endpoint Register/Login Volcano Engine -> Create inference endpoint in online inference -> Get endpoint ID (used as API Key)
Zhipu https://open.bigmodel.cn/ Register/Login -> Enter console or API Key management page -> Add new API Key and copy
Kimi https://platform.moonshot.cn/console/api-keys Register/Login -> Enter console or "API Key management" page -> Add new API Key and copy

Recommended priority: Zhipu (GLM), DeepSeek, Kimi.

Note: Please recharge the API so the API can take effect

4.2 Configure API Key in LabVIEW

  1. Open Tools -> VIRobotics GenAI -> LLM Keys

  2. Select model service provider (such as DeepSeek, Zhipu, Kimi, etc.)

  3. Paste API Key

  4. Click Test to verify connectivity

  5. After seeing success prompt, click OK to write and save

4.3 ImageGeneration (Doubao) Specific Configuration

If you want to use the ImageGeneration module, additionally confirm the following:

  1. Doubao model capabilities activated on Volcano Engine

  2. doubao-seedream model is activated and callable

  3. Doubao corresponding API key is configured in LLM Keys

  4. AI Vision Toolkit for GPU is installed, download: https://www.virobotics.net/product_AIVT_GPU

It is recommended to first verify API connectivity using basic chat examples, then proceed to ImageGeneration examples.


Step 5: Initial Run Verification

After completing activation and Key configuration, immediate verification is recommended:

  1. Open Help -> Find Examples

  2. Navigate to Directory Structure -> VIRobotics/AI Agent

  3. First run basic chat example basic.vi, then run complete examples (context/streaming/tool calling)

Verification success criteria:

  • Can normally return model responses

  • No License errors

  • No API authentication errors


Common Issues and Handling

1) Status is always No license

Troubleshooting order:

  1. Confirm correct Product Name is selected (such as genai)

  2. Click Apply and wait for status refresh

  3. Check network connectivity (for online activation/trial)

  4. If still failing, switch to offline activation process

2) Activated but model calling fails

Usually related to API Key, troubleshooting order:

  1. Is Key copied completely (no spaces, no truncation)

  2. Does service provider account have available quota and permissions

  3. Does currently selected provider match Key

  4. Is network/proxy/firewall blocking calls

3) Test fails or times out

  1. Switch network and retry first

  2. Try other models from the same provider

  3. Check if local time is abnormal (related to certificate verification)

  4. Record error message and contact technical support


Technical Support

For activation or API configuration issues, please contact: