VideoMASTER_ConfigureDevicesEx
- Updated2023-08-17
- 1 minute(s) read
VideoMASTER_ConfigureDevicesEx
Description:
This VI configures all hardware devices. The functionality is identical to the functionality of the VideoMASTER Configure Devices VI, except that configuration data which are read from the "Video Hardware.ini" file located in the Config directory may be overridden by data from the Hardware In terminal. The resulting configuration data are written out to the configuration file.
Syntax:
typedef enum {
Camera_Normal, Camera_VideoAC, Camera_VideoDC
} CameraModes;
typedef struct {
LVBoolean autoRange;
unsigned short fixedRange;
LVBoolean DCCoupling;
unsigned short clockSource;
unsigned short hardwareMode;
unsigned short inputMode;
LVBoolean resetOnInit;
LVBoolean alwaysDetect;
} HardwareSetup;
typedef struct {
LStrHandle hardwareMode;
LStrHandle inputSignalConfiguration;
LVBoolean initialisationSuccess;
} HardwareConfiguration;
typedef struct {
double VerticalFrequencyHz;
unsigned long HorizFrequencyHz;
unsigned long SampleFrequencyHz;
LStrHandle TotalResolution;
LStrHandle ActiveResolution;
LVBoolean Interlaced;
LVBoolean HNegative;
LVBoolean VNegative;
long TotalLineSamples;
long TotalLines;
LVBoolean Valid;
long BitsPerSample;
LVBoolean RGB;
long ActiveLineSamples;
} DigitalInfo;
void VideoMASTER_ConfigureDevicesEx(
ErrorCluster *errorIn,
LVBoolean *initialiseHardware,
LVBoolean *showStatusDialogue,
CameraModes inputModeForCamera,
HardwareSetup *hardwareIn,
ErrorCluster *errorOut,
HardwareConfiguration *hardwareConfiguration,
unsigned long *timeTaken,
LVBoolean *initialiseDigitalHardware =NULL,
DigitalInfo *digitalTimingInfo =NULL);
Parameters:
refer to the corresponding LabVIEW API VideoMASTER Configure DevicesEx for a detailed description of each parameter.