|
要能夠正確的將您的程式由NI SoftMotion Development Module升級到LabVIEW NI SoftMotion Module前,您必需要先了解這兩明軟體間的差別。NI SoftMotion Development Module和NI Soft Motion Module是完全不同的產品。LabVIEW NI SoftMotion Module是在2009的八月才上市的軟體模組,裡面包含了Supervisory Control、Motion I/O控制、NI 951x C Series模組支援、Trajectory Generation、Fault Handing等相關的新功能。這和2004年就上市的NI SoftMotion Development Module是大不相同的,該模組只提供了Trajectory Generator的功能而已。
目前NI SoftMotion Development Module已停售,並已將其功能整合到2009年八月才上市的LabVIEW NI SoftMotion Module中,就是您所熟悉的Trajectory Generator介面,如果你還想知道更多關於LabVIEW NI SoftMotion Module,請參照LabVIEW 2009 NI SoftMotion Module Readme。
NI SoftMotion Module提供了多樣化的API,舉例而言,像是在NI SoftMotion Development Module就有的Trajectory Generator介面,其功能描述如下:
使用新的Axis Interface API去開發您的應用程式,請不要再使用Trajectory Generator API
在升級之前請先詳讀Using the NI SoftMotion Axis Interface這份文件,而您必需要使用Axis Interface重寫您的程式,才能夠使用NI SoftMotion所提供的新功能,像是您可以直接使用LabVIEW Project去設定各軸的參數,或是測試各軸的運作情況,以及Servo Motor參數調整,還能夠直接去控制Motion的I/O接腳等。
注意: 您的RT設備必需要能夠支援NI Scan Engine才能夠使用Axix Interface API。
不要使用NI SoftMotion Module Scan Engine所支援的任何元件
如果您想要保留您目前所開發的程式,但又想要修正目前所使用Trajectory Generator相關的元件時,比較建議您選擇這個方式來升級,可是您必需要知道,這個方法並無法讓您使用到NI SoftMotion Module的新功能,因為該功能都必需要依靠NI SoftMotion Scan Engine才能夠使用。
注意:如果您的應用程式有使用到NI SoftMotion Development Module 2.0,您必需要使用Tools中的NI SoftMotion Dev Module Upgrade Utility來升級您的程式。
|