August 23, 2007 at 5:45 am #22200
Hi to all the Twain techies….I am workign on a health care web site which uses asp.net and c-sharp technology. I have to provide the capability of interfacing medical devices like ecg, ct-scan etc that are twain complaint into our application.
So my first query is : Twain standard can be integrated using c-sharp??(which i am sure but still i need to know)
Secondly I am a novice to Twain standard……so where should i start from, if i wana accomplish the the interfacing of twain complaint devices into my application. Lookign forward form some positive response asap
navAugust 23, 2007 at 7:19 am #24060
I can’t think of any reason why a twain app shouldn’t work with C#, but I haven’t tried it (I am only using C)
Do you want to write everything yourself only using the twain_32.dll and twain.h or do you want to use any predevined functions from some opensource code?
If you want to do everything yourself I guess you should start reading the twain specification from twain.org. I think it is a very good explanation of all the different twain-functions.August 23, 2007 at 9:13 am #24061gabeParticipant
- Topics - 9
- Replies - 583
- Total Posts - 592
c# (.net languages etc) are not a problem. and like thecrow99 said, read thru the spec and ask questions here if you have questions. If you have questions about twain from .net I should be able to help with the interop and whatnot if you need it.
.August 23, 2007 at 9:49 am #24062
Thnx gabe, thecrow…….as i metioned i am a novice w.r.t twain standard………i have just been assigned the requirement of integrating twain complaint device into my web application……….for instance i have a ct-scaneer…..the manufacturer provides us with an installation cd…….but instead i want my application to communicate directly with the ct-scanner(which is twain complaint) .
So to achieve this kind of interfacing ,using c-sharp, between my application and twain complaint device…..how should i start ?? As i am already refering to the Twain specification…….is dat all I need or i would require anything else apart from this twain specification??
thnx in advance.
navAugust 23, 2007 at 10:22 am #24063
well I would have a look if there is some opensource code in C# which you might be able to use for your app.
I would also recommend you run something like dosadi twister first to check if your device supports ALL capabilities you need for your app. Would be quite annoying to write a programm and half way through realize that your device is not as twain compliant as you thought.
then there is the TWACK from twain.org which is a Twain Developers Kid and quite useful to get to know the different Capabilities and also useful to get an idea of how twain works.
everything else should be in the specification but usually posting your questions here can be useful too 😉August 23, 2007 at 11:16 am #24064
hi thecrow………i already have downloaded and installed twack. But haven’t used it yet . …U said by using it i would come to know wat capabilities my device support ……..what dat means can u plz elaborate a bit on that…i mean, is not that all twain devices have standard features?? Since as per me the capabilities that will be supported for any device will be selecting a source and then acquiring image from it..??August 23, 2007 at 11:45 am #24065
yes usually twain devices have standard features but there might be certain settings which don’t have to be included in the twain standard. for example file transfer is not included (file transfer means you transfer an image from the source to your app and it is automatically saved to your hard disk, there are other transfer modes which only send a buffer full of data to your app and you have to make sure it is saved yourself). this could be a problem if you want to get a dicom picture from your CT scanner and not just a bmp for example.
there might be certain settings for a CT scanner like view angle you might need which are not included in the twain standard.
so just start twack and go to File->Select Source->CT Scanner
then you do
now you only have to change Capability to CAP_SUPPORTEDCAPS and Container to TWON_ARRAY and press send.
now you should have a list of all caps your device supports.August 23, 2007 at 12:00 pm #24066
thanks alot thecrow for ur help……….n plz keep checking back on this thread….since i will be needing help of all u techies alot
navAugust 23, 2007 at 12:20 pm #24067
no problem just ask if you have any questionsAugust 24, 2007 at 6:11 am #24068
i the crow.i dont know wich version of twain to go for ..i mean i shoudl go for twain 1.9 (since specification is available for 1.9 or below , i guess)…..but twain 2.0 is also released…i i think its sepcification is not avaialbe am i right?? so tht means i shoudl go for 1.9??
thnx in advanceAugust 24, 2007 at 7:09 am #24069
where did you find twain 2.0? as far as I know there is only a paper about what will be new once twain 2.0 is released but no spec or DLL for it, because they are still testing it.August 24, 2007 at 8:48 am #24070
oops…….i just saw…a single doc of it……it was not specification…….my mistake i guess……nwz thnx for clarifying that 2.0 hasn’t been released
- This topic has 11 replies, 3 voices, and was last updated 13 years, 2 months ago by .
Viewing 12 posts - 1 through 12 (of 12 total)
Viewing 12 posts - 1 through 12 (of 12 total)