DVTk (Main) Forum Index
   All Posts (schanzer)

 Bottom   Previous Topic   Next Topic



Re: Dicom Cookbook ?
Not too shy to talk
Joined:
2010/1/20 15:24
Group:
Registered Users
Posts: 5
Level : 1; EXP : 34
HP : 0 / 8
MP : 1 / 83
Offline
Hello Ray,

could you please send me a copy of this cook book too?

My address: kinderm@gmx.de

Regards,

schanzer.

Posted on: 2010/3/12 10:39
Transfer the post to other applications Transfer
Topic | Forum


dvtcmd.exe needs tons of additional dll file to run
Not too shy to talk
Joined:
2010/1/20 15:24
Group:
Registered Users
Posts: 5
Level : 1; EXP : 34
HP : 0 / 8
MP : 1 / 83
Offline
Dear DVTk Team,

is it possible to deploy only one single dvtcmd.exe file that contains all dll? In older version of DVT this was the case. Now all these "DvtkApplicationLayer.dll", "DVTK.dll",.. files have to be in the same directory of dvtcmd.exe otherwise it doesnt run. In my C++ Unit test application I would like to control only one file and not around 20. Is there something ongoing in this direction?

Regards and thanks,
schanzer.

Posted on: 2010/2/11 12:01
Transfer the post to other applications Transfer
Topic | Forum


The type initializer for 'Dvtk.Sessions.ScriptSession' threw an exception.
Not too shy to talk
Joined:
2010/1/20 15:24
Group:
Registered Users
Posts: 5
Level : 1; EXP : 34
HP : 0 / 8
MP : 1 / 83
Offline
Dear DVTk User,

i know this exception was already discussed here but the information there didnt help me. I am using DVT 2.2.1 since i have a 64-bit machine (windows xp).

I am trying to implement the Storage SCP Example in the Developer->Example section in Visual Basic. I added all .dll's to my project (Add reference). I took the source code given in the example and i constantly get the above mentioned exception:

"The type initializer for 'Dvtk.Sessions.ScriptSession' threw an exception."

when calling the DicomThreads' initialize function. This happens only when i start the program in the Visual Studio (pressing F5). When i start the script in the DVT GUI it seems to work, but i want to have debug information therefore i want to execute the program in the Studio.



Class MainDicomThread
Inherits DicomThread

Protected Overrides Sub Execute()
'Some code...

End Sub

End Class

Module DvtkScript

Sub Main(ByVal CmdArgs() As String)
Dim theThreadManager As ThreadManager = New ThreadManager

Dim theMainDicomThread As MainDicomThread = New MainDicomThread

'->>>>>>>HERE IT CRASHES
theMainDicomThread.Initialize(theThreadManager)

End Sub

End Module


The 2 attached images show the references i use.

Maybe somebody knows how to cope with this problem.

Thanks,
schanzer.

Attach file:



jpg  Aufnahme1.jpg (125.46 KB)
1425_4b684bb9d14d0.jpg 917X399 px

jpg  Aufnahme2.jpg (100.83 KB)
1425_4b684bc2c1a23.jpg 866X308 px

Posted on: 2010/2/2 17:02
Transfer the post to other applications Transfer
Topic | Forum


Re: Multiple nested connections within the same DVT Session
Not too shy to talk
Joined:
2010/1/20 15:24
Group:
Registered Users
Posts: 5
Level : 1; EXP : 34
HP : 0 / 8
MP : 1 / 83
Offline
Thanks for the answer! I will now have a look how to use the HLI interface to cope with this issue.

Schanzer.

Posted on: 2010/2/1 11:33
Transfer the post to other applications Transfer
Topic | Forum


Multiple nested connections within the same DVT Session
Not too shy to talk
Joined:
2010/1/20 15:24
Group:
Registered Users
Posts: 5
Level : 1; EXP : 34
HP : 0 / 8
MP : 1 / 83
Offline
Dear DVT-Users,

I am using DVT version 2.2.1. I am using 64-bit windows. I was not able to make the latest DVT work on it. But 2.2.1 works. But my problem has nothing to do with 32- or 64-bit.

I have a C++ Unit test program that wants to communicate with the DVT. My unit test program acts as a Q/R SCU to find specific images and, in the same unit test run, it acts as a Storage SCP to retrieve the found images from DVT.
On the DVT side i use a Script to communicate with the unit test application. The script first receives a Q/R FIND/MOVE association request coming from the unit test application and later on it serves as a StorageSCU by sending a "Abstract Storage SOP" Association request to the unit test application where already a SCP thread is running. This Storage association is opened within the still running Q/R Association. The problem is, that in my test scenario, i am not able to initiate the Storage Association within an open Q/R connection. The listening ports of the unit test storage scp and the dvt q/r scp are different ones.

Each of these associations performed stand-alone - not nested - work fine.
Boiling down this whole issue i would like to know if the following statement is valid within the same session and the same .ds-file (SOP classes are specified):

/**** DVT is Q/R - SCP --- ASSOC-RQ comes from unit test ***/

RECEIVE ASSOCIATE-RQ (
PRESENTATION-CONTEXT-ITEMS
("Patient Root Query/Retrieve Information Model - FIND SOP Class",
"Implicit VR Little Endian")
("Patient Root Query/Retrieve Information Model - MOVE SOP Class",
"Implicit VR Little Endian")
)

SEND ASSOCIATE-AC (
PRESENTATION-CONTEXT-ITEMS
("Patient Root Query/Retrieve Information Model - FIND SOP Class",
0,
"Implicit VR Little Endian")
("Patient Root Query/Retrieve Information Model - MOVE SOP Class",
0,
"Implicit VR Little Endian")
)

/**** DVT is Storage - SCU --- application-owned Storage SCP is started within the Unit test ***/

SEND ASSOCIATE-RQ (
PRESENTATION-CONTEXT-ITEMS
("Abstract Storage SOP Class", "Implicit VR Little Endian", "Explicit VR Little Endian", "Explicit VR Big Endian")
)
RECEIVE ASSOCIATE-AC (
PRESENTATION-CONTEXT-ITEMS
("Abstract Storage SOP Class", 0, "Implicit VR Little Endian")
)

I would be happy if somebody could answer me this question. Thanks in advance!

Schanzer.

Posted on: 2010/1/29 17:40
Transfer the post to other applications Transfer
Topic | Forum



 Top



[Advanced Search]