LabVIEW

cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

I have a data type issue regarding calling. net assemblies

Solved!
Go to solution

@Freddy. wrote:
So the only feasible solution currently may be to write another DLL to pass the structure……

That is your conclusion! 😁

 

I have on occasion gone the path of passing the entire structure into individual parameters through the Call Library Node (and add conditional compile to do the other thing for 64-bit) but yes it is painful and if there is anything else about the API that gets difficult to impossible to handle through the Call Library Node (callback pointers for instance) I always resolve to an additional intermediate shared library.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 31 of 37
(1,339 Views)
My understanding is to split all parameters into one cluster? (I'm sorry, most of the time I use translation, so I don't quite understand some of the meaning.)
0 Kudos
Message 32 of 37
(1,323 Views)

I split the elements in the cluster and imported them into the library function... Obviously, this is not correct. Labview still crashes, so how should I modify the cluster for this library function to function properly?

0 Kudos
Message 33 of 37
(1,318 Views)
Solution
Accepted by topic author Freddy.

@Freddy. wrote:

I split the elements in the cluster and imported them into the library function... Obviously, this is not correct. Labview still crashes, so how should I modify the cluster for this library function to function properly?


That is not what I was explaining to be necessary for structures being passed by value.

 

This is a start of what needs to be done. Sorry for not doing all the nitty gritty work. šŸ˜€

 

MotoES_Cart.png

ā€ƒ

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 34 of 37
(1,294 Views)

Could either of these toolkits be an alternative option?

 

https://www.ni.com/en-us/support/downloads/tools-network/download.robotics-toolkit-for-yaskawa-motom...

https://www.vipm.io/package/imaginglab_gmbh_lib_yaskawa_robotics_library/

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.ā€
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 35 of 37
(1,284 Views)

Good morning, I immediately understood your code snippet! I have completed the remaining work. Well done, labview finally stopped crashing and I got the desired return code!

0 Kudos
Message 36 of 37
(1,273 Views)
This is not a good choice, this third-party library is too expensive. I have already developed the encryption dog for the secondary development module of the robotic arm (the price is half of the robotic arm)
0 Kudos
Message 37 of 37
(1,260 Views)