11-16-2012 02:54 AM
Hi, I need some help on create VI model.
I need create model shown on Pic. 1.png, but I have problems with case structure, it report "Case Structure: No Case for Some Selector Values".
P. S. Sory for bad English
11-16-2012 03:06 AM - edited 11-16-2012 03:11 AM
Hi Orochimarko,
your uploaded picture is not the same as the VIs you also uploaded. Atleast when opening them with LV2011 they differ from the pic...
The case structure in your VI only has one case ("True"), but there is no False-case. So you get the error "no case for some values"...
Btw. both VIs are crowded with Rube-Goldbergs. Even considering the old LV version they are saved with wouldn't allow for such bad programming behaviours...
@V-F:
What's the sense of making the only case of that case structure a "default" one? What's the sense of that case structure at all???
11-16-2012 03:07 AM
Hi,
it's because there is no default value : right click on case structure => make default.
Best Regards,
11-16-2012 03:16 AM
When it have true- and folse-cases, it report this error too...
I try create "0, Default" case, as shovn on picture, but it report "selector values has wrong type"
I create this in LabView 7.0
11-16-2012 03:18 AM
This structure is just labwork...
11-16-2012 03:51 AM
Hi Oro,
in the picture posted you have connected the slide to the case selector. In the VI posted a boolean wire is connected to the selector input...
Please state (clearly!) what you have connected to the case selector input and which cases you have configured.
Or simply post your current VI again...
11-16-2012 04:45 AM
Do you mean connect slide to shown in Attachments ?
if yes, than can you explane how to do it? Beacose I try do it early, and can't...
11-16-2012 04:53 AM
11-16-2012 05:08 AM
When I try connect slide to case selctor with wire, it don't connecting... I think, I need do something with case selctor before connect it.... But don't know what...
11-16-2012 05:34 AM
You already have connected a boolean to the Case selector (Click the Diagram cleanup and see). Remove that boolean and try connecting it.