Home
Community
Discussion Forums
Most Active Software Boards
LabVIEW
Topic
LabVIEW
Register
·
Login
·
Help
Community
Category
Board
Documents
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Topic Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
All Forum Topics
Previous Topic
Next Topic
Struct to C++ dll
Struct to C++ dll
tigerB
Member
11-22-2007
10:56 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
Please help!
C++ code
typedef struct MyStruct
{
char* name1;
char* name2;
char name3[10];
char name4[10];
} mystruct;
int MyFunc(char* name1, char* name2, char* name3, char* name4)
{
}
How to call this to from labview CallLibraryfunction node
0
Kudos
Message
1
of 3
(2,664 Views)
Reply
Re: Struct to C++ dll
Amanda_H
NI Employee (retired)
11-26-2007
02:15 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
Hi,
Here
is a KnowledgeBase article that describes how to call a DLL in C++ with a Call Library Function node in LabVIEW. I hope this helps!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0
Kudos
Message
2
of 3
(2,636 Views)
Reply
Re: Struct to C++ dll
Dravi99
Member
11-26-2007
02:27 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
You can use, Automation Refnum from the controls pallette. use it to select the dll you want to link and select the class( automation refnum) and the method (use invoke node) on the block diagram.
Hope it helps.
0
Kudos
Message
3
of 3
(2,634 Views)
Reply
All Forum Topics
Previous Topic
Next Topic