LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read one number in an new coded Vi file using an already exited Vi file

Hi everyone,

I have a new coded program and I need to connect it to a hardware and drive the card. But it dosen't work. I contacted the manufacturer and he told me what is missing in my scheme is some handshake with the status of the acquisisition. And I need a already existed .Vi file to read the number of sweeps to get information how far the acquisisition is completed. So my question is how to execute this? How to let the already existed .Vi file to connect to my coded .Vi file to fulfill the "reading" function? I really appreciate for helping. I am totally a fresh man.

 

Thanks a lot

 

Best regards,

 

Jane

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

If it is a VI, you just call it in your own VI as a subVI.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(3,215 Views)

Thank you so much for your quickly reply. For calling of an VI as a subvi in my vi file, just using "select a Vi" in the Block Window of my Vi file, is that correct?

Thanks.

Best regards,

 

Jane

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

@ZhenCo wrote:

Thank you so much for your quickly reply. For calling of an VI as a subvi in my vi file, just using "select a Vi" in the Block Window of my Vi file, is that correct?


That's one way.  You can also just drag the VI from your project or even Windows Explorer to your block diagram.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(3,203 Views)