LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make Vi file as input file in Event structure?

Solved!
Go to solution

Hiii All..

 

i got problems when to construct a event structure. The file input  (vi format) doesnt have source of wire connection to conect the wire (shift register) .For your information the vi that i create only contain simple mathematical equation.

 

I already study the New Event Handler Example. but the file input for that example (acquire data.vi) have a source of connection. anyone can help me? 

 

thank you very much

 

shi_zuka88@yahoo.com

0 Kudos
Message 1 of 9
(3,235 Views)

I don't understand your question related to the VI you attached.  Your VI doesn't show any event structures or shift register wires, or any kind of loop that would have a shift register.

 

Is your actual question that you don't know how to use this as a subVI inside another VI?  You need to wire up some inputs and outputs to the connector panel of your VI.  This is a basic LabVIEW lesson.

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 2 of 9
(3,230 Views)

Your VI has no event structure, shift register, and there is nothing in it related to file i/o (neither does the new event handler) so you are going to have carefully explain what it is you want.

0 Kudos
Message 3 of 9
(3,228 Views)

The vi that I attached is the vi file that I wan to make as input file in event structure as acquire.vi in New event Handler Example

 

btw i will look for ur tutorial..thanx..

0 Kudos
Message 4 of 9
(3,224 Views)

sorry for missunderstanding.. here the event structure that i wan to create.. take a look..

0 Kudos
Message 5 of 9
(3,215 Views)
Solution
Accepted by topic author ikha

Well, in your subVI you do need to wire up some inputs and outputs to your connector panel.  As I said, a basic LabVIEW skill that you will find in the tutorials.

 

You have a number of inputs to your subVI.  More than you would want to attach to a connector panel.  You should perhaps use a cluster to group them together.

 

To get you started, here are the steps to connect a control or indicator to the connector panel.

 

1.  Open subVI.

2. Right click on icon at upper right.  Show Connector.

3.  Hover over a block you want to be a connector terminal, it will change to a spool of wire.  Click.

4.  Go to the control or indicator on the front panel that you want to associate it with.  Click again.

5.  Repeat as needed for other controls and indicators and save your subVI.  Now the subVI instance in your main VI can have wires connected to it.

 

You should plan your connector panel so that controls are on the left side of the panel, and indicators on the right.  This will allow data to "flow into" and "flow out of" the subVI in a normal looking left to right orientation.

0 Kudos
Message 6 of 9
(3,209 Views)

 

 

 

0 Kudos
Message 7 of 9
(3,203 Views)

for previous problem i already found the solution.. im face another problem when running the program.. when i click the acquire data at front panel, the front panel for subvi doesnt appear.. can anyone help me?

0 Kudos
Message 8 of 9
(3,193 Views)

Right Click on your Sub VI, select SubVI Node Setup and check the show front panel when called and close afterwards if originally closed options.

 

Hope this helps you.

0 Kudos
Message 9 of 9
(3,166 Views)