08-20-2017 03:38 PM - edited 08-20-2017 03:41 PM
Hi,
I am not very good at labview. someone shared the attached files. I can use this project to send files via FTP . There is a file 'test.vi' ( under Labvolution.sftp) which i want to call from another vi running separately. Does anyone know how to do it? i cannot run 'test.vi' as a standalone vi( vi throws an error saying that the specified class of .net is not available in labview, but i can run this file from the project).
Please help.
Thank you.
08-20-2017 07:33 PM
Just drag the VI on to your block diagram and wire up any controls and indicators that are on the connector pane.
But if a .NET class is missing, you need to fix that. What class is missing?
08-20-2017 09:34 PM
I do not think this is going to work. I tried that already. The vi is a part of project.I gave all the references that are used in this vi, but still it wont work by just dragging and dropping it in another vi.
Also i dont know what .net class is missing.( I am not much familiar with .net) I am doing normal FTP transfer.
Additionally ,I also saw FTP send and receive example from NI, but that does not work( i created an FTP server online and try to send text file but did not work). However the labvolution work with the online server. That is why i am using labvolution.
Thank you.
08-20-2017 10:09 PM
I can see that there is an assembly "Labvolution.Network.Tools.dll" under the "labvolution.network.tools.references" folder. I imagine that the source project has had this added and thus why your example runs - the project can load the assembly. In your new project you don't have a reference to this assembly. You probably need a copy the file into your project (relative to the lvproj file or sub-folder) and it will be able to find it.