Daq device emulation

Is it possible to simulate somehow the daq device to testing the program without real hardware installed?
It will be nice to have the possibility to write, test and debug some code without hardware of when hardware is busy...

Hi Baturin,
This feature (simulated DAQ devices) is currently not available with our DAQ drivers. If you wish to run DAQ code, you will need the DAQ device installed. We have had several requests for this feature and are looking into including it in our next NI-DAQ driver release.
-Sal

Similar Messages

  • 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;}

  • 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?

  • Sending a signal to 1 of 2 different pins on a DAQ device

    I am trying to make a VI that simply sends a digital signal to 1 of 2 pins on my DAQ device. Is there an easier way to differenciate between the two pins then using two different virtual channels?
    Attachments:
    test1.vi ‏12 KB

    Here you go in 8.6. Also, please note to read two lines you will have something like this in the channel constant: Dev1/port0/line0:1
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies
    Attachments:
    test_modified.vi ‏11 KB

  • Without NI DAQ device- how to get data from MSP into labVIEW and process it

    Hi,
    I do not have an NI DAQ device. I have an MSP430 and my sensor is an ADXL335 Accelerometer. How do I get data from my MSP into labVIEW and process it?
    Just looking for a nudge in the right direction. I'm having a hard time finding resources on labVIEW that don't involve NI specific DAQs. 
    Thanks in advance,
    Aziz

    There are many ways to get data into LabVIEW that do not involve NI-DAQ devices.
    I think your easiest option would be to stream it via serial port if the data rate isn't too fast.
    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

  • Using Chromes device emulator as iPhone does not redirect to /tablet/ or /phone/ content on BC website

    Anyone know how to get chromes device emulator to load the /tablet/ or /phone/ content?
    I published a Adobe Muse website to BC and i get my /tablet/ and /phone/ content when hitting the website with a physical iPhone or iPad, but the chrome device emulator does not.
    Thanks!

    It does send the user agent.  If you change the user agent it recommends refreshing the page.  When i refresh the page i am not taken to the /tablet/ or /phone/ content folders.
    This is what they send when you choose iPhone iOS 6
    Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25

  • Adding a new device emulator

    hi,
    currently i am using the wireless toolkit from sun to run my progs.. but sideby side i have also started using borland jbuilder enterprise 2005..
    now my question is actually regarding jbuilder.. in order to add a new device to wtk all i did was place the device folder in the wtklib/devices folder and that particular device emulator would be added to the devices installed list in wtk.. but i am trying hard to install a new device precisely the series 60 1.2. emulator to jbuilder but i am unable to do so.. any idea how this is done.. i have tried putting the device folder in the Borland\JBuilder2005\j2mewtk2.2\wtklib\devices folder.. but this does not detect the newly added device..
    please any help would be appreciated

    If you are unable to make the changed on your router using the Network magic software, then login to the setup page of your Router manually and secure your wireless network.

  • PXI 7344 motion controller as a DAQ device for ELVIS

    Hi,
    Is there a way to reconfigure a PXI-7344 motion controller with its two 68-pin connectors so as to use it as a DAQ device that would receive the signals from a NI ELVIS workstation. The 7344 has a "motion I/O connector" and a "digital I/O connector". Analog outputs are even possible if I remember well, as well as digital.
    Thanks

    Hello,
    The card does has some analog input and outputs. I would check the manual here: http://www.ni.com/pdf/manuals/370838b.pdf. The DAQmx API with a DAQ card is going to be much better than interfacing with a motion card, but you should be able to read off it at the least.
    Rahul B.
    Applications Engineer
    National Instruments

  • 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.

  • Windows Mobile Device Emulator doesn't display when cradled

    Good afternoon,I am trying to get the WM Device Emulator to function on my Windows 7 Pro 64bit machine. I have tried quite a few things and am still stuck on the issue.This is a new install which is where the problem is. I am installing Windows Mobile Device Center (for Windows Vista, because there is no such copy for Windows 7) andWindows Mobile 6.5 Professional Developer Tool Kit. Once installed, I go into WMDC and adjust the connection settings to "Allow connections to the following: DMA" and uncheckmark USB. going into WM device manager and pulling up the Emulator I am able to see something to connect to, when I go to cradle the device, nothing happens.I have installed and uninstalled these applications multiple times, going as far as installing Visual Studio 2015, which still didn't resolve a problem. I have also tried downloading...
    This topic first appeared in the Spiceworks Community

    Ensure that your Bluetooth device is in the "Discoverable Mode".
    The following website:
    http://aps.toshiba-tro.de/bluetooth/redirect.php?page=pages/howto.html
    offers a document called:
    "Synchronization via Bluetooth (Vista WindowsMobileDeviceCenter --- WindowsMobile 5)"
    which is maybe helpful for you.

  • Command or Query to list all connected DAQ devices

    Hi,
    I am looking for a simple query or function in labview to scan for connected DAQ devices and list them.
    Example: With VISA drivers, there is a function "find resources" when passed appropriate query string will return with the list of Ports (or devices connected).
    Is there any similar command that can be used for connected DAQ devices? I can look in MAX and see all devices connected under "NI-DAQmx Devices". However, my aim is to get that list in Labview via a query or function.
    your input is appreciated.
    Thanks,
    SS

    You use a couple of DAQmx property nodes.
    Message Edited by Dennis Knutson on 05-13-2008 02:10 PM
    Attachments:
    Get List Of DAQmx Devices.PNG ‏4 KB

  • How to simulate a DAQ device and use it for testing applicatio​ns without hardware??​?

                            how do i simulate a DAQ device
    in MAX and use it for testing applications without  hardware???
    If my application requires inputs
    from external hardware to proceed how can I simulate a DAQ device in LabVEIW?
    i need to simulate several Digital inputs and Outputs to test the software. currently i dont have the hardware and DAQ device here. 
    please reply with your valuable suggestions. 
    many thanks in advance
    RENN 
    Kudos always welcome for helpful posts
    Solved!
    Go to Solution.

    Hi,
          There is no option to simulate traditional device.You need hardware for that so i would suggest to simulate a PXI device which has similar configuration to PCI-6014 and to do a small modification to your application..

  • HDP Agent Device emulator and Bluetooth Stack for Win

    Hi All,
    We have successfully installed the Bluetooth Stack for Windows (Toshiba v7.10.01)
    We would like to know the initial steps on how to test samples given in the Toshiba SDK with the HDP Agent Device emulator?

    We are using the HdpAgent tool provided by Toshiba to simulate the HDP.
    Successfully installed latest Bluetooth Stack for Windows by Toshiba Version v7.10.01
    After this we followed below steps to run the HDP Agent Device emulator test application
    1. Set the [Data Type] as Scale
    2. Clicked the [Power]-[ON] button
    3. Set the [Connect Target] to the BD Address of the connection target.
    4. Set the MDL Configuration in [Connect]
    Tried both options - Reliable and Streaming
    5. Clicked on the[Connect]-[Auto Connect/IEEE] button to start
    connection with target device.
    After executing step 5, we are getting below error
    Start Auto Connect
    !!! ERROR Get HDP PSM()
    Please help us to proceed further to emulate the HDP device.
    Message was edited by: rajusb

  • Can I use a NI 6009 DAQ device to act as a switch to close a circuit?

    Can I use (and how do I do it)a NI 6009 DAQ Device as a swith to close a ciruit?

    You can't use the 6009 as a switch. You can use the DIO to control a switch (like a FET or transitor).  How you would do this really depends on your application.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • 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

Maybe you are looking for

  • Mixdown options are greyed out???

    I've recorded something with my guitar through USB with CS 5.5 and for some reason the mixdown options are greyed out. What should I do to make them function again? I've tried reopening the piece and saving it under a different name, but nothing seem

  • Cant transfer movies from ipod to iMac

    I have some old workout videos on a 3rd gen ipod touch that i want to transfer to my imac... I have a 2011 Imac with os 10.8.2 mountain lion...with the newest itunes....when i connect the ipod it shows what i have on it but wont let me copy the files

  • Hi.web reporting tools and templates

    any one could  help me regarding web reports and how we will create the templaetes in template

  • How do you create a database link in Forms9i

    I am writting and application that is to connect to multiple databases and do given task, but the triggers I assign to items only work in the database that you connect to for forms to run. How do you create a database link in Forms9i? Thank you in ad

  • Install window continues to appear everytime Firefox activated even though it's already in applications menu

    I installed Firefox a couple months ago. Now every time I want to use it, the install window pops up asking me to place it into the applications even though it's already there. It's a pain to deal with. How do I stop it?