Use this method to save the currently open ViDi workspace to the
specified file. This is the only way to retain certain changes that you
may have made to the current, in-memory run time workspace:
Namespace: Cognex.VisionPro.DLRuntime- ViDi tool parameters like Threshold or ProbabilityThreshold.
- TensorRT optimizations.
Assembly: Cognex.VisionPro.DLRuntime (in Cognex.VisionPro.DLRuntime.dll) Version: 93.1.0.0 (93.1.0.0)
Syntax
Parameters
- fileName
- Type: System String
The name of the file to which we will save the currently open workspace. May not match the currently open VRWS file name.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | If the specified file name matches the currently open file name. |
| CogInternalErrorException | If the underlying ViDi workspace could not be saved. |
See Also