Gamry potentiost​at and USB 6008 communicat​ion

I dont really ever do any labview programming from scratch so my understanding of it is very basic. However I need to do the following and I was wondering what would be the best way to go about it.
1. Run Gamry potentiostat (ref600) which at the end will send a digital signal out.
2. USB-6008 used to read the digital signal
3. Put a delay of around 10seconds.
4. Run "motor control" VI.
5. Put a delay of around 10seconds.
6. Send a digital signal out.
7. Gamry reads the digital signal and goes back to step 1.
run this N number of times.

rudresh wrote:
Hi Wes,
Thanks for the reply. It looks like I need something very similar to Simple state machine. However, I am using labview8.6 and was wondering if a similar example is available for the older version.
Thanks again,
Rudy
Downgraded to LV8.6 for you.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
State Machine Example Project.zip ‏23 KB

Similar Messages

  • Controling heating/cooling element with labview and usb 6008 DAQ card

    Greetings All
    I'm looking for a heating/cooling type of element that I can control with labview and my usb-6008 card. Heating/Cooling will just be for clean water and the temperture range will be from 0 C to 100 degree C.
    Thanks
    The heating and cooling elements can be seperate products. Any recommendations

    A simple kettle element will of course be sufficient for upto 100°C
    To get the temperature down you need a cooling system, what springs readily to mind of course is a refrigerator.
    Just a note of warning, water and electricity are dangerous bed fellows.
    On that note perhaps one of those vortex air units would be safer - they blow hot in one direction and cold in the other, nominally to 100°C
    see: -
    http://www.airtxinternational.com/how_vortex_tubes_work.php

  • Using existing c code for usb-hid communicat​ion in labview

    Hello,
    I want to write a simple temperatrue logger using labview and a external hardware which communicates over usb-hid. The external hardware uses an ATMEL 90USB162 µC and DS18B20 sensors.
    Link to the hardware:
    http://www.diamex.de/dxshop/USB-Temperatur-Sensor-​Tester-fuer-DS18B20
    The source of a a simple command line tool is available (see attachement), which reads out the temperature value of the connected sensors.
    Is it possible to include this c-code in the labview application to simplify the communication?
    Thanks a lot and best regards,
    Michael
    Solved!
    Go to Solution.
    Attachments:
    CMDLINE.zip ‏17 KB

    I'm not that experienced at this personally (in terms of compiling C code into DLLs), but I believe the process you need to go down to call your C code in LabVIEW is to compile the C code into a DLL which you can then call from LabVIEW using a Call Library Function node (or you can try to use the "Import Shared Library" wizard to automatically generate SubVIs).
    There's more information here:
    http://digital.ni.com/public.nsf/allkb/DCB90714981​A1F148625731E00797C33
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Remote testing of USB Peripheral Communicat​ions

    There are products that do USB loopback testing or do USB diagnostics from a DOS mode boot. If I could run a utility from a DOS prompt that provided diagnostics I could parse that'd be better. Microsoft also has a utility USB View which sounds promising, but it provides status with screens and nothing parseable from what I can tell.
    My challenge is to connect to an embedded system's various USB ports from the host PC conducting the tests and determine whether each of the ports is working. I need something more like an API that I can call functions from within LabView and determine programmatically whether each port is functioning. Sending some simple commands with responses would be enough. Has anyone any ideas on whether this could be done from LabView or am I facing some lengthy API function calling to accomplish this? Other approaches are also worth considering if they meet my limitations.

    How about plugin a thumb drive, wait a few seconds and let LabVIEW scan your computer for a file on the root of the drive.  If it finds it then port works, if it doesn't then it doesn't.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Are there any drivers for Pocket PC and NI USB-6008 available?

    Hello everybody,
    I alraedy read that there are no drivers for Pocket PC available to communicate with NI USB-6008 or other USB devices using LabView PDA Module. The reason is that most Pocket PCs have no USB host functionality. It's a pity, because I'm using a e800 Toshiba PDA that provides USB host functionality.
    Furthermore I'm already using several NI USB-6008/6009 within applications developed with LabWindows and I would rather reuse these devices than byuing new ones like NI CF-6004. Perhaps NI offers a driver for Pocket PC - that would be nice.
    Does anybody share my opinion or have some suitable solutions?
    Thanks in advance.
    Sincerely
    Mario

    Hello Mario,
    we are aware that the usage of the USB port on PDA devices is a feature that becomes more and more important. But at the moment we do not support it. Unfortunately we do not have an NI-VISA driver for PDA which is used for the USB devices on the PC side.
    regards
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany

  • Will USB-6008 DAQ be able to power and record voltage for UMS T5 tensiometer at the same time?

    I would like to use my NI USB-6008 to provide power to my UMS T5 tensiometer  (http://www.ums-muc.de/en/products/tensiometer/t5.html) as well as take readings from it, but I don't know if this is possible to do properly. The supply voltage for the instrument can be as low as 5V, which I can easily get from the dedicated +5V channel. I am able to power the instrument and connect it to an analog input on the 6008 and measure a voltage in differential mode. However, while reading the support literature for the instrument, I find the following:
    "Potential data acquisition pitfalls: Because the pressure transducer is configured in a Wheatstone full bridge, the input voltage and signal mV output cannot be connected to the same reference (ground). Hence, the signal mV output can only be measured using a differential voltage measurement. Therefore, do not attempt to make a single-ended measurement of the pressure transducer mV output."  (http://www.decagon.com/assets/Uploads/MeasuringUMSTensiometerswithnon-UMSControlandDataAcquisitionSystems.pdf)
    My understanding is that the 6008 can take a differential measurement if I attach the signal "+" and signal "-" to the positive and negative analog input terminals. However, it seems that all of the Ground ports on the 6008 are grounded to the same reference, which would make my voltage measurement invalid according to the paragraph above. So my real questions is: if I attempt to record the voltage using one of the analog inputs on the 6008 in this way, is the measurement valid? Or do I need to find a separate power supply with a different reference ground to ensure that the measurement is accurate?

    The specification sheet for that device is very poor. The manual is not much better. Companies which want to sell scientific equipment should publish decent data sheets or get out of business.
    In section 3.4.3 General requirements the device is described as a "non-amplified bridge circuit."  This information along with the bridge impedance should be in the specifications because it is essential to applying the device under any circumstances other than the nominal behavior at 10.6 V.
    The answer to your question is this:
    You can use it with the USB-6008.  The 5 V power supply will result in output voltages slightly less than half (5/10.6) the voltages specified under nominal conditions. You can use the differential input mode on the USB-6008.  The absolute input voltages will be about 2.5 V with the 5 V supply. That voltage is within the working range of the device. The differences will probably be less than 100 mV. The resolution of the USB-6008 on the +/-1 V range is about 0.5 mV so your pressure resolution will be around 1 % of full scale. The input impedance and termination voltage of the USB-6008 will introduce some errors.  These may be on the order of 5-10%. I cannot predict much better without the missing bridge impedance specification.  Those errors should be systematic and relatively constant. A calibration of the whole system - sensor and DAQ device together should allow you to compensate for much of that error.
    Lynn

  • How to connect lvdt and loadcell to usb 6008

    please help me iam dont know  how to choose a daq card. searched a lt but iam lost.
    i want to measure force and displacement simultaneously of a suspension test rig and i wanted to use ni usb6008 because of my project budget.
    can i use this daq card to measure these parameters ??
    please reply.. thanks in advance.
    Solved!
    Go to Solution.

    Hi touheed,
    To be able to determine whether or not using a NI USB-6008 would be suitable for your application it would be useful to get a little more information about the measurements you want to take. If possible would you be able to provide the voltage range you intend to measure with your instruments, and the sampling rate you require? 
    Also I noticed in the subject line that you're going to be using an LVDT, will you also be generating the voltage for this with the 6008, or will this be done seperately?
    To give you some context, the NI USB-6008 does not take truly simultaneous readings at each instant, but will rapdily alternate between channels, giving effectively simultaneous samples. As this device has a sampling rate of 10 Ks/s, and you will be using 2 channels, the effective sampling rate for each input would be 5 Ks/s.
    Matt H
    Applications Engineer
    National Instruments UK

  • Has anyone any experience with a USB-6008 and reading a thermistor value

    Labview 8.0 connected to a USB-6008
    I am using 'BC Components' NTC Thermistor. I used the express VI to create a Vex input and entered the A,B,& C values from the datasheet. The thermistor is the 10K version and I placed a 10K resistor in series with it. I wired it as is shown in the connection diagram, and applied 2.5 volts to it.
    I get completly the wrong temperature readings out of it! I called the NI help line in the UK and the engineer confirmed that I had done everything correctly but couldn't understand why it didn't work.
    Any thoughts?
    Steve Lawson

    I had a similar problem, had it working at one point then screwed it up.
    try this:
    Attachments:
    Temp Pressure EXpress.vi ‏92 KB

  • NI USB 6008 AI acquisition and DO pulse genereation

    Dear LabVIEW users,
    Greetings for everyone. I am a beginner of LabVIEW and I have a problem, which I have solved partially. I would really appreciate your help and suggestions as I searched for days without any luck. The problem is as following:
    I am acquiring AI voltage (continous) from 4-8 accelerometers. At the same time, I am sending a digital output signal each time when the sample rate is clicked (i.e. 1000, 2000, 3000, .... if sampling rate is 1000). In other words, trying to send a digital output signal (at some frequency 'n' Hz) at regular 1 second interval (according to hardware level). So that the digital output signal will blink an LED at every one second. Further, I need to write the AI (voltage) signals, and LED blink PC (software) timestamps separately. All the above said steps are followed in my .vi program but the real hardware/software level operations are killing my timestamps. In other words each LED blink timestamps are not accurate when I use LabVIEW measurement file express VI (difference is not atleast to the third decimal place). In addition, the timestamping is somewhat OK when I disable the LVM file write VI. Onemore thing I noticed is that, physically LED blinks every two second once, I suspect this is due to the shift register and loop delay of second. Is there a way to control the blink speed (i.e. boolean state has to change at every 500ms without delaying the inner while loop).
    Results and observations:
    LabVIEW 2011 .vi, timestamp files with and without LVM file generator (express VI) are all attached. Please note that there is a considerable amount of drift in consecutive timestamps when LVM file generator is used, on the other hand there is 0.001 ms drift when LVM file generator is not used. The reason for PC timestamps are to roughtly align different measurements or observations or events in global time scale.
    Please give me any suggestions or help me to make it atleast accurate for milliseconds within the witten VI. Lastly, is there any relatively inexpensive USB DAQ module which can send a pulse to directly from pulse channel to digital output channels when sample rate of 'n' Hz is achieved by hardware level which could be every accurate, so that software delay is fully minimized. Although there are highly sophistiated hardwares from NI, but our goal of this project is to build and test cost effective system.
    Thank you and I really appreciate your inavluable time and effort. Have a great weekend!
    With Regards,
    Paghalaya
    Solved!
    Go to Solution.
    Attachments:
    LabVIEW File Folder.zip ‏113 KB

    Paghalaya,
    Software timing when using a desktop operating system will never be precise to the millisecond level.  The USB-6008 has hardware timing only for the AI function. The DO is software timed.
    To get precise 500 ms intevals for the DO, you will need to use a device with hardware timed digital outputs.
    Some things which might improve your VI, although they will not solve all your problems:
    1. Consider a parallel loop architecture (suche as Producer/Consumer). Moving the File writes to a separate loop from the data acquisition may reduce the timing jitter on the DO.
    2. Acquire 500 samples twice per second rather than 1000 samples once per second.  That will allow you to get the DO timing closer to what you want.  It will not be perfect, but the hardware timing of the AI will help.
    3. Dev1/ai0:3 (maybe Dev1/ai0:ai3) should get all four channels at once.  I do not have DAQmx so I am not sure of the syntax.
    4. You have the Write to Measurement File Express VI set to overwrite the file.  Is that what you really want?
    Lynn

  • VI Logger and NI USB-6008

    I haven't got much experíence in LabView and neither has anybody here in our team. We've got an NI USB6008 which is working perfectly with the basic VI logger application (version 2.0.0 lite) under windowsXP. All channels - except ai0 diff and single ended - work perfectly. As this basic application is too limited, now we're trying to develop something more advanced but when I start a new task at the VI logger and get the Assistent to configure the devices, it doesn't find the physical channels, although everything is properly connected and that basic application does find it.
    As this is the first step, I'm stuck!
    Thanks in advance...

    Thank you Kenny for your help...
    I haven't got yet a  VI that I culd send to u for debbuging. I've gone through all the "getting started" (NI USB 6008, LabView, VI's, VI logger, etc) kind of stuff and, as far as I understood, in order to start to develop an application (a VI, or a VI logger) you have, first, to specify the physical channels that are going to be used by the software. That's what the MAX Assistent asks for, and as it cannot find it, I can't progress into acctualy designing a VI.
    Maybe the software doesn't support the device (NI USB 6008), although the documentation available isn't very clear and even conflicting on the subject. On top of that,  the "sample applications" shipped with the software, do find it and work perfectly.
    I'd appreciate if you could help me out of this "stale mate"!
    Thank you very much again...
    Roberto 

  • How to generate a waveform (with changeable update rate and sample) with USB 6008

    Apologize about my awful English.
    In Tradition DAQ I can set different update rate with "AO Start" vi.
    Transform into USB-6008 device things turn into quite different.
    I don't know which vi I can setup update rate.
    Is there any example for this.
    THX a lot!

    Hello D.
    To use the USB-6008, you need to download DAQmx Base driver from the web at http://digital.ni.com/softlib.nsf/websearch/CE3686A8D5B0CEDC86256FFD007C9C4A?opendocument&node=132070_US .
    The driver will install with example programs that you can access by going to Start->Pograms->National Instruments->DAQmxBase->Examples. You new to have LabVIEW 7.x to use this driver.
    SergesL

  • I have LabView Student Edition, how can I make work a USB 6008?

    The Student edition it doesnot have many Vi's that there are necesary to work with a USB 6008, I would like to know how can I make work the Usb 6008 with LabView Student Edition

    Hello Jorge,
    When you say "NI-DAQmx configuration" do you mean the NI-DAQmx Base Configuration Utility?  Are you using NI-DAQmx or NI-DAQmx Base to communicate with the 6008?
    NI-DAQmx 7.5 added support for the USB-6008.  Therefore, you can use either NI-DAQmx or NI-DAQmx Base to control this device.  Make sure that you are setting the USB-6008 to NI-DAQmx before trying to use the NI-DAQmx VIs in LabVIEW.  To do this, Open Measurement and Automation Explorer (MAX) and select Tools >> NI-DAQmx Configuration >> NI-DAQmx USB Driver Selector.  Your USB-6008 should appear in this window, indicating which driver your device is configured for.  Make sure it is set to NI-DAQmx before trying to use the NI-DAQmx VIs.
    When your 6008 is set to NI-DAQmx, you cannot use NI-DAQmx Base or any of the DAQmx Base examples.  Likewise, when the 6008 is set to NI-DAQmx Base, you cannot use any NI-DAQmx VIs.
    If you would like to use NI-DAQmx with your USB-6008, please set the driver by following the steps above and verify that "USB-6008" is listed under "Devices and Interfaces >> NI-DAQmx Devices" in MAX.
    I hope this helps.  Please let me know if you continue having trouble with your USB-6008.
    Regards,
    Sean C.

  • USB-6008 How to move an executable to a different computer.

    Hello NI Forums!  Please bear with me as I am new to NI products as well as this forum.  Hope I'm posting in the correct board.  I am an electronic technician with over 30 years experience in a variety of hardware and software who is trying to move an executable from an older Windows XP computer to a new Win 8 machine.  
    First, I just moved the .exe file itself.   When executed, it produces an error dialog:  "Unable to locate the LabVIEW Run-Time engine"  "This executable requires a version 2011 (or compatible) LabVIEW Run-Time Engine."
    Next, I ran the driver installation disk that came with the USB-6008 module.  Now the executable will start but it doesn't appear to communicate with the USB-6008 because it doesn't operate the digital I/O.
    I can run NI MAX and see the USB module as well as test the analog and digital I/O so I know the hardware is working.
    I have been surfing the knowledge base and have found references to .dll & .vi type support files but have no idea which ones to look for and where they might be.
    Can this move be accomplished without having to recompile the exe?  I have no access to the source files.
    Thanks!
    Solved!
    Go to Solution.

    Again, thanks for all the advise, information ( and patience).  I  actually was referring to the module name as seen in MAX.  That wasn't made clear. I was at the end of a very long day.  But i have seen instances where the PC name is part of a network address, I just didn't know if that applied here.
    Regarding dated drivers, I downloaded the current offering of RTE 2011 (what ithe app asking for) which includes win 8 drivers.   That appears to have satisfied the initial failure of the app to run (no error message, app opens and does it's splash - then nothing else).  
    The device name for the USB-6008 module is dev1 on both PCs.  I will go back today to look for support files I may have missed.  
    Regarding tasks and such running in MAX, when I opened MAX it appears this was the first time it had been used as I had to agree to the limited evaluation license on start-up.  It starts up with an empty project and there are no projects available to load.
    I assume it's not possible to decompile an executable to make the adjustments for the new host computer?

  • Error -10401 occurred at AI Group Config - in relation to USB-6008

    I'm attempting to run a simple vi that uses AI Aquire Waveforms.vi to input voltage data that I have coming in from the USB-6008 DAQ.  However, when I try running the program, I receive the error:
    Error -10401 occurred at AI Group Config
    Possible reason(s):
    NI-DAQ LV:  The specified device is not a National Instruments product, the driver does not support the device (for example, the driver was released before the device was supported), or the device has not been configured using the Measurement & Automation Explorer.
    And I'm not sure how to fix it.  In MAX, the device seems to be working properly and everyhting seems to work fine in the test panel, so I'm slightly at a loss.  I'm running Labview 7.1, and installed NI-DAQmx 7.5 which came with the USB-6008.

    Never mind.  I'm new to Labview, and didn't realize that I could not use the traditonal Data Aquisition components with the USB-5008 (I didn't even realize that NI-Daqmx was different).

  • Can I use more than one USB 6008 in the same program?

    I am working on a project that may require up to six USB-6008 modules.  Before I purchase more I need to know if I can use all six at a time in the same Lab View program.  Can anyone help?
    Solved!
    Go to Solution.

    Hello Nick,
    LabVIEW is able to handel that number of DAQ tasks quite easily, however you must remember that USB has a maximum bandwidth. Therefore you would have to ensure that you have enough USB hubs on your PC. Typically there are between two to four USB slots per hub and each of these will have a maximum throughput rate which will divided between all devices attached to that hub. Therefore although you may have four USB DAQ devices attached to four USB ports if they are on the same hub you may notice greatly reduced rates of data transfer. What I would suggest rather than purchasing six or more USB 6008, why not purchase one PCI card which is able to handel many more inputs with a larger bandwidth.
    Regards
    Andrew George @ NI UK

Maybe you are looking for

  • Issues with itunes 10.5 on Windows 7 (32 Bit) When Trying to sync iphone 4S or older

    I see a lot of people out there, specifically windows OS owners (xp all the way to 7), having issues with iTunes 10.5.  Here are the following issues I've encountered (some may only have one problem, others my have a combo pack of problems). 1. iphon

  • Creation of sales order(Credit memo request) w.r.t invoice

    Hi want to create a Credit memo request (sales order) with respect to a invoice. Can any body suggest me a bapi or Fm which will directly create a sales order with input as invoice number? Also all mandatory import export parameters to be filled? Tha

  • Determining number of teenagers living in a street

    I'm creating a java program to determine how many people are in a street, and how many of those people are teenagers. The information is gathered from an input file which is featured below. INPUT FILE* 12 20 13 19 34 80 0 14 75 17 50 1 11 11 30 90 15

  • Help! Time machine says my backup disk is too small

    I have a 500 gig back up disk for time machine back up and my hard drive on my imac is 500gigs but for some reason it is saying I don't have enough space on my back up disk for time machine to back up. how can that be if they are the same size.

  • How to make HD images

    So I was making image's on my computer for a friend's wallpaper and was curious as to how I achieve that crisp, sharp, high definition quality? Here's a screenshot of my settings for reference. Thanks