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. |
|
String 1 : this control is used as the first string parameter to all library functions containing a string parameter such as : Send, |
|
int which : this control is used to specify an integer for any function requiring an integer as a parameter, such as : Read_Status, |
|
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. |
|
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. |
|
Library Function : this menu ring allows the selection of the desired function call, such as :
LZR Functions: 31 - LZR_Initialize |
|
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. |
|
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, |
|
Status : this control displays the value of the requested status byte from the Read_Status function. |
|
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. |
|
String Return : this control displays the character string from the functions returning a string such as Read_Parameter. |