NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

NULL object reference - New Execution

I've been attempting to use the Engine.NewExecution method but I am having troubles with the processModelParam input, does anybody know how to create a null object reference? I've tried with the 'Not a Ref Num Constant', also with a Variant converted to a proccessModelParam type... and many many more... any ideas?
 
Thanx
0 Kudos
Message 1 of 5
(4,227 Views)
Hello,

What errors (if any) or issues do you see when you use the options you've mentioned? Have you tried just right-clicking and creating a constant for the processModelParam input? I believe that should work. Please let me know how that goes. Thanks!

Regards,

Ebele O.

Message Edited by _Belle on 06-26-2007 07:12 PM

Ebele O.
National Instruments
Message 2 of 5
(4,182 Views)
Edited-

I relooked at the VI, and the previous post is correct.

Message Edited by AllenP on 06-26-2007 09:40 PM

Message 3 of 5
(4,175 Views)

Well, that didn't work for me, I am using 3.5. I had to create a dummy sequence file with the 'Model Option' set to 'No Model' then using LabVIEW I read this property and got the value of the 'No model' property in an indicator, I changed the indicator to a control and used it as the input parameter and now my app is up and running... sorry for not keeping you guys up to date and thanx for your help

Have a great weekend!!!

0 Kudos
Message 4 of 5
(4,150 Views)
So..I went and doublechecked and yes you are right, it works... it was actually the first thing I tried but I guess I should have had some other parameter wrong too. Thanks again 😃
0 Kudos
Message 5 of 5
(4,142 Views)