10-02-2022 07:24 AM - edited 10-02-2022 07:25 AM
Hello, any idea why some VIs seem to be missing from GWebDev, for example Write Delimited Spreadsheet isn't present in any pallet and doesn't appear in the search, it's mentioned on
https://www.ni.com/docs/en-US/bundle/g-web-development-api-ref/page/write-delimited-spreadsheet.html
and present in C:\Program Files\National Instruments\G Web Development Software\Addons\NI\G\stdlib-src\1.0.6.45\NI.G Core.File IO (General).gcomp however doesn't seem to work when added to the project - gives "Error in dependency" I'm using GWebDev 2022 Q3.. and I did try reinstalling G Web Development Software already..
Thank you in advance!
10-02-2022 02:17 PM
for example Write Delimited Spreadsheet isn't present in any pallet and doesn't appear in the search,
VIs / Nodes that are supported in G Web Development Software are available in the palette / search. Off palette Nodes may not be supported.
Write Delimited Spreadsheet [is] mentioned onhttps://www.ni.com/docs/en-US/bundle/g-web-development-api-ref/page/write-delimited-spreadsheet.html
and present in C:\Program Files\National Instruments\G Web Development Software\Addons\NI\G\stdlib-src\1.0.6.45\NI.G Core.File IO (General).gcomp
Seems to be an oversight in the documentation. Historically, G Web Development Software was-based on LabVIEW NXG which supported desktop and web targets. Appears that when G Web Development Software was made a standalone product that only supports the web target that some VIs that only supported the desktop target may not have been removed from documentation.
As the Write Delimited Spreadsheet string is not present in palettes and search that is a pretty good indication that it is not a supported feature of G Web Development Software.
For the file manipulation behaviors of the Write Delimited Spreadsheet VI:
Currently G Web Development Software does not support file manipulation. There are separate examples in the community such as File for WebVI that use the JavaScript Library Interface to implement their own APIs for file manipulation such as opening a file or triggering the download of a file.
For the string manipulation behaviors of the Write Delimited Spreadsheet VI:
The Write Delimited Spreadsheet VI uses the Array to Spreadsheet String VI which is not available on G Web Development Software. You may need to use the alternate string manipulation functions available in the palette or use the JSLI to call third party JavaScript libraries for your application.
10-02-2022 10:43 PM
Any idea why G Web Development Software installs File IO and other Addons? Are you saying they cannot be used?
C:\Program Files\National Instruments\G Web Development Software\Addons\NI\G\stdlib-src\1.0.6.45\NI.G Core.File IO (General).gcomp
10-03-2022 08:23 AM
As @MilanR indicated, If the nodes do not appear in the palettes/search you should assume they are not supported. Does that mean they won't work? No, they may well work and can be used. The risk is that the unsupported libraries may be removed in future versions of the GWeb Development Software, breaking the source code.
Why are there unsupported libraries included? The G Web Development Software was part of LabVIEW NXG. In the transition to make it a stand-alone product the Addons\NI folder probably contains dependencies, that G Web needs. It was faster (and simpler) to include the libraries than risk breaking something by removing functionality. The saying, if it isn't broken, don't fix it comes to mind.
Use the unsupported functionality at your own risk.
10-03-2022 09:09 PM
Do you think G Web Development Software will have the same lifecycle as LabVIEW NXG? https://www.ni.com/en-au/shop/labview/labview-nxg.html
10-03-2022 09:32 PM
The life cycle of the G Web Development Software is the same as any actively developed software. It is an example of NI taking the code developed for LabVIEW NXG and making it available in other products.
Be aware that as new versions of software are released, older versions will no longer be supported. For example, NI no longer supports LabVIEW versions older than 2019. The same policy will apply to the G Web Development Software, hence my warning about using unsupported functionality. You can read about NIs Product Lifecyle on their web site.