03-16-2011 12:18 PM
With Visual Basic 2010 we have created a test stand program. When we use the publish wizard to create a setup program and install it on teh target PC we get this error "Device Identifier Invalid" when trying to get a data sample from the board. In the error message it references "Task Name: _unnamedTask<0>". We don't have any task of that name in the original program. We've tried importing taskas from th Measurement & Automation Program and also creating the task directly within Visual Studio, same result. The program runs just fine on the development PC. The target PC runs Windows7. This is a .NET4 program. The target PC does not have visual studio installed. We did install the National Instruments drivers and measurement & automation program and it works fine. We can see the board and create additional tasks. The publish properties are installing all required NI dll's on the target PC. Any ideas?
03-17-2011 03:50 PM
Marty,
I'm not sure where this error is coming from. Is there an error code associated with it?
This may be an error that deals with the hardware's configuration in MAX. Make sure that the device name on the target pc is the same as the device name on the development pc (i.e. "Dev1", "Dev2").
Also, you mentioned that the target pc runs Windows 7, but what was the program developed on?
What drivers and versions are you using? Can you tell me what hardware is connected?
Thank you,
Drew