ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error code?

hi
I get the following error code each time (initial) I run my VI? Error -90046 occurred at Error in function cd at line 0.  The input parameters are not in the required format. 
I guess that the mathfunction do not get the right format at the initial start up! but how do I solve this? do I give it some default value? attached is a screen shot of the VI in question.
0 Kudos
Message 1 of 5
(3,673 Views)
Are you sure you posted the right VI? I ask because your MathScript doesn't contain a "cd" function that you described in your message.

As for the code, you're incurring more overhead by using MathScript than you shouldfor such a simple operation. You can do it in LabVIEW like this:


Message Edited by smercurio_fc on 02-26-2007 09:40 AM

Message 2 of 5
(3,655 Views)
yes i'm sure that it is the right VI - but what is a "cd function"???????..... I'm aware that using a mathscript function probably isnt the most effecient way... but I dont know how "heavy" mathfunctions are???
0 Kudos
Message 3 of 5
(3,640 Views)
Hi viller,

the 'cd function' is the reason for your error message, at least its mentioned in the message...

I always prefer 'standard' LabView functions compared to mathscript/formula/expression nodes - they almost appear faster to me.
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(3,631 Views)
yes I understand that the Cd function is the reason for the error message, but what is a "cd function"?? and how do I solve it? it is only when I initially start the VI that I experience the error and I can just press "continue" and then it works fine! but I just dont like that there is an error that I dont know what is?
0 Kudos
Message 5 of 5
(3,623 Views)