annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

call an express vi interface programmatically

Risolto!
Vai alla soluzione

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
Messaggio 1 di 6
3.333Visualizzazioni

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
Messaggio 2 di 6
3.295Visualizzazioni

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
Messaggio 3 di 6
3.286Visualizzazioni
Soluzione
Accettato da autore argomento 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!!

Messaggio 4 di 6
3.272Visualizzazioni

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

 

 

-Scott
0 Kudos
Messaggio 5 di 6
3.259Visualizzazioni

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
Messaggio 6 di 6
3.252Visualizzazioni