RTSI meter / NI6143

Hello

I want to connect the physical channel cnt0 to the rtsi port0. I tried to edit one of the examples using the DAQmxConnectTerms function, but only the 89137 error appeared:

DAQmx error: specified route can not be satisfied, because it requires resources
that are currently in use by another way.
Source device: Dev1
Terminal of source: Ctr0Source
Target unit: Dev1
Destination terminal: RTSI0

Resources in use by
Source device: Dev1
Terminal of source: Ctr1InternalOutput
Target unit: Dev1
Destination terminal: Ctr0Source

State code:-89137

I need to use the rtsi0 with another card pci compatible TTL signal. This is generally possible?

Here are the essential source code:

ErrChk is just the error-check-normal operation

ErrChk (DAQmxCreateTask("",&taskHandle));
ErrChk (DAQmxCreateCOPulseChanFreq(taskHandle,"Dev1/ctr0","",DAQmx_Val_Hz,DAQmx_Val_Low,0.0,1.00,0.50));
ErrChk (DAQmxCfgImplicitTiming (taskHandle, DAQmx_Val_ContSamps, 1000));

ErrChk (DAQmxRegisterDoneEvent(taskHandle,0,DoneCallback,));

ErrChk (DAQmxConnectTerms ("/ Dev1/Ctr0Source ', ' / RTSI0/Dev1", DAQmx_Val_DoNotInvertPolarity));

the error comes to the function StartTask
DAQmxErrChk (DAQmxStartTask (taskHandle));

How can I avoid this error?

The RTSI uses its own protocol?

What are the switching voltage level of the RTSI Bus?

Thank you

Christian

Hello

Here is the essential code I m use now:

DAQmxErrChk (DAQmxConnectTerms("/Dev1/Ctr0InternalOutput","/Dev1/RTSI0",DAQmx_Val_DoNotInvertPolarity));

When you´ve run this function, the connection between the stays CTR0 and RTSI0 and is saved overall, but where?

is there a way to see the connected terms?

DAQmxErrChk (DAQmxDisconnectTerms("/Dev1/Ctr0InternalOutput","/Dev1/RTSI0"));

This function disconnect them and before you´ve called this function, it remains connected

I measured the tensions of up - and down - level of the physical line:

top: 3, 4V

low: on 0V

Result: It is compatible TTL

Kind regards

Christian

Tags: NI Hardware

Similar Questions

  • Output meter sending to the RTSI PCI6602 connector

    I am trying to send outings of the counter to the RTSI connector in DAQmx via VB.NET. My routing code is simple:

                DaqSystem.Local.ConnectTerminals("/Dev1/Ctr0InternalOutput", "/Dev1/RTSI0")
    

    I do this before starting the task. I also tried to replace Ctr0InternalOutput by PFI36; I get the same result. It is:

    1. no error message. Probably then the road is valid and is made.

    2. I get 5 VDC on all pins of the RTSI. This is true for all the RTSI lines (0 to 6 and CSOS) and arrives at the minute, the computer is powered.

    I checked my cable is correct (I took a ribbon cable and connected to BNC connectors according to the list of pins to http://digital.ni.com/public.nsf/allkb/392DEFA8A72CA693862572E300651A9F).

    What I understand here?

    The following code does nothing in my case, even after adding a RTSI cable in MAX and 'sign in' the PCI6602 to this:

    DaqSystem.Local.ConnectTerminals("/Dev1/Ctr0InternalOutput", "/Dev1/RTSI0")
    

    Instead, I used the second way to route signals:

    TheTask.ExportSignals.CounterOutputEventOutputTerminal = "/Dev1/RTSI0"
    

    It works like a charm. Will understand why the other method not squat; It is not the first time I had this type of problem.

  • difference between RTSI or IFP in synchronization

    Hi all

    I have a small question on the difference between the PFI and RTSI pin used in synchronization. I have 6711 card and I'm going to use external clock to drive the analog output and the output of the meter. Someone said I can use PFI as a source and I have read the manual, it looks like I can use pin 20 MHz of RTSI as the temporal also. So if I plugged a clock 10 MHz on the pin of temporal RTSI, means all output is based on this clock? What do I have to configure the software to make it work? I it is confusing because RTSI has 8 pairs of poles and the first is a time base, there are some for the analog output, some for the analog input. I need of synchronizing the output meter and analog output. Should I change connect the external clock to the time base RTSI or connect to an analogue output RTSI and out of meter?

    Hello there;

    The main difference is that the purchased triggers or events generated from the PFI lines are synchronous with the data, so that they have a relationship of data/clock phase. On the other hand, triggers acquired with RTSI lines are not in sync with the data so that there may be no such relationship.

    So pretty much if you need triggers and events to synchronize with the clock uses the PFI lines

    Here is a KB with more information

    It may be useful

    Greetings

  • RTSI sample clock source

    Hello

    I have a small question on an example of clock by RTSI source.

    In my configuration, two PCI cards (PCI-6602 (dev2) and PCI-6110 (dev1)) are connected by a RTSI cable.

    I would like to build a clock on 6110 source sample and use it on 6602 counting external impulses of entry.

    In the MAX test Panel, I checked that a meter was reading of external signals.

    However, the vi attached do not work, and the whole County, and then give an error of 200284.

    Could you tell me what is the problem?

    I guess that something is not right on the clock signal routing. I have to use DAXmx connect terminals vi instead of external signal?

    How can I check that both devices are connected through a RTSI cable?

    I recorded the cable and connected devices on MAX with no problems. Is this enough?

    Thank you for your comments and kind suggesion.

    Several things briefly:

    • Must match the orientation of the RTSI cable.  Connectors are generally indexed to ensure this, but if you use a cable in water House, just keep it flat between the boards.

    • The code you posted attempts to use the time base internal 20 MHz as a sample clock.  That will not work for several reasons, and the fact that you try suggests you may have a poor understanding of the functioning of the meter.  You do * not * need to "sample" at a pace high in order to catch the digital transitions.  The meter circuit manages everything in the material.  What you "sample" in a task of counter is a County registry value.  Digital TTL edges which are worth little matter how many times you "sample" it increases.

    • I suspect you want to * account * cycles of the clock of the signal of your 6110, be it a train of pulses counter or a sample clock based on the tasks.

    • I am writing an example that does without buffer sampling clocked by the software, to approximately 10 Hz.  Dev2 uses to generate a pulse of 1000 Hz and uses Dev1 train to interrogate the County registry value in a loop.  It is simple from the code you posted to help unravel the special problems of routing RTSI config problems.  Start using something simple like this to see if DAQmx succeeds routing signals through RTSI.

    -Kevin P

  • Support for triggers in PCI-6602 for counter input / output meter opearions


    I'm sorry, it took a lot of time to test my application in a real NI PCI-6602 map. I am now convinced that put off against channels support start trigger, arms and relaxing break start trigger. But the input meter channels use pause trigger and trigger start of arms only.

    I designed the app so that counter 0 is used as a channel of the meter and meter 1 serves as an output of the meter channel. The two channels are configured to use triggers to start of arms. Arms start triggers should come from a line of the RTSI. Using the terminal line 0 RTSI route connect API to arm the trigger for the start of the two channels. So when a pulse comes to line 0 in the RTSI two counter starts counting.

    One last thing, I'd like to know, is how RTSI signals are generated? I know that RTSI is used for synchronization of several cards of NOR.

    If there is only Board can we use the signal of the RTSI?

    Can the hardware PCI 6602 itself generates all signals to the RTSI lines?

    Thanks in advance.

    Johnson

  • How to export to the rtsi opposites?

    I'm generating a frequency meter signal on a card pci-6220 m-series.  Then I want to share this signal with the other cards on a line of the RTSI, and therefore, I use export signal VI.  However, just after a computer restart this VI will not produce a signal meter.  If I then generates a signal with MAX, I can go back and run the VI very well until the computer is restarted again.  If I remove the export signal VI, then everything works fine.

    It seems that the inclusion of export signal VI makes not workafter restart until it is initialized using MAX.  I'm quite confused.

    Thanks for your help,

    Pat

    Hi Pat,

    Are you output meter on RTSI0 but not PFI12? This looks like a bug has been reported to R & D such as CAR #44655 and lockable in NOR-DAQmx 8.8. DAQmx normally uses the value of the CO. Channel property Pulse.Term (which by default is PFI12 for ctr0) to control the meter off the road, but the signal from the output of counter event were exporting caused CO. Pulse.Term is ignored. In DAQmx 8.8 and later versions, the values of the two properties must be involved.

    Why create a task of impulse generation in MAX seems to solve the problem? When a task DAQmx routes signals to the PFI lines, they remain routed until you reboot, reset the device or reconfigure this PFI line for a different purpose (a different output signal, or an entry).

    If you use 8.7.x or more, I recommend you upgrade to the latest version, OR-DAQmx 8.9. If you cannot upgrade, or if that doesn't fix the problem, I would try passing "/ Dev2/RTSI0 / Dev2/PFI12 ' VI DAQmx signal to export. Alternatively, you can change your VI to create, start, stop and erase a second task to emulate what in fact the task of impulse generation in MAX.

    Brad

  • monitor the iMac 27 grips 2011 TR spegne meta

    Da few week ago it monitor del mio iMac 27 grips (meta 2011) if spegne come in questo video.
    Ho tried AHT my non riesco a farlo partire. PREMO D d led computer my dopo circa 30 secondi in cui remains schermata bianca if starts usually.
    Rate Cosa Può if?

    FA questo lavoro a tutti?

    Bootup tenendo CMD + R, o it looping option / alt by the d dalla partition di ripristino e utilizzare utility Disco da li disco he riparare, quindi su Ripara years.

  • Create a table of values for which a condition is met

    I have exactly this problem, however connected solution is no longer valid: Re: table to automatically generate values if the condition is met,

    Basically I have a table (named 'Master Sheet') that has two columns, one with project names with a status ('Active' or 'pending'). I want a separate table that automatically fills the project names of the leaf of the master for which the status is 'Active '.

    For example, from this table:

    Project

    Status

    Red

    PENDING

    Orange

    ASSETS

    Yellow

    ASSETS

    Green

    ASSETS

    Blue

    PENDING

    I want to automatically generate this table, which contains only values whose status is 'Active' (not 'pending' and without values null):

    Project

    Status

    Orange

    ASSETS

    Yellow

    ASSETS

    Green

    ASSETS

    Please note that using the filter function does not work in this case, as I need to be able to freely add new lines to the two tables.

    Hi Kath,

    Here is a pair of similar solutions.

    That on background uses a writing ('ACTIVE') of the value in the formula in the master-1 table to create the index in column C.

    Above who gets the value of the cell in row 1 (A1) of the table of the single column and lists him only the names of any State were brought to the project.

    Index columns can be hidden.

    Formulas:

    Master: C2 IF (B = C$ 1, ROW (), 999)

    Table 1::A3: IF (SMALL (Master: $C, LINE () −2) = MAX (Master: $C),"", INDEX (Master: $A:$ B, SMALL (Maste r: $C, ROW (−2)), COLUMN ()))

    Master - 1:C2: IF (B = "ACTIVE", ROW (), 999)

    Table 1 - 1:A2: IF (SMALL ("Master-1': C, LINE (−1) ') = MAX ('Master-1': C),' ', index (" Master-1': b, SMA LL('Master-1'::C,ROW()−1),COLUMN()))) ")")

    All forms filled up to the last line of their respective columns.

    Filled with formulas in column A of the table of two columns to right of column B.

    Single column table must be no more than a longer column of its master table.

    Double table column must be as long as his master table or less.

    Kind regards

    Barry

  • Battery meter

    My iPhone 6 is running iOS 9.3.1 just today started having a problem with the battery meter records does not correctly. After several hours of using my phone this morning, I noticed that he was always at 100% and he died soon after. It wasn't a problem last night, because I remember watching down to 4% and die last night. I had my time manually rather than what allows it to configure automatically. This http://fortune.com/2016/01/19/battery-issues-iphone-6s-and-6s-plus/ of fortune dot com suggested to do a hard reboot and automatic time setting enable. I restarted, and then activated, then restarted again, but nothing.

    I got the iOS version that I am running for awhile, so I don't think that it has nothing to do with the update because I only started to have a problem with it this morning

    First, download the autonomy since the app store app. It will tell you the status of the battery. Then try the battery meter calibration if the problem is not the battery.

    Recalibrate your battery meter:

    • Charges to 100%
    • Run the battery until the phone turns off
    • If it stops above 1% charge for only one minute, and then continue running the battery down. Repeat until it makes 1% before shutting
    • Load it back to 100%

    If the battery is defective, this should fix it.

  • How to reset meter reading in iTunes 12.4?

    After the update, I am unable to reset the account play someone knows a work around or how to reset the meter reading?

    Here's a short AppleScript to replace the missing functionality of time reset. In addition, it erases all jumps, or position of bookmark and the last played and jumped dates.

    Copy and paste into the script editor, save it as LastPlayedNever in ~/Library/iTunes/Scripts. Select one or more tracks and call the script in the scripts menu in iTunes.

    -LastPlayedNever - v1. 0 - © Steve Maguire - 2016-05-18

    say application "iTunes."

    If the selection is not {} then

    set mySelection to selection

    Repeat with aTrack in mySelection

    the value played County of aTrack to 0

    the value played date of aTrack to missing value

    the value ignored County of aTrack to 0

    the value ignored date of aTrack to missing value

    If aTrack is bookmarkable then set bookmark of aTrack to 0

    end Repeat

    end if

    end say



    TT2

  • Why does not the meter of the quality of one of my choices of master password, regardless how I mix letters, numbers and non-alphanumeriques characters?

    I tried to create a master password, but it couldn't be done because the quality meter never accepted none of my passwords, even if I used a mixture of very complicated letters, numbers and special characters as well.

    There is no requirement when setting master password in Firefox. The password quality indicator is purely informative.

    If you try to fill the bar all the way, that's unlikely, unless you create a long password, or a mixture very complex of special characters, upper and lower case letters and numbers. Don't forget the password should be easy to remember and typed in, time after time. A highly secure password that is easily misspelled or forgotten is of no use.

  • The CPU meter on the dysfunctions of transport bar

    At the far right of the Transport bar is a CPU meter. When a project is first opened on LPX, this gauge is the most crazy. It takes about 30 to 60 seconds and sometimes more. During this time, I am unable to play any project - the sound stutters. There is nothing I've been able to do to eliminate (or same gear up) this anomaly.

    (a) what could be the cause?

    (b) how could this problem be solved?

    Thank you

    It's perfectly normal: your content (sampled instruments, inflected tracks, audio files) is loaded into the RAM disk, using all available CPU power. The only thing that you can "do" is less sample content or less flexed titles. Or simply wait 30 to 60 seconds.

    I sometimes play a project that takes over again, but that's useless, the project will stutter and he will miss notes instrumentsa who are not entirely responsible.

    It may also take longer if you have other applications open (webbrowsers) because the contents of the RAM may need to be swapped to and from the disk.

    Opening & downloading a project of average size (with an already high logic) just took me 1'25 "."

    Two more $ to speed up: increase the RAM or use SSD (s) to store your recording and storage of the content of the sample.

  • where can I get the last NAME META GENERATOR for firefox 1.0 - 14

    < META NAME = "GENERATOR" content = "Mozilla/5.0 (Windows;" U; Windows NT 6.1; en - us; (RV:1.9.2.3) gecko/20100401 Firefox/3.6.3 "/ >

    But it would contain the last 1.0 - 14 at the end

    Such a name = "generator" tag meta usually indicates what editor was used to create the web page and has no relationship with the user agent.

    See http://www.w3schools.com/TAGS/att_meta_name.asp

    generator 	Specifies the name of the program that generated the document

    Impersonation of a user agent is quite different and is not required or recommended for normal use.

  • Meta Refresh does not refresh the menu drop-down select options but don't check the boxes... IE works without error (Max FF issue)

    Drop-down list not update even if the html code was changed using the meta refresh tag. The problem has been resolved by deleting the name of the list in the html code in the part of my page refresh. It's a php script, so I can do but with html directly, I don't see a way to solve the problem for others finding this a problem, FF should not do this.

    Example:

    < select name = "page_header_color" >

                 <option >blue</option>
               <option >green</option>
               <option selected >red</option>
               <option >black</option>
               <option >silver</option>
             </select>
    

    whether refresh properly changed to this:

    < select name = "" >

                 <option >-------</option>
             </select>
    

    the script modifies the page preceding between the discount and the 'real' html that resolves this problem, otherwise FF does not update the drop-down lists at all, but it is updated check boxes and everything.

    You must reload and bypass the cache to reset the choices made through selection and from the drop-down list boxes.

    Otherwise the selection are reloaded from the cache, so a meta reload does not work either (can work if you reset the through an onload event).

  • Meta text not showing on mouse over

    Some sites (for example, http://xkcd.com/789/) to add more information, etc. When you run the mouse over the image text meta. This feature does not work for me.

    Images of comics have a title attribute and display the ToolTip to the overview for me.

    I see that you have installed Google toolbar and the extension has been reported to cause problems with the ToolTip does not.

    See Troubleshooting extensions and themes and problems of hardware acceleration to resolve common Firefox problems

    You can try to uninstall and reinstall the last GT, which has been reported to work.

    http://www.google.com/tools/firefox/toolbar/FT5/intl/en/
    http://tools.google.com/tools/firefox/toolbar/FT5/intl/en/install.html
    

Maybe you are looking for

  • Problems loading documents iCloud drive

    Hi everyone, I recently lowered the rating of the public beta of iOS 10 1 iOS 9.3.3 but since the downgrade, I can't use iCloud drive... He says: documents in iCloud drive are not available because the 'Documents and data' in the settings is disabled

  • Re: File extension dejavu

    Hello I downloaded some ebooks in pdf and dejavu. I can open the pdf with adobe reader files, but don't know about extension dejavu. How to open dejavu files?Any help appreciated. Thank you

  • want to 7640: printing on envelopes

    I want to 7640. I love it when I never use the document on the top feeder. The other problem is that I can not create a different size on Stamps.com envelope. I had a printer Photosmart I forgot the model number? I was able to create a new envelope o

  • HP Photosmart C4795 of only printing blank pages - including the test page.

    I have a Macbook Pro IOS 10.7.5. WARNING - I have had this printer for about 2 years and it is literally never worked for me. I finally gave up and its been sitting in a closet. I really need to be able to print at home again this is why I'm asking n

  • CONFIGURE THE DEFAULT DISPLAY OF THE PARAMETERS. (HP 15 R014TX, WINDOWS 8.1)

    I MESSED UP A FEW DISPLAY SETTINGS AND NOW I'M HAVING TROUBLE IN THE EYES AND EYE FATIGUE. I HAVE NOT USED TO ARRIVE EARLY ITS HAPPENING BEGAN AFTER THE CHANGE. SO HOW RESET DEFAULT DISPLAY?