01-08-2008 06:56 PM
01-09-2008 09:50 AM
OttoBerge,
INF files have dependencies based upon the operating systems. Another item to keep in mind is that Windows Vista stores files in different locations than Windows XP. With regard to your current situation one way to address your current situation is to rebuild the driver on the XP machine. This would ensure the both the driver and the INF files are built and compliant for Windows XP. If you would like to create an INF file that is cross-platform see Microsoft Developer Network. However, if you read the first sentence in the article, "The simplest strategy for cross-platform INF files is to create a separate INF file for each platform type because this approach is the easiest to create and maintain."
01-09-2008 01:04 PM
01-09-2008 01:59 PM
01-09-2008 06:41 PM
01-10-2008 09:53 AM
OttoBerge,
I have a couple of additional questions. What type of pipe flow does your USB device use (Interrupt, Bulk and Control)? If you send viUsbControlIn command using Vista OS inside of MAX do you still get the error BFFF00078? What is the specific USB device you are using (make and model number)?
01-10-2008 11:05 AM
01-10-2008 12:24 PM
I have a couple of additional questions. What
type of pipe flow does your USB device use (Interrupt, Bulk and
Control)?
Control
If you send viUsbControlIn command using Vista OS inside of
MAX do you still get the error BFFF00078?
In MAX on my Vista system it doesn't report any errors when I send a command in viUSBControlIn, it also doesn't send any data back either. Hower when I use the "VISA USB Control In" in the vi I wrote with the same command (see vi attached above in the *.zip) it gives no errors and also returns data.
While in LabVIEW if you search examples for USB Raw you will find several examples. Let me know if you can use these to communicate with your device.
In USBRawControl.vi example running on Vista, I obtain the same results as I did in MAX above, no error and no data returned. As note I used this example vi orginally to write my custom vi, so it seem strange it doesn't work now.
What is the specific USB device you are using (make and model number)?
All information obtained from MAX
XP Vista
ID USB0::0x1781::0x0A98::708250::RAW ID USB0::0x1781::0x0A98::708250::RAW
Device Type: USB Raw Device Manufactuer: raphnet.net(0x1781)
VISA Alias on My System: Blank Model: USBTenki(0x0A98)
Serial #: 708250
Interface #: 0
One more thought, can you use the
shipping examples using VISA to communicate with your device?
Can you explain what shipping examples are.
01-10-2008 01:14 PM
OttoBerge,
The LabVIEW shipping examples are examples programs that come included when you install LabVIEW. If you open LabVIEW>>select Help>>select find examples>>click search tab. Search for USB Raw, this will pull up a list of some example code that uses USB Raw. I want to see if you can communicate with your device using this example code. You may want to specifically try USB Raw - Control.vi example.
01-10-2008 01:47 PM