Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

"Device Identifier Invalid" Error in Published App

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?

0 Kudos
Message 1 of 2
(3,258 Views)


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

Drew T.
Camber Ridge, LLC.
0 Kudos
Message 2 of 2
(3,242 Views)