03-06-2011 09:13 PM
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
Solved! Go to Solution.
03-06-2011 09:20 PM
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
03-06-2011 09:21 PM
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.
03-06-2011 09:28 PM
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..
03-06-2011 09:38 PM
sorry for missunderstanding.. here the event structure that i wan to create.. take a look..
03-06-2011 09:50 PM
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.
03-06-2011 09:56 PM
03-06-2011 11:58 PM
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?
03-07-2011 03:18 AM