03-17-2009 06:38 AM
03-17-2009 06:53 PM
Hi dear Shako,
i'm not understand, why you send me message for AI B ?????
You shure excuse me any small comments for your:
1. When you need access on any ports COM or LPT, you NOT NEED INSTALL over 400MB VISA software :-(((( MY GOD !!!!!
2. The VISA not supported PARALLEL ports!
3. Serial ports: For sample under W98/W2K/XP etc. in VB5/6 etc. you can use MCSOMM32.OCX - i think COM1 to COM4 (very easy for use)
4. Parallel port (LPT): you MUST KNOW only base address, under W2K or XP are exist in registry or you can red from w-settings.
5. For input & output on any ports under NT-platform (access on hardware in Ring0 ) existing for sample PORTTALK.SYS or INPOUT32 (hwinterface) or etc.... Please see on web.
I'm use the PORTTALK.SYS ver. 1 (size 7 kB! of 400MB VISA) http://www.beyondlogic.org - very easy and nice work under NT-platforms.
With utility ALLOWIO.EXE you can acces on ports with your old software without problems.
very-very easy calling sample: ALLOWIO 0x378 0xA800 C:\MYPATH\MyproPram.exe
(allowio ver 2 installing porttalk.sys on your system automaticaly.)
Best Regards
Paper
03-18-2009 05:42 PM
Hi Shako,
I'm sure there are other ways of communicating with a parallel port using a smaller software as paper has pointed out, but the supported NI software used for all instrument communication is VISA. VISA does support parallel communication, and has had this capability since version 1.1. Before writing your instrument control code, you can use a program that comes with VISA called Measurement and Automation Explorer(MAX) to test your communication. You can find this program under Start»All Programs»National Instruments»Measurement & Automation. To access your instrument, navigate to Devices and Interfaces»Serial & Parallel, find your parallel port, thn click open VISA test panel at the top. If you are able to communicate with the instrument in the test panels, take a look at the VISA examples (Start»All Programs»National Instruments»VISA»Examples). If not, the problem may lie in the fact that you are not using all pins. Please let me know if you are still having any problems!
03-19-2009 07:33 AM
Hi paper,
Shako, actually, did not send you a message personally.
It is the forum engine that sends those mails to anyone who ever sends a message to a topic.
Since you sent a message to this topic, you'll be informed about any further messages sent to this topic, whether they are directly intended for you or not.
Since I am sending a message now, I'll get e-mails from NI about new messages sent by anyone to this topic.
I hope I could make it clear.
Have a nice day,
03-25-2009 02:40 AM