LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can LabVIEW "read" Microsoft Windows Environment Variables?

Yup takes some work either way to write the code. Is a very good point!

I did provide the directions to get to the .NET API.

Only advantage of the Call Library Node Method I see is it's faster. But do you care if it takes 100 mS instead of 1 mS. For most people no. 

0 Kudos
Message 51 of 53
(119 Views)

@MikeMesolella wrote:

Yup takes some work either way to write the code. Is a very good point!

I did provide the directions to get to the .NET API.

Only advantage of the Call Library Node Method I see is it's faster. But do you care if it takes 100 mS instead of 1 mS. For most people no. 


Some people care about 1.1ms vs 1.0ms. I find that artificial, but 1ms to 100ms definitely is something I wouldn't dismiss as insignificant. 😀

 

But my main point is, if you don't know about DLL function calling and its particular possible problems, .Net is the best solution for you. But if you know about these things quite a bit, I would take direct Win32 API calls any moment of day or night before going .Net. 😁

Rolf Kalbermatter
My Blog
0 Kudos
Message 52 of 53
(94 Views)

@rolfk wrote:

@MikeMesolella wrote:

Yup takes some work either way to write the code. Is a very good point!

I did provide the directions to get to the .NET API.

Only advantage of the Call Library Node Method I see is it's faster. But do you care if it takes 100 mS instead of 1 mS. For most people no. 


Some people care about 1.1ms vs 1.0ms. I find that artificial, but 1ms to 100ms definitely is something I wouldn't dismiss as insignificant. 😀

 

But my main point is, if you don't know about DLL function calling and its particular possible problems, .Net is the best solution for you. But if you know about these things quite a bit, I would take direct Win32 API calls any moment of day or night before going .Net. 😁


And if you're not comfortable using any of these methods, System Exec works just fine.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 53 of 53
(75 Views)