IDS Peak comfortSDK, genericSDK, AFL, ICL, and IPL developer manuals are external documents.
Please contact us if you need these manuals.
Represents the size of the selected file in bytes.
Name |
FileSize[FileSelector] |
Category |
|
Interface |
Integer |
Access |
Read |
Unit |
B |
Visibility |
Guru |
Values |
≥ 0 |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
Values description
•uEye+ (GV and U3 models):
UserData1: 0 ... 4096
UserData2: 0 ... 4096
•uEye (UI models):
UserData1: 64Byte
UserData2: 64KByte. Note: "UserData2" is not supported by all camera families.
|
Note that FileSize always returns the maximum value for uEye cameras (UI models). |
Code example
C++
// Determine the current FileSize
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("FileSize")->Value();
C#
// Determine the current FileSize
long value = nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.Core.Nodes.IntegerNode>("FileSize").Value();
Python
# Determine the current FileSize (int)
value = nodeMapRemoteDevice.FindNode("FileSize").Value()