Skip to content

Commit 76d5865

Browse files
authored
Merge pull request #41 from Fluigent/version-22.0.0.0
Update SDK to version 22.0.0.0
2 parents c631be1 + 41aeb58 commit 76d5865

File tree

76 files changed

+504
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+504
-91
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
970 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.

C#/fgt_sdk_csharp.sln

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VisualStudioVersion = 16.0.30204.135
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "fgt_sdk", "fgt_sdk_csharp\fgt_sdk.csproj", "{33B38AD3-45AB-47A7-A60A-FEF1F5F2C680}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTests", "UnitTests\UnitTests.csproj", "{CCFEDF28-2E32-4486-A939-B8D48C3E2169}"
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnitTests", "UnitTests\UnitTests.csproj", "{CCFEDF28-2E32-4486-A939-B8D48C3E2169}"
99
EndProject
1010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{D0B23A9F-ECEC-45DB-998C-FD00A8C96626}"
1111
EndProject
@@ -25,7 +25,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Basic Sensor Regulation", "
2525
EndProject
2626
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Basic Set Pressure", "Examples\Basic Set Pressure\Basic Set Pressure.csproj", "{BC5CFC73-73E5-4589-99E9-D2FA6ED0D1C6}"
2727
EndProject
28-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic Set Valve Position", "Examples\Basic Set Valve Position\Basic Set Valve Position.csproj", "{3BAF2C97-A143-4F04-9D17-8BF28380BF13}"
28+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Basic Set Valve Position", "Examples\Basic Set Valve Position\Basic Set Valve Position.csproj", "{3BAF2C97-A143-4F04-9D17-8BF28380BF13}"
29+
EndProject
30+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FD111F64-AE9B-41B6-98E5-6BF1A8BF86A2}"
31+
ProjectSection(SolutionItems) = preProject
32+
.editorconfig = .editorconfig
33+
EndProjectSection
2934
EndProject
3035
Global
3136
GlobalSection(SolutionConfigurationPlatforms) = preSolution

C#/fgt_sdk_csharp/Enums/fgt_INSTRUMENT_TYPE.cs

+1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ public enum fgt_INSTRUMENT_TYPE
1313
LineUP,
1414
IPS,
1515
ESS,
16+
F_OEM,
1617
}
1718
}

C#/fgt_sdk_csharp/Enums/fgt_SENSOR_TYPE.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ public enum fgt_SENSOR_TYPE
1818
Pressure_S,
1919
Pressure_M,
2020
Pressure_XL,
21+
Flow_M_plus_dual,
22+
Flow_L_plus_dual,
2123
}
22-
}
24+
}

C#/fgt_sdk_csharp/Enums/fgt_VALVE_TYPE.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@ public enum fgt_VALVE_TYPE
1111
TwoSwitch,
1212
LSwitch,
1313
PSwitch,
14+
M_X,
15+
Two_X,
16+
L_X,
1417
}
15-
}
18+
}

C#/fgt_sdk_csharp/fgtSdk.cs

+107-53
Large diffs are not rendered by default.

C#/fgt_sdk_csharp/fgt_sdk.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
<Authors>Fluigent</Authors>
66
<Product>Fluigent Software Development Kit</Product>
77
<Description>C# Software Development Kit for Fluigent instruments</Description>
8-
<Version>21.4.0.0</Version>
8+
<Version>22.0.0.0</Version>
99
<PackageTags>Microfluidics, Control</PackageTags>
1010
<Platforms>AnyCPU;x64;x86</Platforms>
1111
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
12-
<AssemblyVersion>21.4.0.0</AssemblyVersion>
12+
<AssemblyVersion>22.0.0.0</AssemblyVersion>
1313
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
14-
<Copyright>Copyright (c) Fluigent 2021</Copyright>
14+
<Copyright>Copyright (c) Fluigent 2022</Copyright>
1515
<RepositoryUrl>https://github.com/Fluigent/fgt-SDK</RepositoryUrl>
1616
<PackageProjectUrl>https://www.fluigent.com/</PackageProjectUrl>
17-
<FileVersion>21.4.0.0</FileVersion>
17+
<FileVersion>22.0.0.0</FileVersion>
1818
</PropertyGroup>
1919

2020
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

C++/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.13)
22

3-
project(SDK_cpp_examples VERSION 21.4.0.0)
3+
project(SDK_cpp_examples VERSION 22.0.0.0)
44
set(CMAKE_CXX_STANDARD 11)
55

66
add_subdirectory(fgt_SDK_Cpp)

C++/fgt_SDK_Cpp/dlls/fgt_SDK.h

+36-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/*============================================================================
22
* Fluigent Software Developement Kit
33
*----------------------------------------------------------------------------
4-
* Copyright (c) Fluigent 2021. All Rights Reserved.
4+
* Copyright (c) Fluigent 2022. All Rights Reserved.
55
*----------------------------------------------------------------------------
66
*
77
* Title: fgt_SDK.h
88
* Purpose: Functions API for Fluigent instruments
9-
* Version: 21.4.0.0
10-
* Date: 12/2021
9+
* Version: 22.0.0.0
10+
* Date: 04/2022
1111
*============================================================================*/
1212

1313
#ifndef _FGT_SDK_H
@@ -71,13 +71,15 @@ extern "C"
7171
};
7272

7373
/** @Description Instrument controller type */
74-
enum class fgt_INSTRUMENT_TYPE { None, MFCS, MFCS_EZ, FRP, LineUP, IPS, ESS };
74+
enum class fgt_INSTRUMENT_TYPE { None, MFCS, MFCS_EZ, FRP, LineUP, IPS, ESS, F_OEM };
7575

7676
/** @Description Sensor type */
7777
enum class fgt_SENSOR_TYPE {
7878
None,
7979
Flow_XS_single, Flow_S_single, Flow_S_dual, Flow_M_single, Flow_M_dual, Flow_L_single, Flow_L_dual, Flow_XL_single,
80-
Pressure_S, Pressure_M, Pressure_XL };
80+
Pressure_S, Pressure_M, Pressure_XL,
81+
Flow_M_plus_dual, Flow_L_plus_dual,
82+
};
8183

8284
/** @Description Sensor calibration table */
8385
enum class fgt_SENSOR_CALIBRATION { None, H2O, IPA, HFE, FC40, OIL };
@@ -92,7 +94,7 @@ extern "C"
9294
enum class fgt_LINK_MODULE { None, FlowEZ, PSwitch = 3, SwitchEZ = 4 };
9395

9496
/** @Description Valve type */
95-
enum class fgt_VALVE_TYPE { None, MSwitch, TwoSwitch, LSwitch, PSwitch };
97+
enum class fgt_VALVE_TYPE { None, MSwitch, TwoSwitch, LSwitch, PSwitch, M_X, Two_X, L_X };
9698

9799
/** @Description Switch direction type */
98100
enum class fgt_SWITCH_DIRECTION { Shortest, Anticlockwise, Clockwise };
@@ -351,6 +353,16 @@ typedef struct
351353
*/
352354
unsigned char FGT_API fgt_get_sensorValueEx(unsigned int sensorIndex, float* value, unsigned short* timeStamp);
353355

356+
/**
357+
* @Description Read the flag indicating whether the flow rate sensor detects an air bubble. Only
358+
available on Flow Unit sensor ranges M+ and L+.
359+
* @param sensorIndex Index of sensor channel or unique ID
360+
* @out detected 1 if an air bubble was detected, 0 otherwise.
361+
* @return fgt_ERROR_CODE
362+
* @see fgt_get_sensorStatus
363+
*/
364+
unsigned char FGT_API fgt_get_sensorAirBubbleFlag(unsigned int sensorIndex, unsigned char* detected);
365+
354366
/**
355367
* @Description Read the position of a specific valve channel.
356368
* @param valveIndex Index of valve channel
@@ -660,6 +672,24 @@ typedef struct
660672
*/
661673
unsigned char FGT_API fgt_set_manual(unsigned int pressureIndex, float value);
662674

675+
/**
676+
* @Description Set the digital output ON or OFF on a controller
677+
* This feature is only available on the F-OEM device.
678+
* @param controllerIndex Index of controller or unique ID
679+
* @param port Address of the digital output to toggle. For F-OEM: 0: Pump, 1: LED
680+
* @param state 0: OFF, 1:ON
681+
* @return fgt_ERROR_CODE
682+
*/
683+
unsigned char FGT_API fgt_set_digitalOutput(unsigned int controllerIndex, unsigned char port, unsigned char state);
684+
685+
/**
686+
* @Description Returns the pressure measured at the device's inlet.
687+
* This feature is only available on LineUP Flow EZ and FOEM Pressure Module instruments.
688+
* @param pressureIndex Index of pressure channel or unique ID
689+
* @out pressure Inlet pressure value in selected unit, default is "mbar"
690+
* @return fgt_ERROR_CODE
691+
*/
692+
unsigned char FGT_API fgt_get_inletPressure(unsigned int pressureIndex, float* pressure);
663693

664694
#ifdef __cplusplus
665695
}
24 KB
Binary file not shown.
Binary file not shown.
7.82 KB
Binary file not shown.
14 KB
Binary file not shown.
20.5 KB
Binary file not shown.
970 Bytes
Binary file not shown.
17.5 KB
Binary file not shown.
1.01 KB
Binary file not shown.

C++/fgt_SDK_Cpp/fgt_SDK_Cpp.cpp

+51
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ std::ostream& operator<<(std::ostream& str, fgt_INSTRUMENT_TYPE instrType)
6060
case fgt_INSTRUMENT_TYPE::LineUP: str << "LineUP"; break;
6161
case fgt_INSTRUMENT_TYPE::IPS: str << "IPS"; break;
6262
case fgt_INSTRUMENT_TYPE::ESS: str << "ESS"; break;
63+
case fgt_INSTRUMENT_TYPE::F_OEM: str << "F_OEM"; break;
6364
default: str << "Unknown instrument type (" << int(instrType) << ")";
6465
}
6566
return str;
@@ -82,6 +83,8 @@ std::ostream& operator<<(std::ostream& str, fgt_SENSOR_TYPE sensorType)
8283
case fgt_SENSOR_TYPE::Pressure_S: str << "Pressure_S"; break;
8384
case fgt_SENSOR_TYPE::Pressure_M: str << "Pressure_M"; break;
8485
case fgt_SENSOR_TYPE::Pressure_XL: str << "Pressure_XL"; break;
86+
case fgt_SENSOR_TYPE::Flow_M_plus_dual: str << "Flow_M_plus_dual"; break;
87+
case fgt_SENSOR_TYPE::Flow_L_plus_dual: str << "Flow_L_plus_dual"; break;
8588
default: str << "Unknown sensor type (" << int(sensorType) << ")";
8689
}
8790
return str;
@@ -140,6 +143,9 @@ std::ostream& operator<<(std::ostream& str, fgt_VALVE_TYPE valveType)
140143
case fgt_VALVE_TYPE::TwoSwitch: str << "TwoSwitch"; break;
141144
case fgt_VALVE_TYPE::LSwitch: str << "LSwitch"; break;
142145
case fgt_VALVE_TYPE::PSwitch: str << "PSwitch"; break;
146+
case fgt_VALVE_TYPE::M_X: str << "M_X"; break;
147+
case fgt_VALVE_TYPE::Two_X: str << "Two_X"; break;
148+
case fgt_VALVE_TYPE::L_X: str << "L_X"; break;
143149
default: str << "Unknown valve type (" << int(valveType) << ")";
144150
}
145151
return str;
@@ -1090,6 +1096,51 @@ fgt_ERROR_CODE Fgt_set_manual(unsigned int pressureIndex, float value)
10901096
return returnCode;
10911097
}
10921098

1099+
/**
1100+
* @Description Set the digital output ON or OFF on a controller
1101+
* This feature is only available on the F-OEM device.
1102+
* @param controllerIndex Index of controller or unique ID
1103+
* @param port Address of the digital output to toggle. For F-OEM: 0: Pump, 1: LED
1104+
* @param state 0: OFF, 1:ON
1105+
* @return fgt_ERROR_CODE
1106+
*/
1107+
fgt_ERROR_CODE Fgt_set_digitalOutput(unsigned int controllerIndex, unsigned char port, unsigned char state)
1108+
{
1109+
fgt_ERROR_CODE returnCode = fgt_ERROR_CODE(fgt_set_digitalOutput(controllerIndex, port, state));
1110+
Fgt_Manage_Generic_Status(returnCode, "Fgt_set_digitalOutput");
1111+
return returnCode;
1112+
}
1113+
1114+
/**
1115+
* @Description Read the flag indicating whether the flow rate sensor detects an air bubble. Only
1116+
available on Flow Unit sensor ranges M+ and L+.
1117+
* @param sensorIndex Index of sensor channel or unique ID
1118+
* @out detected 1 if an air bubble was detected, 0 otherwise.
1119+
* @return fgt_ERROR_CODE
1120+
* @see fgt_get_sensorStatus
1121+
*/
1122+
fgt_ERROR_CODE Fgt_get_sensorAirBubbleFlag(unsigned int sensorIndex, unsigned char* detected)
1123+
{
1124+
fgt_ERROR_CODE returnCode = fgt_ERROR_CODE(fgt_get_sensorAirBubbleFlag(sensorIndex, detected));
1125+
Fgt_Manage_Sensor_Status(sensorIndex, "Fgt_get_sensorAirBubbleFlag");
1126+
return returnCode;
1127+
}
1128+
1129+
/**
1130+
* @Description Returns the pressure measured at the device's inlet.
1131+
* This feature is only available on LineUP Flow EZ and FOEM Pressure Module instruments.
1132+
* @param pressureIndex Index of pressure channel or unique ID
1133+
* @param *pressure Inlet pressure value in selected unit, default is "mbar"
1134+
* @return errorCode
1135+
* @see fgt_get_pressureStatus
1136+
*/
1137+
fgt_ERROR_CODE Fgt_get_inletPressure(unsigned int pressureIndex, float* pressure)
1138+
{
1139+
fgt_ERROR_CODE returnCode = fgt_ERROR_CODE(fgt_get_inletPressure(pressureIndex, pressure));
1140+
Fgt_Manage_Pressure_Status(pressureIndex, "Fgt_get_inletPressure");
1141+
return returnCode;
1142+
}
1143+
10931144
fgt_ERROR_CODE Fgt_set_errorReportMode(fgt_ERROR_REPORT_MODE mode)
10941145
{
10951146
error_report_mode = mode;

C++/fgt_SDK_Cpp/fgt_SDK_Cpp.h

+33-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*============================================================================
22
* Fluigent Software Developement Kit for C++
33
*----------------------------------------------------------------------------
4-
* Copyright (c) Fluigent 2021. All Rights Reserved.
4+
* Copyright (c) Fluigent 2022. All Rights Reserved.
55
*----------------------------------------------------------------------------
66
*
77
* Title: fgt_SDK_Cpp.h
88
* Purpose: Wrapper to fgt_SDK library
99
* Contains an interface to each dll function and type conversions
10-
* Version: 21.4.0.0
11-
* Date: 12/2021
10+
* Version: 22.0.0.0
11+
* Date: 04/2022
1212
*============================================================================*/
1313

1414
#ifndef _FGT_SDK_CPP_H
@@ -601,6 +601,36 @@ fgt_ERROR_CODE Fgt_set_purge(unsigned int controllerIndex, unsigned char purge);
601601
*/
602602
fgt_ERROR_CODE Fgt_set_manual(unsigned int pressureIndex, float value);
603603

604+
/**
605+
* @Description Set the digital output ON or OFF on a controller
606+
* This feature is only available on the F-OEM device.
607+
* @param controllerIndex Index of controller or unique ID
608+
* @param port Address of the digital output to toggle. For F-OEM: 0: Pump, 1: LED
609+
* @param state 0: OFF, 1:ON
610+
* @return fgt_ERROR_CODE
611+
*/
612+
fgt_ERROR_CODE Fgt_set_digitalOutput(unsigned int controllerIndex, unsigned char port, unsigned char state);
613+
614+
/**
615+
* @Description Read the flag indicating whether the flow rate sensor detects an air bubble. Only
616+
available on Flow Unit sensor ranges M+ and L+.
617+
* @param sensorIndex Index of sensor channel or unique ID
618+
* @out detected 1 if an air bubble was detected, 0 otherwise.
619+
* @return fgt_ERROR_CODE
620+
* @see fgt_get_sensorStatus
621+
*/
622+
fgt_ERROR_CODE FGT_API Fgt_get_sensorAirBubbleFlag(unsigned int sensorIndex, unsigned char* detected);
623+
624+
/**
625+
* @Description Returns the pressure measured at the device's inlet.
626+
* This feature is only available on LineUP Flow EZ and FOEM Pressure Module instruments.
627+
* @param pressureIndex Index of pressure channel or unique ID
628+
* @param *pressure Inlet pressure value in selected unit, default is "mbar"
629+
* @return errorCode
630+
* @see fgt_get_pressureStatus
631+
*/
632+
fgt_ERROR_CODE Fgt_get_inletPressure(unsigned int pressureIndex, float* pressure);
633+
604634
/**
605635
* @Description Sets a flag that defines how SDK errors should be reported.
606636
* @param mode The report mode to use.

Fluigent SDK.pdf

10.2 KB
Binary file not shown.

LabVIEW/dlls/fgt_SDK.h

+36-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/*============================================================================
22
* Fluigent Software Developement Kit
33
*----------------------------------------------------------------------------
4-
* Copyright (c) Fluigent 2021. All Rights Reserved.
4+
* Copyright (c) Fluigent 2022. All Rights Reserved.
55
*----------------------------------------------------------------------------
66
*
77
* Title: fgt_SDK.h
88
* Purpose: Functions API for Fluigent instruments
9-
* Version: 21.4.0.0
10-
* Date: 12/2021
9+
* Version: 22.0.0.0
10+
* Date: 04/2022
1111
*============================================================================*/
1212

1313
#ifndef _FGT_SDK_H
@@ -71,13 +71,15 @@ extern "C"
7171
};
7272

7373
/** @Description Instrument controller type */
74-
enum class fgt_INSTRUMENT_TYPE { None, MFCS, MFCS_EZ, FRP, LineUP, IPS, ESS };
74+
enum class fgt_INSTRUMENT_TYPE { None, MFCS, MFCS_EZ, FRP, LineUP, IPS, ESS, F_OEM };
7575

7676
/** @Description Sensor type */
7777
enum class fgt_SENSOR_TYPE {
7878
None,
7979
Flow_XS_single, Flow_S_single, Flow_S_dual, Flow_M_single, Flow_M_dual, Flow_L_single, Flow_L_dual, Flow_XL_single,
80-
Pressure_S, Pressure_M, Pressure_XL };
80+
Pressure_S, Pressure_M, Pressure_XL,
81+
Flow_M_plus_dual, Flow_L_plus_dual,
82+
};
8183

8284
/** @Description Sensor calibration table */
8385
enum class fgt_SENSOR_CALIBRATION { None, H2O, IPA, HFE, FC40, OIL };
@@ -92,7 +94,7 @@ extern "C"
9294
enum class fgt_LINK_MODULE { None, FlowEZ, PSwitch = 3, SwitchEZ = 4 };
9395

9496
/** @Description Valve type */
95-
enum class fgt_VALVE_TYPE { None, MSwitch, TwoSwitch, LSwitch, PSwitch };
97+
enum class fgt_VALVE_TYPE { None, MSwitch, TwoSwitch, LSwitch, PSwitch, M_X, Two_X, L_X };
9698

9799
/** @Description Switch direction type */
98100
enum class fgt_SWITCH_DIRECTION { Shortest, Anticlockwise, Clockwise };
@@ -351,6 +353,16 @@ typedef struct
351353
*/
352354
unsigned char FGT_API fgt_get_sensorValueEx(unsigned int sensorIndex, float* value, unsigned short* timeStamp);
353355

356+
/**
357+
* @Description Read the flag indicating whether the flow rate sensor detects an air bubble. Only
358+
available on Flow Unit sensor ranges M+ and L+.
359+
* @param sensorIndex Index of sensor channel or unique ID
360+
* @out detected 1 if an air bubble was detected, 0 otherwise.
361+
* @return fgt_ERROR_CODE
362+
* @see fgt_get_sensorStatus
363+
*/
364+
unsigned char FGT_API fgt_get_sensorAirBubbleFlag(unsigned int sensorIndex, unsigned char* detected);
365+
354366
/**
355367
* @Description Read the position of a specific valve channel.
356368
* @param valveIndex Index of valve channel
@@ -660,6 +672,24 @@ typedef struct
660672
*/
661673
unsigned char FGT_API fgt_set_manual(unsigned int pressureIndex, float value);
662674

675+
/**
676+
* @Description Set the digital output ON or OFF on a controller
677+
* This feature is only available on the F-OEM device.
678+
* @param controllerIndex Index of controller or unique ID
679+
* @param port Address of the digital output to toggle. For F-OEM: 0: Pump, 1: LED
680+
* @param state 0: OFF, 1:ON
681+
* @return fgt_ERROR_CODE
682+
*/
683+
unsigned char FGT_API fgt_set_digitalOutput(unsigned int controllerIndex, unsigned char port, unsigned char state);
684+
685+
/**
686+
* @Description Returns the pressure measured at the device's inlet.
687+
* This feature is only available on LineUP Flow EZ and FOEM Pressure Module instruments.
688+
* @param pressureIndex Index of pressure channel or unique ID
689+
* @out pressure Inlet pressure value in selected unit, default is "mbar"
690+
* @return fgt_ERROR_CODE
691+
*/
692+
unsigned char FGT_API fgt_get_inletPressure(unsigned int pressureIndex, float* pressure);
663693

664694
#ifdef __cplusplus
665695
}

LabVIEW/dlls/fgt_SDK_32.dll

17.5 KB
Binary file not shown.

LabVIEW/dlls/fgt_SDK_64.dll

20.5 KB
Binary file not shown.
576 Bytes
Binary file not shown.
592 Bytes
Binary file not shown.
580 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)