11-22-2020 09:25 AM
I have created two apps in NXG. One just loads and views TDMS files from a drive and it works just fine deployed to other machines. This app does not interface with any NI hardware. The other collects data from a cDAQ9185 and does some processing of the data. I have done no error handling in this app yet.
When I deploy the data collection app to my Windows 10 Pro virtual machine the app runs but does not collect any data at all.
Do I need to add drivers to my application? My dependencies are:
If it is not a driver issue then how would I go about troubleshooting this other than a very tedius series of adding troubleshooting code to my app and deploying the app to see what happens?
11-22-2020 11:11 AM
In order to collect data from Hardware, the PC (real or virtual) must have the hardware connected to it, and must have drivers capable of communicating with it.
When you mention an "app", do you mean a LabVIEW "Application", built with the Application Builder? If you moved the "app" to another PC that didn't have LabVIEW installed, would you expect it to run?
Note that I have very little experience with NXG (I've been using LabVIEW "Classic" for more than a decade, and find the attempt to transition to such an unfamiliar architecture extremely jarring ...). I apologize if I've "answered the wrong question", but I think that your VM will, at least, need (some) LabVIEW drivers and Run Time support.
Bob Schor
11-22-2020 01:10 PM
@Bob_Schor wrote:
In order to collect data from Hardware, the PC (real or virtual) must have the hardware connected to it, and must have drivers capable of communicating with it.
When you mention an "app", do you mean a LabVIEW "Application", built with the Application Builder? If you moved the "app" to another PC that didn't have LabVIEW installed, would you expect it to run?
Bob Schor
Yes, I agree. I purchased Application Builder to build an installer for the application. I did not just move the app. Sorry if I gave you that impression. Application Builder identifies prerequisites automatically. That is why I posted the prerequisites that it automatically added, because I don't think it got the list correct.
11-23-2020 08:29 AM
@flycast wrote:
I purchased Application Builder to build an installer for the application. I did not just move the app. Sorry if I gave you that impression. Application Builder identifies prerequisites automatically. That is why I posted the prerequisites that it automatically added, because I don't think it got the list correct.
Thank you for the clarification. Some further comments:
Here's what I would suggest as a way to start drilling down on this problem:
Please report your progress. I'm sure your case won't be unique, and your experience (especially if you find out what works!) will be valuable to the Community.
Bob Schor