LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create SubVI from APT 6010 Driver

Hi,

 

I got this VI from APT directly since the one on the idnet is not compatible with firmware newer than 2.0. It runs well, but I would like to make a subVI out of it to include it in my VI, where it should sweep over output voltage and frequency.

 

I selected all the elements I want to make a subVI out of, but it gave me a warning that the nested indicator elements may not work properly when changed to a subVI...

 

True enough the stop control and the readout clusters did not work. I cannot verify the output, and cannot stop the read loop; and further cannot stop the output and the active VISA connection.

 

Since I am still farily new to LabView, I don't know the proper way to edit the driver to make it suitable for a subVI. Producer/consumer, QSM, something else?

 

Please advise on some kind of architecture recommendation, and thanks for checking out this post.

0 Kudos
Message 1 of 3
(2,095 Views)

You've already got all of the functions as subVIs. Your question does not make much sense. What you posted was an example program. You can easily incorporate the subVIs in that into your own program.

Message 2 of 3
(2,093 Views)

Dennis,

 

Good point. I guess what I really was trying to accomplish here was minimizing variables that I want as constants on my block diagram. I should be able to make steps 1-5 and 7-8 as subVIs. I can keep the 'check' loop and edit it for my purposes.

 

Thanks for the feedback.

0 Kudos
Message 3 of 3
(2,083 Views)