Hello Everyone !
I'm trying to add with the Veristand API my custom Device. I use GUID and name for adding my custom but all that I have is the main page in Veristand.
I search on the community but it seems that nobody has a solution ... Using the Veristand windows is the only way to add a Custom Device currently ?
Thanks for your help
I've never done that but there is something in the API:
public bool AddCustomDevice(NationalInstruments.VeriStand.SystemDefinitionAPI.CustomDevice customDevice)
Membre de NationalInstruments.VeriStand.SystemDefinitionAPI.CustomDevices
Adds the specified NationalInstruments.VeriStand.SystemDefinitionAPI.CustomDevice to the system definition.
customDevice: The custom device to add.
I know, I've tried to had my custom device with this method but it still doesn't appear in my Veristand project ...
Yes you were right, but even if I had the save .nivssdf, this code still doesn't work for me ...
I've found an other block whitch could do the work, but I have no idea how to configure it
If someone could show me an exemple, I will really appreciate.
I can't help you anymore. But you could try to add it manually, look into the nivssdf xml, then do the same with your program and compare the xml.
Yes I discover the Veristand Simple System Definition API a couple a day. That's very usefull
But I get trouble with itegration of Custom Device. How do you do to choose your custom that you want to integrate ? Could show me an example ?
The folowing code (also attached in this post) uses .NET calls to navigate the SDF file up to the Custom Device section. Once it gets to this section, I used the Custom Device method to add a certain custom device (you need to know the name and GUID) to the SDF and save it.
I am using LabVIEW and VeriStand 2015.
This should solve your problem.
Let me know if you have any doubts.
Hello Guolherme and thanks for your reply,
I currently use the same method as you. It almost works but my custom is not fully integreated to the project ... As you can see on the following pictures, I just get the principal file of my custom. I used Easy Custom Device Toolkit to create my custom, don't know if it changes anything ...
For the GIUD, I use the Main Page GUID name