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.

Tags: NI Hardware

Similar Questions

  • Output meter, at the request

    I would like to have a counter to a single output pulse whenever an incident occurs in a loop. My current solution (in pseudocode; I'm using LabWindows CVI on an RT target) looks like this:

    DAQmxCreateTask (...);
    DAQmxCreateCOPulseChanTime (...);
    While (true)
    {
    If (condition)
    {
    T1 = Timer();
    DAQmxStartTask (...);
    T2 = Timer();
    DAQmxErrChk (DAQmxWaitUntilTaskDone(*th,2));
    DAQmxErrChk (DAQmxStopTask(*th));
    }
    }
    DAQmxClearTask (...);

    Unfortunately, the time between t1 and t2 is at least 0.142ms and sometimes 2ms is there an elegant way to reduce this and do not have to call the StartTask again and again?

    Thank you

    Jonas

    You should get an improvement by committing to the task before your loop:

    ...
    DAQmxCreateCOPulseChanTime (...);
    DAQmxTaskControl (taskHandle, DAQmx_Val_Task_Commit);
    While (true)
    ...

    If this isn't good enough, you could try instead using a task of digital output (start the task before the loop, write twice inside the loop - high then low - whenever you need a pulse output).  If the pulse width needs any kind of accuracy at all you want to use the digital output task to trigger an output meter (start the meter before the loop task and configure it to be "redeclenchables" so you don't have to restart several times in the software).  I don't know whether or not it will actually run faster without benchmarking it.

    Best regards

  • How to set the output meter channel to generate a signal pulse using DAQ6008

    Hello there I am generating a pulse signal of 100 Hz and a duty of 20% of the 6008 data acquisition cycle using visual studio 2013. I have code that needs to generate this but I'm not sure on how to set the channel output meter. When I run this NI MMAX and my vb error code indicates that the physical channel is not supported. I am a user of data acquisition were first and would appreciate any help offered.

    If you look at the USB-6008/6009 User Guide and specifications, you will see that the counter in these devices cannot rely as edges of entry. It cannot generate a pulse.

    Lynn

  • 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

  • Is it possible to use the internal clock for meter tasks in the buffer?

    Hello

    Hardware: USB term mass 6251

    Software: LabView 2011 SP1

    I need to measure the angular lever position and speed of a carpet. For that I use two quadrature encoders. To accurately calculate the speed I use buffered from the measures of position using one of the available onboard counters. I understand that for this technique, I provide a sample for the meter clock. I wonder if it is possible to use the internal time base. Note that both of my counters are used so I can't generate a signal to clock with them.

    I found two conflicting pages related to my problem:

    1) http://digital.ni.com/public.nsf/allkb/EA7FFFEAFC3E1D85862572F700699530

    2) http://digital.ni.com/public.nsf/allkb/775290A3121D1FFC862577140074D3B3

    The first says that I can use the internal clock of 100 kHz, and the other says that I have an external clock.

    Comments/solutions?

    Javad

    Hi Javad,

    On your specific device, there is not a direct route from the time base of 100 kHz for the meter (according to the routing table of MAX):

    Yellow cell indicates that a route is possible but there is not direct (the "gate" terminal is used as sample clock for counters of the M series).  Mouse on the cell reveals yellow that make this route really requires the use of a counter (so it is not suitable for your application).

    On the line above "100kHzTimebase" you will notice it is called 'FrequencyOutput', which does not have a direct route to the door.  This would be the way to go if you want to route 100 kHz (or some other frequency) as your sample counter clock - you can set it up the same way to a standard meter output task:

    The output frequency doesn't have that many features like a meter output, but it is able to generate a continuous stable frequency.  There are only 32 different frequencies that can be generated using Freq Out on the 6251:

    {10 MHz, 100 kHz} / {01:16}

    Do not forget that the resolution of your measure of frequency by using this method will be equal to how many times you update the measure (hopefully, that makes sense).  In other words, if at the end of all the 1 second, you take the total number of charges since the last second, you would have a 1 per second equal resolution change in the number.  If you take the difference twice per second, you would end up with half the resolution.  You will be sampling the account register fairly quickly, but you will need only to do the calculation of the frequency after that all N samples in order to obtain a significant number.

    Another method that will certainly give a higher resolution in less time at typical speeds of coders is to set up a measurement of the frequency (the counter will count the internal 80 MHz base time period your external signal and the pilot calculates the frequency based on the result).  This method uses only a single entry - so you can just feed the 'A' your encoder quadrature signal (the method will not work if you are interested in absolute position or direction).  Without using signals A and B together, you will be susceptible to noise (which is common to have a quadrature encoder) that you want to delete (perhaps by setting up a digital filter).  Finally, you want to set a reasonable timeout on your reader calls (which will be blocked until a period of your external signal occurs), and the error-200284 handle simply report "0Hz" to make sure that your program is still sensitive even without an external signal present.

    Best regards

  • Change the shape of the output signal without initializing the new process of output signal

    Hello!

    How to change the shape of the output signal produced on the output channel without initializing the new process of output signal?

    Thank you

    Yes, you can do the same thing without count/killing the task all the time.

    Attached VI shows how to use redeclenchables AO in the same way, using a meter like time base for the AO.

    Please note that attached VI uses the same Subvi as in the example you posted before.

    Christian

  • How encryption works in the web services connector?

    Hi, I wanted to ask if someone could explain or point me to somewhere where its explained how encryption in Web Service connector (connector guide did not help) because I feel like there is a black box in the way that works part of the connector.

    This is what is happening to me.

    When I request an account the IOM sends to the SOA, a SOAP message with this field:

    user < __NAME__ > < / __NAME__ >

    Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI = < __PASSWORD__ > < / __PASSWORD__ >

    But SOA sends a SOAP like it even though im using the oimcp/WS_CONNECTOR_OUTBOUND to decrypt the way that the Webservices connector Guide tells me to do section 5.1

    the user < USER_ID > < / USER_ID >

    Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI < PASSWORD > = < / PASSWORD >

    < PasswordConfirm > Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI = < / passwordConfirm >

    Somehow the DB records the real password not the hash, but if the size of the password in the DB field is smaller than the size of the hash I get a SQL error even if the

    password real has the right length. And change the size of the field in the DB is not always an option.

    Happents another odd thing, is that if I do not declare the passwordConfirm field in < property name = "password.field.xpath.locations" type = "xs: String" > / ns3:PASSWORD, / ns3:passwordConfirm < / property > even if the sending of SOAP by the SOA is always: "

    the user < USER_ID > < / USER_ID >

    Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI < PASSWORD > = < / PASSWORD >

    < PasswordConfirm > Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI = < / passwordConfirm >

    I get the error that do not match the password and passwordConfirm.

    And to make things even more bizarre if I wire the password, lets say, e-mail and declare this field as needed the decryption of the stored value is the hash. Even if the password is the normal password.

    Also, is there a way for the SOA to send the password in plain text?

    Hello Leo,

    If you have correctly configured oimcp/WS_CONNECTOR_OUTBOUND policy, there should not be any errors and it works without problem.  Unhappiness about using policy - is that the errors you will see when it does not work are not really useful to discover the cause of the problem.  In fact, the most useful tool I found the resolution of the problems with politics is WireShark.

    I used the strategy in multi-instance test scenarios and also support for several customers who try to use the policy.  From my experience, I guess that decryption is being ignored due to an error in your code. If WireShark gives you not with sufficient detail to indicate where the error is, I would say a SR in support to solve the problem more openness.

    Hope that helps,

    Amy

    -----

    When closing a thread as answered don't forget to mark the messages correct and useful to make it easier for others to find.

  • Questions of the ON24 cloud connector

    You have some questions, little that can actually be applicable and able to answer by people using connectors of cloud by other Webinar providers too...

    (1) by using the register cloud connector, I notice more often, he can send that ON24 data once a day. Anyone know what time of the day it does this?

    (2) associated with #1, what happens to people who register at the last minute? They are not if is going to be in the system at the time where the stats Webinar, won't be able to connect.  I remember when I saw a demo of ReadyTalk cloud connectors, they talked about this question and said they send a different email to these people, with a direct link to the webinar, without having them to connect.  Other people do it too, or is it better to maually run the connector cloud just before the start of the event, to push these people of last minute?

    (3) I'm not the admin of On24, so this question may be basic and I hope easy to answer - the landing page on On24 standard where the connection of people and you register has the form of ON24. Obviously, I don't want to replace this form with form Eloqua? Or so people otherways to go about this?

    Thank you

    Eytan

    Cloudfeeder really does not fit in your use case. It is used when someone wants to transfer those who are not registered channel Eloqua in the system.

    It seems that On24 CloudConnector registry has a single drop further down to the amount of time that should not be in step. We feel that deleted. For now, just leave it at once a day. He will speak in the regular time.

  • Contact form sends only the values of name

    Hi all

    I haven't posted for awhile to try to learn php at this point, but became very stuck for more than two weeks now, and for the life of me, I can't seem to fix my problem.

    I finished a script tutorial on how to create a form of contact php, but when I fill the form and send it, the form stores any information typed because instead, I get the following message:

    : Name

    E-mail: E-mail

    Comments: comments

    That's exactly what I get every time and I can't find a solution, I tried reading online resources and through the books I have, but I can not find the reason why, anyone who has ever met this before or have a link they could post.

    Note for this is when I click on the reply button, it will let respond me to the correct e-mail which was presented in the form, but the email field looks like I typed it above.

    Any help would be much appreciated.

    Greetings from King,

    Pete

    Thanks for your reply, but in the meantime, I found my mistake, in a variable variable that I forgot an additional sign of $ I can't believe I missed that for days, all learning I guess.

    Thanks again Ben for your answer

    Kind regards

    Pete

  • I can't connect to my mac because the SHIFT key is down. Then he showed the top letter and can not connect... The mac is also overheating. I went to the apple store and they said that they cannot fix and need to send to the factory. Connection of same slo

    I just used my mac. I bought it on January 2014.

    A few months ago I couldn't connect to my mac more. There is nothing special on my mac to record.

    He was showing the wrong password when I tried to connect to my mac. It is overheating sometimes without help.

    So, I brought it to the apple store and they said that the shift key is down and therefore superior letter is all the time. and they could not help me open on the inside. Apple store guys suggested me to display somewhere or send it to the factory.

    My question is

    (1) what should I do

    (2) if I send to the factory or should go to the repair shop.

    you guys have an idea what the problem with my mac?

    I suggest you send to the factory, or if you have an apple authorized dealer / repair shop to fix the SHIFT key first, then a glance as to why the fan is still running hot.

    Maybe something has damaged the keyboard (shift key) area and also the fan internal.

    You can't have something special on the computer, but I'd always spend extra money to repair.

    The sooner, the better.

    If you need take photos or documents off the power the computer have you tried to connect an external keyboard to type your password?

  • send in the mail app icon is no longer available so I can't send emails

    After my last update of software, I lost my icon sent in my email application so I can't send email.

    How to install the icon 'Send' in the e-mail application?

    Hello nuiektore,

    Thank you for using communities Support from Apple!

    If I understand correctly, you cannot send mail because the send icon is no longer visible.  I know how important email is and I'm happy to help you!

    Very probably the send sort icon has been removed from the toolbar.  Here are the instructions on how to recover:

    1. In the Mail Viewer or in a new message, click on the toolbar, and then choose Customize toolbar. Or choose View > customize toolbar.

    2. Do one of the following:

      • Add item: drag an element from the palette to the toolbar until you see a green plus sign.

      • Remove an item: drag an item to the toolbar until you see or hear a "poof" effect

      • Rearrange items: drag an item around the toolbar until an open space to appear.

      • Change the way items appear: click on the view pop-up menu, and then choose an option.

    3. When you are ready, click done.

    Address postal (El Capitan): customize toolbars of e-mail

    Have a great day!

  • Emails received in a single account shows no object and sender in the Inbox list.

    Hello

    I have a weird problem with my Thunderbird. I have two accounts in use. One of them, from Sept. 16., 2015, no longer displays the subject and sender to the Inbox list. However, the emails are perfectly fine when open. What bothers me because I can no longer search and sort the list. Help, please. Thank you.

    Looks like your mail files are corrupt.

    Try to rebuild the troubled folder index file.
    Right click on the file - properties - file Repair

    Note: according to corruption it may delete the affected folder messages that cannot be recovered more.
    In this case, you need to restore from a recent backup.

    Corruption is often caused by anti-virus software to play with the Thunderbird e-mail files. Therefore, it is recommended to create an exception for the Thunderbird profile folder, so that the real-time scanner tries to analyze the profile with your mail.

    For more information on localization, see profile
    http://KB.mozillazine.org/Profile_folder_-_Thunderbird

  • Add address of the sender to the address book using filtaquilla?

    When the sender is not in the address book, I want to give the user an option to add it. Is this possible with filtaquilla?

    There is a filter action, provided by FiltaQuilla, to "Add sender to the address list", and among all the proposed locations, your address books are included.

    But I see no way easy to offer the user a dialog to allow him to choose or not to do. Perhaps a javascript maven could do something here.

    Any sender can easily be added to the address book by clicking on its name/address in the header of the received message. Maybe you can use a filter just to highlight the messages from unknown senders in order to prompt the user to consider adding to their address book. Or you can create a saved search to collect such messages. Then, their mere presence in this saved search folder would indicate their status is unknown.

  • Where can I find that firefox sends to the server?

    If I go over a left link under I see what request is sent to the server.
    What happens when I see: javascript: {_JSL (PAGE_, ' A43 ","_self", )}
    What is a script that is executed on the client side or server side?
    In general, how to find out what request is send to the server.
    Thank you

    Hi, maybe the web developer tools firefox will come handy: https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor

Maybe you are looking for