Multiple channel simultaneous data aquisition with 6601 counter

Not concerning my primary question, I would like to point out to an N.I. Rep. that there is a typo in the help section concerning "posting a message".
I have built a large format, two axis digitizer using linear encoders, a 6601 counter/timer, and labview 8. In building my application program, I  initially am using two daq assistants, with each set up to accomplish  the task of reading two encoders (2 channels) simultaneously. In doing some research, It has come to my attention, that with my current configuration, errors may result, due to one daq assistant attempting to access the cards driver while the other is acquiring data.  All attempts to get two channels working through a single daq assistant have resulted in an error message informing me that I can only have one task per counter.Thus far, I have not seen any noticeable errors, thought I would like to have this device "rock solid", as it will be used extensively.
How can I get two channels working through one daq assistant?
Is it possible, that I should have purchased  an "S" series board instead?
Any help on this, is welcome!

If you are using different counter channels for each assistant task, then you should not receive any errors.  It's not possible to get two counters working through the same assistant task.  This restriction would also apply to S Series boards as well, so you should be fine with your application.
Please post again if you have any problems with this.
gus....

Similar Messages

  • Create Multiple Signature and Date fields with a custom Toolbar Button

    First off, thanks in advance!  I am a scripting newbie and I am trudging my way through with very little experience with scripting of any kind.  I am good at taking other's scripts and forming them into something I need, but I can't seem to find anything to do what I want.
    Using Adobe Acrobat X, I am trying to create a toolbar button that I can press to create multiple signature and date fields with predetermined locations.
    Below is the script I have that is working to create just a single signature box, but I can't seem to figure out the exact syntax to have that same button create multiple fields.  In total it is 9 signature fields and 9 date fields need to be created.  If you can just give me an example of what the button would look like with multiple scripts?  I was assuming I would set up multiple variables and then in the cExec property of the toolbar button I could just call out all of those variables? 
    var sigswm = "addField('sigSWM', 'signature', '0', [108, 198, 494.64, 72])"
    app.addToolButton({cName: "dotbutton", cExec: sigswm, cLabel: "Place Signature and Date Blocks",});
    Thanks in advance for any help you can provide.
    Billy Sweeney

    Thanks!  That was probably the only thing I didn't try.
    I do have one more question.  What I want is when the signature field is clicked it fills out a specific date field. I beleive the script I want would be:
    var currentTime = new Date()
        var month = currentTime.getMonth() + 1
        var day = currentTime.getDate()
        var year = currentTime.getFullYear()
        var signingTime = day +"/"+month+"/"+year
        var f = this.getField("dateSWM"); 
        f.value = signingTime;
    I found this on another thread that mentioned it could be placed in the Signed tab of the signature properties dialog.  I am assuming it would be placed in my button script file as a setAction script for each signature, but I am not real sure exactly where or how?

  • Monitor multiple channels for analog trigger with DAQmx drivers

    Hello! I would like to start a data acquisition of multiple analog channels (16) from an analog trigger. I would like trigger to monitor four of the (same) channels, and trigger when any one of them reaches a certain voltage. I found an example that would work with the Traditional DAQ drivers (using occurances), but can't figure out how to do something similar in DAQmx.
    Time is also an issue, as I would like to collect the first 80 milliseconds of data after the trigger (at a rate of 500,000 Hz).
    I'm using LabView 7.0 and collecting data off of two PXI-6133 cards.
    Thanks for your help!

    Hi Denise-
    After some research, I have found that it is not possible to use the functionality of DAQ Occurrences in DAQmx. Ironically, the reason that this functionality is available in Traditional and not DAQmx is due to the exploitation of an inherent limitation of Traditional that was upgraded in DAQmx. The multi-thread capability of DAQmx is a major advantage for most applications, but in this case it prevents the use of occurrences as they existed in Traditional DAQ.
    In short, this means that you can't directly use this functionality in DAQmx. You can however emulate this functionality with minimal software analysis of the incoming signal. I have attached a modified example VI that logs data to a chart only when the analog level of one of the channels being measured has exceeded a user-defined reference value. Basically, the task is running continuously in the background but the data is not actually logged until the signal is above a predetermined "trigger" level.
    Please let me know if the attached example is helpful for your application. You will see the input channels listed in the format "DevX/ai0:y" where X is the device number and y is the highest channel number of interest.
    Regards,
    Tom W
    National Instruments
    Attachments:
    Cont Acq&Graph Voltage-Int Clk Analog SW Trigger.vi ‏83 KB

  • Enable data paging with parameters count() on new php function issue (BUG?)

    I've got my app prototyped quickly with the default settings in Flex Builder 4.  Now I'm going back and adding/modifying features to polish the app off.
    For this application I'm using PHP5 as the server side.
    The data paging is really cool and simple to call using the default settings.  However, I'm running into issues with customizing the data paging feature.
    This is the default header of the php function that was created for me:
    public function getTblbrowserrecord_paged($startIndex, $numItems){...}
    Instead of dumping all data back to the function I want to be able to search on certain fields so I created a new function called:
    getTblbrowserrecord_search_paged ($szName, $szIP, $szRule, $szURL, $szDateLow, $szDateHigh, $szCode, $startIndex, $numItems  ) {...}
    The new function is tested and operates as designed.
    I set the input types of the variables and return type (Tblbrowserrecord[]) of the new function then went to enable data paging.  The first screen came up and asked me for the key to use which I selected.  The next screen came up and asked me for the number of records which I set to 100 then went to select the count operation.
    I initially selected the automatically created count() function but it came up with the error " Count operation parameters should match the paged operation parameters list."
    So I created another function to match the search function's parameter's list:
    public function count_searched($szName, $szIP, $szRule, $szURL, $szDateLow, $szDateHigh, $szCode, $startIndex, $numItems)  {...}
    But I still ge the error "Count operation parameters should match the paged operation parameters list."
    But they DO match.  I looked at the default functions that were created by FB4 and noticed that the automatically generated function count() has no parameters and the paged function has the two functions $startIndex and $numItems which are not identical yet they work.  I tried removing those two fields from the count function but got the same results.
    What am I doing wrong?
    Thanks!

    Nevermind... For some reason my FB4 is not updating correctly.  After removing the two control fields at the end of the list AND exiting the app/re-entering everything worked ok.  I've been having this issue a lot lately and am thinking that is is a bug of some sort?

  • One card triggering multiple 6071E simultaneous data acquisition

    I have 6 6071E boards in a PXI chasis and am trying to simulatneous trigger data acquisition on all the channels of all the boards. The trigger event is one channel on only one board. Using NI application note 129 I was able to get one slave and one master board to trigger, but could not expand it to a third board.
    Thanks,

    Hello;
    I'm attaching a labview example showing how to accomplish that task with a arbitrary number of boards on the PXI chassis.
    Hope this helps.
    Filipe
    Applications Engineer
    National Instruments
    Attachments:
    pxi_mio_speed_test.zip ‏58 KB

  • Multiple channels in one task with ch to ch config

    Hi,
    Normally the way I acquire sample from more than one channel on a cDAQ system is like this:
    1, I create virtual channels for my AIs in MAX
    2, in LabVIEW I use channel constants and merging them using comma as a separator (eg. with the concatenate string node).
    3, the I configure the sample clock using the comma separted channels as an input
    4, start the task
    5, acquire samples
    6, stop and clear the task
    This worked just fine so far as I acquired samples from my cDAQ modules with the same speed and all of them were simple analog inputs. But I have to implement a strain gage measurement (NI 9237) now and I'd like to use the bridge offset nulling calibration VI to get rid of the offset I have. That complicates my structure.
    It seems the VI I have created runs just fine but I am wondering if this is a legit solution as I used the sample clock twice. (the VI uses simulated channels for now)
    Attached the VI (LV2012) and its block diagram image as well.
    Please advise. Thanks!
    i-
    Attachments:
    Strain_test.gif ‏14 KB
    Strain_test.vi ‏36 KB

    I have failed to realize that the offset nulling VI has another input called "skip unsupported channels". This is false by default, but setting it true resolves the problem without changing my structure at all.
    Well done, kudos to myself
    Attachments:
    Strain_test2.gif ‏8 KB

  • Counter to measure frequency with multiple channels (Analog In/Out) in one vi

    Hi,
    I am using DAQ 6062E. I have multiple channels: an Analog In, Analog Out, Count Edges, and Count Frequencies. Without Count Frequency, the program works fine, I have defined a Sample Clock for each channel and then a common sampling rate. When I add Count frequency channel, I am not able anymore to use Sample Clock, since I get an error that Sample Clock can not be used, and if I change the Sample clock of the Count frequency to Implicit, then I can not connect different channels with a same sampling rate. In the attached file, if the Count Frequency is not connected to any Sample clock and sampling rate, the program works, but now I can not run the program for more than 5-10 Hz sampling rate, otherwise I get the error: 209802 “occurred at DAQmx wait for next sample clock, slow down the sample clock”. Does anybody know how to fix this problem?   
    Thanks a lot,
    Azadeh
    Attachments:
    multiple channel.jpg ‏117 KB

    Hi Otis,
    Thanks for looking at the problem. I ran just two counters in a same vi. I was not able to use the Sample Clock since I needed to define an external sample clock source. The vi is attached. I could run this vi fast (200Hz). So, I am not sure why when two counters are combined with AI/AO the rate is very slow. I have attached three vi(s). Just two counters, AI/AO/1 counter, and AI/AO/2 Counters vis. I am able to run the vis in 200 Hz except the vi with AI/AO/2 counters (maximum sampling rate 20Hz). I appreciate if you can look at it if I am missing something.
    Thanks,
    Azadeh
    Attachments:
    AI_AO_2 Counter.vi ‏153 KB
    2 Counter.vi ‏61 KB
    AI_AO_1 counter.vi ‏138 KB

  • Multiple channels displayed in curves

    Is it possible to simultaneously diplay multiple channels side-by-side with their respective curves and histograms when making curves adjustments?  --Not just simply overlaid upon each other in a single grid.

    No. I'm not even sure what that would be good for other than gobbling up tons of screen space, since it really doesn't tell you anything. It's one of the less endearing features in som color correction tools. Anyway, you have two redundant sets of keyboard shortcurts for switching channels inside such panels, and I'm sure that this allows switching fast enough to get whatever adjustments you need done just as quickly.
    Mylenium

  • DAQmx Create Multiple Channels

    I have downloaded the NI Bridge-Continuous Input Program and am trying to modify it slightly to allow for multiple Wheatstone bridges to be connected. Currently, it has the option to connect to a single channel but not to acquire information from multiple channels simultaneously. All of the information in terms of shunt calibration, bridge information, and waveform graph output will remain the same. Ideally, the program will show the largest value in the final waveform graph but it's fine if it shows separate graphs for each of the two inputs. I have been playing around with it without much luck although if I start from scratch and use the DAQ assistant I am able to get the information without trouble. Any help would be much appreciated.
    Solved!
    Go to Solution.
    Attachments:
    Force Measurement.vi ‏96 KB

    Actually you are 99.99% of the way there.
    You just need 4 characters
    The Name filtering on that control is even properly set to allow multiple selections so just shift click the second channel
    Jeff

  • Handling multiple channel takes in logic 8

    Hi!
    I wonder if there is any way to swap between takes on multiple channels simultaneously. Say that I´ve recorded a few takes on 8 channels of drums, or a couple of live takes of a whole band, and want to listen through them all. It is very time consuming to swap between takes for each track individually... A function for naming/sorting all channels in the same take would also be very useful.
    I have (of course) tried simply selecting all the tracks involved, and I can't seem to find anything useful using groups, and can't find any information in the manual...
    Thanks!
    /joel

    Pack each channel into a take folder (region>folders>pack take folder).
    Go ahead and delete all the empty tracks if you want.
    Go into the mixer and shift select all the channels that contain take folders and then group them. In the group settings menu check 'edit' or whatever it's called (I don't think it actually says 'phase locked audio' in Logic 8).
    Now when you open 1 of the take folders you can just click on the different take lanes and it will be mirrored in the others.

  • How to transmit counter input data of different channels simultaneously?

    Hello.
    I'm using X-series PCIe-6361 DAQ board which have 8 DMA channels and Labview 8.2.1. I upgraded the version of DAQmx as 9.0 which supports the X-series devices and confirmed the board worked normally on my system.
    I'm trying to measure the pulse width continuously from 4 different pulse trains with CMOS level. The frequencies of signals are same but the pulse width and phase are varying with respect to time.
    http://zone.ni.com/devzone/cda/tut/p/id/9376
    From the tutorial page of NI X-series, I saw the following expression "X Series also includes eight DMA channels to stream data directly
    between the device and PC memory without CPU interaction or additional
    programming effort. These eight channels provide parallel data streams for the analog I/O, digital I/O, and all four counter/timers."
    But when I started the Labview programming, I realized that the counter functions of different channel cannot be put into a single task. So I couldn't help but separate the read functions into 4 individual tasks and there are timing differences in data transmission between channels up to 250 micro-sec because of the sequential running.
    How can I eliminate the timing difference and realize parallel data streams for the counter?

    Check out these links. I hope that they help!
    Fieldpoint and RT
    Logging Data with a FieldPoint FP-20xx to View in a Web Browser
    Transferring Files from a FieldPoint FP-20xx through an FTP Server
    Introduction to Using DataSocket Commands to Communicate with FieldPoint Etherne
    t Network Modules
    Good Luck!
    Mike
    NI

  • Pulsewidth data logging with counter channel

    Hello everyone.
    i have query with data logging of pulse duration measured with counter input into .lvm file
    pulse signal contain frequency of 100 hz with pulse duration vary from 2 to 8 ms
     i want to log pulse duration in .lvm file.
    when running vi(below screen shot) i find data logg with duplicate instance of time.
    i want to log pulse duration data with every ridging or falling edge of pulse.
    so if i run vi for 20 sec i sould have 2000 reading of pulse duration in my.lvm file with appropriate time  in time column
    Attachments:
    pulsewidth using counter.jpg ‏659 KB

    Hello Karthik,
    I can think of two ways I would approach this. One would use software timing, and the other would use hardware timing.
    1. Software timing: This might be the easiest approach. The idea is you would use your example much as it is written, then use a loop with a delay as the "Time between samples" to call your counting code over and over. In this case, I have a few suggestions for your code. First, instead of the loop, you could start the counter, use a delay in a sequence structure (use "Wait (ms)", not "Wait Until Next ms Multiple")for your "Sampling time", then read the counter and stop. After the stop you'll need another "Wait (ms)" in a sequence structure for your "Time between samples". Finally, wrap a loop around all of this to r
    epeat it. One advantage of this approach is the user can change the between time on the fly.
    2. Hardware timing: The idea behind this would be to use two counters. The first would count, the output of the second would be wired to the gate of the first to control when the first counts. The second counter would be programmed to output a pulse train where the positive portion of the pulse would be your "Sampling time" and the negative portion would be your "Time between samples". The creative part for this approach would be figuring out when to read the count. One way to do this would be to also connect the gate of the second counter to an analog input, then read the count whenever the input goes low (say, below 1 volt). This approach might be the more accurate of the two. However, you would always be getting a total count, so you would have to subract the previous count each time. Also, you would not be able to change your sampling time or between time once you start.
    Finally
    I'd suggest looking at some examples - you can usually find code to help you.
    Best Regards,
    Doug Norman

  • Multiple channel data with different time stamp logging

    I have peaks and valleys from multiple channels with different time stamp but I am not able to log to a single file. Any idea on how to do this?
    Attachments:
    Single Point Peak Valley Log.vi ‏53 KB

    Hi Dennis,
    Sorry for that I have modified the VI.
    Because the peak and valley of every channel will occur at different time and I want to log the peak/valley with the time stamp.
    How can I log them on the same file.
    Attachments:
    Single Point Peak Valley Log_Mod.vi ‏53 KB

  • How do I read multiple channels at one time using labview with the Fluke Hydra Data Bucket 2620a using serial port?

    I need to take a reading of 15 channels about once a second. I can read one value at a time using the monitor function on the read values.vi driver, but this takes forever to read all the channels.

    I don't have this instrument but I took a look at the instrument driver and it appears that you can only configure one channel at a time to read from. You might want to take a look at the command set for this instrument and see if it allows for configuration of multiple channels. It could be that the instrument driver just doesn't have that built in.
    J.R. Allen

  • Measure pulse width with 4 counter simultaneously

    Hello,
    I am using NI PCI-6601 measure the pulse width with 4 counter simultaneously, due to only a DMA channel on this card so I selected interrupt data transfer mode to read data from PCI bus for 4 counters, but it working only for few seconds then a error message prompted:
    Error -200141 occurred at DAQmx Read (Counter 1D DBL 1Chan NSamp).vi
    Measurements: Data was overwritten before it could be read by the system.......(See attached picture: TestUI and Error MSG.bmp)
    I know the problem caused due to system is unable to read back data from PCI6601's memory as fast as they card countered. My quesition is:
    1. The timebase is 20Mhz(Sample rate), how to change the sample rate slower (like 100Khz) ?
    2. Any good solutions can meet my requrement?
    Attached is my source code, Test.vi is the main VI.
    Thanks for your help.
    Steven
    Attachments:
    Test.zip ‏557 KB

    What's more, you could include four channels in one task, so you don't need to build four task!
    Attachments:
    4 counters in one task.png ‏719 KB

Maybe you are looking for

  • Problem with GUI_DOWNLOAD fm in Background

    Hi Friends In my Report I am using the FM: GUI_DOWNLOAD and while running the report in foreground, I am getting the proper results. But while running the same in Background I am getting the error: CONTROL_FLUSH_ERROR . As my understanding ,to resolv

  • Gaps inbetween letters of full words when Merging files to single PDF (Adobe Acrobat 9.0 Standard)

    I've raised a Bug Report although it says that I may not be contacted so thought someone else might have encountered this issue and hopefully knows what causes it and how to fix. Any advise would be greatly appreciated. Heres a copy of the Bug Report

  • Remove duplicates in "Compilations" folder

    I have found a lot of duplicate files in the ~/Music/iTunes/iTunes Music/Compilations folder. Most of the discussions I have found ignore files in the Compilations folder. Are there any utilities to handle this chore, I have over 4,000 songs. Also wh

  • Update termination in ME29N

    Hi All, I am getting an update termination mail to my sap mail box when I am trying to release one purchase order. " Error info... SO 451: Address <&> does not exist " (from mail) What might be the reasons? Thanks in advance jaison.

  • Unable to set specific background properties

    Hi! I'm trying to set this properties in portal-skin.css: .lateral .menu .atual, .lateral .menu .atual:hover {      background: #002F42; /* Old browsers */      background: -moz-linear-gradient(top, #002F42 0%, #00425B 100%); /* FF3.6+ */      backgr