Unidex_500,CIN.VI

This VI interfaces LabVIEW to Unidex 500 by calling the library functions contained in the file WINAER.DLL, such as;

0 - Send,
1 - Retry,
2 - Initialize,
3 - Reset,
4 - Abort,
5 - CheckStatus,
6 - Pause,
7 - FaultAck,
8 - Read_Variable,
9- Read_Position,
10- Read_Status,
11- Write_Parameter,
12-Read_Parameter,
13-Save_Parameter,
14- Write_Axcal,
15-Read_Axcal,
16- Save_Configuration,
17- Open_Parameter,
18-Open_Configuration,
19-Check_Initialization,
20- Reset_Interrupt,
21- Set Velocity Timebase,
22- Enable Velocity Tracking,
23- Disable Velocity Tracking,
24- Read_Velocity,
25- Enable A/D Read,
26- Disable A/D Read,
27- Read A/D.

Cadre connecteur

Unidex_500,CIN.VI


Commandes et indicateurs

cstr

String 1 : this control is used as the first string parameter to all library functions containing a string parameter such as :
Send,
Write_Parameter,
Save_Parameter,
Open_Parameter and
LoadCalFile.

ci16

int which : this control is used to specify an integer for any function requiring an integer as a parameter, such as :
Read_Status,
Read_Position,
Read_Variable,
Read_Parameter,
Check_Initialization and
Open Driver.

cstr

Firmware File Path : this control is used only by Initialize. It must contain the path and filename for Unidex 500's software file. For the U500 PCI card, this file is typically U500PCI.JWP.

cstr

Parameter File Path : this control is used only by Initialize. It must contain the path and filename of a parameter file for Unidex 500, ie.U500.PRM.

cu16

Library Function : this menu ring allows the selection of the desired function call, such as :
0 - Send,
1 - Retry,
2 - Initialize,
3 - Reset,
4 - Abort,
5 - CheckStatus,
6 - Pause,
7 - FaultAck,
8 - Read_Variable,
9- Read_Position,
10- Read_Status,
11- Write_Parameter,
12-Read_Parameter,
13-Save_Parameter,
14- Write_Axcal,
15-Read_Axcal,
16- Save_Configuration,
17- Open_Parameter,
18-Open_Configuration,
19-Check_Initialization,
20- Reset_Interrupt,
21- Set Velocity Timebase,
22- Enable Velocity Tracking,
23- Disable Velocity Tracking,
24- Read_Velocity,
25- Enable A/D Read,
26- Disable A/D Read,
27- Read A/D.

LZR Functions:

31 - LZR_Initialize
32 - LZRStop
33 - LZRCorrectionFactor

cstr

PSO Firmware File Path : this control is used is used to specify a PSO firmware file for Unidex 500. It must contain the path and filename of a PSO firmware file for Unidex 500, ie.PCPSO.FRM.

ii16

Return Value : this indicator is used to display the return value from the functions indicating the completion status of the function. This is used by all functions EXCEPT :
Read_Status,
Read_Position and
Read_Variable.

iu32

Status : this control displays the value of the requested status byte from the Read_Status function.

idbl

Position, Variable or Analog Input : this control indicates the value of the indicated Variable or axis Position from the Read_Position or Read_Variable functions.

istr

String Return : this control displays the character string from the functions returning a string such as Read_Parameter.