Subversion Repositories f9daq

Compare Revisions

No changes between revisions

Ignore whitespace Rev 367 → Rev 368

/cvi/instr/ThorlabsLTS/ThorlabsLTS.c
116,20 → 116,16
#include <utility.h>
#include "ThorlabsLTS_ui.h"
 
 
#include "ThorlabsMotionControlIntegratedStepperMotors.h"
#include "ThorlabsLTS.h"
 
 
void LTS_waitMove(int i, int timeout);
void LTS_waitHome(int i, int timeout);
char serialNumbers[][9] = {"45388004", "45387934","45388034"};
 
// Set number of microsteps, found in APT communications protocol. Should be changed to 136533 if using K10CR1
int StepsPerMm = 409600;
double SingleMove=1; // in mm
 
int LTSTimerOut=0;
int p1_h;
int pth=0,tctrl;
 
 
int CVICALLBACK LTS_Timeout (int panel, int control, int event,
150,34 → 146,76
SetCtrlAttribute (p1_h, P1_TIMEOUT, ATTR_ENABLED, 0);
}
*/
 
// tout in ms
void LTS_Tmlnk (int tout) {
if (!pth) {
pth = NewPanel (0, "Timeout pannel", 0, 0, 200, 200);
tctrl = NewCtrl (pth, CTRL_TIMER, "Timeout", 0, 0);
SetCtrlAttribute (pth, tctrl, ATTR_CALLBACK_FUNCTION_POINTER, LTS_Timeout);
SetCtrlAttribute (pth, tctrl, ATTR_ENABLED, 0);
SetCtrlAttribute (pth, tctrl, ATTR_CTRL_MODE, VAL_INDICATOR);
// SetActiveCtrl (pth, tctrl);
}
LTSTimerOut = 0;
SetCtrlAttribute (p1_h, P1_TIMEOUT, ATTR_INTERVAL, (float)tout/1000.);
SetCtrlAttribute (p1_h, P1_TIMEOUT, ATTR_ENABLED, 1);
SetCtrlAttribute (pth, tctrl, ATTR_INTERVAL, (double)tout/1000.);
SetCtrlAttribute (pth, tctrl, ATTR_ENABLED, 1);
}
 
void LTS_Tmulk ( void ) {
SetCtrlAttribute (p1_h, P1_TIMEOUT, ATTR_ENABLED, 0);
SetCtrlAttribute (pth, tctrl, ATTR_ENABLED, 0);
LTSTimerOut = 0;
}
 
void LTS_Home(int i,int wait){
//Waits should only be used for Home commands. The home command has a different status return.
void LTS_waitHome(int i, int tout)// Waits until a single axis is homed.
{
WORD messageType=0;
WORD messageId=0;
DWORD messageData=0;
int condition=0;
LTS_Tmlnk (tout);
do {
while (!ISC_MessageQueueSize(serialNumbers[i])){
Sleep(250);
ProcessSystemEvents();
if (LTSTimerOut) break;
}
if (LTSTimerOut){
printf( "Timeout in axis [%d] pos: %f messageType %d, messageId %d\n",i,LTS_GetPosition(i), messageType, messageId);
break;
}
ISC_GetNextMessage(serialNumbers[i], &messageType, &messageId, &messageData);
printf( "axis [%d] pos: %f messageType %d, messageId %d\n",i,LTS_GetPosition(i), messageType, messageId);
condition = (messageType == 2) && (messageId == 0);
} while (!condition);
LTS_Tmulk();
}
 
//Set up homing parameters.
MOT_HomingParameters homingParams;
ISC_GetHomingParamsBlock(serialNumbers[i], &homingParams);
homingParams.direction = MOT_Reverse;
ISC_SetHomingParamsBlock(serialNumbers[i], &homingParams);
 
//Clear existing messages in the hardware buffer.
ISC_ClearMessageQueue(serialNumbers[i]);
 
//Home the stage and wait for the return message before continuing.
ISC_Home(serialNumbers[i]);
printf( "Start Homing...\n");
if (wait) LTS_waitHome(i, wait);
// printf( "Homed...\n");
void LTS_waitMove(int i, int tout)// Waits until axis is stopped.
{
WORD messageType=0;
WORD messageId=0;
DWORD messageData=0;
int condition=0;
LTS_Tmlnk (tout);
do {
while (!ISC_MessageQueueSize(serialNumbers[i])){
Sleep(250);
ProcessSystemEvents();
if (LTSTimerOut) break;
}
if (LTSTimerOut){
printf( "Timeout in axis [%d] pos: %f messageType %d, messageId %d\n",i,LTS_GetPosition(i), messageType, messageId);
break;
}
ISC_GetNextMessage(serialNumbers[i], &messageType, &messageId, &messageData);
// printf( "axis [%d] pos: %f messageType %d, messageId %d\n",i,LTS_GetPosition(i), messageType, messageId);
condition = (messageType == 2) && (messageId == 1);
} while (!condition);
LTS_Tmulk();
}
 
int LTS_Init(int i){
195,7 → 233,8
if (errorReturn == 0){
printf( "Device %d (serial %s) Connected... \n",i, serialNumbers[i]);
//Settings are loaded based on Stage Name. The integrated stepper class holds LTS and K10CR1 Information.
ISC_SetLEDswitches(serialNumbers[i], 0); // disable LED
ISC_SetLEDswitches(serialNumbers[i], 0); // disable LED
Sleep(100);
ISC_StartPolling(serialNumbers[i], 50);
Sleep(1000);
} else {
204,6 → 243,21
return errorReturn;
}
 
int LTS_Open(){
 
TLI_BuildDeviceList();
TLI_DeviceInfo info;
int err=0;
for (int i=0;i<3;i++){
TLI_GetDeviceInfo(serialNumbers[i], &info);
Sleep(100);
err = LTS_Init(i);
printf("%s err=%x\n", info.description, err);
if (err) return err;
}
return 0;
}
 
void LTS_Close(int i){
//Close the stage
ISC_StopPolling(serialNumbers[i]);
211,6 → 265,25
printf( "Device Disconnected...\n");
}
 
// wait in ms
void LTS_Home(int i,int wait){
 
//Set up homing parameters.
MOT_HomingParameters homingParams;
ISC_GetHomingParamsBlock(serialNumbers[i], &homingParams);
homingParams.direction = MOT_Reverse;
ISC_SetHomingParamsBlock(serialNumbers[i], &homingParams);
 
//Clear existing messages in the hardware buffer.
ISC_ClearMessageQueue(serialNumbers[i]);
 
//Home the stage and wait for the return message before continuing.
ISC_Home(serialNumbers[i]);
printf( "Start Homing...\n");
if (wait) LTS_waitHome(i, wait);
printf( "Homed...\n");
}
 
void LTS_StopProfiled(int i){
ISC_StopProfiled(serialNumbers[i]);
}
218,6 → 291,8
void LTS_MoveAbsolute(int i, double position, int wait){
ISC_SetMoveAbsolutePosition(serialNumbers[i], (position*StepsPerMm));
ISC_MoveAbsolute(serialNumbers[i]);
//Clear existing messages in the hardware buffer.
ISC_ClearMessageQueue(serialNumbers[i]);
if (wait) LTS_waitMove(i, wait);
}
225,6 → 300,8
void LTS_MoveRelative(int i, double distance, int wait){
ISC_SetMoveRelativeDistance(serialNumbers[i], (distance*StepsPerMm));
ISC_MoveRelativeDistance(serialNumbers[i]);
//Clear existing messages in the hardware buffer.
ISC_ClearMessageQueue(serialNumbers[i]);
if (wait) LTS_waitMove(i, wait);
}
 
257,22 → 334,6
return ISC_GetNumberPositions(serialNumbers[i]);
}
 
int LTS_Open(){
 
TLI_BuildDeviceList();
TLI_DeviceInfo info;
int err=0;
for (int i=0;i<3;i++){
TLI_GetDeviceInfo(serialNumbers[i], &info);
Sleep(100);
err = LTS_Init(i);
printf("%s err=%x\n", info.description, err);
if (err) return err;
}
return 0;
}
 
 
void LTS_RegisterMessageCallback(int i, void (* functionPointer)()){
ISC_RegisterMessageCallback(serialNumbers[i], functionPointer );
}
284,60 → 345,13
void LTS_GetDeviceUnitFromRealValue(int i, double real_unit, int *device_unit, int unitType){
ISC_GetDeviceUnitFromRealValue(serialNumbers[i], real_unit, device_unit, unitType);
}
//Waits should only be used for Home commands. The home command has a different status return.
void LTS_waitHome(int i, int tout)// Waits until a single axis is homed.
{
WORD messageType=0;
WORD messageId=0;
DWORD messageData=0;
int condition=0;
LTS_Tmlnk (tout);
do {
while (!ISC_MessageQueueSize(serialNumbers[i])){
Sleep(250);
if (LTSTimerOut) break;
}
if (LTSTimerOut){
printf( "Timeout in axis [%d] pos: %f messageType %d, messageId %d\n",i,LTS_GetPosition(i), messageType, messageId);
break;
}
ISC_GetNextMessage(serialNumbers[i], &messageType, &messageId, &messageData);
condition = (messageType == 2) && (messageId == 0);
} while (!condition || !LTSTimerOut);
LTS_Tmulk();
}
 
void LTS_waitMove(int i, int tout)// Waits until axis is stopped.
{
WORD messageType=0;
WORD messageId=0;
DWORD messageData=0;
int condition=0;
LTS_Tmlnk (tout);
do {
while (!ISC_MessageQueueSize(serialNumbers[i])){
Sleep(250);
if (LTSTimerOut) break;
}
if (LTSTimerOut){
printf( "Timeout in axis [%d] pos: %f messageType %d, messageId %d\n",i,LTS_GetPosition(i), messageType, messageId);
break;
}
ISC_GetNextMessage(serialNumbers[i], &messageType, &messageId, &messageData);
condition = (messageType == 2) && (messageId == 1);
} while (!condition);
LTS_Tmulk();
}
//*******************************************************************
 
#ifdef LTS_MAIN
 
 
int p1_h;
int rID, tfID;
 
#define MAX_THREADS 10
462,12 → 476,13
double n2;
int comled;
int enabled=0;
double SingleMove=1; // in mm
 
 
SetSleepPolicy(VAL_SLEEP_MORE);
CmtNewThreadPool (MAX_THREADS, &poolHandle);
SetStdioPort (CVI_STDIO_WINDOW);
if (InitCVIRTE (hInstance, 0, 0) == 0) return -1; /* out of memory */
if (InitCVIRTE (hInstance, 0, 0) == 0) return -1; // out of memory
 
p1_h = LoadPanel (0,"ThorlabsLTS_ui.uir", P1);
//p1_h = BuildP1 (0);
515,33 → 530,33
LTS_MoveRelative(2,-SingleMove, 0);
break;
case P1_HO:
LTS_Home(0,0);
LTS_Home(0,180000);
break;
case P1_HO_2:
LTS_Home(1,0);
LTS_Home(1,180000);
break;
case P1_HO_3:
LTS_Home(2,0);
LTS_Home(2,180000);
break;
case P1_GX:
GetCtrlVal (p1_h, P1_XG, &n2);
LTS_MoveAbsolute(0,n2,0);
LTS_MoveAbsolute(0,n2,15000);
break;
case P1_GY:
GetCtrlVal (p1_h, P1_YG, &n2);
LTS_MoveAbsolute(1,n2,0);
LTS_MoveAbsolute(1,n2,15000);
break;
case P1_GZ:
GetCtrlVal (p1_h, P1_ZG, &n2);
LTS_MoveAbsolute(2,n2,0);
LTS_MoveAbsolute(2,n2,15000);
break;
case P1_G:
GetCtrlVal (p1_h, P1_XG, &n2);
LTS_MoveAbsolute(0,n2,0);
LTS_MoveAbsolute(0,n2,15000);
GetCtrlVal (p1_h, P1_YG, &n2);
LTS_MoveAbsolute(1,n2,0);
LTS_MoveAbsolute(1,n2,15000);
GetCtrlVal (p1_h, P1_ZG, &n2);
LTS_MoveAbsolute(2,n2,0);
LTS_MoveAbsolute(2,n2,15000);
break;
case P1_B3: // reset
case P1_B3_2: // reset
633,6 → 648,7
#else
// *************************************
 
/*
int main(int argc, char ** argv)
{
//Sets up simulations. Comment in if running on physical hardware.
660,7 → 676,7
for (int k=0;k<10;k++){
LTS_MoveAbsolute(i,k);
printf( "Moving ...\n");
waitMove(i);
LTS_waitMove(i);
printf( "Move Complete...\n");
}
676,4 → 692,5
Delay(10);
return 0;
}
*/
#endif
/cvi/instr/ThorlabsLTS/ThorlabsLTS.cws
1,13 → 1,13
[Workspace Header]
Version = 1700
Pathname = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS.cws"
CVI Dir = "/c/program files (x86)/national instruments/cvi2017"
CVI Shared Dir = "/C/Program Files (x86)/National Instruments/Shared/CVI"
Pathname = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS.cws"
CVI Dir = "/c/program files/national instruments/cvi2017"
CVI Shared Dir = "/C/Program Files/National Instruments/Shared/CVI"
CVI Pub Local Dir = "/C/ProgramData/National Instruments/CVI2017"
CVI Pub Global Dir = "/C/ProgramData/National Instruments/CVI"
IVI Standard Root Dir = "/C/Program Files (x86)/IVI Foundation/IVI"
IVI Standard Root Dir = "/C/Program Files/IVI Foundation/IVI"
IVI Standard Root 64-bit Dir = "/C/Program Files/IVI Foundation/IVI"
VXIplug&play Framework Dir = "/C/Program Files (x86)/IVI Foundation/VISA/winnt"
VXIplug&play Framework Dir = "/C/Program Files/IVI Foundation/VISA/winnt"
VXIplug&play Framework 64-bit Dir = "/C/Program Files/IVI Foundation/VISA/win64"
Number of Projects = 1
Active Project = 1
14,9 → 14,9
Project 0001 = "ThorlabsLTS.prj"
Drag Bar Left = 160
Window Top = 31
Window Left = 63
Window Bottom = 857
Window Right = 1499
Window Left = 36
Window Bottom = 1021
Window Right = 1212
Maximized = False
Maximized Children = True
Max32 Number Of Errors = 20
46,9 → 46,9
Batch Build Debug = False
 
[File 0001]
Path = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS.c"
Path = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS.c"
File Type = "CSource"
Disk Date = 3786866484
Disk Date = 3812431990
In Projects = "1,"
Window Top = 33
Window Left = 10
56,19 → 56,19
Source Window State = "1,69,69,69,14,17,14,0,0,80,0,221,0,0,0,25,93,0,69,16,349,683,1,17,"
 
[File 0002]
Path = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsMotionControlIntegratedStepperMotors.h"
Path = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsMotionControlIntegratedStepperMotors.h"
File Type = "Include"
Disk Date = 3786704048
Disk Date = 3812431990
In Projects = "1,"
Window Top = 95
Window Left = 42
Window Z-Order = 1
Source Window State = "1,580,580,580,26,44,44,0,0,155,0,0,0,0,0,43,3,0,18,24,349,683,1,0,"
Source Window State = "1,580,580,580,26,44,44,0,0,122,0,0,0,0,0,55,3,0,18,24,349,683,1,0,"
 
[File 0003]
Path = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS_ui.uir"
Path = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS_ui.uir"
File Type = "User Interface Resource"
Disk Date = 3787116297
Disk Date = 3812431990
In Projects = "1,"
Window Top = 126
Window Left = 58
80,13 → 80,13
Path Line0001 = "/c/Program Files/Thorlabs/Kinesis/Thorlabs.MotionControl.IntegratedStepperMotors"
Path Line0002 = ".lib"
File Type = "Library"
Disk Date = 3781676780
Disk Date = 3808299948
In Projects = "1,"
 
[Tab Order]
Tab 0001 = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS.c"
Tab 0002 = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS_ui.uir"
Tab 0003 = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsMotionControlIntegratedStepperMotors.h"
Tab 0001 = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS.c"
Tab 0002 = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS_ui.uir"
Tab 0003 = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsMotionControlIntegratedStepperMotors.h"
 
[Default Build Config 0001 Debug]
Generate Browse Info = True
/cvi/instr/ThorlabsLTS/ThorlabsLTS.exe
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/cvi/instr/ThorlabsLTS/ThorlabsLTS.prj
1,15 → 1,15
[Project Header]
Version = 1700
Pathname = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS.prj"
CVI Dir = "/c/program files (x86)/national instruments/cvi2017"
CVI Shared Dir = "/C/Program Files (x86)/National Instruments/Shared/CVI"
Pathname = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS.prj"
CVI Dir = "/c/program files/national instruments/cvi2017"
CVI Shared Dir = "/C/Program Files/National Instruments/Shared/CVI"
CVI Pub Local Dir = "/C/ProgramData/National Instruments/CVI2017"
CVI Pub Global Dir = "/C/ProgramData/National Instruments/CVI"
IVI Standard Root Dir = "/C/Program Files (x86)/IVI Foundation/IVI"
VXIplug&play Framework Dir = "/C/Program Files (x86)/IVI Foundation/VISA/winnt"
IVI Standard Root Dir = "/C/Program Files/IVI Foundation/IVI"
VXIplug&play Framework Dir = "/C/Program Files/IVI Foundation/VISA/winnt"
IVI Standard Root 64-bit Dir = "/C/Program Files/IVI Foundation/IVI"
VXIplug&play Framework 64-bit Dir = "/C/Program Files/IVI Foundation/VISA/win64"
Number of Files = 4
Number of Files = 5
Target Type = "Executable"
Flags = 2064
Copied From Locked InstrDrv Directory = False
18,7 → 18,6
Don't Display Deploy InstrDrv Dialog = False
 
[Folders]
Instrument Files Folder Not Added Yet = True
Folder 0 = "Library Files"
FolderEx 0 = "Library Files"
Folder 1 = "Include Files"
27,6 → 26,8
FolderEx 2 = "User Interface Files"
Folder 3 = "Source Files"
FolderEx 3 = "Source Files"
Folder 4 = "Instrument Files"
FolderEx 4 = "Instrument Files"
 
[File 0001]
File Type = "Library"
48,7 → 49,7
Path Is Rel = True
Path Rel To = "Project"
Path Rel Path = "ThorlabsMotionControlIntegratedStepperMotors.h"
Path = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsMotionControlIntegratedStepperMotors.h"
Path = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsMotionControlIntegratedStepperMotors.h"
Exclude = False
Project Flags = 0
Folder = "Include Files"
60,7 → 61,7
Path Is Rel = True
Path Rel To = "Project"
Path Rel Path = "ThorlabsLTS_ui.uir"
Path = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS_ui.uir"
Path = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS_ui.uir"
Exclude = False
Project Flags = 0
Folder = "User Interface Files"
72,7 → 73,7
Path Is Rel = True
Path Rel To = "Project"
Path Rel Path = "ThorlabsLTS.c"
Path = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS.c"
Path = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS.c"
Exclude = False
Compile Into Object File = False
Project Flags = 0
79,6 → 80,18
Folder = "Source Files"
Folder Id = 3
 
[File 0005]
File Type = "Function Panel"
Res Id = 5
Path Is Rel = True
Path Rel To = "Project"
Path Rel Path = "ThorlabsLTS.fp"
Path = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS.fp"
Exclude = False
Project Flags = 0
Folder = "Instrument Files"
Folder Id = 4
 
[Custom Build Configs]
Num Custom Build Configs = 0
 
109,7 → 122,7
Stack Commit = 4096
Image Base Address = 4194304
Image Base Address x64 = 4194304
Compiler Defines = "/DWIN32_LEAN_AND_MEAN"
Compiler Defines = "/DWIN32_LEAN_AND_MEAN /DLTS_MAIN"
Sign = False
Sign Store = ""
Sign Certificate = ""
135,6 → 148,32
Using LoadExternalModule = False
DLL Exports = "Include File Symbols"
Register ActiveX Server = False
Numeric File Version = "1,0,0,0"
Numeric Prod Version = "1,0,0,0"
Comments = ""
Comments Ex = ""
Company Name = ""
Company Name Ex = "%company"
File Description = "ThorlabsLTS (Debug x86)"
File Description Ex = "%application (%rel_dbg %arch)"
File Version = "1.0"
File Version Ex = "%f1.%f2"
Internal Name = "ThorlabsLTS"
Internal Name Ex = "%basename"
Legal Copyright = "Copyright 2024"
Legal Copyright Ex = "Copyright %company %Y"
Legal Trademarks = ""
Legal Trademarks Ex = ""
Original Filename = "ThorlabsLTS.exe"
Original Filename Ex = "%filename"
Private Build = ""
Private Build Ex = ""
Product Name = " ThorlabsLTS"
Product Name Ex = "%company %application"
Product Version = "1.0"
Product Version Ex = "%p1.%p2"
Special Build = ""
Special Build Ex = ""
Add Type Lib To DLL = False
Include Type Lib Help Links = False
TLB Help Style = "HLP"
257,7 → 296,7
Numeric Prod Version = "1,0,0,0"
Comments = ""
Comments Ex = ""
Company Name = "IJS"
Company Name = ""
Company Name Ex = "%company"
File Description = "ThorlabsLTS (Debug x64)"
File Description Ex = "%application (%rel_dbg %arch)"
265,7 → 304,7
File Version Ex = "%f1.%f2"
Internal Name = "ThorlabsLTS"
Internal Name Ex = "%basename"
Legal Copyright = "Copyright IJS 2023"
Legal Copyright = "Copyright 2024"
Legal Copyright Ex = "Copyright %company %Y"
Legal Trademarks = ""
Legal Trademarks Ex = ""
273,7 → 312,7
Original Filename Ex = "%filename"
Private Build = ""
Private Build Ex = ""
Product Name = "IJS ThorlabsLTS"
Product Name = " ThorlabsLTS"
Product Name Ex = "%company %application"
Product Version = "1.0"
Product Version Ex = "%p1.%p2"
376,19 → 415,19
Executable File_Debug Is Rel = True
Executable File_Debug Rel To = "Project"
Executable File_Debug Rel Path = "ThorlabsLTS.exe"
Executable File_Debug = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS.exe"
Executable File_Debug = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS.exe"
Executable File_Release Is Rel = True
Executable File_Release Rel To = "Project"
Executable File_Release Rel Path = "ThorlabsLTS.exe"
Executable File_Release = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS.exe"
Executable File_Release = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS.exe"
Executable File_Debug64 Is Rel = True
Executable File_Debug64 Rel To = "Project"
Executable File_Debug64 Rel Path = "ThorlabsLTS.exe"
Executable File_Debug64 = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS.exe"
Executable File_Debug64 = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS.exe"
Executable File_Release64 Is Rel = True
Executable File_Release64 Rel To = "Project"
Executable File_Release64 Rel Path = "ThorlabsLTS.exe"
Executable File_Release64 = "/c/home/CVI/instr/ThorlabsLTS/ThorlabsLTS.exe"
Executable File_Release64 = "/c/home/cvi/instr/ThorlabsLTS/ThorlabsLTS.exe"
Icon File Is Rel = False
Icon File = ""
Application Title = ""
/cvi/instr/ThorlabsLTS/ThorlabsLTS_ui.h
99,28 → 99,27
#define P1_TEXTMSG 84 /* control type: textMsg, callback function: (none) */
#define P1_DECORATION_5 85 /* control type: deco, callback function: (none) */
#define P1_DECORATION_2 86 /* control type: deco, callback function: (none) */
#define P1_TIMEOUT 87 /* control type: timer, callback function: LTS_Timeout */
#define P1_TIMER 88 /* control type: timer, callback function: TimerCB */
#define P1_DECORATION_4 89 /* control type: deco, callback function: (none) */
#define P1_STOPSCAN 90 /* control type: command, callback function: (none) */
#define P1_SCAN 91 /* control type: command, callback function: (none) */
#define P1_IZ 92 /* control type: numeric, callback function: (none) */
#define P1_IY 93 /* control type: numeric, callback function: (none) */
#define P1_IX 94 /* control type: numeric, callback function: (none) */
#define P1_NZ 95 /* control type: numeric, callback function: (none) */
#define P1_NY 96 /* control type: numeric, callback function: (none) */
#define P1_NX 97 /* control type: numeric, callback function: (none) */
#define P1_Z0 98 /* control type: numeric, callback function: (none) */
#define P1_Y0 99 /* control type: numeric, callback function: (none) */
#define P1_X0 100 /* control type: numeric, callback function: (none) */
#define P1_DZ 101 /* control type: numeric, callback function: (none) */
#define P1_DY 102 /* control type: numeric, callback function: (none) */
#define P1_DX 103 /* control type: numeric, callback function: (none) */
#define P1_CBZ 104 /* control type: radioButton, callback function: (none) */
#define P1_CBY 105 /* control type: radioButton, callback function: (none) */
#define P1_CBX 106 /* control type: radioButton, callback function: (none) */
#define P1_DECORATION_3 107 /* control type: deco, callback function: (none) */
#define P1_PROGRESS 108 /* control type: scale, callback function: (none) */
#define P1_TIMER 87 /* control type: timer, callback function: TimerCB */
#define P1_DECORATION_4 88 /* control type: deco, callback function: (none) */
#define P1_STOPSCAN 89 /* control type: command, callback function: (none) */
#define P1_SCAN 90 /* control type: command, callback function: (none) */
#define P1_IZ 91 /* control type: numeric, callback function: (none) */
#define P1_IY 92 /* control type: numeric, callback function: (none) */
#define P1_IX 93 /* control type: numeric, callback function: (none) */
#define P1_NZ 94 /* control type: numeric, callback function: (none) */
#define P1_NY 95 /* control type: numeric, callback function: (none) */
#define P1_NX 96 /* control type: numeric, callback function: (none) */
#define P1_Z0 97 /* control type: numeric, callback function: (none) */
#define P1_Y0 98 /* control type: numeric, callback function: (none) */
#define P1_X0 99 /* control type: numeric, callback function: (none) */
#define P1_DZ 100 /* control type: numeric, callback function: (none) */
#define P1_DY 101 /* control type: numeric, callback function: (none) */
#define P1_DX 102 /* control type: numeric, callback function: (none) */
#define P1_CBZ 103 /* control type: radioButton, callback function: (none) */
#define P1_CBY 104 /* control type: radioButton, callback function: (none) */
#define P1_CBX 105 /* control type: radioButton, callback function: (none) */
#define P1_DECORATION_3 106 /* control type: deco, callback function: (none) */
#define P1_PROGRESS 107 /* control type: scale, callback function: (none) */
 
 
/* Control Arrays: */
135,7 → 134,6
 
/* Callback Prototypes: */
 
int CVICALLBACK LTS_Timeout(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK TimerCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
 
 
/cvi/instr/ThorlabsLTS/ThorlabsLTS_ui.uir
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream