Error 1057 in To More Specific Class Function when Using a Waveform or Intensity Chart or GraphPrimary Software: LabVIEW Development Systems>>LabVIEW Base Package
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
I am trying to use the To More Specific Class function with Waveform or Intensity Chart or Graph references, but I get error 1057 below, why could this be?
Error 1057 occurred at To More Specific Class in <VI>
LabVIEW: Type mismatch: Object cannot be type casted to the specified type.
As specified, this error occurs because of a type mismatch. It is most likely occurring because the data type of the strict Class Specifier constant is different from the data type of the Graph or Chart you are trying to modify.
For example, if you are using a Waveform Chart (strict) Class Specifier constant that uses a 2D Array of Doubles as its data type, and the Waveform Chart you are trying to modify is displaying a 1D Array of Waveform data type, you will get this error because a 2D Array of Doubles is different from a 1D Array of Waveforms. Even though they are both Waveform Charts, they differ because they accept different data types.
Report Date: 06/29/2007
Last Updated: 07/01/2007
Document ID: 4ASJFU4G