03-15-2007 06:42 AM
03-15-2007 06:55 AM
h Shabu,
I'm not sure about cluster controls, but for simple strings, U can use the Str Subset function to restrict the chars to 2 for the desired fileds.
Can U post Ur VI to know more of the requirement ?
03-15-2007 07:19 AM
03-15-2007 08:07 AM - edited 03-15-2007 08:07 AM
You could just use a timestamp control. By default, this has time and date although it seems you only want the date. This can be achieved by editing the format string. Right click the control and click properties. Go to the Format & Precision tab. At the bottom of this screen click the Advanced Editing Mode radio button.
Change the format string to: %<%x>T
Now only the date will be shown. The control will output a timestamp, so to get a string as I assume you want, you can use Get Date/Time String.
Message Edited by Marc A on 03-15-2007 09:07 AM
03-15-2007 08:22 AM
03-15-2007 08:24 AM
Sorry to add anew...
Marc's post is perfect !
03-15-2007 10:55 AM
03-19-2007 12:39 PM
shabu wrote:
... Is there a timestamp control in LV 6i. ...
Does anyone know if I can use ActiveX to put a calendar control on my front Panel?
...
Microsoft's ActiveX MonthView control or Date and Time Picker control both work in LV6.0.
LabView's timestamp control with its built in calendar was introduced in LV7.0.