AnsweredAssumed Answered

ActiveX "scripting" in LabVIEW

Question asked by ddeweywright on Apr 7, 2010
Latest reply on Apr 7, 2010 by ddeweywright

I am creating a set of LabVIEW VIs so we can automate testing of a 21060 processor.  Most of what I need to do is various memory writes and reads.  At this point, my environment is the VisualDSP++ 5.0 simulator, and I am able to see that I can write to memory addresses as I want to.  My primary problem now is that every time I run the LabVIEW VI module, I start by calling the Automation Open function to get a refnum for IADspApplication, and call the CreateSession method, and this appears to erase all the memory in the simulator.  I tried creating a Global variable in LabVIEW for the IADspDebugSession and not calling the Automation Close function, so I wouldn't have to call the CreateSession method, but I get an error from the ActiveX controls when I do that.  Is there some way to access memory without calling IADspApplication.CreateSession?  Or without it erasing memory?  Will this not be an issue once we move to the emulator and some real hardware?




Dave D-W