- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - e309x5
Can fortran 77 address usb ports? If so how can impliment?
Fortran, the language, has no concept of USB ports. However, there are many things you can do with USB ports on Windows by calling Win32 API routines from Fortran. (If you're in this forum, Fortran 95/2003 is what you're using.)
What in particular did you want to do with a USB port? The function you want affects how you do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
I am basically trying to communicate with a USB dongle. The code that came with the dongle searches for a parallel port dongle. So when we try to find the usb dongle it doesnt find it. We found another vendor that used fortran 90 and effectively found the usb dongle. Unfortunately we are using fortran 77 which does not support the INTERFACE data structure. Thanks for the response.
Fortran, the language, has no concept of USB ports. However, there are many things you can do with USB ports on Windows by calling Win32 API routines from Fortran. (If you're in this forum, Fortran 95/2003 is what you're using.)
What in particular did you want to do with a USB port? The function you want affects how you do it.
Fortran, the language, has no concept of USB ports. However, there are many things you can do with USB ports on Windows by calling Win32 API routines from Fortran. (If you're in this forum, Fortran 95/2003 is what you're using.)
What in particular did you want to do with a USB port? The function you want affects how you do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Whose compiler are you using? If it is not Intel Visual Fortran or Compaq Visual Fortran, you'd need to ask in the support forum for that other compiler.
Generally, when using a USB to parallel port converter, there is a new LPTn port defined and you would interface to that using the traditional methods for accessing parallel ports.
Generally, when using a USB to parallel port converter, there is a new LPTn port defined and you would interface to that using the traditional methods for accessing parallel ports.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page