From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-27-2017 08:07 AM
In the attached sequence i'm trying use the databaseoptions callback, to choose the database in use from within the sequence.
My result Processing options are also attached.
The problem is that the precondition on the step "Set DB1" in databaseoptions, is not evaluated as I expect !
If i check the value of "Parameters.ModelPlugin.Base.DisplayNameExpression" during runtime it acutally has the value "DB1", but still the step "Set DB1" is skipped !
any ideas ?
Solved! Go to Solution.
03-27-2017 08:19 AM
BTW I get the attached error when running the sequence.
Any Idea what it means ?
03-27-2017 08:38 AM
My first question is solved by this "http://forums.ni.com/t5/forums/v3_1/forumtopicpage/board-id/330/thread-id/52945/page/1"
Precondition has to be:
Parameters.ModelPlugin.Base.DisplayNameExpression == "\"DB1\""
The error in my second message is still present
03-27-2017 03:21 PM
Maybe there is problem with file path - in error message it says, that it unables to open file "...\ModelPlugins". But this is folder, not a file... Maybe this is a problem?
Sincerely, kosist90
03-28-2017 03:36 AM
maybe - however i have no clue where that path is specified.
04-07-2017 03:44 AM
Hi,
According to the error, you are trying to access a particular file, which may not be available on your PC or is blocked for some reason. This is because you are using a model plug-in sequence file that must be saved in the specified file path in the error dialog box. This is explained further in the following link:
https://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/pmpcreatingplugins/
Just to confirm, is the following filepath not available on your PC? This is where your Add-Ons would be saved!
C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\Components\Models\ModelPlugins
Best Regards,
Jeneni
04-12-2017 08:25 AM
If i skip the step to override modelplugin in databaseoptions callback I can make the sequence define which database to log to.
04-12-2017 08:26 AM
that path is available on my pc