LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

call an express vi interface programmatically

Solved!
Go to solution

What I am trying to do is to use the Write to measurement file express vi configuration interface (and functionality) in run time.  I want to allow the changing of the onfiguration settings while the vi runs.  I tried to open the interface directly from the DLL (in the vi library) and it opened but reported bad vi references.  Can I extract all of the vi's from the DLLs to use in my program?  Is there an easy way to grab all of the dependent vi's from the libraries?  Please advise if I am taking the wrong approach.

 

Thanks

 

Scott 

 

 

-Scott
Message 1 of 6
(3,253 Views)

I start off understanding your question.  The first two sentences make perfect sense to me.  When you start talking about DLLs though, I have no idea what you're trying to accomplish.

 

Generally speaking, an Express VI's configuration page makes editing-type changes to the Express VI itself, which cannot happen while the Express VI is running.  If you need this sort of reconfigurability while the VI is running, you may need to create your own mechanism for the file I/O and changing the configuration settings.

0 Kudos
Message 2 of 6
(3,215 Views)

Jeff 

 

Since the coding is already done (in the LV libraries), I thought I'd save myself some time by using these for my purpose... In a data collection program that can write bin and ascii files by size or time, etc.  I just don't know how to go about it (they are located in the express DLL's).  Any further advice? or should I just get to doing this from scratch...

 Thank You

 

-Scott
0 Kudos
Message 3 of 6
(3,206 Views)
Solution
Accepted by topic author ScottAdon

ScottAdon-

 

              What configuration parameters do you want to make adjustable? You can right click on the Write To Measurement File.VI and click Open Front Panel. This converts the Express VI to subVIs that are configurable. You will have to sift through the subVIs to find the parameters you are wanting and then add then as parameters on the Connector Pane but then after that you will be able to wire a Control to it that can be adjustable. All of this is not supported but it can be done easily if you just walk through the code and figure out where each parameter is going. Hope this helps!!

Message 4 of 6
(3,192 Views)

That's Exactly What I'm Looking For!! Thank You

 

 

-Scott
0 Kudos
Message 5 of 6
(3,179 Views)

ScottAdon-

 

              I'm glad I could be of some use. Remeber that if you find solution to set it as the solution for the thread. This makes finding answers easier over time. Thanks!!

0 Kudos
Message 6 of 6
(3,172 Views)