LabVIEW一句話技巧

LabVIEW 2011安裝完成之后打不開如何解決

LabVIEW 2011 will fail to launch on computers equipped with AMD FX "Bulldozer" CPU's
Early in the LabVIEW load process, LabVIEW calls a DLL (niCPUlib.dll) that queries the CPU for low level information (e.g. # of cores and cache size). This DLL call causes an infinite loop when executed on a computer that contains these processors. For more information, please see KB 5U2H8PYJ.
http://digital.ni.com/public.nsf/allkb/4734A6405B123FA58625799900813593
Archived: LabVIEW 2011 and 2011 SP1 Known Issues - NI
Archived: LabVIEW 2011 Platform Known Issues - NI

LabVIEW 2015 SP1 Run-Time min 無(wú)法在XP上安裝

打開安裝文件夾中的 setup.ini
找到:VersionNTMin=6,1,7601,1,0 line.
修改為:VersionNTMin=5,1,2600,3,0.
NI Installer Fails on Windows XP/Vista and Windows Server 2003 - National Instruments

兼容Windows XP(SP3)的最后一個(gè)LabVIEW版本是什么版本?

Windows 8.1 及 Windows 7:LabVIEW 2020 SP1
Vista 及 XP(X86)(SP3):LabVIEW 2015 SP1 f7
LabVIEW與Microsoft Windows的兼容性 - NI
LabVIEW 2015 SP1 f9補(bǔ)丁不再支持Microsoft Windows 7 RTM(無(wú)service pack)、Windows Vista、Windows XP和Windows Server 2003

LabVIEW Run-Time Engine 2015 SP1 (32-bit) f7 Patch 綠色版打包過(guò)程:

  1. 安裝LVRTE2015SP1_f7Patchmin/std.exe(f7以上版本在WindowsXP上安裝時(shí)需要修改setup.ini中VersionNTMin=5,1,2600,3,0)
  2. 復(fù)制c:\Program Files\National Instruments\Shared\LabVIEW Run-Time\2015\
  3. 復(fù)制c:\WINDOWS\system32\nierInterface.dll
  4. 刪除多語(yǔ)言

注:min無(wú)法運(yùn)行WebServer
注:f13無(wú)法在XP上運(yùn)行

LabVIEW 使窗口置頂

  1. VI.FP.Title // 獲取窗口標(biāo)題
  2. user32.dll: int32_t FindWindowA(int32_t lpClassName, CStr lpWindowName); // 根據(jù)窗口標(biāo)題獲取窗口句柄
  3. user32.dll: int32_t SetWindowPos(int32_t hWnd, int32_t hWndInsertAfter, int32_t x, int32_t y, int32_t cx, int32_t cy, uint32_t uFlags); // 根據(jù)窗口句柄置頂窗口
  4. 失去焦點(diǎn)時(shí)AttachThreadInput其他頂層窗口后,再SetForegroundWindow自己
    參考:如何強(qiáng)悍地實(shí)現(xiàn)“置頂窗口”,讓窗口不被其他窗口覆蓋-CSDN社區(qū)
    注:對(duì)浮動(dòng)和模態(tài)窗口不生效

隱藏任務(wù)欄圖標(biāo)

HideRootWindow=True

縮放顯示圖像

  1. 修改圖片控件縮放因子
  2. 圖片空間數(shù)組無(wú)法單獨(dú)修改各個(gè)數(shù)組元素的縮放因子,可采用.Net先進(jìn)性圖片縮放后顯示
    在 GDI+ 中裁切和縮放圖像 - Windows Forms .NET Framework | Microsoft Docs
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容