Synch series AO DAQmx with DIO

There are not many examples DAQmx for AO series.

Can someone give me an example of how do I synchronize using outputs analog DAQmx on the digital master with exit/entry table on a Board of the slave?

I have an AO Series PCI-6723 (Dev1) and a DIO PCIe-6535 b the (Dev4) connected via a RTSI bus.  I've defined the RTSI, using MAX cable and added the two devices.

Have had no success and cannot find a suitable example.

I'm on a Windows 7 computer that runs Labview 2012.

Thank you

Gretchen

I found a solution!  It is complex, but it seems to work.

I used DAQmx export signals VI & DAQmx connect terminals VI.

See attached VI.

Gretchen

Tags: NI Hardware

Similar Questions

  • Apple Watch series 2 comes with the same battery life?

    ddoes Apple Watch series 2 come with the same autonomy and 18 hours without sleep tracker device?

    Hello

    Yes - Apple Watch series 2 offers up to 18 hours of battery life.

    Follow-up sleep was not announced as a new built-in feature.

  • Can I replace ser pk 2 with ser pk 3?

    Can I replace ser pk 2 with ser pk 3?

    SP3 is just an update for sp2

  • Should what product I use to create and present a series of modules with text, audio and video? As a super duper powerpoint?

    Should what product I use to create and present a series of modules with text, audio and video? As a super duper powerpoint?

    I think you could use DW, but it would be browser based and you need to understand a lot about html, css and javascript to do. Adobe Captivate seems closer to what you want: http://www.adobe.com/cfusion/search/index.cfm?term=buy+captivate&loc=en_us

    Is not part of the subscription of cloud creative and is 1000 US $ or $29.99 / month on its own...

  • DAQmx task Read DAQmx with sampling frequency of 10 Hz produced much too much data

    I have a simple configuration with a strain of channel 4 OR-9237 amp holds a carrier of series C of WLS - 9163 (wired ethernet mode) - Details probably does not matter.

    I used MAX to create a DAQmx task associated with which all four gauges samples.  The calendar setting is "Scan Loads" is continuous sampling, 2 k buffer (read samples) and 10 Hz rate.  I guess that this task would generate 40 data values per second - 10 for each channel.

    I have a simple loop of reading using DAQmx Read.vi that works always (without any stimulation time).  Playback is set to read all available data and then pump it into a table.
    In the attached example, I also added a few words of debugging to stop the loop after N iterations.

    As the loop is programmed with a 0.2 second period, I expect each pass of the loop to read about 8 samples or 2 samples per sensor.  Instead, I get hundreds each passage.  It's like reading has substituted the sampling frequency specified in the task of the unit.  I absolutely need data to be material to the rhythm.

    Where have I lost?

    Thanks Adnan,

    I changed your example I selected 'Strain gage' entry analog and then lowered the minimum and maximum thresholds to +-1-2.  What happens is that each other in the loop, I 2048 samples or zero samples.  The display flashes a whole line and then it clears any other past.

    In response to your second post, I understand that the loop cannot run quite right that I select.  I think that, but at a sampling frequency of 10 Hz, I have to sleep on the software side for nearly a minute before I built 2 K samples.

    I played with the frequency of sampling, assigning to various values from 0.1 to 10000Hz.  The behavior is the same until I approach the high rates where available samples remains to 2048-4096 sometimes, the display becomes continuous.

    Ahhh, Darn.  Yet another search was this link that points to the root of my confusion.  The 9237 can taste arbitrary rates using its internal clock.  Duoh!  I wish that the pilots are smart enough to warn you if there is a discrepancy between the selected sampling rate and capabilities of the device

  • Series A300D comes with 3-* dishes *-pin adapter

    I would like to know if the A300D series come with 3-* dishes *-pin adapter, thank you.

    Boyfriend sorry but that's a question.
    If you buy all new laptop to the United Kingdom, it is to expect that this laptop will be delivered with country specific power cable.

    Can you please tell me why you ask this question?

  • I want to buy a series of satellites with this form

    Hallo from Greece, I would like to ask if anyone knows where I can find a series model of A Toshiba Satellite with this specification because here in Greece, we have only PRE-CONFIGURE TOSHIBA LAPTOS:

    1 Operationg System - Windows® XP Home or PRO Edition (Windows Vista Capable)
    2. the processor - Intel® Core 2 Duo T7400 2, 16 GHz processor or T7200 2, 00 GHz
    3 chipset - Mobile Intel 945GM/PM Chipset Exress
    4 memory - 2048 MB PC5300 DDR2 (. 667 MHz!) (1 x 2048 MB or 2 X 1024 MB)
    5.? ARD disk hard - 100 GB or 200 GB but with (! 7200 RPM!) Serial - ATA (SATA)
    6 optical disc drive - DVD SuperMulti (+/-R double layer)
    7 display - 15.4 widescreen diagonal LCD display TFT TruBrite active matrix to the native resolution of 1280 x 800 (WXGA)
    8 graphics - subsystem PCI-Express graphics x 16, featuring: NVIDIA® GeForce Go 7900 or 7600 or 7400, 256 MB of DDR or 512 MB DDR
    9 sound -? built - in the Harman Kardon® stereo speakers, 16-bit stereo, Toshiba Bass Enhanced Sound System with SRS® TruSurround XT and SRS® WOW system
    10 devices - entry keyboard: keyboard single or better
    Pointing device: Touchpad single or better
    11 communication - Modem: modem software Toshiba V.92
    LAN: Intel® PRO/1000 PL Network Connection - 10/100 /! 1000!
    Wireless: Intel® PRO/Wireless Network Connection 3945ABG (802.11a/b/g)
    Bluetooth: Bluetooth® version 2.0 more Enhanced Data Rate (EDR) with Toshiba Bluetooth driver
    12 expansion capability - a PCMCIA Type II/Type I card
    ExpressCard slot ExpressCard/34 and ExpressCard/54
    13 ports - video: S-video output port
    Audio: Output Port inlet port Microphone, headphones
    Data: i.LINK IEEE-1394, USB v2.0 4 port LAN RJ-45, RJ-11 modem port
    14 LCD color - sunlight silver or copper
    15 battery - 6 cell (4000mAh) removable, rechargeable Lithium Ion (Li-ion)

    The most important things for me is the CPU Core2Duo T7XXX, RAM 2048 MB 667 MHz, hard drive 100 GB or more but 7200 RPM and the wide screen 15.4 diagonal!

    Hello

    all Toshiba laptops are preconfigured.
    But as you say, memory and HARD drive are important to you, this is no problem. This can be improved.
    Look for a model with the right processor and then upgrade if necessary.

    Good bye

  • Visa series parallel read with arduinos, data are delayed

    Hello

    Currently I use two arduinos asynchronous data read from sensors of temperature and humidity. Each arduino send back 4 floats, separated by commas, with a stop of "\n" character In labview, data gets broken upward and then pushed to live plots. In addition, the data gets written to a file - arduino #1 and #2 Arduino have their data sent to different files. It is important to note that the arduinos have different rates by which they send data on the comms series. Ideally, we would like that the data of every arduino to enter and update locations independent real-time each other.

    I'm having a problem where data do not seem to be displayed in real time. I can touch a thermocouple and then ten seconds later, the temperature will change. This delay seems to grow over the short program, which is a problem since we use a direct result of the plots to determine when to start various processes of cooling.

    I wonder if due to different data rates the thrust arudiunos, if there is some kind of buffer somewhere that has a "backlog" of the fastest arrduino data and must wait for the slower arduino data until it does nothing. It is obviously a problem of data flow, but I'm pretty green with LabView and was looking for some advice or pointers. I want to mention that the arduinos send data quickly; they send every two seconds or more.

    Hello MrScientist,

    can you please try to use two separate while loops, one for each COM port, because if they're in the same loop, it can happen that they block each other.

    A second option is always read all the information on the COM port and made a ring buffer and filter information of these buffers.

  • DAQ USB 6363 - generate digital data series through the single DIO line

    Hello

    I'm new with Labview, currently, I bought NI DAQ USB 6363 for generating control signals and signals analog accquire. I would like to send digital data series through one of the digital IOs with throughput of 30 kbps. Please see the attachment for the data frame. Could someone comment the feasibility of this? Y at - it codes for the example that I can refer to? Most of the examples I've looked at so far deals to generate several line instead of 1 single line. How can I achieve this?

    Thank you

    Diem

    Hey diem.

    After looking on your code, I understand what you were trying to do. Here's how I'd do. Usually we do not write code to clients, but you peaked my curiosity of! I hope this helps. Good luck!

    ~ kgarrett

  • Data acquisition tool NOR-DAQmx with Matlab R2012a

    Hello

    I'm trying to control NI USB-6211 of Matlab 2012 using NOR-DAQmx Data Acquisition tool:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/3005

    I'm working on win7 64 bit. And I see the device AND Measurement & Automation Explorer.

    The tool does not work: DAQ_Demo_Browser do nothing. And I got the error "unexpected or unbalanced parenthesis or support" of AcqNUpdates_nonUI.m

    What is the problem?

    Thank you and best regards,

    Arthur Shulkin

    Hi Arthur,.

    Tools OR DAQmx for Acquisition of data with the Software Inc. MATLAB® from The Mathworks, supports up to the 2008 version of the MATLAB® software.  In order to use our products DAQ Multifunction with MATLAB® software, you could get back to 2008 or earlier, or instead use the Data Acquisition Toolbox provided by The Mathworks, Inc.

    Another option would be to import your ".m" files in a node MathScript in LabVIEW and use the functions of NOR-DAQmx everything in the LabVIEW development environment.  For more information on the Module LabVIEW MathScript, you can consult the information available on this link:

    Inside of the LabVIEW MathScript RT Module

    MATLAB® is a registered trademark of The MathWorks, Inc.

    Katie

  • DAQmx: With relaxing break pulse blocking

    I have a NI 9401 module in a chassis 9171 and stand at the door of the output of a counter with the release of another counter. 1 meter (the signal to be blocked) generates a 3 Mhz signal and meter from 0 (the door) generates a 10 Hz signal that is sent outside to door pin of 1 meter. I expect this would be counter 1 door signal to produce the 3 Mhz flashes only when the counter 0 is high, but the wiring had no effect on the output of the 1 meter, it has always generated a continuous pulse train of 3 Mhz.  I found that a code is necessary to get a counter to pay attention to the signal to his door pin (this message was particularly useful) and it can be done with the node property relaxing break. After you have configured the node, however, I fell into this error:

    Error-20124 occurred at DAQmx start Task.vi:2
    Lines 4 to 7 of this port are configured for the entry. Cannot configure these lines for output at this time.

    I'm quite puzzled by the present.  The problem seems to come try it designate 5 PFI ('CTR 1 door' on the 9401) as the source of relaxing break.  If anything, I think the error would be that lines 4-7 are configured for output, since these lines are grouped under CTR 1, which is configured as a channel of CO to generate the 3 Mhz pulse train, and the definition of line 5 as the break source changes the configuration on an entry.  Looking for this error in the forums OR and Google isn't pulling up of troubleshooting information.  I tried to create a task to configure line 5 as a separate digital input channel, but then I get the error saying (error-200125) opposite that lines 4-7 are configured for output and cannot be configured at the entrance, to make things more confusing.

    Any thoughts would be appreciated.  I'm afraid I'm missing something obvious about blocking the impulses or CO channel configuration as I continue to read that one of the benefits of DAQmx on Legacy DAQ, is that it makes easier routing signal.  I'm using LabVIEW 2012 (32 bit) with DAQmx 9.5.5 installed.

    Hi agoncalves,

    I took a glance at your VI and I see two immediate problems:

    1. it is not guaranteed that the two tasks will be reserve before the start of each one.  This explains your error and why it seems confusing.  The 9401 is configurable nibble, but you cannot change the direction while the device is being used (why the reserves are important).  The module starts with two nibbles the input value.  Your first task causes an exit so it switches direction on one of them.  When your task is committed (started), it hangs in this configuration.  The second task then also try an output drive, but on the other nibble that is entered and can not be activated because the first task is currently running.  The solution is to use the thread of the error to force the order of execution (or use a flat sequence structure).

    2. you won't run out of problems with your trigger signal unless that connected you to a separate entrance (and put the two trains of pulses on the nibble even).  You can change that by setting the property of canal CO. Pulse.Term. that's if you want to spend your signal through a few circuits external and back in.  If you use the signal directly, you can just use it internally.  By example/cDAQ1Mod1/ctr0InternalOutput

  • leak memory using daqmx with c#

    Hello

    I m of the problems using the c# to DAQmx API. I have attached a sample program to demonstrate the way in which I use the API.

    The problem I m facing is that the application needs memory more and more over time. My hypothesis is that leaking memory has occurred somewhere I tried different ways to call the API and read the documentation on methods, but I still didn t manage to get around this problem.

    Any help is the aprechiated!

    PS: A brief description of my program:

    -Create tasks (DI, HAVE, AO)

    -Add channels (DI, DO, HAVE,)

    -StartTasks

    -Start the Thread and cyclical read/write of the current values to/from local variables

    Hi niwaly,

    I recommend that you test the examples. This way you can be sure that the issue is not the driver itself, and you can debug your application. It can also give you a clue on how to proceed.

    If you have any examples in the file that I mentioned, you have not installed the driver with c# additional support during the installation procedure.

    Here are some examples:

    http://www.NI.com/white-paper/6999/en

    Kind regards

    Heinz

  • DAQmx with C JNI Java

    Hello

    I'm a newbie with a big problem:

    I need to write some functions DAQmx ANSI C (e.g. DAQmxCreateTask or DAQmxStopTask) in Java using JNI 'Java Native Interface'.

    My problem is the TaskHandler.

    How the TaskHandler in Java?

    For example: I write two native functions of 'Java_DAQmxCreateTask' and 'Java_DAQmxStopTask' Java OK - but to stop the task I need to know the TaskHandler in Java.

    Is it possible to convert the TaskHandler into a joint or a data jdouble or jlong type and use the return value of my "Java_DAQmxCreateTask" function for the parameter in the function "Java_DAQmxStopTask (taskhandler)"? Or is there a way to create a TaskHandler in Java?

    Java code example:

    taskHandler = Java_DAQmxCreateTask (...)

    ...

    Java_DAQmxStopTask (taskHandler)

    Thank you very much for your support

    and best regards

    Hi again,

    I fixed it by myself.

    I converted to the (long) TaskHandler.

    concerning

  • NOR-DAQmx with Windows7

    What is the oldest version of measurement and Automation Explorer that can be used with Windows7 32 bit?  My USB-6009 is considered by the windows Device Manager, but it will not identify MAX 8.6.  Do I need a later version?

    In this post, Adnan (CLA) says you must use DAQmx 9.0.2.  Have you tried this, or just the most recent version?

  • Make the OfficeJet Pro 8500 A909 series printer compatible with Windows 7 (64-bit)

    I was right, but he started from.  Could you please send me the link to make the printer compatible with my computer Windows 7 (64 bit) OJ Pro 8500 A909 series?

    Thank you

    The second link contains the complete driver giving you access to all the features of the printer.

Maybe you are looking for

  • How to make calls to my board NI GPIB-PCI using VC ++ 1.52?

    I'm making calls to my new NI GPIB-PCI board using an application which was developed using MSVC ++ 1.52 on a Windows 98 operating system. With the help of MAX I can see the Board of Directors and the instruments on the GPIB communication works fine

  • Contacts problem

    I renamed a group in Windows Contacts.   He appears under the name again everytime I open Windows Contacts.  However, when I open Windows Mail and the attempt to send a message to the new group, it still shows upwards under the former name of group. 

  • "Windows PowerShell has stopped working" error message popping up constantly

    I get the error "Windows PowerShell has stopped working" message popping up constantly (several times per minute).  This started after I restarted my laptop with nothing else running but the standard startup programs.  How do I get this resolved? The

  • BlackBerry Smartphones Appts of calendar appears not

    I've updated the Facebook app and now my appointments are not displayed on my homescreen under calendar.  Sorry if this is a repost.  I searched a few channels without success.  A batt pull once or twice without success.

  • Premiere Pro to crash on my first start of the program

    So I bought my subscription to Premiere Pro today and everything downloaded with CC and the second I start the first pro I select new project, and then the program closes down. I uninstalled and reinstalled, restarted my PC and still no luck and I am