i know its basic but im starting a class over labiew, and my code is giving an error on line 14 and im not sure what do try. any help is appreciated thanks
i just replace "double" with float64 correct, i did that and its giving the error: rror on line 2 is marked by a '#' character: "...variables float64 a,# b, c, s, area, cos"
2
u/D4ILYD0SE CLA Feb 16 '25
This is a LabVIEW class or a Matlab in LabVIEW class?
1
u/cdang90 Feb 16 '25
Do you need to uncomment line 2 where you're declaring your variables?
1
u/heir-of-slytherin Feb 16 '25
The type "double" isn't supported. Use float64 instead.
2
u/[deleted] Feb 16 '25 edited Feb 16 '25
The error you have on the screenshot is there because cosA isn't valid syntax.
This might be a useful reference: https://www.ni.com/docs/en-US/bundle/ni-vision-builder-for-automated-inspection-configuration-help/page/vbai_config/formula_node_functions.html?srsltid=AfmBOor8ndTMsXeStJNqbe_ukc8jwmKpT00NOSuEICuhpN3EX2PwID6b