Set DAQ Device Information.vi

Whenever I try to run the example vi "Buffered_Event_Counting_(8).llb" I have problems with "Set DAQ Device Information.vi" inside it:
error -10600 "No setup operation has been performed for the specified resources. Or, some resources require a specific ordering of calls for proper setup."
I am using a PCI-6602.
Message Edited by cbrideau on 09-22-2005 05:39 PM

Hello cbrideau,
I am unable to find this example that you are referring to.  However, there are some basic steps you can go through to make sure that your device is functioning properly.  In Measurement and Automation Explorer (MAX) you can expand the Configuration Tree so that you see the category Devices and Interfaces >> NI-DAQmx Devices.  Your PCI-6602 should be listed under this entry.  If this entry does not exist, you may not have a version of NI-DAQmx that supports your hardware, so you should download and install NI-DAQmx 7.5.  Once you see your device, you can right-click on it and choose self-test.  You can also open up test panels and test the counters by doing event counting and pulse train generation.  If you do not wish to use NI-DAQmx you can also open up test panels for the device listing underneath Traditional NI-DAQ devices.
After you have verified that the board is functioning properly, you can open up an example from the Example Finder.  In LabVIEW, go to Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Counter Measurements >> Count Digital Events to find a relevant example and run it.  Examples also exist for Traditional NI-DAQ (Legacy) but I strongly recommend you consider using NI-DAQmx. 
Hopefully you are able to run one of these examples.
Thanks,
Laura

Similar Messages

  • How to set the sampling interval using DAQ device?

    Now I have a capacity sensor and a 24 bit DAQ device (http://www.mccdaq.com/usb-data-acquisition/USB-2404-10.aspx).
    The DAQ device has the maximum sampling rate of 50kS/s . My question is how to set the interval of data collection. For example, if I set the sampling rate to 2000, in continuous sampling mode, I use DAQmx read.vi in a while loop and set the 'number of samples per channel' to 100. I want to plot these data as a function of time by using a XY graph and also save these data. So I add a 'Mean' function to get the average of the 100 samples per each loop (than means, there are 20 data output per second). But when I set the 'number of samples per channel' much smaller (to get more data per second), there are some problems. It seems that the program cannot read so many data and get the average at a higher frequency. I don't know where the problem is. All in all, how to collect data more frequently?Maybe I didn't express my question clearly. I'll upload a simple program later if necessary. Thanks.
    Solved!
    Go to Solution.

    Another question is in continuous mode, NI DAQmx uses Samples per channel to determine the buffer size. But according to the website you specified, it says if the acquisition is continuous (sample mode on the DAQmx Timing.vi is set to Continuous Samples), NI-DAQmx will allocate a buffer according to the following table. And for sample rate between 100 - 10,000 S/s, the buffer size is 10 kS. So if I set the sample rate to be 5000 S/s, and set the Samples per channel to be 20000, then what exactly the buffer size is? 20 kS or 10 kS?
    Thanks.

  • DAQ device for linear encoder & labview 7.0

    Ok, I am in a bit of a bind, so the quicker the response the better =).    I currently have Labview 7.0, and am needing to read the pulses of a MicroE hi-res encoder.  I know I am in need of a DAQ device, so I just want to know which one would be the best (cost-effective & easy to manipulate with Labview).   Also, I need three analog inputs as well.  Preferably the range of the analog inputs would be 0-10 volts (well, preferably 0-10mv, but that is unikely).  I am very unfamiliar with programming Labview, but will learn what I need .
    Thank you VERY much!

    Hello heepofajeep,
    I would highly recommend you go with an M-Series Mulitfunciton DAQ Device for this application.  The two counter channels on these devices have expanded support for two phase relative linear and angular encoders, compared to older E Series devices.  In addition, these devices are capable of performing analog input, analog output, and digital I/O operations.  They contain a minimum of 16 analog input lines, with a programmable gain amplifier that will allow you to programmatically set the range anywhere as large as +/-10V to +/-0.1V in order to take full advantage of the resolution of the ADC on the device.  These devices can be programmed in LabVIEW 7.0 or later with the NI-DAQmx driver, and there is the DAQ Assistant and many great example programs for getting up and running with your application quickly.
    I hope this information helps and let us know if you have any further questions.
    Regards,
    Travis G.
    Applications Engineering
    National Instruments
    www.ni.com/support
    Message Edited by Travis G. on 08-18-2006 04:55 PM

  • Programati​cally delete a DAQ device

    I have created a system with hardware (a USB DAQ) and software that is to be installed on multiple computers overseas. I want to make the set-up as easy as possible because I don't think the people doing the setup will be very well trained, and I won't be there to fix any problems.  I have created an installer that includes all the hardware as well as software setup, but there is one issue left, and I'm not sure what the best way to solve it.  If the installer is run before the DAQ is connected, then the installer creates a virtual device. If the DAQ is then connected, it is named Dev1, which doesn't work with any of my tasks, of course. I have some code that runs, and verifies the hardware set-up each time the system is started, so I can see if the device with the proper name is virtual, and if so, I can rename the actual and virtual DAQ device to the right names, so my tasks operate properly. However, I now have a virtual device hanging out on my system doing nothing, which I would like to avoid, because there is an outside chance that I will end up on the phone trying to explain to people how to straighten out a system when it goes bad, and I want to keep it as simple as possible.  I have two questions:
    Is there some way to delete the virtual device programatically?
    Is there some better approach to accomplish what I am trying to do? I thought about not allowing the installer to proceed if there is no DAQ device plugged in, but I don't know if that is possible.

    Jeff·Þ·Bohrer wrote:
    Hmmmm...... There has got to be a way to script up the "Toss Tasks to MAX" and "include .nce" as part of a "Deploy" process. Wirebird, Jack?  any opinions on that?
    I would tend to agree with John_P1's quote below:
    John_P1 wrote:
    I honestly just build up my tasks programmatically.... You can do just about anything that you could do in MAX programmatically via the System Configuration API.
     And I would tend to shy away from:
    Jo-Jo wrote:
    ...I just find [that using MAX] really speed development, and help with maintanence because you can test out all of your tasks in MAX outside of any LabVIEW code. And debug and toubleshoot hardware without using any of your own software, so you know any problems are not software bugs.
     once going into production. MAX tends to be a good tool for getting your feet wet after unboxing the hardware, but something you gradually migrate away from after the prototyping phase -- yet occasionally return to, as you mention, if you need to back up to square one for new prototyping or as a sanity check.
    It's possible to deploy NCE hardware behavior configurations, but not necessarily desirable. For the same reason it's possible to deploy any arbitrary configuration (INI, XML, ....), yet it's likely more desirable to build this configuration programmatically -- perhaps persisting it to disk if it's a user-modify-able configuration, or if it's desirable to persist user settings between subsequent deployments -- else it might be most desirable to keep the "configuration" hard-coded as essential business logic (as DAQ tasks might tend to be).
    Though, it sounds like you have a solution, and that's far more valuable than more work! Keep a tally on whether the current deployment strategy keeps you and your end users happy, and if so, keep it! Else, consider John_P1's advice, which is more likely to scale with your application if things get hairy.
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • I have a 3GS. The iPod on the phone has made duplicates of some songs. I've tried using the "get info" dialog box to set all the information the same but the dups are still there. Even after erasing all music with iTunes they are still there.

    I have a 3GS. The iPod on the phone has made duplicates of some songs. I’ve tried using the “get info” dialog box to set all the information the same but the dups are still there. Even after erasing all music with iTunes, iTunes is empty but they are still on the phone.

    Some Users have reported that a Restore as New  has Resolved Issues after the Upgrade...
    Backup and Set Up as New Device
    http://support.apple.com/kb/HT4137

  • How do I read detailed device information in DAQmx?

    Hi,
    I'm developing an application using the DAQmx C API and the 6602 Counter/Timer.  I would like to know how to read more detailed device information using the C API, i.e. more than just the type, serial number, and whether it's simulated.  I have seen several posts about this topic, but none appeared to give a satisfactory solution.  It has been mentioned that the DAQmxGetSystemInfoAttribute() serves this purpose, but it's not documented in the DAQmx C Reference Help files, so I don't know what attribute values ( DAQmxGetSystemInfoAttribute (int32 attribute, void *value, ...) ) are valid, and therefore am unsure as to what information can be obtained by this function.  To be more specific, I would like to read device information such as pin names and function, number of counters, number and name of digital I/O ports, etc, so that the application could automatically identify and list the available resources (similar to the way MAX does as you go through the task creation procedure).  Is this possible with DAQmxGetSystemInfoAttribute() or any other function?
    Thanks,
    Jeff 

    Hi Serges,
    Thanks for your reply.  I'm OK with retrieving the device names, the question is whether there is a way to obtain detailed information once I have the name.  For instance, if I find (via DAQmxGetSysDevNames() and DAQmxGetDevProductType( )) that there is a PCI-6602 board installed, can I then call a function to retrieve details about the PCI-6602 (e.g. physical channel names, DIO port capabilities, etc.) rather than hard coding (yuck!) this stuff into the program.  It seems plausible that there might be a set of files somewhere within DAQmx which provide this sort of device information - if so, how can they be accessed?
    Jeff 

  • NSU Unable to Retrive Device information

    I have nokia E71.  I want to update my mobile software. so  i have downloaded NSU yesterday. & after that i start PC SUITE & set mobie on GENERAL mode.And  it connected but wen i start to update it shows error that  :" Unable to retrieve device information " . Here is the screen shot. so plese solve my problem!!!what to do ??
    Attachments:
    Nokia12.png ‏46 KB

    Hello, i know this a few minutes laiter but, guess what, i never unplugged the cable or closed the updater application and now its updated despite what the progtam pretened to tell me. in some kind of weird way it updated the phone. Don't ask me how or why. let Nokia sort it out. My advice, let it stay at the error message and keep the cable connected for about 30 min. that is basicly what happened.
    Message Edited by rockzor on 05-Aug-2008 07:50 PM

  • How do i detect DAQ device number programatticaly using Visual Basic (not using MAX)?

    how do i detect DAQ device number programatticaly using Visual Basic (not using MAX)?

    Several of the CWDAQ objects have Device (the device number), DeviceName, and DeviceType properties that I think will give you the information that you're looking for. For more information, look in the index of the Measurement Studio reference for Device, DeviceName, and DeviceType.
    - Elton

  • Why is my USB DAQ device not detected by Windows?

    Hello,
    I had my USB-6229 connected to my PC (Windows 7 64bit) this morning and everything was fine: Windows detected the device, the device showed up on on NI MAX, and testing through NI MAX was successful. I then installed the NI DAQmx 9.8 driver to replace the NI DAQmx 9.6 driver that I was using (the DAQ Assistant icon in my functions menu in LabVIEW 2013 was not present, and this upgrade fixed that issue). Unfortunately, Windows now no longer recognizes the same DAQ device that worked earlier this morning.
    Here's what I've tried so far:
    Uninstalling the 9.8 driver and re-installing the 9.6
    Tested another USB DAQ device; Windows could not detect it either
    None of the DAQ devices register on WIndows's device manager (usb ports not broken, as the flash drives I inserted showed up on device manager)
    As expected, none of the devices show up on NI MAX
    Does anyone have any suggestions on what may have happened when I upgraded from the 9.6 driver to the 9.8?

    Thanks for your reply, Philip. Yes, I did reboot my computer after installing the driver.
    I contacted NI support, and we were unable to reach a solution, so, as a last effort, re-installed the driver for the third time, which finally worked. I'm not sure what the problem was, but here are some extra steps I took before re-installing the driver that may benefit those who encounter a similar problem:
    1. As Philip mentioned, start the NI Device Loader if it has not been started or stop/start it if it has. The startup status ought to be set to "automatic." You can find the NI Device Loader by starting Task Manager, selecting the "Services" tab, then selecting the "Services" button. Scroll down the list until you find it.
    2. Open up Device Manager and search for your device (mine was labeled as "unidentifiable"). Right click and select "Properties." Select the "Driver" tab. You may need to manually select the driver folder, which should be located in C:\Windows\system32\DRIVERS.
    Hope that helps.

  • How do I set up devices to access my mobile hotspot once its on?

    How do I set up devices to access my mobile hotspot once its on?

        Great question Bnrybtch019. It's important to have access to all your features, I can help you with that. Since you didn't specific a phone model, these are the steps for a popular Android-Operating Phone http://vz.to/1yrBX0e .
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

  • Can I use the same itunes for my ipad and iphone?  Will the computer erase my other device information?

    Can I use the same itunes for my ipad and iphone on my computer?  Will the computer erase my other device information?

    The computer will not erase the information.  Each device will show up in iTunes as a separate device and you can control the information for each device through iTunes.

  • My daughter disconnected her iPod nano from the lead before ejecting the device.  It no longer syncs and we have re-set the device, but it now only occasionally appears on the computer screen any suggestions please?

    My daughter disconnected her iPod nano from the lead before ejecting the device.  It no longer syncs and we have re-set the device, but it now only occasionally appears on the computer screen any suggestions please?

    Restoring the iPod will do nothing to his iPhone.
    When you restore it wipes the iPod clean no matter what computer you use.
    The only plus to doing it form your home computer is if you have a backup stored there, then you can restore from the backup once it's done wiping.
    If you are away form your home computer, go ahead and use the computer you have to restore it, then when you get home, you can restore form any backup you may find. You can use this to help you do that when you get there: http://support.apple.com/kb/ht1766

  • I just bought something via my debit card but since i set my payment menthod to none and now i cant set my payment information back ...Its declined my card how i can solve this problem thankyou

    I just bought something via my debit card but since i set my payment menthod to none and now i cant set my payment information back ...Its declined my card how i can solve this problem thankyou

    I think the problem lays with Last.fm. I had the same exact problem as you. In your processes screen, end the task "lastfmhelper.exe" Last.fm still scrobbles. The tracks don't skip, although I notice there is still a bit of a lag in the first part of the song - but if you can deal with that, no skipping. I think you will have to end that task everytime you boot up your computer, or uninstall last.fm completely until they fix it; it is a bug in their software, as opposed to iTunes.

  • Change CSV device information in subscription?

    We have: SQL Server Reporting Services 2008 R2 SP2.
    We have a report subscription that renders in CSV.  The ReportServer.config file has UTF-8 for the Encoding for the CSV rendering.  We want to leave that alone.  We want to change the encoding to UTF-16 for a single report subscription.
    TIA,
    -Peter

    Hi Peter,
    Just as you said, we can change the device information settings for the CSV rendering extension in ReportServer.config file. But the change would apply to all the reports on report server. As per my understanding, I don’t think we can change the CSV device
    information for a single report, let alone a single report subscription.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Trying to add a DAQ device to NI-DAQ without hardware

    I am developing software for a DAQCard1200 on Windows 2000. I develop most of my software on a system without the actual hardware installed. Since the NI-DAQ dll will error on load under Microsoft C++ unless you have a device configued, I used to configure a device manualy on the development system under NI-DAQ.
    I am trying to use the latest version of NI-DAQ (6.9). I cannot seem to add a DAQ device unless I actually have the hardware installed.
    How can I work around this to add a device without the hardware or how can I get the dll to load without a device configured?

    I am not sure how to add any DAQ devices to MAX. When I right click Devices & Interfaces, I only get a list of SCXI, PXI and VXI devices/chassis. Is there another way of adding devices or expanding the list?

Maybe you are looking for

  • Making a field in ALV as display only in FPM

    Hi , I have a requirement where in I need to make a field(which is a dropdown) in ALV as read-only field in one of the webdynpro application(WDC_WSGM_GR)  called in FPM_OIF_COMPONENT. Can somebody help me find the place/method where we can make this

  • NLS_Characterset and NLS_NCHAR_character set

    Hi, I am trying to insert more than 1000 characters in a nvarchar2 (2000) field for my database with nls_char = AL32UTF8 and nls_nchar_character = AL16UTF8... get too long value error

  • Transportation time using condition technique!!

    Hi All, Can anyone tell how transportation time is calculated using condition technique (APO)?  we have defined following in access sequence for scheduling Plant Destination country Spd trans. zone Shipping Conditions Weight group Factory Calendar ID

  • Hdmi hook up to onkyo 906 problems

    Has anyone figured out a way to use their Apple TV with an Onkyo 906 reciever (using HDMI).  THe receiver is set up to accept the HDMI in but I only get a blue screen, no menu.  I get audio beeps when I press the remote but no video.  Cables and ATV

  • Does the guest network use more electricity?

    Does turning on the guest network cause the Airport Extreme to use more electricity? I wonder if I can save some money by turning it off since I don't have guests over that require WiFi very often. Also would the unit run any cooler w/o the guest net