Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Sunday, December 20, 2009 10:13:25 PM(UTC)
xiopmsimon

Groups: Registered
Posts: 3


 I meet a problem with DicomPrn example in leadtools 14.0 that it cannot associate to the DICOM printer when the computer has two networks. Like an interior net(192.168.1.X) and a external net(124.114.175.X). If external net is not connected(pull out the net wire), and the interior network is connect to the printer network, it can work well. If external net is connected, it cannot work even associate.
 Is there a bug? And have it been modified in Ver16?
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, December 21, 2009 1:12:59 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Are you using the C++ Classes? If yes, the LDicomPrintSCU class has 2 overloads for the Associate() member function. One of them allows you to specify the IP address of both the SCU and SCP. If you give it the IP address of the interior network card, it should work even if the other card is connected.
 
#3 Posted : Monday, December 21, 2009 10:16:17 PM(UTC)
xiopmsimon

Groups: Registered
Posts: 3


I  can use Connect() with LDicomNet to specify the SCU IP address, but I donot know how can I do it with LDicomPrintSCU.
 
#4 Posted : Tuesday, December 22, 2009 6:33:55 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)


Associate has another overload that has SCUIP and SCUPort. The demo does not use this overload.

L_INT LDicomPrintSCU::Associate(pszPrintScuIP, uPrintScuPort, pszPrintScpIP, uPrintScpPort, pszCalledTitle, pszCallingTitle, uSupportedClasses)

Please try to use it and let me know if it fixes your problem.
 
#5 Posted : Wednesday, December 23, 2009 3:36:28 PM(UTC)
xiopmsimon

Groups: Registered
Posts: 3


It cannot be compiled When I used the overload function below.

L_INT LDicomPrintSCU::Associate(pszPrintScuIP, uPrintScuPort, pszPrintScpIP,
uPrintScpPort, pszCalledTitle, pszCallingTitle, uSupportedClasses)

error C2660: 'Associate' : function does not take 7 parameters

 
#6 Posted : Thursday, December 24, 2009 5:17:24 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

In my copy of version 14 LTDIC.H, there are 2 overloads as follows:
1) L_INT LDicomPrintSCU::Associate(pszPrintScuIP, uPrintScuPort, pszPrintScpIP,
uPrintScpPort, pszCalledTitle, pszCallingTitle, uSupportedClasses)

2) L_INT LDicomPrintSCU::Associate(pszPrintScpIP, uPrintScpPort, pszCalledTitle, pszCallingTitle, uSupportedClasses)

If you have an older build, please send your toolkit serial number to support@leadtools.com (do NOT post it here) and we will give you the latest setup download instructions.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.073 seconds.