Error -200378: Custom Scale Specified Does Not Exist When Used at cRIO Level in the LabVIEW Project Explorer

Updated Sep 20, 2023

Reported In

Hardware

  • CompactRIO Controller

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I couldn't directly create DAQmx custom scales within the LabVIEW project explorer at the "CompactRIO" ("cRIO") level. Therefore, the custom scales are created at the "My Computer" level and moved to the "cRIO" level to be used in the VI, which is under the scope of cRIO. On using, I get the following error:

Error -200378 occured at DAQmx Start Task.vi: 7220001
Possible reason(s):
Custom scale specified does not exist


error_message.jfif

Solution

To resolve the error please follow the steps below: 
  1. Don't create DAQmx custom scales within the LabVIEW project explorer at "My Computer" level for using at the "cRIO" level
  2. Create the custom scales in the NI Measurement & Automation Explorer (MAX) at the "cRIO" level
  3. Now, these scales can be seen in the VI at the "cRIO" level which can be used and thus solves the issue
VI_running_without_error_NI_Max_Scales.png

Additional Information

The error is solved because custom scales created in NI MAX are placed in the global system storage which can be accessed by the local host system and the cRIO. Whereas the custom scales created in the LabVIEW project explorer can't be used by the cRIO because the scales or tasks created are just scoped to any VIs in that project and are stored in the project storage but not the global system storage.