LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help on combining these two program

Hi all,

 

 I needed some help on combining these two program. But i not very sure how to do it.

 

My program in working with TimeIn/TimeOut attendance taking. The snippet vi "insert data" is the where i start to TimeIn and insert into the microsoft access. And i wanted to insert it together with a camera catching the user's face. But i have no clues on how to combine them.

 

 Can u guys give me some ideas to help me ?

 

 

Thanks in advance.

Download All
0 Kudos
Message 1 of 5
(2,632 Views)

Hi Boontart,

 

You can club these both code. Follow below mention steps.

 

1. Keep IMAQdx same

2. Whatever you are dond in second image you can do inside this IMAQdx loop

 

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 2 of 5
(2,604 Views)

Hi Himanshu,

 

But if i put everything inside the IMAQdx loop ,it make my whole program more complicated. 

 

This is how my program looks like below.

 

I only want to display the image only when i "insert" all data into the database ( which i given at the perivous post).

 

Is there other way?? And how do u make the IMAQdx loop stop without putting a stop button?? Because everytime i run the program,it will run continuously at the IMAQdx loop..

 

Thank in Advance.

0 Kudos
Message 3 of 5
(2,582 Views)

Hello Boontart,

 

I think you should learn some basic concept to design and implement the code like in your code you open and close database session again and again. This is not right this should be outside from the loop and only one time open and close the session.

 

Share your VI here so i can do some modification in code.

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 4 of 5
(2,549 Views)

Here is my VI.

 

 

If put it outside wont it be werid ?

0 Kudos
Message 5 of 5
(2,545 Views)