01-11-2006 04:43 PM
Possible
reason(s):
LabVIEW: An input parameter is invalid.
---NI-488: Command requires GPIB Controller to be
Controller in Charge."
I was able to successfully create SDs
yesterday. Then I made a change to my project, which has several,
nested project libraries. Several of them were linked to different
copies of a Type Def control (cluster with string and variant inside).
The link was NOT direct (CTL on FP or constant on BD), but rather the
element data type for several queues. I intended to have only one copy
of this definition, but I made a mistake in playing with LV8 projects
to get started. Since the Find & Replace could not find the
instances of the copies, much less replace them, I was stuck. I went to
the HD and deleted all copies except the one I wanted. I made sure that
the one I wanted was included in the appropriate project library and I
opened the top level (and all dynamically called) VI(s). Of course they
asked where to find the CTL, and I directed them to the one I wanted. I
saved changes, CTL-Shift clicked on the run arrow to force a complete
recompile, and saved changes again.
After all top-level and dynamically
called code was completed, I updated the source distribution settings
and tried to rebuild. I got the error listed above. I deleted the build
spec and created a new one from scratch in the same project. Same
problem.
Any ideas??
Interestingly enough, the builder was
complaining about all the instances I had of the same type def. It
warned me not to call them dynamically, as the distribution would act
differently than my project. When I looked at the files in the the
built directory, the copies were numbered CTL_Name0.ctl, CTL_Name1.ctl,
CTL_Name2.ctl, etc.
01-12-2006 06:44 PM
Derek,
I'm a little confused on what exactly occurred to get you to this state. You mentioned that it was "a mistake you made in playing with LabVIEW projects" that led you to this problem, but after tooling around with things myself, I was not able to reproduce it. Do you recall exactly what steps you took to produce this behavior and would it be possible for you to post a simplified example with steps on how to reproduce the behavior in it ourselves? That would be a huge help in diagnosing the problem!
As for your specific project, did you save a back-up version of it before you started experimenting on it? The easiest thing to do would be to revert to a back-up, but if that's not an option, then perhaps creating a new project in LabVIEW for all of the source files would fix the problem. My best guess is that the project has been put in some kind of corrupt state, and if we can figure out how, then at the very least we can make sure to guard against it in future releases.
01-13-2006 10:54 AM
01-13-2006 06:53 PM