10-20-2009 04:03 PM
In labview VI. zip FILE which i sent in message 28 . In VIDriver3 . vi , can any one tell me how to write pdata(in) byte wise?
Stacked sequence structure number 1 for write
"I mean to say that first i want to send hex code to the controller of my usb daq card indicating that i am using pwm output channel ,then second time , in the second byte, i want to send the number of pwm channel on which i have to send some value. After that i want to write 10 bit pwm value on the channel which i selected in 3rd and 4th bytes repectively. "
After all of the above process the pic controller in usb daq card will send the same code which i sent before.
Stacked sequence structure number 2 for Read
Now tell me how i can read the code from pdata and confirm that this is the code which i sent before?
One more Question is that how i can read analog inputs from daq card by using pdata and display them on front panel?
10-20-2009 04:13 PM
10-21-2009 12:54 AM - edited 10-21-2009 12:59 AM
Hi Guenter Mueller
These VIs perform the basic usb operations like 1) usb open 2) usb close 3) usb read 4) usb write . As i mentioned before in my post that these VI communicate with my usb daq card but the VI stops within 2 seconds . I think that they are not fake because these VIs return some value of return (read) , return (write) , handle and plength values. but my question remains the same as in message no.28 and onwards messages.
Any one new to this can help me by looking from meassage 28 to onwards. For helping me you have to read the code of the functions which i mentioned before in my post. You can find the code in mhsdlldef.zip in mhs.cpp in message no.17.
Thanks
10-21-2009 07:38 AM - edited 10-21-2009 07:39 AM