12-17-2009 04:09 AM
12-17-2009 05:00 AM
1.How to specify the Parameters of object Reference Variable in Teststand Sequence file programatically using C#.
2.How to load a sequence in to the main sequence programatically using C#.
12-17-2009 05:12 PM
Hi,
This task seems to be a real challange! I have modified my upper LV example to Net.
Creating a .net Reference and adding to Main was boring. But adding parameters let me force to fail (after a few hours), too.
The function GetMetadataToken and for Constructor always retruned -1 !
I seached the forum and there was an answer and some workarrounds from the blue one's
http://forums.ni.com/ni/board/message?board.id=330&thread.id=26880
I will try to solve my challenge
the next days
Juergen
01-05-2010 03:41 PM
Hi
i am still working on this.
http://forums.ni.com/ni/board/message?board.id=330&thread.id=26880&view=by_date_ascending&page=2
It is very interresting, maybe we will get a solution.
But lets go back to the first reply from Ray. Perhaps there is a better and faster solution for your task.
Because there some other great approaches creating steps.
But WE (Ray (i hope so), Myself, the "BlueOnes" and hunderts of great members) NEED TO KNOW what you want to do !
1. Please descripe your task and why you want to create automatically steps.
2. Do Not open a new thread answer here!
Juergen
01-06-2010 03:32 AM
Hi,
Where are you with this query?
Regards
Ray
01-08-2010 04:51 PM - edited 01-08-2010 04:54 PM
Yeah !
I did my challenge!
This example is for all members who answer on someones reply!!
The builder.seq creates a Test.seq which creates/calls the .Net computer.dll from Ni's "HelloWorld" Example from the demo folder.
Class protoytpe loading is done in Constructor and Memberfunction.
The properties of a class where NOT discussed here.
All the stuff is done by using the TS-API.
It would a have been more easy to do this in C# but i did it with TS because it can be used
by our LV and CVI members. The approach is the always the same.
Enjoy it
Juergen