03-19-2013 09:52 AM
Hi All,
I have a project file created which has network published controls and indicators. The project uses a main vi which I created in my c-drive, I found an error in my main vi which I needed to correct. The error does not relate to any of the network published controls or indicators. When I update the main vi in my c-drive the vi works correctly, when I then deploy in the project my client vi still behaves the same, ie the error is still present like as if it is operating on the old rev of the main vi. Is there a way to rectify this?
Thanks,
David
03-19-2013 09:59 AM
Verify that the project is using the same copy that you updated. This sounds like a classic case of a cross linking issue where the project is actually using a different copy of your VI.
03-19-2013 11:02 AM
Hi Mark,
Thank you for the reply. I am certain that i updated the file which i used when i created the periodic i/o server. When creating the io server for the project does it make a copy of the main vi and store it in another location? What is the correct method to verify what main vi the project is using. I created the client vi's within the project file and they show up in the project tree but my main vi does not show up in the project tree as it was built on the c-drive before i created the project.
David
03-19-2013 11:06 AM
In the project click the Files tab. This will show you the location on disk of all of your project items.
03-19-2013 11:15 AM
Hi Mark,
My main vi does not show up in the project tree as it was built on the c-drive before i created the project. Should i have imported the main vi it into the project before i created the io server, can i still import it?
David
03-19-2013 01:40 PM
Yes, you should add the main VI to the project.
03-19-2013 02:06 PM
Wait a minute. Your main VI is not in your project? Then how are you building an executable? This tells me you are using another VI as you main VI.
03-19-2013 02:09 PM
Yes, i am using another vi as my main vi. I was not going to build an executable as this is a college project. Does this mean i have to leave it as is, ie not been able to alter the main vi.
Thanks, David
03-19-2013 02:47 PM
My best advice for you is to make sure all of the VIs you are using are in your LabVIEW project. That is the easiest way to make sure you are editing the right VIs.
03-19-2013 03:59 PM
Hi Mark,
Thanks for the advise, i will take it on board next time out.
David