LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Virtualbench Digital Read and write example

I am using the VirtualBench digital Read and write example to make my own VI. I will have a teststand sequence which will call the vi and turn on  different lines to write for different loop. My question is if i remove the while loop in the following example once I turn a particular line on for example maybe line 1 would the line stay on till i put another input which says turn line 2. and would it turn only the line number 2 for the next step and turn off the line 1 off. 

 

Thank you 

 

zakariarahman_0-1587497620886.png

 

0 Kudos
Message 1 of 4
(1,921 Views)

Can anyone kindly help? 🙂

 

0 Kudos
Message 2 of 4
(1,871 Views)

The lines are treated individually.  So updating line 2 should not affect line 1.

 

My concern is if you close the reference, I'm not sure if the line will reset or go back into a high impedance mode.  I don't have the hardware here to test.  But you might want to design a library with an Action Engine to open references to the lines you want, write and read, and then close the references as part of the TestStand cleanup.


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 3 of 4
(1,869 Views)

Thank you very much for you reply. I wont be closing the refrerence. I will try this with the hardware and will check how it works 

.

 

🙂

0 Kudos
Message 4 of 4
(1,836 Views)