취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

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 포인트
1/5 메시지
3,612 조회수
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

2/5 메시지
3,594 조회수
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 포인트
3/5 메시지
3,579 조회수
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
4/5 메시지
3,570 조회수
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 포인트
5/5 메시지
3,562 조회수