Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL linker Labview

Hi,
 
I have a question about DLL link,
Agilent has a software for Excel or Word automation,
this software can downlown from Agilent web side,
and software name is "IntuiLink 4395A/4396B/4294A Automation",
I want to use LabVIEW link "AgtServer4395.dll"  of one`s files,
this software has document help as below,
-->Returns a bitmap image of what is currently displayed on the instrument's display screen.
-->Syntax
-->Object.GetScreenImage[(varScreenImage )]
-->Data Type
-->Picture
-->Settings
-->formatAs Agt_ImageFormatdefines the format for the image.The format can be set to BMP,GIF,TIF,JPG,WMF or EMF.
-->Description
-->Returns an image (bitmap)of the instrument's front-panel.
-->Technical Note 
-->Differences in the rendering engines will cause a noticeable difference in the appearance and placement of text.Differences in rounding ---->algorithms may cause verysmalldifferences in the appearance of waveforms against the graticule.
-->Remarks
-->キ You can use the GetScreenImage method to insert the screen image in a control (such as Image or PictureBox)or you can save the screen image in a variable declared as a Picture.
-->キ This method extends the timeout value in effect to allow for execution and then restores the timeout value to the one set by the Timeoutproperty.
-->キ This code inserts the screen image in an image control.
-->キ Set Image1.Picture =Server1.GetScreenImage

-->キ This code will set the variable screenShotto the screen image and then insert it in an Image control.
-->Dim screenShot As Picture
-->Set screenShot =Server1.GetScreenImage
-->Set Image1.Picture =screenShot
 
but I still can not used this  "AgtServer4395.dll"  to link to LabVIEW,
I want to use GateImage Function,
So, Could you Help me check this DLL file ?
 
 
Best Regards,
Angus


由 AngusCheng 在 06-07-2008 02:41 AM 上編輯的訊息

由 AngusCheng 在 06-07-2008 02:44 AM 上編輯的訊息

由 AngusCheng 在 06-07-2008 02:45 AM 上編輯的訊息
0 Kudos
Message 1 of 7
(4,656 Views)

Hello.

看起來是 Visual Basic 的DLL.

您必須要使用 Active container & property node & invoke node.

Thanks

0 Kudos
Message 2 of 7
(4,606 Views)
我使用ActiveX 的 Container 去連結可是只能控制一些初始設通訊的設定
除了使用ActiveX的方法,不能使用其他的方式去連結了嗎?
麻煩你在幫我看一下
 
這是Aglient所提供的資訊,
Recommended for:
キ Visual Basic
キ Visual C++
Name: AGTSERVER4395 Automation Server
Description: AgtServer4395Lib
File Name: AgtServer4395.DLL
 
 
Agilent 4294A, 4395A, and 4396B Impedance Analyzers IntuiLink Version 1.0,
0 Kudos
Message 4 of 7
(4,590 Views)

Hello,

不好意思,

我可以連結了

我用錯方法.......謝謝你的Sample code

Thanks

0 Kudos
Message 5 of 7
(4,587 Views)

Next time you can post to ni.com/taiwan/forum.

Thanks

NI Taiwan AEs

0 Kudos
Message 6 of 7
(4,583 Views)

Link off.

0 Kudos
Message 7 of 7
(2,926 Views)