LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"LLB of that name already exists" Error

Okay, after reinstalling the drivers on my Windows 10 development computer, I was back to square one, with the end-user computer failing to load the DLL.  I reinstalled the NI-8451 driver there with NI Package Installer and the issue was resolved.  Clearly the versions were, indeed, out of sync.  Thank you.  I feel bad for usurping this thread, now that I know my issue was something completely else.  But thank you so much for helping me to fix it.  And I apologize for wasting your time, aeastet, and thank you for your amazing suggestions.  And if you want to point me in the right direction for this task that you mentioned earlier:

"I usually have a populated enum that is populated with available devices so they can pick from devices that are on the system they are using. Once they select the device I save it somewhere (ini file, registry, setup file etc...)"

That would also be greatly appreciated.

But whether you do or not, thank you.

-Danielle

0 Kudos
Message 21 of 28
(1,193 Views)

I use an enumerated value. I look for a value change in an event structure and stop and restart my SPI loop with the new device.

 

example.png

If there is a change in the value in the event I take all of my setup information and save it to my setup file.

It is pretty easy to do. It makes the code more flexible.

Tim
GHSP
0 Kudos
Message 22 of 28
(1,187 Views)

You should also mark the answers that helped you as the solution(s).

 

 

It is also nice to give kudos to the people that gave answers that helped you find the solution.

Tim
GHSP
0 Kudos
Message 23 of 28
(1,184 Views)

Oh, I see - that looks very similar to the icon for the GUI control with the drop-down list that I am already using.  It didn't occur to me to watch for a value change - thanks, I'll try that!  But how do I set the value from a setup file?

 

Unfortunately, I do not see a way to mark any answers as solutions - possibly because I am not the original poster, or possibly because I am so new (and/or because I'm looking in the wrong place?), but I will happily distribute Kudos, thanks.

-Danielle

0 Kudos
Message 24 of 28
(1,181 Views)

You can use property nodes or something like this:

 

example.png

I didn't realize that you were not the original poster. I do not think that you would be able to make the problem as solved.

Tim
GHSP
Message 25 of 28
(1,174 Views)

Oh, yes, I see!  I didn't realize the property node would take a string directly - that's my mistake for not trying it.  This is fantastic - thank you so much.

-Danielle

0 Kudos
Message 26 of 28
(1,166 Views)

@Danielle3 wrote:

Unfortunately, I do not see a way to mark any answers as solutions - possibly because I am not the original poster, or possibly because I am so new (and/or because I'm looking in the wrong place?), but I will happily distribute Kudos, thanks.


As you said, this is because you're not the original poster. They're the only person (except moderators) who can mark a thread as "solved". But there's no restriction based on being a new user or having a low post or kudos count or whatever.


GCentral
0 Kudos
Message 27 of 28
(1,134 Views)

Thanks for the clarification.  🙂

0 Kudos
Message 28 of 28
(1,117 Views)