NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW UI with Insertion Palette

I have a UI, created using LabVIEW, that uses the LabVIEW simple UI example that ships with TestStand.  I put an insertion palette on the UI, which populates properly, but doesn't allow me to drag anything from the UI to the sequence file viewer.  Whenever I try to drag anything off of the insertion palette, I get a .NET serror error that says, among other things, "Attempted to read or write protected memory."  I'm kind of new to TestStand, so it is likely that I am missing something easy, like some kind of callback.  Does anyone know what Might cause this error?

Thanks,
Benjamin
0 Kudos
Message 1 of 5
(3,446 Views)
What version of LabVIEW are you using? Insertion Palette is only support in LabVIEW 8.2.1 or greater

Regards
Anand Jain
National Instruments
0 Kudos
Message 2 of 5
(3,442 Views)
OK, I think I'm half way there.  I no longer get the error now that I have upgraded to 8.2.1.  However, I still can't get the drag and drop feature to work.  Whenever I drag an item from the insertion palette over the sequence viewer, it turns into a circle with a slash, or whatever you call that symbol.  Am I missing some kind of callback, or something?

Thanks,
Benjamin
0 Kudos
Message 3 of 5
(3,422 Views)
Hey Benjamin,

It sounds like you have most of the code correct, but I believe you have forgotten to set the User Interface to be an editor.  There are a couple of different ways to do this.  Probably the easiest way is to just set the ApplicationMgr property IsEditor.  For more information on how to set the mode of the User Interface, I would recommend looking at page 145 (section 9-13) of the TestStand reference manual.  Hope this helps!


Pat P.
Software Engineer
National Instruments
0 Kudos
Message 4 of 5
(3,404 Views)
Well, that seems to have done the trick.

Thanks,
Benjamin
0 Kudos
Message 5 of 5
(3,397 Views)