キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Modifying LabView program in http://www.ni.com/example/31410/en/

I'm trying to modify the LED lighting vi (at the link below) to make it turn of the LED after a specified time, like 50s, instead of having to click on the boolean switch on the front panel to turn off the LED. Does anyone have a simple solution?

https://forums.ni.com/t5/Example-Code/Output-Light-Using-a-Basic-5mm-LED-NI-myDAQ-and-LabVIEW/ta-p/3...

Thanks,

0 件の賞賛
メッセージ1/6
3,683件の閲覧回数

Look into the "elapsed time" express VI.

0 件の賞賛
メッセージ2/6
3,679件の閲覧回数

Thanks BALUG for the response. The Elapsed Time Express VI appears to be available only as an added functionality on certain NI devices. My device is NI-USB-2002.

0 件の賞賛
メッセージ3/6
3,596件の閲覧回数

Elapsed Time Express VI is a function that is within LabVIEW.  All versions.  It has nothing to do with devices.

 

And what is USB-2002?  I can't find any record of NI having made one with that number.

0 件の賞賛
メッセージ4/6
3,592件の閲覧回数

That was a typo. I meant NI-USB-6002. I also didn't have any success with NI-USB-6008.

0 件の賞賛
メッセージ5/6
3,571件の閲覧回数

Thanks. I looked again and found the express vi under Execution Control.

0 件の賞賛
メッセージ6/6
3,568件の閲覧回数