VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add Custom Device with the Veristand API ?

Hello,

 

You should use the custom device GUID, not the one from the Main Page.

 

If you select the MainPage GUID, you will have the same behaviour you are getting. 

 

guid.PNG

Guilherme Correa
0 Kudos
Message 11 of 17
(2,488 Views)

The two numbers are the same, aren't they ?

0 Kudos
Message 12 of 17
(2,486 Views)

Can you share your custom device code ? Or at least the XML file?

Guilherme Correa
0 Kudos
Message 13 of 17
(2,480 Views)

Sure ! Thanks for taking some time on my problem

 

See the attach

0 Kudos
Message 14 of 17
(2,478 Views)

According to your XML file, VeriStand is working correctly.

 

You only have the main page in your custom device, there is no extra pages.

 

The missing function for you is having the outputs and inputs channels.

 

Check also this post Programmatically adding VS custom device

 

I supose your initialization VI is correct, because you sent a image with the channel list. Check the SDF when you add manually the custom device if the GUID for the channels are listed there.

 

Now that you have the custom device reference, try to navigate to the section and add the channels. But you need the channels GUID information.

 

add channels.PNG

Guilherme Correa
Message 15 of 17
(2,475 Views)

Yep, i've tried to add your block like in your example, but I get a error 1172

 

Name and GUID have been found in the nivssdf after an manual add.

 

custompng.png

0 Kudos
Message 16 of 17
(2,447 Views)

您好,我现在遇到了同样的问题:可以增加自定义驱动,但是驱动里的子文件夹和通道没有。

请问,您是怎样解决的啊?

Hello, I have the same problem now: I can add a custom Device, but the subfolders and channels in the driver are not available.

 

Excuse me, how did you solve it?

0 Kudos
Message 17 of 17
(1,064 Views)