LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CNVGetDataType (erreur -6354 Message Data type is invalid ) With these types Variant or Fixed Point

Hello

Labwindows CVI: 9.0.1
Library: Network Variable
Fct: CNVGetDataType (erreur -6354 Message Data type is invalid )

 

I Can't get the type of shared network variables when their data type are Variant or Fixed Point ( I used distributed system manager NI to get the data type) using this fonction CNVGetDataType.
(erreur -6354 Message Data type is invalid )
Also I can't read/write these variables.
Instead everything is working well with these data type:
Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool, Single, Double, String.

 

La fonction CNVGetDataType sort en erreur lors de la lecture du type des variables partagées qui ont le type de donnée Variant ou Fixed Point.
(erreur -6354 Message Data type is invalid )
De plus impossible de lire ou écrire la data.
Par contre aucun problème avec les autres data types:
Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool, Single, Double, String.

0 Kudos
Message 1 of 1
(2,514 Views)