04-13-2015 02:57 PM
Heyo, I ran an .exe on a machine over the weekend to gather a bunch of data and I made a newb mistake. Instead of writing the data after n iterations, I was using two shift registers. I'm not going to go into any more detail about that. The problem was, an error occured and my program is made to quit and write the data. My oversite was that the error cluster went to my "data to text" VI and passed into the Open/Create file VI. Long story short, the text file wasn't written as a result and the VI isn't technically running. However, it's still in memory. So I'm trying to use VI Server to access the .exe and acquire the data from the array (I at least put it into an idicator). When trying to create this VI Server vi, I keep getting the same error at "Open VI Reference:"
Open VI Reference in VI Server.vi<APPEND>
To load a VI into memory with the Open VI Reference function, a path must be wired for the VI Path input.
Allow me to go over the list of things I've done so that no one bothers suggesting them to me. I've checked the port for NI accuracy. I've checked to make sure VI Server is enabled in the .ini. I disabled my FireWall. I allowed all users. And I allowed all VIs (or something like that.) Note, this is on my development machine and I am trying to access the .exe that I am running on my local machine before trying to access the remote. Suggestions and help would be appreciated. Naturally, I could change the .exe code to write the data and re-run the test. But we all know that's the not the desired path. Attached is my VI Server vi and the .ini(for proof) file for the .exe.
Also, note: yes the .ini says Sniffer 2 and the code text box says Code.vi. Trust me, this is not the issue. I intentionally changed this before I loaded the documents but then reailized it didn't matter since I was loading the .ini. So...don't suggest that. Thanks.
04-13-2015 03:08 PM
Is it possible to ask Forum Admin to fix my spelling mistake in the topic?
04-13-2015 03:24 PM
04-13-2015 03:32 PM
The name of the Vi is Sniff 2.vi. My understanding, if this VI is open in memory, I should be able to access it using VI server. Yes/No? Also, all I need to put in my string constant is Sniff 2.vi and not the entire path of the .exe
04-13-2015 03:58 PM
04-13-2015 04:09 PM
I've attached what I think you're referring to. The .exe is running, but is not found in All VIs memory.
04-13-2015 04:21 PM
04-13-2015 04:38 PM
Interesting, I do not see a port associated with its PID. So this sounds like something I needed to configure before creating the .exe. Mind pointing me in the direction of a valuable white paper explaining this process?
04-13-2015 04:53 PM