キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

etcd

Has anyone looked at how to implement an etcd (etcd | Home) interface in LabVIEW?

0 件の賞賛
メッセージ1/3
1,335件の閲覧回数

No, but a brief look shows that it uses HTTP(S) as transport and JSON as message format. Both are the hard part to solve and certainly available as existing libraries, so it should be fairly straight forward. Now you need to implement some string formatting and parsing to put together the right JSON body, send it off through the HTTP Client library and parse the result and that should be it.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 件の賞賛
メッセージ2/3
1,284件の閲覧回数

Good suggestions, thanks.

 

My current application is very limited, so I solved it by downloading etcdctl. I put the etcdctl.exe file in the LV application folder, so I can use the application folder constant to give a fully-qualified name that can be passed on to System Exec.vi. I handle the JSON decoding with very specific code extract the data I need.

 

The reason I am doing this is that we have a control system for a radio telescope that uses an etcd key/value store for monitor points and commands. I was getting frustrated trying to do a python implementation that I could paass on to someone to use on a laptop in the field. Setting up Pythoon with the relevant packages was a pain. but with LV I can easily create an installer that includes the etcdctl.

0 件の賞賛
メッセージ3/3
1,261件の閲覧回数