KEYENCE LJ-V7000 Series User Manual
Page 39

39
LJ-V7000_COM_RM_E
Get profiles (operation mode "advanced (with OUT measurement)")
Format
LONG LJV7IF_GetProfileAdvance(LONG lDeviceId, LJV7IF_PROFILE_INFO*
pProfileInfo, DWORD* pdwProfileData, DWORD dwDataSize,
LJV7IF_MEASURE_DATA* pMeasureData);
Parameters
lDeviceId(in)
Specifies the communication device to communicate with.
pProfileInfo(out)
The profile information for the acquired profiles.
For each member, see "8 Constant, Structure Definitions".
pdwProfileData (out)
The buffer to get the profile data.
In the "LJV7IF_PROFILE_HEADER - signed 32-bit profile data -
LJV7IF_PROFILE_FOOTER" format, one item of profile data is stored.
dwDataSize(in)
pdwProfileData size in BYTEs
pMeasureData(out)
This buffer stores the data for all 16 OUTs including the OUTs that are not
measuring.
The host requires the passing of a buffer LJV7IF_MEASURE_DATA[16] in
size.
Return value
0x8080: The operation mode is "high-speed (profile only)"
0x8081: "Batch measurements on and profile compression (time axis) off"
0x80A0: No profile data
Explanation
This function gets profile data.
Profile data is stored in 0.01 μm units.
For the details on the data stored in the profile data (storage order and size), see
"9.2.9 Supplement". For pMeasureData, OUT measurements where the
measurement mode is set to "do not measure" are also stored.
Supported version
1.00