Home › Forums › TWAIN Classic › Urgent!!!! need clarifications regarding TWAIN
- This topic has 11 replies, 3 voices, and was last updated 16 years, 8 months ago by navdeeprana.
- AuthorPosts
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
cheerss…..sssssssssss
navI 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.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.
.
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.
navwell 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 😉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..??
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 Scannerthen you do
Special->Load/Open SM
Special->Open Source
Special->Send….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.
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
cheerrrrrsss…..ssss
navno problem just ask if you have any questions
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 advancewhere 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.
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
- AuthorPosts