04-07-2011 04:40 AM
Hello everybody
I obtain an error when I deploy a SDF that contains a custom device I add using the veristand (2010) API (not using the system explorer to create the SDF, using a program of my own).
The problem seems to come from the veristand API.
I'm sure that my custom device is working :
--> it has been tested on a separate SDF (created manually),
--> if I create a SDF manually then add my custom device (or a custom device part of the examples delivered with veristand) the SDF can be deployed successfully.
I'm sure my program to create the SDF is working :
--> if I inhib the custom device creation using API, the SDF can be deployed with no errors
Here is the error I get :
( Details:Error -307608 occurred at Project Window.lvlib:Project
Window.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand -
Connect to System.vi
Possible reason(s):
NI VeriStand: Le périphérique personnalisé ne fournit pas de
distribution de code source valide pour la cible spécifiée. Spécifiez
une autre cible ou contactez le créateur du périphérique personnalisé
pour obtenir de l'aide.)
Does anyone already has the problem ?
Thank you for your responses
04-07-2011 06:59 AM
I finally found out the problem.
VeriStand is case sensitive to the type of target.
My application (with the API) was adding target with Operating system "Pharlap", which is consistent with the kind of OS you can found in any custom device XML file.
Nevertheless, OS has to be PharLap to deploy without error.