NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Using TestStand How I pass an array of data into a DLL (IPC3.dll) for serial communication

I am ussing a DLL created by another party. I have the list of the C declaretions. I have been able to write a seq that can turn the comport ON/OFF or select a different port but I have not been able to send or recieved any data. I have created an array of bytes(unsigned 8-bit integers)to send and recieved data but nothing goes out or in.
0 Kudos
Message 1 of 3
(3,459 Views)
Hi Toro,

There is an example in your \Examples\AccessingArrays\PassingArrayParametersToDLL directory that illustrates exactly how to pass TestStand arrays as arguments to dll functions. The source files for the .dll are located in the same directory.

For more information on passing arrays as parameters to modules you should read the "DLL Flexible Prototype Adapter" section of Chatper 13 in the TestStand User Manual, and pay special attention to the subsection entitled "Array Parameters". You can access the User Manual from the TestStand Start Menu group, the TestStand Sequence Editor's Help menu, the \Doc directory, or online at the following link:

http://digital.ni.com/manuals.nsf/websearch/50B69DA356B8D38C86256A0000660E6B?OpenDocumen
t&node=132100_US

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 3
(3,459 Views)

i am using a third party a third party DLL (IOLink.dll) to configure the serial port. but was unable to get the status of the device connected at the other end. can u please debug this. Do i need to add any library files to the VI or do i need any driver files to do that.The configurations i am using are

 

 OS:Windows XP

Labview Version:8.5

 

0 Kudos
Message 3 of 3
(3,186 Views)