最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

LabVIEW在不按Control鍵的情況下選擇列表框中的多個(gè)項(xiàng)目

2023-04-16 20:30 作者:bjcyck  | 我要投稿

LabVIEW在不按Control鍵的情況下選擇列表框中的多個(gè)項(xiàng)目

若要在列表框中選擇多個(gè)元素,必須在選擇時(shí)按住Control鍵。在有的場合這樣操作感覺不是太方便,如果想一鍵選擇多個(gè),可以按照如下的方法進(jìn)行。

在VI中,列表框的元素只能通過單擊來選擇。它在事件結(jié)構(gòu)中檢測何時(shí)選擇或從選擇中刪除元素,將新選擇和未選擇的元素添加到數(shù)組中,將其刪除,并將其反映在列表框中。最后,如果按下布爾按鈕,則可以獲取所選元素。

? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

實(shí)現(xiàn)和執(zhí)行方法

1.運(yùn)行VI。

2.隨意在列表框中選擇一個(gè)元素。

3.按布爾按鈕驗(yàn)證是否已檢索到所選元素。

?

Changing the Item List Colour of a Menu Ring in LabVIEW

When I click the menu ring control on the front panel, the colour of the list is always grey even if I coloured the menu ring itself another colour. Can I change the colour of the list for a menu ring to something other than grey?

It is possible to change the menu colour for all of your VIs if you step through the following procedure:

For LabVIEW 2009 and later:

From the toolbar, navigate to the Tools menu and select Options... from the drop down list.

Under Category, select Environment. On the right hand pane, scroll down and uncheck Use default colours.

Click on the colour palette under Menu Background and select your colour of choice. Click the OK button as shown below:

For LabVIEW 8.6.1 and earlier:

From the toolbar, navigate to the Tools menu and select Options... from the drop down list.

Under Category, select Colours. On the right hand pane, uncheck Use default colours.

Click on the colour palette under Menu Background and select your colour of choice. Click the OK button.

?

?

需要說明的是,上述的例程和文檔,都是可以下載的,雙擊即可打開,其中壓縮文件是可以采用粘貼復(fù)制的方式,拷貝到硬盤上。這不是圖片,各位小伙伴看到后嘗試一下,這個(gè)問題就不用加微信咨詢了。有關(guān)LabVIEW編程、LabVIEW開發(fā)等相關(guān)項(xiàng)目,可聯(lián)系們。附件中的資料這里無法上傳,可去公司網(wǎng)站搜索下載。

LabVIEW程序,如下附件所示。


LabVIEW在不按Control鍵的情況下選擇列表框中的多個(gè)項(xiàng)目的評論 (共 條)

分享到微博請遵守國家法律
云和县| 阿瓦提县| 英吉沙县| 肃宁县| 昌邑市| 天柱县| 慈溪市| 饶平县| 昭平县| 墨玉县| 繁峙县| 宜良县| 田林县| 扬中市| 兰西县| 平舆县| 贺州市| 易门县| 台前县| 永善县| 淮北市| 长子县| 无棣县| 凤庆县| 南投县| 剑河县| 景洪市| 临洮县| 阿巴嘎旗| 霸州市| 靖边县| 碌曲县| 十堰市| 克什克腾旗| 永仁县| 荣昌县| 永州市| 图们市| 临沂市| 连江县| 大田县|