07-02-2020 05:44 PM
Hi Josh,
When I run your VBScript in DIAdem 2020, I get the same sort of error you report. I filed a Bug report (used to be called CAR) on this, and here's the Bug #1079879.
One thing you might try is to save the data to a temporary TDM/TDX file and then reload it-- that will put only the Text channels in RAM by default. Perhaps by saving some RAM you can tiptoe around this issue.
Brad Turpin
Principal Technical Support Engineer
National Instruments
07-07-2020 08:32 AM
Thanks Brad!
That object seems to be used fairly rarely on our templates from what I can see (pretty much exclusively as a "optional user comment" field), so we've mostly just eliminated it in favor of regular text boxes (unless we know it's always going to be a small dataset) for now. It's not a major loss as they can still convey their comment, just with slightly less formatting options.
I suspect it doesn't help that we have permanently set BulkDataLoadingMode = eBulkDataLoadingImmediately (trying to avoid locking network files and possible issues with computer docking/undocking/sleeping, etc.).
-Josh
05-28-2021 11:09 AM
Brad,
Just confirmed that DIAdem 2021 appears to fix this issue.
Thanks!
-Josh