50 Character limit with "File name:"

Here is where you can request new features or special features.

50 Character limit with "File name:"

Postby Dan911 » Sat Nov 04, 2017 3:03 pm

There's a 50 character limit in field # 895 in the Diagnostics screen for "File Name". If using this field in plugin or macro it will cause and error if 50 characters is exceeded and not handled properly. It would be great if increased to at least 75 character. For now a message window "File name exceeded 50 character limit" will have to do.

Dan
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: 50 Character limit with "File name:"

Postby cncdrive » Sat Nov 04, 2017 4:12 pm

There is a function available in both the macro and the plugin interface: string Getgcodefilename()
The function returns the full filename with path without any truncation.
cncdrive
Site Admin
 
Posts: 5183
Joined: Tue Aug 12, 2014 11:17 pm

Re: 50 Character limit with "File name:"

Postby Dan911 » Sat Nov 04, 2017 4:44 pm

Works great, Thank you.
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: 50 Character limit with "File name:"

Postby cncdrive » Sat Nov 04, 2017 7:07 pm

Hi Dan, No problem.
You're not the first one who asked about this is why this function already exist. :)
cncdrive
Site Admin
 
Posts: 5183
Joined: Tue Aug 12, 2014 11:17 pm


Return to Feature Request

Who is online

Users browsing this forum: No registered users and 5 guests