“ ColList”包含什麼。 您是否在JMP日誌中顯示了它?您的子集代碼應該可以正常工作。 我建議進行一個簡單的更改。 線
ColList = Column( "Parameter" ) << GetAsMatrix();
應該更準確地寫成
ColList = Column( dt_spec, "Parameter" ) << Get Values;
你好
我嘗試將我的原始數據與在不同文件中標識的參數列表進行子集交換... 下面是腳本。
Names Default To Here( 1 );
// Select the data table and open it
path = Pick File( "Select Data Table" );
dt_raw = Open( path );
// Select the limits table and open it
path = Pick File( "Select Limits Table" );
dt_spec = Open( path );
dt_raw << set name( "raw" );
dt_spec << set name( "spec" );
Current Data Table( dt_spec );
ColList = Column( "Parameter" ) << GetAsMatrix();
Insert Into( ColList, "SERIAL_NO", 1 );
Insert Into( ColList, "~STAGE", 2 );
Insert Into( ColList, "EQUIP_ID", 3 );
Insert Into( ColList, "SOFTWARE_ID", 4 );
Insert Into( ColList, "FW_PACKAGE", 5 );
Insert Into( ColList, "FW_ADUCM", 6 );
Data Table( "raw" ) << Subset( output table( "raw_data" ), all rows, columns( Eval( ColList ) ) );
我收到“在訪問或評估“錯誤參數”錯誤消息時找不到列”。我知道它與列(eval(ColList))有關,但不確定出什麼問題。