Hi,
The arguments are passed as a single string "command_line"
Marcel
Hi,
The arguments are passed as a single string "command_line"
Marcel
Hi,
The (ancient ;->>>) code is in dgate.cpp.
A string is made containing the converter and selection in function prefetch_queue (at line 12257, called from line 6154). This string is passed into function into_queue_unique. The fact that your log shows both entries means that into_queue_unique returned true, i.e. entering succeeded.
So likely something goes wrong when processing the queue. The queue is handled by prefetchprocess (line 12195) which calls WinExec() at line 12236.
What you can do to test is replace your two batch files by two lua files, and see if it fails in the same way. This would exclude a problem in WinExec itself. In lua the parameters are in command_line.
regards
Marcel
Hi, I am sorry,
it processes and deletes anything it finds, this is the mechanism by which it knows it is done. Ignoring files would lead to endless retries.
Marcel
Maybe you can convert you order string into an accession number e.g. by hashing. You have control over this item in the MWL.
Marcel
Try:
ifequal "%m","DX";lua/process_us_images.lua
if the script is in the lua folder.
Marcel
try:
dgate64 "--modifystudy:,[[SIUID]],lua:Data.AccessionNumber=[[12345]]"
The quotes "" are needed for the OS. [[12345] is a form of lua string.
Marcekl
From extensions:
Hi,
best pass the required level and window to the convert to jpeg command, rather than let it be done automatically.
Marcel
Sure,
I think you can add the script to set accessionnumber directly to --movestudy: Quoting strings is usually the most difficult part. If you use lua: you can use [[string]] to avoid needing extra quotes.
Marcel
On windows GUI try 'modify this study' and put:
Data.AccessionNumber = '12345'
in the code box.
Marcel
That is correct,
we used the mechanism in our own software as follows:
[Application]
AE=W%IP%;666
Can you use a script to set your AE title? Or can you use C-GET to retreive images?
Marcel
Hi,
you can use something like
V* * 1234 un
This means that once an AE find this line, the remaining letters after V e.g. V127.0.0.1 will be used as IP address. Your clients need to be call V followed by their IP address.
Hope this helps.
Marcel
Hi Conquest does not change any text in the object, although the database might. Flags utf8todb and utf8fromdab may help. But your viewer must be able to handle it.
Marcel
Hi Jens,
I haven't used ODBC in ages, but I remember SQL server could use a login in odbc. But maybe not Mysql. I could potentially make the password scriptable, so you can set it at runtime, but I am not sure what that would help us. I guess the other option is to pass an encrypted password to mysql (not syre how to do that), e.g. if the password is set as e.g. as #6y9f87djfjkfhxcdf-0898 (where # defines having an encrypted password).
Marcel
Hi,
You have single backslashes around \%i\, these must be doubled. Or use [[string]]. I guess this may otherwise work.
Marcel
Hi,
you select SQLSERVER. I think username and password are ignored in dicom.ini.
Marcel