Machine Vision Camera SDK (DotNet) Developer Guide
End Sub
End Module
4.2.6 MvCamCtrl.NET::MyCamera::MV_CC_GetFloatValue_NET
Get the value of camera float type node.
API Definition
int MV_CC_GetFloatValue_NET(
string
strKey,
ref MyCamera.MVCC_FLOATVALUE pFloatValue
);
Parameters
strKey
[IN] Node name
pFloatValue
[OUT] Obtained node value, see details in MVCC_FLOATVALUE .
Return Value
Return MyCamera.MV_OK (0) on success; return Error Code on failure.
Remarks
You can call this API to get the value of specified float nodes after connecting the device. All the
node values of "IFloat" in the list can be obtained via this API. strKey corresponds to the Name
column.
Example
C#
using System;
using System.Runtime.InteropServices;
using System.IO;
using MvCamCtrl.NET;
namespace Param
{
class Program
{
static void Main(string[] args)
{
uint nTLayerType = MyCamera.MV_GIGE_DEVICE | MyCamera.MV_USB_DEVICE;
MyCamera.MV_CC_DEVICE_INFO_LIST stDevList = new MyCamera.MV_CC_DEVICE_INFO_LIST();
65
    "