Solution
This issue occurs when the System Definition File contains scaled channels but a Channel Calibration File (.nivscf) is not available during deployment.
When deployment is initiated from VeriStand Project Explorer, VeriStand deploys the System Definition File within the context of the VeriStand Project (.nivsproj). The project automatically references and deploys any Channel Calibration File configured under the Calibrations node.
When deployment is performed programmatically using only the standalone .nivssdf path, deployment occurs without project context. If scaled channels exist in the system definition, VeriStand requires calibration metadata associated with a .nivscf file. Without this file, deployment fails with error -307883.
To resolve the issue:
- Open the VeriStand project in Project Explorer.
- Expand the Calibrations node.
- Create or associate a Channel Calibration File (
.nivscf). - Save the project.
- Redeploy the system.
- Verify that the calibration file is available to the deployment workflow.
- If channel calibration is not required, remove the scales from the System Definition File and redeploy.