LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to call vi directly from database.

 Basically my database looks like  

 

Feature   |  Defects

Feature1 |  Defects1

Feature1 |  Defects4,Defects1

 So basically I need to to design in such a way that if its feature1 it should call defects1 module like that.I dont want to do hardcode like in my program if its defects1 call  this subvi. I want to load VI directly into my database or call directly to that particular Vi from database.

 Anyone has  any  idea??

 I tried for dynamically loading sub vi. But in that ,sub vi should be  somewhere in the disk.Instead I want to load into database/memory.

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

Database is a common term for special software for containing data. A Database Provider is used to interface with the data, most often the provider is controlled using SQL.

 

I expect that you talk about something different.

From what i understand, you are trying to implement a flexible "Sequencer" which will interpret and execute sequences of tests. So i wonder if you are aware of TestStand yet since it is essentially something you might be looking for....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(2,434 Views)
As you already discovered, you can store a VI in a database as a BLOB. However LV can only load VIs from disk. What you can do is treat the database like a cookbook. Use it to store instructions defining what you need for each test case.

At the beginning of each test run you would go to the database and get a list of VIs that you need to run to test the features on that particular UUT.

Not very hard,

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 3
(2,429 Views)