LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to combine 2 separate codes, one being in a Flat Sequence Structure

I am new to labview and am currently working in a lab where we are trying to get a program to work but are having many issues. We have one code that was written ourselves and another code that was taken from a website. One code works with force, and the other works with position. The position code is the one obtained from another source and it is coded with a Flat Sequence Structure. When we copy and paste the position's code into the force, the programs run smoothly but separately. The force code has a function which allows us to time how long our force sensors collect data, and our goal is to make it so the position sensors collect data in the same exact time frame. We tried putting the force code into one of the boxes in the flat sequence structure, but when we run the program the position code stops working. If someone can maybe give me a better understanding as to why this occurs, and maybe even some tips to help us achieve our goal, it would be greatly appreciated. 

0 Kudos
Message 1 of 4
(3,204 Views)

You must be hitting against one of the rules of dataflow based on the flat sequence structure and the way you are combining them.

 

We can't help because a wordy description doesn't adequately describe what you've done.  Attach your VI to the post, then we can see what it is you are trying to tell us.

 

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

0 Kudos
Message 2 of 4
(3,203 Views)

Ok I will be back in the lab tomorrow and I will ask my Professor if she would mind me posting the VI she wrote. I figured that I would not get too much help without something visual. Thanks

0 Kudos
Message 3 of 4
(3,184 Views)

Here are the 2 original VIs that we are trying to combine as well as an example of us trying to combine the two VIs. Multiple Transducers Perfect is the force file, and Run_Tracker2 is the position file. The "testing" file is the combination. Hopefully I can get some help with these. Thanks!

0 Kudos
Message 4 of 4
(3,148 Views)