Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Rest API - Patch implementation in labview

Solved!
Go to solution

Hello Labview'ns

 

I am trying to update test datas to a database via Rest API . I am able to execute Get, post functionality well. Recently got a requirement to update certain blocks via patch.

Could some one help me here to implement patch using LabVIEW?

If someone already implemented the same , expecting some hints . 

 

Regards

 

 

 

 

0 Kudos
Message 1 of 4
(2,489 Views)

Looks like it's not supported.  Under the hood, NI uses a curl library, so you'll probably just have to implement a solution that calls curl from the cmd line.  I'm about to do the same.  Annoying that they don't break out all the methods.

https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Support-PATCH-verb-for-HTTP-requests/idi-p/3745891

0 Kudos
Message 2 of 4
(2,347 Views)
Solution
Accepted by topic author NI_Follower

This is implemented in LabVIEW NXG. I have converted it for Labview 2020 and its working fine.

 

 

Message 3 of 4
(2,238 Views)

@NI_Follower wrote:

This is implemented in LabVIEW NXG. I have converted it for Labview 2020 and its working fine.

 

 


Ah.  I haven't even looked at NXG.

 

Doing a quick search, it doesn't look like it's possible to convert it.  Can you point me to a page that instructs how to convert, or share the library you converted if it's not too much trouble?

0 Kudos
Message 4 of 4
(2,214 Views)