Invalid row number

Invalid row number

cho3
Not applicable
1,078 Views
11 Replies
Message 1 of 12

Invalid row number

cho3
Not applicable

[ FlexSim 22.2.0 ]

時間:0.000000 異常:FlexScript 異常:無效行號:4 in <no path> at MODEL:/MC5>variables/setuptime

時間:0.000000 異常:FlexScript 異常:無效行號:4 in <no path> at MODEL:/MC5>variables/cycletime

不知道怎麼解決

0 Likes
Accepted solutions (1)
1,079 Views
11 Replies
Replies (11)
Message 2 of 12

FelixMoehlmann
Collaborator
Collaborator
Accepted solution

The error message says "in <no path>" meaning the table you are trying to read from does not exist. Check if the table name is correct in the setup and process time settings.

If that doesn't solve it, we will need more information. It would be best if you could upload the model.

Google translation:

錯誤訊息顯示“in <no path>”,這表示您嘗試讀取的表不存在。檢查設定和處理時間設定中的表格名稱是否正確。

如果這不能解決問題,我們將需要更多資訊。如果能上傳模型就更好了。

0 Likes
Message 3 of 12

cho3
Not applicable
0 Likes
Message 4 of 12

FelixMoehlmann
Collaborator
Collaborator

As I expected, the table name in the setup time and process time settings is wrong. The table is called "processor" not "professor".

Additionally you have to toggle the table columns that contain a statistical distribution expression as flexscript.

capture1.png

And in the "MC4" list you have a comma instead of a dot between "value" and "Type".

正如我所料,設定時間和處理時間設定中的表名是錯誤的。該表被稱為“處理器”而不是“教授”。此外,您還必須將包含統計分佈表達式的表格列切換為 Flexscript。在 MC4 清單中,value 和 Type 之間有一個逗號而不是點

1050087-2_1.fsm

0 Likes
Message 5 of 12

cho3
Not applicable

1050087-2_autosave.fsm

it's still not work....


0 Likes
Message 6 of 12

FelixMoehlmann
Collaborator
Collaborator

I can't see any differences between that model and the one you uploaded earlier. Please take a look at the model I attached to my previous comment. It contains fixes for all issues I could find.

我看不出該模型與您之前上傳的模型之間有任何差異。請看一下我在之前的評論中附加的模型。它包含我能找到的所有問題的修復。
0 Likes
Message 7 of 12

cho3
Not applicable

I already checked the dot and flexscript.But still

time: 0.000000 exception: FlexScript exception: Invalid row number: 4 in <no path> at MODEL:/MC5>variables/setuptime

time: 0.000000 exception: FlexScript exception: Invalid row number: 4 in <no path> at MODEL:/MC5>variables/cycletime

time: 0.000000 exception: FlexScript exception: Invalid row number: 1 in <no path> at MODEL:/MC4>variables/setuptime

time: 0.000000 exception: FlexScript exception: Invalid row number: 1 in <no path> at MODEL:/MC4>variables/setuptime

0 Likes
Message 8 of 12

cho3
Not applicable

THIS.1717571660260.png

0 Likes
Message 9 of 12

FelixMoehlmann
Collaborator
Collaborator

In the lastest model you uploaded the table name in the processor's setup time and process time is still "Professor", not "Processor".

capture1.png

0 Likes
Message 10 of 12

cho3
Not applicable

1050087-2.fsm

1717573936804.png

after i checked everything,there is a new problem!

0 Likes
Message 11 of 12

FelixMoehlmann
Collaborator
Collaborator

Yes, I forgot to mention this. You should check the "Row" and "Column" expressions as well. In the screenshot in my previous comment you can see that the "Row" is set to 4, but the tables all only contain two rows.

Based on the column names it should be set this like.

capture1.png

But I can't be sure if that's correct. The "ProcessTime" tables contain the same information so I don't know which ones should be used.

0 Likes
Message 12 of 12

logan_gold
Community Manager
Community Manager

Hi @cho, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes