Unidex 500 CIN VI
Usage Table


Description des fonctions et des arguments du VI Unidex_500,CIN.vi.



Function #

LabVIEW Name

Input Names

Input Descriptions

Output Names

Output Descriptions

WAPI Function Name

0

Send

String1

Command to send to the U500

Return value

Error code

WAPIAerSend

1*

---

---

---

---

---

---

2

Initialize

Firmware File Path

Name and path of the Firmware file

Return value

Error code

WAPIAerInitialize

Parameter File Path

Name and path of the parameter file

3*

---

---

---

---

---

---

4

Abort


None

Return value

Error code


5

CheckStatus


None

Return value

Error code

WAPIAerCheckStatus

6

Pause


None

Return value

Error code

WAPIAerPause

7

FaultAck


None

Return value

Error code

WAPIAerFaultAck

8

Read Variable

Int which

Variable #

Position, Variable or Analog Input

Variable value

WAPIAerReadVariable

9

Read Position

Int which

Position Type

Position, Variable or Analog Input

Position value

WAPIAerReadPosition

10

Read Status

Int which

Status Type

Status

Status value

WAPIAerReadStatus

11

Write Parameter

String1

String containing the Parameter # and value

Return value

Error code

WAPIAerWriteParam

12

Read Parameter

Int which

Status Type

String Return

parameter

WAPIAerReadParam

13

Save Parameter

String1

Path and name of the parameter file

Return value

Error code

WAPIAerSaveParam

14

---

---

---

---

---

---

15*

---

---

---

---

---

---

16*

---

---

---

---

---

---

17

Open Parameter

String1

Path and name of the parameter file

Return value

Error code

WAPIAerOpenParam

18*

---

---

---

---

---

---

19

Check Initialization


None

Return value

Initialization state

WAPIAerCheckInitz

20*

---

---

---

---

---

---

21

Set Velocity Timebase

Int which

Timebase (ms)

Return value

Error code

WAPIAerSetVelocityTimebase

22

Enable Velocity Tracking

Int which

Axis #0-3

Return value

Error code

WAPIAerSetVelocityTracking

23

DisableVelocity Tracking

Int which

Axis #0-3

Return value

Error code

WAPIAerSetVelocityTracking

24

Read Velocity

Int which

Axis #0-3

Position, Variable or Analog Input

Velocity value

WAPIAerReadVelocity

25

Enable A/D Read


None

Return value

Error code

WAPIAerSetAtd

26

Disable A/D Read


None

Return value

Error code

WAPIAerSetAtd

27

Read A/D

Int which

A/D number

Position, Variable or Analog Input

A/D value

WAPIAerReadAtd

28

Open Driver

Int which

Board number

Return value

Error code

WAPIAerOpen

29

Close Driver

Int which

Board number

Return value

Error code

WAPIAerClose

30

Get Error Message


None

String Return

Last error message generated by a U500 program

WAPIAerGetProgErrMsg

31

LoadCalFile

String1

Name and path of the calibration file

Return value

Error code

WAPILoadCalFile

String1

Base addres (as a Hexadecimal #) of the LZR board

32**

LZR_Initialize

Firmware File Path

Name and path of the LZR2100 setup file

Return value

Error code


Parameter File Path

Name and path of the LZR2100 calibration file

33**

LZR_Stop


None


None


34**

LZR_CorrectionFactor


None

Position, Variable or Analog Input

Correction factor