LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

black box application

How do I make my VI into a black box application. All I want the user to have access to is the inputs and outputs.

 

I looked at making it a subvi and I do not believe this is exactly what I want. Also, I looked at building an instrument driver and it seems overly complicated.

0 Kudos
Message 1 of 32
(4,445 Views)
0 Kudos
Message 2 of 32
(4,424 Views)

I thought they were different questions. I guess the best way would be to use the application builder?

0 Kudos
Message 3 of 32
(4,412 Views)

I think forum was answer you before about it 
I send you two method to hide code also you can create password for your subvi and then hide with method i mentioned
beside this 
altenbach old you them method to prevent user to access the code(make .exe file , create .dll file , and remove the diagram )
so if your question is how to make for example .exe file or dll or remove the diagram it is easy just search inside labview help 
otherwise your question is duplicate !!

0 Kudos
Message 4 of 32
(4,371 Views)

I want to have my users download my thing (not sure what it would be yet). For them it would appear just as a subvi would. It would let them write to the inputs and look at the outputs, but will not be able to see any implementation. I understand this is what a subvi does (and I can make the block diagram unaccessable), but would a user just be able to download the subvi and use it in their vi?

 

Also, the problem I have with a subvi, is that an output in the subvi will only appear if there is an indicator for the function's output in the subvi. Is there a way around this? All of this makes me believe that a subvi is not what I should create.

0 Kudos
Message 5 of 32
(4,344 Views)

@User002 wrote:

I want to have my users download my thing (not sure what it would be yet). For them it would appear just as a subvi would. It would let them write to the inputs and look at the outputs, but will not be able to see any implementation. I understand this is what a subvi does (and I can make the block diagram unaccessable), but would a user just be able to download the subvi and use it in their vi?

 


Yes a user can download the subVI and use it.  But if it is password protected, the version they download will have to match their version of LabVIEW.  So you may need to post multiple versions of the VI.

 


@User002 wrote:

Also, the problem I have with a subvi, is that an output in the subvi will only appear if there is an indicator for the function's output in the subvi. Is there a way around this? All of this makes me believe that a subvi is not what I should create.


Your question doesn't make any sense.  Why would you have a problem with an indicator on a subVI that you aren't even giving the user access to the block diagram.  How else are you going to your your output OUT of the VI.  You need an indicator so you can connect it to the connector panel.

 

Yes you should use a subVI.

 

It also sounds like you should take some LabVIEW tutorials.

LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 6 of 32
(4,328 Views)

Okay, and is it correct that all my controls inside loops will need to have a reference?

0 Kudos
Message 7 of 32
(4,314 Views)
No. Why would you think you need to create a reference? It sounds like you have a very bad design. I wouldn't worry about hiding the block diagram. Another user could fix your code.
0 Kudos
Message 8 of 32
(4,294 Views)

You are a huge **bleep**. I am not sure if you have been told that before, but you are supposed to be helpful and you come off as condescending. As someone who posts so frequenctly on this forum, I expect a lot more from you.

 

I would need a reference because there are controls for loops in my vi that the user will need to be able to have control over. Otherwise it will sit in the loop forever in my vi because it will never get that the user changed it in the main vi.

0 Kudos
Message 9 of 32
(4,281 Views)

ok it is my last answer
it this code  in this code 
you can use code but could not find what happen inside it
also thers a loop inside the subvi
so it is what you want
passwords is 123

Download All
0 Kudos
Message 10 of 32
(4,267 Views)