LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to develop bulk transfer?

Hi,
 
Anyway to develop usb bulk transfer using usbtmc rather than ubs raw?
 
From my understanding, if I use USBTMC below is the block for write the device content in bulk transfer:
 
Open Session--->Visa write---->Close session.
 
will this work. currently i dont have any device sample yet.
setting up it soon.
thanks.
0 Kudos
Message 1 of 7
(3,005 Views)

Hi 3den,

Bulk transfer is actually the default transfer mechanism for USBTMC, so you should be fine there.  Furthermore, the block outline that you described is also appropriate for this type of communication.  Hopefully this helps!


Regards,
Anna M.
National Instruments
0 Kudos
Message 2 of 7
(2,969 Views)
I am very new with VI. I am working on the files of USBRAWCONTROL.vi
 
This 1st pic is the control in mode.
[URL=http://img292.imageshack.us/my.php?image=usbcontrolinel0.jpg][IMG]http://img292.imageshack.us/img292/7976/usbcontrolinel0.th.jpg[/IMG][/URL]
 
This 2nd pic is the control in mode.
[URL=http://img357.imageshack.us/my.php?image=usbcontroloutjy0.jpg][IMG]http://img357.imageshack.us/img357/9043/usbcontroloutjy0.th.jpg[/IMG][/URL]
 
the item inside the red circle of 1st pic is a numeric property (right click >> property). the item inside the red circle of 2nd pic, which i dont very sure what is tht, how to create it, but i assume is a passing parameter.
 
What I dont understand is how to get pass parameter (red circle) in the 1st pic. then link it to the second. How to create the parameter passing?
 
Thanks for help in advance.
0 Kudos
Message 3 of 7
(2,952 Views)
Repost for bigger image:
 
 
thks
0 Kudos
Message 4 of 7
(2,949 Views)
I have found the solution.it is a local variable. Smiley Happy
0 Kudos
Message 5 of 7
(2,942 Views)
 
from the pic above i have developed block diagram. I have this error :
 
Error -1073807346 occurred at VISA Open in Untitled 1.vi
Possible reason(s):
VISA:  (Hex 0xBFFF000E) The given session or object reference is invalid.
 
What is this means?
 
Is there anything wrong with my block? according to application notes, this block shoud be working.
 
I notice in the front panel, my Visa Resource name unable to detect the USB device.
 
I have created the device driver.
 
thanks.

Message Edited by 3den on 02-09-2007 02:13 AM

Message Edited by 3den on 02-09-2007 02:14 AM

Message Edited by 3den on 02-09-2007 02:16 AM

0 Kudos
Message 6 of 7
(2,923 Views)

Hi 3den,

When you said that you created the device driver - did you go to Start>>Programs>>National Instruments>>VISA>>VISA Driver Development Wizard and follow-through the steps there to configure your USB device for use with VISA?  You'll need to do this before your device is listed as a VISA Resource.  There are step-by-step instructions for using the VISA Driver Development Wizard here.

Make sure that you can check in the Measurement and Automation Explorer under Devices and Interfaces to see your USB device there after following this Wizard.  Hope this helps!


Regards,
Anna M.
National Instruments
0 Kudos
Message 7 of 7
(2,879 Views)