ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview .NET API Database Constructor Node can not associate DBC in veristand

Hallo everyone,

I want to modify the system definition file of Veristand through the VeriStand .NET API of Labview. I refer to the tutorial in this link and add a CAN port in Veristand through the API.

https://www.ni.com/docs/en-US/bundle/veristand-net-api-reference/page/vsnetapis/lv_sysdef_creating.h...

My VI screenshot is as follows:

jiayisong123_0-1723513937518.png

The port can be added successfully but I received the following error in Veristand, showing that there is no such database:

jiayisong123_1-1723513978096.jpeg

But I am sure that there is already such a database in Veristand:

jiayisong123_2-1723514009521.jpeg

It seems that this node does not work. The version I use is Labview 2023 Q1 and veristand 2023 Q4.
Do you have any ideas about this problem?

 

 

0 Kudos
Message 1 of 2
(654 Views)

You need to first add the database to the target.

Reference: System Definition Examples — niveristand-python 3.1.0 documentation

 

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 2 of 2
(606 Views)