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

LabView Calendar Control

How can I force the Calendar browse function to display when I run a VI using a control input to the timestamp of the Format Date/Time String Function VI

 

0 件の賞賛
メッセージ1/9
10,771件の閲覧回数

I dont think you can do so...

 

Instead, you can try out using the .Net Calender control to display during running the VI.

- Partha ( CLD until Oct 2027 🙂 )
0 件の賞賛
メッセージ2/9
10,763件の閲覧回数
You'll need to be a bit more specific. Which calendar control are you using? The ActiveX one or the .NET one, and which one of these? Also, what do you mean by the "browse function"?
0 件の賞賛
メッセージ3/9
10,752件の閲覧回数
Very interesting question. If you go into customize control, you find out that the browse control is just a boolean button. It pops up a dialog box when you press the button. How do we find out where labview hides this dialog box and use it for ourselves??
0 件の賞賛
メッセージ4/9
10,725件の閲覧回数

Look at these two files picktime.vi and picktime.llb here

 

C:\Program Files\National Instruments\LabVIEW 8.6\resource\dialog

 

I found these by doing a windows explorer search for time files inside the 8.6 folder.

 

Here is a sample. I had to reformat the output of the vi.

Message Edited by unclebump on 11-12-2008 04:46 AM
メッセージ5/9
10,723件の閲覧回数
Can you post it saved for LV8.0?
- Partha ( CLD until Oct 2027 🙂 )
0 件の賞賛
メッセージ6/9
10,718件の閲覧回数
One of the sub vi's is password protected so I can't save for previous. Just put the picktime.vi onto your block diagram and run it. The calendar entry should popup. Add an indicator to the output of the vi and play with the format inside the indicator.
メッセージ7/9
10,716件の閲覧回数
OK... Now I understand what was being asked - I completely misunderstood the question. The picktime VI exists for LabVIEW 8.2, but there is no picktime LLB within that directory. Looks like that got added after 8.2. Short of creating your own custom control (probably an XControl) I don't see any way of programmatically clicking the little calendar icon next to the timestamp control.
メッセージ8/9
10,693件の閲覧回数

In 8.5 also, the llb is not present. Maybe they included it in 8.6.

 

The 2 VIs are made into an llb I think...

- Partha ( CLD until Oct 2027 🙂 )
0 件の賞賛
メッセージ9/9
10,662件の閲覧回数