 Daklu
		
			Daklu
		
		
		
		
		
		
		
		
	
			03-17-2010 08:29 PM
rolfk wrote:
The more usual case is to build a LabVIEW driver that has two modes.
Or, if your driver is a class, you can simply derive a child class as a mock driver and override the important class driver methods with simulated functionality in the mock driver methods.
 rolfk
		
			rolfk
		
		
		 
		
		
		
		
		
	
			03-18-2010 01:41 AM
That has some advantages to a functional driver, but I do not see a big advantage in it. Since the public API functions all eventually call into communicating with the not existing hardware, you either have to overwrite all public functions or dig down into the driver and also start to overwrite some common low level functions. I don't think overwriting private class members is something that would be possible in a good OOP design so you have to make also low level changes to your driver anyhow.
With a simple VI approach I only add a dual mode to the low level communication VI that does the actual sending and receiving and another one to all VIs that need to return some meaningful data despite that they do not get much useful stuff from the low level communication handler.
 emrya
		
			emrya
		
		
		
		
		
		
		
		
	
			05-22-2010 12:46 PM
Hi Intaris,
Thanks for sharing your knowledge. I understand how to get data from a HID device using labview.
But how can I send data to HID device using labview?
 nnarra
		
			nnarra
		
		
		
		
		
		
		
		
	
			07-28-2010 01:13 AM
Hi Intaris,
I want to to USB Communication with CDC Class USB Device. If any example vi, or any information regarding how to develop driver can be helpful,
Regards,
Bujjin
07-28-2010 01:22 AM
You can use the information I have supplied here together with the class definition for CDC devices on the usb.org website. There are 10 documents on the subject depending on exactly which type of device you are trying to interface with.
I don't have any further information, sorry.
Shane
07-28-2010 04:11 AM
 yytseng
		
			yytseng
		
		
		
		
		
		
		
		
	
			10-28-2010 12:39 AM
How to generate the zero packet on the Bulk-OUT pipe by NI-VISA?
10-28-2010 01:12 AM
Please start a new thread.
I don't know what youmean by "zero Packet".
Shane
 yytseng
		
			yytseng
		
		
		
		
		
		
		
		
	
			10-28-2010 01:29 AM
 cha_lion
		
			cha_lion
		
		
		
		
		
		
		
		
	
			07-27-2011 10:04 AM
I am currently developing an interface for labview multimeters brand TENMA 72-7732 by a USB cable. If possible using a program with a file extension ". DLL". or if there are other ideas! because I do not get solved this project using a visa with interrupt transfer type. For I have not found a solution by using the functions URB
I lost a lot of time searching for a solution so I would like a quick help