USB-6009, mac OS 10.6.8 and python

Hello!
I am using USB-6009 under mac OS 10.6.8 and python.
I am trying to run the following commmand:
analogOutputTask = nidaqmx.AnalogOutputTask(name='MyAOTask')
I get the following message
File "/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/nidaqmx/libnidaqmx.py", line 180, in CALL
AttributeError: 'NoneType' object has no attribute 'DAQmxCreateTask'
Any help would be very mch appreciated,
Thanks 
j.

Hello Jamyamdy, 
Honestly, I am not too sure about this, but were you able to acquire data before or is this your first trial? 
From the usb-6009 product page, it says the following. 
For Mac OS X and Linux users, download the NI-DAQmx Base driver software and program the USB-6009 with NI LabVIEW or C.
 http://sine.ni.com/nips/cds/view/p/lang/en/nid/201987
Regards,

Similar Messages

  • USB 6009 Up/Down Counters

    Hello to everybody,
    I'm going to buy a USB 6009 for a low cost application and it fits my requirements except the counter.
    In fact, I would need an Up/Down counter while USB 6009 has an event counter type only.
    Do you know whether is possible to create the count direction by using one of the DIO bit?
    I have been thinking to design an external circuit for creating the right signal but I have no idea for a while.
    Please, let me know any suggestion.
    Thanks in advance.
    Regards 

    Hi,
    These device can be used only for simple event counting using PFI 0 as an event counter input. The counter gate is not accessible on the USB 6008/6009 devices.
    No Quadrature Encoder Capability is available: USB-6009 has counter. However, in DAQmx Base, externally controlled count direction is not supported. Notice that for a CI input task in the NI-DAQmx Base configuration utility, you can only specify count up. You cannot select "externally controlled." or "Count Down".
    I hope it helps,
    Marco

  • USB 6009 Signals Readings

    Hello,
    I'm using USB 6009 to read signals from PMT and other equipment for experiments and I have a couple of questions:
    1. Is it possible to read a signal with out DAQ assist? I've looked around the forums and haven't seen any relevant material.
    2. This is probably true, but I haven't checked it yet. Is it possible to read two signals in the same loop (eg, AI0 & AI2 in a while loop)?
    I'd appreciate if you'll point me to the right directions.
    Thank you,
    A
    P.S
    I should probably mention that I want to read the signals with out using DAQ assist because of the  assumption that DAQ assist  is slower than a direct measurement.
    Solved!
    Go to Solution.

    Hi Ravens Fan,
    Thank you for the answers and link. This is what I'm trying to do, and I've read the post on this link (the error code page): http://digital.ni.com/public.nsf/allkb/485201B647950BF886257537006CEB89 I think my error is mostly case #4 on the page (mostly because I dont use DAQ assist).
    But, I can't figure out how to terminate/clear channel to release the device for the next one. Any ideas?
    Thank you.
    Attachments:
    error.JPG ‏55 KB

  • Opening & closing a solenoid valve using ni usb-6009

    Hi,
    I am very new to labview so any help would be apprciated.
    I am using the ni usb-6009 as a power source for my solenoid valve. The valve is 12vdc but because the max output voltage for the ni usb-6009 is 5v i have designed and build an op-amp circuit which will amplify the voltage. I want to create a vi that will give a +5v digital output when a push button is pressed and 0v when the push button is off. What would be the most efficient way of doing this? Thank you.
    Solved!
    Go to Solution.

    How much current does the solenoid draw? You say that you are powering the solenoid from the USB-6009 so just converting the voltage from 5V to 12V will not work - there is a current limit of 8.5mA on the 6009 which will not be enough to power the solenoid. You will need to use an external supply that can provide sufficient current to drive the coils of the solenoid and then use a transistor circuit to switch on the supply from the digital output of the 6009 (which can't draw more than 8.5mA).
    Once you've got your circuit right, you can use MAX Test Panels, the Data Acquisition Express VIs or the DAQmx palette in LabVIEW to control the digital output. There are lots of examples in LabVIEW on how to do this
    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

  • USB 6009 - Calibration of Analog Input (Mac)

    Hi,
    I have recently acquired a NI USB 6009. I'm using it under labview 7.1 on Mac OS X 10.4 (Tiger).
    I can run the software examples and the datalogger without problems. However, the device seems
    not to be properly calibrated, and I can't figure out how to do it from the manual. When I connect
    pin 1&2 (analog in 0) to pin 32 and 31 (GND and 5V ref voltage) the software claims that the
    measured voltage it ~3.7V (a multimeter confirms that it is in fact 5.0V). Can anyone help
    trouble shooting this ?
    Thank you in advance,
    Niels

    A little update : After thinking some more I realized that it's because
    the USB 6009 is in differential mode, and I hadn't connected one pin. Now
    however, I have trouble figuring out where to change/set this. None of
    the programs (e.q. Acquire One Voltage.vi) seems to define this, so where
    is this defined ?
    Thanks,
    Niels

  • Usb 6009....mx base....and other musings

    I've recently received a few usb-6009 devices, and, like most of the other people here on the boards, have had my share of problems getting the things up and going.
    If I understand correctly....
    I can create an empty task in LabView with a VI.  This VI however doesn't give me the option of choosing differential or single ended analog in measurements.  To do this, I need to use the config utility to create a task, and then import it into my program. 
    What isn't clear is HOW I get the task I create in the config utility into my program.  Thoughts?
    I will admit that I'm a bit disappointed that the devices, while convienient in size and price, have so many idiosyncrasies in the software.  Not having the full arsenal of VI's or compatability with MAX makes getting these up and going a bit painful.
    Brandon

    Hi
    I've been trying to get a USB-6009 to work for a few days now. I was using DAQmx 7.4 and DAQmx Base v 1.4. Max Explorer would show the device  under USB Devices but I couldn't get any of the Tasks from the DAQmx Task Configuration Utility to show up in Labview. If I used the intermediate vi's to create a task and a physical channel name I did get to take measurements with the device.
    Since I realy needed to use global channels and tasks set up in Max Explorer I was hoping that the new upgrade to DAQmx 7.5 would solve the problem. I removed DAQmx Base and DAQmx 7.4 and loaded 7.5. Unfortunately I'm still unable to use the 6009 device. Again the device shows up in the USB devices and I'm now able to give it an alias but when I try to set up a global channel it says I have 'No supported devices found'. If I look at 'NI-DAQmx for USB Devices Getting Started' which I think was included with the 7.5 update that suggests that it should be seen in the DAQmx devices, but in my case it doesn't.
    I guess I've missed out some crutial stage but as yet I can't figure out what that might be. Has anyone been able to use the USB-6009 with DAQmx 7.5 (or v7.4 for that matter)?
    Ian S

  • USB 6009 and TDMS write

    Dear all!
    I'm using USB-6009 device to adquire data from a physical channel. In the following vi, the number of samples to be adquired is set to 1000, with a 100Hz rate. Therefore, as I understand, the number of samples that should be read inside the while loop where DAQmx read is placed should be 10 for each iteration. However, I've tried to store this information in a TDMS file and I'm getting less number of samples as expected. I wouldn't like to lose any data.
    I've read overthere that the USB-6009 is a software-timed device, so, can this be the reason of this anomaly? Moreover, if I analyze the adquired samples using DIAdem software, I see some samples are being repeated. In this case, am I overwriting some data and reading past values?
    If I need to replace my data adquisition device with a hardware-timed one, which one should I get?
    Thank you very much in advance,
    Miren  
    Attachments:
    USB6009_TDMS.vi ‏25 KB

    When you run the sample clock in  "Continuous Samples" mode, the # of samples only determines the buffer size.  This is outlined in the help for that function.
    As a result, you have nothing pacing the internal loop: If there are samples available when it reaches the DAQmx Read, it passes out as many as are available in the buffer.  You might get 1, 2, 100; it depends on how long the other operations in the loop take.
    In general, DAQmx loops like this can be paced either by time or by # of samples.  Looks like you want sample pacing: wire the number of samples you want to collect to the "# of samples per channel" input of the DAQmx read.  Then the loop will wait at the daqmx read until that many samples are ready, and then it will proceed.
    -Barrett
    CLD

  • USB 6009 and DAQmx Base Concerns

    Hello,
    I just received a USB-6009 multifunction DAQ device along with DAQmx Base for use on Windows XP with LabWindows/CVI ver 7.1.  Both the 6009 and DAQmxBase are successfully installed however I have several questions, I hope I am missing something obvious:
    1. The Task Configuration Utility is not needed for use with LabWindows/CVI?  I believe I read this in the Getting Started Guide.
    2. There is no function panel for the DAQmxBase functions?  I even searched the installation CD and found no .fp files.  So the only way to know what functions are available with DAQmxBase is to open the NIDAQmxBase.h file and search through the function prototypes?  Then, to know what a function does it is necessary to open the C Function Reference Manual via the Windows Start button and search for the function name of interest?
    3. When creating a digital input or output channel with DAQmxBaseCreateDIChan or DOChan is it only possible to setup a "channel" as an entire port?  Is it not possible to setup a channel as a single input or output line?  Similarly, once the channel is configured is it only possible to read or write an entire port with DAQmxBaseReadDigitalU8 or WriteDigitalU8?  I was expecting something similar to the DIG_out_line function used in Traditional NI-DAQ where a board number, port number, line number and state are passed so that a signal output line can be set on or off.
    Thanks in advance for the assistance,
    - Aaron

    Aaron T. wrote:
    Hello,   I just received a USB-6009 multifunction DAQ device along with DAQmx Base for use on Windows XP with LabWindows/CVI ver 7.1.  Both the 6009 and DAQmxBase are successfully installed however I have several questions, I hope I am missing something obvious:   1. The Task Configuration Utility is not needed for use with LabWindows/CVI?  I believe I read this in the Getting Started Guide.  
    **The Task Configuration Utility is not necessary, except that there is significant functionality missing from DAQmx Base but present in the utility. That includes a lot of what DAQmx calls "proerties", and includes things like the convert rate for AI scanning.
    2. There is no function panel for the DAQmxBase functions?  I even searched the installation CD and found no .fp files.  So the only way to know what functions are available with DAQmxBase is to open the NIDAQmxBase.h file and search through the function prototypes?  Then, to know what a function does it is necessary to open the C Function Reference Manual via the Windows Start button and search for the function name of interest?  
    **I don't use CVI so I don't know anything about this. It strikes me that even if you have such a panel reading the documentation is a good idea
    3. When creating a digital input or output channel with DAQmxBaseCreateDIChan or DOChan is it only possible to setup a "channel" as an entire port?  Is it not possible to setup a channel as a single input or output line?  Similarly, once the channel is configured is it only possible to read or write an entire port with DAQmxBaseReadDigitalU8 or WriteDigitalU8?  I was expecting something similar to the DIG_out_line function used in Traditional NI-DAQ where a board number, port number, line number and state are passed so that a signal output line can be set on or off.  
    **Well, the ReadMe file says that USB-6008/9 is supported with both Line I/O and Port I/O. On the other hand, the documentation for DAQmxBaseCreateDOChan and DAQmxBaseCreateDIChan say for the lineGrouping parameter, "Always pass DAQmx_Val_ChanForAllLines." So your question is a good one! Perhaps one of the NI engineers can comment on this.
    - Aaron
    Thanks in advance for the assistance,
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • USB-6009 AI and AO

    Hello,
    I have an USB-6009 DAQmx device. I would like to measure analogue input with the possible highest sampling rate (48kHz) . At the same time, I need to ramp a voltage analogue output from 0 to 5 Volts, lets say during 2 minutes. These two tasks do not require close syncing. Regarding to the spec, the highest rate of the AO is 150 Hz. It is ok for my application.
    So the AI measurement will use device internal clock, and the AO can only work with software timing. Is it possible to independently ramping the voltage output and at the same time, reading the analogue input? If not, is there a workaround for this device?
    Thanks for advice!
    Regards,
    Solved!
    Go to Solution.

    I have made a test version (the final solution will do measurement for 2 minutes, so I will need to ramp up the analogue signal from 0 to 5 Volts in 2 minutes, and I think 10 msec will give a sufficiently smooth ramp curve --> 24000 steps over the 5V range).
    In this test VI I do measurement on two analogue inputs using internal timing, and in parallel, I do the ramp signal with software timing (I guess it is not advised to go below 10 msec because Windows can slow down too much?).
    Additional question: when I use DAQ on the two input channels, I understand that, the available highest rate is half of the maximum. But when I plot the two channels, the points are at the same time on the XY graph. How does  LabView interleave data from the two channels during measurement?
    Thanks for help and advice,
    Regards,
    Attachments:
    Test1.vi ‏213 KB

  • I have a Lacie External hdd and on usb 3. Now If I plug in the device it shows a message to connect to windows or mac (Parallels installed) so If I click on mac it works fine well and good but when I select connect to windows it shows a error.

    I have a Lacie External hdd and on usb 3. Now If I plug in the device it shows a message to connect to windows or mac (Parallels installed) so If I click on mac it works fine well and good but when I select connect to windows it shows a error.
    The error that pops up is:
    The device "Lacie Rugged USB3-FW" was unable to connect to its ideal host controller.
    Please anyone could suggest what the solution could be?
    Thanks.

    But my 1 tb hdd is already formatted via ex fat which can work on both mac and Windows no limitation of file size also like if we use ntfs or fat it has a restriction of 4gb file size.

  • Hi friends i have mac ibook g4 i know its a really old model but its perfectly fine it has installed mac os x 10.5.8 ok whenever i copy and paste any thing it says no free space weather i copy from folder to desktop or from usb to mac plz help plz

    hi friends i have mac ibook g4 i know its a really old model but its perfectly fine it has installed mac os x 10.5.8 ok whenever i copy and paste anything it says no free space weather i copy from folder to desktop or from usb to mac plz help plz

    There is no download for 10.4.x or 10.5.x, there is a very slim chance you can get 10.5 by calling Apple, but usually you can only get it on eBay & such.
    Tiger Requirements...
    To use Mac OS X 10.4 Tiger, your Macintosh needs:
        * A PowerPC G3, G4, or G5 processor
        * Built-in FireWire
        * At least 256 MB of RAM (I recommend 1GB minimum)
        * DVD drive (DVD-ROM), Combo (CD-RW/DVD-ROM) or SuperDrive (DVD-R) for installation
        * At least 3 GB of free disk space; 4 GB if you install the XCode 2 Developer Tools  (I recommend 20GB minimum)
    http://support.apple.com/kb/HT1514
    http://www.ebay.com/sch/i.html?_nkw=mac+os+x+tiger+retail+10.4
    See Tom's, (Texas Mac Man), great info on where/how to find/get Tiger...
    https://discussions.apple.com/message/15305521#15305521
    Or Ali Brown's great info on where/how to find/get Tiger...
    http://discussions.apple.com/thread.jspa?messageID=10381710#10381710
    Leopard requirements/10.5.x...
        *  Mac computer with an Intel, PowerPC G5, or PowerPC G4 (867MHz or faster) processor
    minimum system requirements
        * 512MB of memory (I say 1.5GB for PPC at least, 2-3GB minimum for IntelMacs)
        * DVD drive for installation
        * 9GB of available disk space (I say 30GB at least)
    Classic/OS9 Apps no longer supported.
    May be available from Apple again...
    https://discussions.apple.com/thread/4720126?tstart=0
    Trouble is Apple no longer sells it, check eBay & such for the Retail version, not the Gray Discs...
    http://www.ebay.com/sch/i.html?_nkw=mac+os+x+leopard+retail+10.5
    Now, for your Trash problem, see if this helps...
    Solving Trash Problems...
    http://thexlab.com/faqs/trash.html

  • Mac OS 10.5.5 and Belkin USB Bluetooth Adapter

    I upgraded to Mac OS 10.5.5. this morning and upon restart I lost the ability to turn on Bluetooth (Belkin USB bluetooth adapter). The adapter is visible to the computer, but it can no longer be turned on so I can benefit from its use. I checked Belkin's site -- no upgrade there. I believe it is an OS 10.5.5. issue since it worked before the upgrade. I have tried looking at Bluetooth preferences -- the option to turn on is "greyed" out. File Sharing, Network, and Security system preferences were of no help. Anyone have any ideas.
    Thanks,
    Doug

    Hi there,
    Did you ever resolve this problem, because I am having exactly the same problem with my Intel iMac running 10.5.5 and Belkin F8T012 USB Bluetooth.
    I too have found that using "Bluetooth file exchange" seems to turn on Bluetooth, so thanks for that advice, but it's hardly acceptable is it?
    I can plug the same USB into my laptop (running 10.4) and it turns on perfectly!

  • Mini mac will not register my digital camera. It connected the first day and I was able to upload some video; however, I pulled the USB out--there was a bad message--and I cannot get the mac to register that I plug it back in.

    It connected the first day and I was able to upload some video; however, I pulled the USB out--there was a bad message--and I cannot get the mac to register that I plug it back in.

    Have you downloaded everything that is on the camera? If so format the SD card on the camera (will erase everything on the card).
    If you have not downloaded everything can you see stuff on the camera? If you have a card reader you could try putting the SD card in that and trying on the mini. If your mini has a SD card slot you could try that.
    In any case format the card on the camera before taking more pics.
    Next time be sure to eject the camera from the Mac properly and turn the camera off before disconnecting.
    EDIT: You might also check the camera's USB Mode is set to PC.

  • Measuring temperature Via Thermocouple and USB-6009?

    Hi,
    I am trying to perform temperature measurements using a k type thermocouple and the USB-6009 DAQ. I tried to use the Cont Acq Thermocouple Sample.vi from LabVIEW's example list, but unfortunately I don't know how to fit my DAQ and thermocouple in the vi code. I don't know how to create a thermocouple temperature measurement channel or how to get all the channels in the task, etc.
    Any help is appreciated.
    Thanks.

    bilbeigg,
    It should be noted that the USB-6009 is not well suited for thermocouple measurements.  It has 14 bits of precision with a minimum input range of +/-1V, which means it can only detect a voltage change as small as about 122 microvolts.  This is much too large a change to get a good temperature reading with most types of thermocouples.  Here is a discussion thread on the same topic (Note that the USB-6008 and 6009 are very similar):
    http://forums.ni.com/ni/board/message?board.id=170&message.id=294080#M294080
    Here is a knowledgebase that explains what you are seeing:
    http://digital.ni.com/public.nsf/allkb/8166630BD6965EEA86256FDD0052E89C?OpenDocument
    Chris M
    Message Edited by CMal on 03-12-2008 12:17 PM

  • Usb 6009:connecting the sensor and motor

    Hi there,
    I am new to the labview also the usb-6009. I want to know if I can connect my sensor to the device. The output of the sensor is either analog voltage, pulse width or serial.If I want to use the AN pin, can I just connect the wire to the ADC from the usb or I need to add some circuit before connect it to the usb?also, if I want to control the brushless dc motor with the driver, can I just connect the wire from the motor driver direct to the device? How to connect it?
    Thanks

    You can connect analog voltages directly to the USB-6009 to be measured as long as they do not exceed the input limits (-10V to +10V).
    Connecting the motor directly to the outputs is a bad idea.
    Digital output is 0-5V, 8.5mA
    Analog output is 0-5V, 5mA
    So unless your motor draws less than 5mA (extremely unlikely) you'll blow up your DAQ!
    You will need to buffer the outputs somehow unless you are just driving logic gates.
    It's all on the datasheet... http://www.ni.com/pdf/products/us/20043762301101dlr.pdf
    Message Edited by Troy K on 06-06-2008 02:36 PM
    Troy
    CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
    I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
    Beware of the man who won't be bothered with details. - William Feather
    The greatest of faults is to be conscious of none. - Thomas Carlyle

Maybe you are looking for

  • Delivery Performance Report..

    Hi All, We are using ECC 6.0 and want to measure the delivery performance both value and volume wise for the sales orders.Is there any standard way to check this in SAP or I need to use the tables VBEP, VBFA, LIPS and if I need to use these tables wh

  • Outputting sine wave to motor -- While loop placement?

    I'm having trouble creating a basic Labview program to drive a motor with a sine wave. I'd like to output one sine wave at a time to my motor and look at the response to eventually get a Bode plot. I'm using the Sine waveform VI and I've got a PXI-73

  • How to maintain default values to the screen fields.

    hi, i m creating screen in se51. when i press New button the screen is filled with default values nrart = 'h' and proz1 = '100' . how can i set default values. plz give me a response

  • Steps for transporting the created request

    hi, sap gurus, kindly explain the configuration steps for how we will transport a created request from one server to another regards, balaji.t 09990019711.

  • Feature Request: originX ,originY on mx.effects.Resize

    The properties originX and originY exist on mx.effects.Rotate for setting the registration point for the center of the rotation, and they would be nice to include on mx.effects.Resize as well. Thanks