Question about usb in labview

I am currently doing a project about designing standalone data acquisition module with USB 2.0 interface.
For the hardware, a USB FIFO chip(FT245BM) is used to communicate with PC via USB with the driver DLL provided by the manufacturer (FTDI).
I want to use labview (version 7.0)to develop a data logging software and I learned that the functions in the DLL could be called by the 'library call function node' in labview.
My question is:
1.Apart from labview, do I need to intall Measurement and Automation Exploere to configure the hardware before I use it in the labview?
2. I noticed that the type of call in labview should be configured as either 'c' or 'stdcall'. My knowledge about C/C++ is poor, could someone explain them in
detail and which one shall I choose?
3.I heard that not all the DLLs could be used in labview (due to the problem of different format???). I don't quite understand about this. Could anyone be kind to explain about this as well?
Many thanks!!!

Xiaohui wrote:
> I am currently doing a project about designing standalone data
> acquisition module with USB 2.0 interface.
>
> For the hardware, a USB FIFO chip(FT245BM) is used to communicate with
> PC via USB with the driver DLL provided by the manufacturer (FTDI).
>
> I want to use labview (version 7.0)to develop a data logging software
> and I learned that the functions in the DLL could be called by the
> 'library call function node' in labview.
I assume your chip comes with a Software Development Kit (SDK) with a
ready made driver. This driver consists of a kernel mode driver and the
user mode shared library (DLL). LabVIEWs call library node can be used
to call such user mode DLLs.
> My question is:
> 1.Apart from labview, do I need to intall Measurement and Automation
> Exploere to configure the hardware before I use it in the labview?
Very unlikely, as the driver which comes with your SDK for the chip will
be not configurable at all in Measurement & Automation Explorer (MAX).
MAX really is only to configure National Instruments hardware devices
and to some lesser extend external measurement devices connected through
the GPIB, VXI and PXI bus.
The NI-VISA driver 3.0 which comes in LabVIEW 7.0 can also directly
communicate with the raw USB interface of some devices. If you want to
use that interface you would NOT install the driver for that device and
would configure that device in MAX instead. You do need to know the
manufacturer ID and Device ID of your USB chip for that. Also the
programming in LabVIEW through the VISA functions is possible but it is
not very simple and completely dependant on the implemenation of the USB
communication by that chip. There are some documents on Developer
Exchange and also some discussion topics here on this forum about VISA
and USB communication.
> 2. I noticed that the type of call in labview should be configured as
> either 'c' or 'stdcall'. My knowledge about C/C++ is poor, could
> someone explain them in detail and which one shall I choose?
Most Windows DLLs use stdcall but this is not a must. If you get it
wrong you will simply crash LabVIEW. The documentation or if that
doesn't work the header file which comes with the DLL should give you
this information, although for the header file you need to know a little
C to understand where it shows this.
> 3.I heard that not all the DLLs could be used in labview (due to the
> problem of different format???). I don't quite understand about this.
> Could anyone be kind to explain about this as well?
Windows DLLs should be fairly standard. The only problem could be .Net
assemblies which are not really DLLs but a complete archive of DLL's
documentations, certificates and, and, and!
It's still very unlikely that a device would come with a .Net assembly
instead of a simple DLL with the according API.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • About to purchase but question about usb access to Sony DVD-RW camera

    I am on the verge of purchase of a macbook and it would be my first mac at that. Specifically, I am looking for information on using the usb connection between my camera and the macbook. I am coming from the Windows world, and the camera software is windows only. I record my stuff in VR mode, and when I plug in via usb the windows software allows me to pull off the VRO files. Then I have another windows program that is able to read the VRO files and I can move them around (I don't edit the contents of the VROs), put transitions and then create a dvd. My question when moving to the macbook, can I still record in VR mode and then when done recording, without finalizing the disk, hook the usb cable to the macbook and it will be able to read those files? I read in other posts something similar but not definitive that it could not do this. There might be other software (ie, something call readDVD) that might be able to but could not determine, for sure, that it could do this over the usb (since I can't pull the 8CM disk and put it in the non-tray DVD drive). Or is there a better suggestion, please be kind that I don't know what is possible on the MAC.
    For what is it worth, my scenario that I have put up with (because it gave me results that were adequate) on the windows side, had me record in VR mode and it gave me control over all the individual segments (hitting record and then stop is a segment) that I could manipulate individually with the windows software. I don't know enough about what is possible with the usb connection and the software on the MAC to know what to expect out of the box and if I have to buy additional software (to pull the movies off the video camera). If I recorded in Video mode, and then finalized and then hooked the usb cable to the macbook, would the resultant files be able to be read by iMovie? If so, would it be the individual segments or would it be one be movie (ie, all segments rolled up into a/many vob(s))? I want to be able to join many segments from many different disks onto one dvd. Maybe that is the crux of my question and may really be better suited for the iMovie forum rather than this one. If, so, please forgive my ignorance.

    Welcome to macbook forum,
    Could you post your camera model / type, so we can check that out for you in order to give you better answers.
    Or you can check this link for camcorder that supported on new iMovie 7.x.x.
    http://docs.info.apple.com/article.html?artnum=306171
    Good Luck.

  • Question about USB power adapter

    hey guys, i have a question, i have an USB power adapter as a charger for my itouch and I accidentally dropped the USB power adapter on the floor. would it get damage? and if it's damage, would it be advisable to charge my itouch using it? would it damage my itouch?

    Hi,
    Bizzarre question!
    How far did it fall?
    Do you have carpet?
    Is it Cracked?
    *No one here can give advice on that without fear of being sued*
    Good luck,
    Dud.

  • Urgent: question about timing in LabVIEW

    Good Evening ..
    First of all, I'am a labVIEW beginner so be easy on me!
    I want to check if an input has the same value for a certain amount of time, for example, if some input has a voltage above 2 V for 10 seconds, how can I express that using a formula node ? If it's not possible then what should I do ?
    I wrote the following program:
    int i,j ;
    for (i=1;i<=10;i=i+1)
    if ( A>2)
    j=j+1;
    if (A >2 && j==10)
    { B = 1; }
    else B = 0;
    the value has to match the condition for the whole period, I know that my code doesn't gurantee it but that's what I could think about!
    I need to make the steps between i increments seperated by one second, but I don't know how to make LabVIEW understand that!
    I would appreciate it if someone told me how to do so
    Best Regards

    As has been said, you really should check out some of the online tutorials:
    LabVIEW Basics
    LabVIEW 101
    With that said, I think you want to get away from using the DAQ Assistant and use some of the more basic nodes.  You can actually set the sample rate of the DAQ and that will be constant.  So you can then get a sample and compare it.  If the value is in the right range, increment a counter.  If it isn't, reset the counter.  Once the counter reaches a certain amount, you are done.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    High for 10 seconds.png ‏22 KB

  • Question about USB mice using

    Can anyone please let me know whether any precautions need to be taken when using a mice ; generally is there any need to exert caution while connecting and removing the mice from USB port.
    As of now, the mice is being detected automatically and there is no icon for "safely remove hardware" .
    Thankyou very much
    Best Regards

    Hi Karthik,
    When an external device is connected to your notebook it it will usually transmit and receive data in real time. Consider your USB Mouse, you click one of the buttons and this is transmitted to your notebook where it is acted upon by the operating system. In effect this occurs in real time and there is no buffering of data to worry about so the device could be unplugged at any time without the need to 'Safely Remove Hardware'.
    Now consider a USB attached hard drive. In this case if data is being written to the hard drive (or read from it) then this does not occur in real time since the data is 'buffered' in transit in order to optimise the hard drive utilisation. A similar system is used when ripping/burning CDs and DVDs. In this case the 'Safely Remove Hardware' option is used to ensure that the last bits of data are cleared from the 'buffer' before the device is disconnected. If this were not done then some data loss would be experienced when the device was disconnected.
    Since your mouse is not transferring data it is therefore not using any buffering.
    regards,

  • Questions about USB sound blas

    I just got the Creative USB Sound Blaster Audigy 2 NX, and I simply love it. It was well worth the $0 I paid for it with a gift card I had to blow anyway. I have come to expect quality from Creative, through 2 sets of speakers, an MP3 player, and now a USB sound device.
    I do have a question though. I've got USB . in the machine I use the device in. I'm wondering if it would make any difference to use USB 2.0?
    Also, there was a very large cable that came in the box that I couldn't find out what it was. Do I need this cable? My music is working great right now, but I'm wondering if I need that cable.

    The USB-6008 is supported by both DAQmx and DAQmx Base, so you can
    definately use a USB-6008 with Visual Basic 6 through the DAQmx
    API.  Information on how to get started can be found at this link:
    http://digital.ni.com/public.nsf/websearch/B22FE2B0F9C8935286256E920073DA07?OpenDocument
    While the DAQmx driver is the preferred API under Windows, you may also
    use the DAQmx Base driver with VB 6 if you prefer.  It is slightly
    more work to set up however.  Instructions on how to do that can
    be found at the following link:
    http://digital.ni.com/public.nsf/websearch/A21A013CA229A5988625703E0025A8AE?OpenDocument

  • P35 Neo Questions about USB boot speed

    Hi all,
    I setup a MSI P35 neo2 system over the past month and I am having one issue that is SLOWING me down..
    When booting from any USB stick in any USB port it seems like the mobo is using USB1 or USB1.1.  So my PE 2.0 takes about 15 minutes to boot.  I have searched the forums and net over and over and found nothing.  Tried disabling USB Legacy support, which only makes the bios not recognize the USB stick.  I have 3 bootable vista pe USB sticks and I boot 10 different dell models, NF4 and the Abit.  They all boot at USB2 speeds (less than 1 min).  I checked all the ports in windows with everest and sandrasoft, all seem to work fine in windows, but booting is still slow.  Is there some secret menu to turn on usb 2.0 only in the bios?  My Abit P35 system has no problems like this, but I really like the MSI!
    TIA

    AngelTudorache Please don't hijack and resurrect nearly 4 year old threads. I shall split your post off and then this thread is locked.

  • A question about USB 2.0 on the Macbook

    Hi there,
    I've been having problems on my Macbook and Powerbook with my Audio Kontrol 1 USB 2.0 audio interface cutting out randomly. I've tried new USB leads etc to no avail. Is the USB on the Macbook full powered 500ma port? I would have thought the USB sockets on the Macbook were fully USB 2.0 compliant?
    Thanks for your help!

    As Kappy states your MacBook is fully USB2.0 compliant.
    I'm not real familiar with the Audio Kontrol 1 but make sure you have your firmware up to date. You might also check Native Instuments forums and see if you can find out any further info. that might be helpful if you haven't already.

  • Question about USB & Firewire cards

    For years we've been used to the Mac way of combining USB and/or firewire ports on to one bus. Plug in a slower device and the other faster devices on SEPARATE ports may slow down to the slower speed (depending on your Mac model, configuration, etc.).
    I am looking at PCI cards for USB, firewire, and esata and non of them I've seen mention this. Is it safe to assume that most of them truly have an individual bus per port? In other words, if I plug a slower device into one port, will the other ports generally continue to operate at higher speeds? For instance, if a card has three FW 800 ports, but I plug a 400 device into one of them, will the other two continue to operate at 800 speeds?
    Anyone have any recommendations for a good USB & Firewire 800 & 400 card that will negotiate speed per port like I am asking?

    It's not a good assumption. Read the adapter's complete specifications carefully, or if you already have the adapter, you can look at the system profiler to see how many separate buses it has.

  • Question about USB AC-Char

    Hi i was trying to find an AC Adaptor to charge my zen micro everywhere i go, i found those from Creative and these:
    http://images.auctionhelper.com/images/9433/TC%20mpx200.jpg
    Is it safe to use a charger like that in my zen micro?
    Does anybody use it's
    thanks

    A lot of people have asked this question and even tried the charger from the RAZR, but it won't work. It dosen't put out enough power for the player.

  • Question About USB?

    I have a application for create pdf files from a file scan with scanner
    is posible tarantalla can use the scanner of remote machine and send the
    image to convert in the server to pdf and save it in the server?

    Mario Alberto Gamboa Pang wrote:
    I have a application for create pdf files from a file scan with scanner
    is posible tarantalla can use the scanner of remote machine and send the
    image to convert in the server to pdf and save it in the server?Mario Alberto,
    after re-reading the above, your question still puzzles me (but, hey,
    it's Friday! :-)
    For sure Tarantella can use a scanner installed on the remote server; or
    better, applications started on the remote server and "deployed" via TTA
    can see the scanner unit (assuming the scanner is phisically connected
    to the same remote server).
    I think users on the client side of the TTA connection will have
    problems when manually operating the scanner :-)
    Anyway, as long as the scanner (and the application which drives it) is
    able to scan the document and the application is able to print is via
    the Tarantella's PDF printing, you can have the PDF image of the scanned
    document available on the client side.
    Did I get it right ?
    Ciao,
    Rob
    Roberto Zini - r.zini<@AT@>strhold.it
    "Has anybody around here seen an aircraft carrier?"
    (Pete "Maverick" Mitchell - Top Gun)

  • Question about USB mobile modem

    I have Toshiba Equium with Vista Home Premium. I connect to the internet using a huawie mobile modem. It comes pre installed with it drivers you just plug in and it installs its own software.
    I have noticed it will only work on the USB port where I originally installed from and not the other. I have uninstalled the software and tried installing from the other port and this works so its not the USB ports.
    Any ideas?

    this is because each of the usb ports have thier own drive letter e.g. on my pc they vary from e,f,g,h,i,j depending on how many are connected and if there is a hub or whatever
    when the software was installed the directions to reach the usb modem were go to drive e.g. [J]
    when you plug it into another port the eltter changes as it is in a different place so when your software tries to find it, it will look in the specified place and it will see nothing is plugged therefore will think that no modem is connected at all.
    understand?
    hope it helps
    Bas

  • Question about USB-GPIB

    This is regarding the National Instruments GPIB-USB-A. If the GPIB-USB
    cable is not long enough, can I attach a standard GPIB cable onto it to
    extend the length? In this connection, one end of the GPIB cable is not
    connected to any device and would this cause any problem?
    PC GPIB-USB-A
    USB port <-------------> normal GPIB cable
    <------------------------> device
    not
    connected
    to any device
    Sent via Deja.com
    http://www.deja.com/

    Hello Joel,
    With regards to GPIB, i'm in a bit of a fix right now. I'm having problems with cable length in my setup. Most of the specs say that it shouldnt be more than 20ft but then i've heard stories that people ahve broken the max length rules and gotten away with it.
    I'm attaching a file, which i'd like you to view, and then tell me if i can get away with these lengths of gpib cables in my setup.
    BTW the x are devices, otherwise the connection is just a split to a device later on. I'm concerned with the first split, that you'll see in the drawing, and with the 2 meters each to the device at the bottom part of the network. If required, i can set the bottom three devices as a star network, although i dont see how that would solve the problem.
    The
    box on the left is the CPU/host.
    Attachments:
    gpib.gif ‏2 KB

  • Portege 3010ct: Question about USB drivers under W2k

    Can somebody point me in the direction of the Windows 2000 drivers for the Portege 3010CT USB port? I can only find Win 95 and 98 and these don't seem to work.
    Many thanks,
    Adam

    Hi
    Usually its not necessary to install any extra USB drivers for W2k or WinXP.
    I have read on some websites that sometimes the service packs update will solve the driver problems. You should check if you have installed all SP for W2k.
    I have also found this site:
    http://www.usb-drivers.com/companies/667.htm
    You should check it.

  • Questions about USB-6008

    I need a simple (low cost) USB DAQ
    so I was thinking to get the model
    NI-6008.
    Can I use VB6 to program it?
    NI provides (on the bundled CD), dll,
    library, samples on how to
    program it (with VB6)?
    Thanks in advance,
    Frank

    The USB-6008 is supported by both DAQmx and DAQmx Base, so you can
    definately use a USB-6008 with Visual Basic 6 through the DAQmx
    API.  Information on how to get started can be found at this link:
    http://digital.ni.com/public.nsf/websearch/B22FE2B0F9C8935286256E920073DA07?OpenDocument
    While the DAQmx driver is the preferred API under Windows, you may also
    use the DAQmx Base driver with VB 6 if you prefer.  It is slightly
    more work to set up however.  Instructions on how to do that can
    be found at the following link:
    http://digital.ni.com/public.nsf/websearch/A21A013CA229A5988625703E0025A8AE?OpenDocument

Maybe you are looking for

  • HDMI output not working after 1.0.8.6067 update on sharp LCD TV's

    Have three TV's two of which are Sharps Aquos and the other is a Samsung. After updating to 1.0.8.6067 the Playbook cannot detect the two Sharps(each different model #'s) . I have three different cables that worked fine before the update and all thre

  • Po creation (error in backend comunicatio)

    Hello everybody. I have an error during PO creation, every time I click enter the system generates a message ERROR IN BACKEND COMMUNICATION but I can create the PO, taxes are not calculated but the PO can be saved. I am implementing a Extended Classi

  • Swapping out G5 tower parts with another G5 tower?

    I have a 2.0 Ghz Dual PowerPC G5 (3.0), 512 KB (L2), 4GB Ram with a 1Ghz bus (June 2004 model). Serial # G8438CKYQPR Is it possible to swap out the ram, video card and hard drive and put it into a 2.0/2.5Ghz Quad PowerPC G5 (Early - Late 2005 Models)

  • Approve Working time Exception : NOT FOUND

    Hi friends, I am getting problem when trying to "Approve Time Sheet data " from MSS. I am not using Work flow but the link given in MSS Team. When i am clicking on the link the first page is comming and i can see the requested working time for approv

  • StatelessJavaRpcWebService questions...

    I'm using JDev 10.1.2 to build some web services. I can successfully generate a web service from existing Java classes, deploy them to OC4J and use them. However, I have some questions about the StatelessJavaRpcWebService servlet. 1. Does the servlet