Simulating input to a PXI-6624

Hello,
          I am tring to figure out how to simulate an input to a 6624 so I can work on my program. I created a simluated PXI-6624 board on my computer but I can't figure out how to stimulate the input?
Thanks
Scott

Hello Scott,
The simulated PXI 6624, is not going to create specific data you want to simulate.  It is there just to allow you to see if the driver will work with the way you are developing your program.  So if you want to see if your counter timer application will run you can simply create a counter timer task and then run it. If you are trying to make sure your post acquisition data processing is working the way you expect I would advise you to use the Simulate signal VI, if you are working in LabVIEW, because you will have more control over the kind of signal you will see.  If you are having further problems with using your simualted device please let me know.
Have a great day,
Michael D
Applications Engineering
National Instruments

Similar Messages

  • Pulse Generation application with DAQmx and a PXI-6624 module?

    What is the best implementation method for the following pulse generation application
    using LabVIEW, DAQmx and a PXI-6624 counter\timer module?
    I have two rising edge trigger signals (Trigger-1 and Trigger-2).
    There is ample spacing between each trigger. They never occur at the same time.
    I need to generate a single pulse (fixed width, variable delay) whenever Trigger-1 occurs and
    a finite pulse train (fixed width, variable delay, N-pulses) whenever Trigger-2 occurs.
    However, the output must appear on one counter output because this composite signal
    will be used as a trigger source for another PXI module in the rack.
    With DAQmx and a TIO counter\timer can I use both the GATE (for Trigger-1) and
    AUX (for Trigger-2) at the same time on the same counter to gate out the desired pulses?
    Trigger-1 would be wired to the GATE of CTR0. One Trigger-1 event would generate one pulse on the output of CTR0.
    Trigger-2 would be wired to the GATE of CTR1 and the output of CTR1 would be routed to the AUX input of CTR0.
    One Trigger-2 event at the GATE of CTR1 would generate multiple pulses on output of CTR0.
    Would DAQmx and the PXI-6624 TIO support this implementation?
    What is the best way to accomplish the task at hand.
    Thank You.
    Best Regards,
    Scooby

    Hi Scooby,
    I have looked into the application you have described and I see a potential problem with what you describe.  In DAQmx, it is not possible to call the counters of the same DAQ device in the same task, so you cannot have the finite pulse train generation and the single pulse generation tasks running at the same time.  What you can do, since you mention the triggers will not occur at the same time, is to stop one counter task while you are triggering another.  The way I would suggest you merge the outputs is with a two input Or logic gate to avoid damaging your counters.  Your signals will effectively be added together by this logic gate.   I do not see any way to merge the outputs internal to the DAQ device. 
    Please let me know if I can be of additional assistance.
    Laura

  • Wiring - PXI-6624

    Hi All -
    I have an application that I need to make use of a counter, we chose the PXI 6624.  I'm pretty darn good with the rest of NI hardware, aside from counters FPGA and RF are the only lines I haven't used.  I'm running into some trouble understanding how to set up my leads on the 6624 and thought I'd ask on here.
    I have a remote optical sensor (Monarch Instruments Model ROS) that I will need to monitor pulses on.  Its got 4 leads coming off of it, a common, a signal, a +V excitation(10V), and the cable shielding (ie common).  I'm also hooked up to a SCB-100 using their 100 pin flex cable.
    The thing that I'm getting hung up on, each counter on the module has 10 pins assigned to it.  I keep going through the manual, but I'm having trouble understanding it.  Went to NI and the engineer there basically just copied and pasted the same part of the manual that I didn't understand.  When asking for more details, about the gate +/- for example the response I got was that "you can if you want to gate the signal you use the gate pins"...I assume that means you can use those pins as a switch to take the signal or not, like you would the Gate on a FET used like a switch.  Just an example of how detailed the responses are :-)
    Anyhow, I'm reading through and it sounds like each of the inputs almost has multiple functions that overlap, but I'm having trouble digesting it.  Can anyone help out with the wiring on this?
    Just FYI - Short term, I have 1 sensor that will count RPM as 1 pulse per revolution.  We will also want to do direction which will require a second sensor with the two set up much like the quadrature function requires.  Only still both will have only 1 pulse per revolution, rather than an encoder with say 120 pulses per rev.  Will eventually need to wire up both, but I think if I can figure out just the one I can use that to figure out the rest of the setup on my own :-)
    Thanks a bunch!
    LV7.1, LV8.5
    Solved!
    Go to Solution.

    External Connections: 
    Sensor common connected to source - of counter
    Signal from sensor connected to source + of counter
    Any gate signal you would use for this application would be generated internally using another counter and then internally routed to the gate of the counter that is counting the external pulses.  In this case the gate signal would provide an accurate window of time in which to count pulses.  An example would be measuring RPM.  If you decide to measure pulses for an entire minute, how do you accurately define a minute?  If you don't count for exactly a minute, your RPM measurement will be incorrect.  Software timing won't work.

  • PXI-6624 Pulse Frequency measurement

    Hi.  I'm working with a PXI-6624 and am interested in doing pulse frequency measurements to get both frequency and duty cycle on its inputs using DAQmx.  
    Whenever I go to create the virtual channel however, I get error -200431:
    "Selected physical channel does not support the measurement type required by the virtual channel you are creating."
    "Requested Value: Pulse Frequency"
    "You Can Select: Frequency, Period, Pulse Width, Semi Period, Two Edge Seperation, Position:..."
    Is this card really not capable of doing these pulse frequency measurements?  
    Solved!
    Go to Solution.

    Yes, the "Pulse" (not to be confused with "Pulse Width") measurement was introduced with NI's STC3 devices including X Series and CompactDAQ.  
    Pulse Measurement:
    However, you should still be able to measure frequency and duty cycle on your card with a semi-period measurement:
    Semi-Period Measurement:
    Images are from the X Series User Manual.
    The difference between the two modes comes down to how the data is stored and buffered on the card--with the semi-period method the hardware doesn't distinguish between high and low samples and puts everything into a single buffer.  However, if you start the counter off the appropriate edge (see below property node), then you would know in software the order of high and low samples and can pretty easily calculate frequency and duty cycle from this.
    Best Regards,
    John Passiak

  • PXI-6624 custom device

    Hello,
    Sorry for my bad english.
    I start with the custom device.
    I want use two PXI-6624 with Veristand for counter I/O.
    So I try to creat two easy custom device, one for each card.
    The program is ok in Labview, the Configuraton/Engine build too. I can interget it, in Veristand without problems.
    The target deployment is well but I don't see anything in output with an osciloscop.
    I think it's because of the connection beetween the PXI and the device.
    You can find, in attached files, the program for one of the two card.
    It's the more simple of the two device, just two input and two ouput.
    Thank for your advice

    Hello HervéM,
    Unfortunately there is no attachment.
    Could you spot below the files you wanted to attach ?
    Regards,
    Valentin
    Certified TestStand Architect
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Level detection PXI 6624

    Hi all,
    I am trying to find out some details about the level detection in PXI 6624.I have a very simple timing measurement to perform. Start trigger at P1@9V and stop the trigger when P2 @-9V and measure the time elapsed( expected time is 1-1.4sec)
    How to configure the CounternGate  Signal in level detection mode? The UserManual says it is possible. I need help figuring this out.I see there is optical isolation for the inputs and I would think the inputs are only Supply/Gnd referenced.
    Appreciate any help.
    Neha 

    Hi Neha-
           I was looking a little further into your question and I made some assumptions in my previous post that I should clarify/possibly retract.  The 6624 is a counter/timer card.  In the user manual it clarifies that digital low is anything below 0.8V and high is guaranteed anything above 4V.  So, in reading your first post over, I assume that you are reading two square waves that jump from 0-9V, correct?  One on P1 and the other on P2, with one line inverted?  Then it sounds like you want to measure the time between the 9V on P1 and the -9V on P2, correct?
         If my understanding is now correct, then you should not use the level trigger detection example in LabVIEW, since it is for one signal on an analog line.  Instead, what you should use is two-signal edge-separation, which measures the time between two different edges of two different signals.  Using the timebase, this measurement begins counting on the first active edge on the AUX line and latches the count into memory on the first active edge of the gate.  What occurs internally is that a pulse is created with the first active edge of the AUX line and ends on the first active edge of the gate.  The counter then performs pulse width measurement on this created pulse.
         Here is a link to a page on our website that will help you with this task:
    KnowledgeBase 2D9G49EV: How Can I Measure the Time Between the Rising Edges of Two Digital Signals?
         If, however, you are measuring two analog signals, you will need to get a DAQ card with analog inputs.  If this is the case, I will refer you to our technical sales department at  (800)-433-3488. 
         I apologize for any confusion, and hope this clarifies what you need!
    Gary P.
    Applications Engineer
    National Instruments
    Visit ni.com/gettingstarted for step-by-step help in setting up your system.

  • Changing the PXI-6624 Counter Output rate on the fly

    I'm programming an application in VB.net 2005 to set several counter output channels (each with its own task) on the PXI-6624 card. I'd like to know if there is a way to change the frequency of the output without stopping the task, changing the frequency and restarting the task. I'm using the PXI-6624 card to simulate encoders and speed sensors.
    Thank you very much,
    JonS101

    Hi,
    Yes, you can change the frequency on the fly. Here is a knowledgebase that will give you an insight of how you should approach this matter. How Can I Change the Duty Cycle on My Continuous Pulse Train? To find this property node and how to use it refer to the DAQmx .NET reference: Where Can I Find NI-DAQmx Property Node Listings and Help?
    I hope it helps
    Jaime Hoffiz
    National Instruments
    Product Expert
    Digital Multimeters and LCR Meters

  • Differential inputs or pseudodifferential PXI-4461 inputs

    I am wondering aboout the pseudodifferential an differential inputs of the PXI-4461
    I am doing measurements on switch mode amplifiers where the outputs are bridged and not really ground (PGND) referenced. The input is ground (AGND) referenced to a 5V section. Due to switching currents, AGND and PGND can fluctuate relative each other.  
    I understand that the pseudo-differential inputs means the inputs are decoupled from ground and therefore suitable for common mode noise reduction. Differential are fully differential per input.
    Is there any performance (accuracy) downside to the fully differential mode, compared to pseudo-differential?
    How are maximum voltages specified for fully differential mode (max voltage relative to ground)?
    Can I use one input channel of the PXI-4461 in differential mode, one in fully differential?
    Thanks

    I believe the information in this link would be helpful: Pseudodifferential versus Differential Input Configurations

  • Need the SCSI-II 100-pin connector for the PXI-6624

    Hi. I need to build a custom cable for the NI PXI-6624 and I would like to know where can I get the 100-pin connectors. Thank you.
    Daniel
    Chile

    You should be able to find the connectors here:
    Subminiature and Microminiature D Connectors .050 Series Cable Connectors (SCSI)AMP (749111-8)
    The parts are made by Tyco Electronics P/N: 749111-8
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • PXI-6624 Can generate DC Voltage

    Dear All:
          Does PXI-6624 Can generate DC Voltage?I want to use this counter to generate 24V DC Voltage.

    No,It's just a counter, though voltage level of it could be up to 48V.

  • Error -200072 using analog input with 3 PXI 6120 cards on realtime mx system

    I have just upgraded to the mx drivers for the 6120 S series boards.
    I am trying to sample 12 analog inputs at once with a pretrigger. (4 channels per board)
    The error message -200072 comes up.
    One board works fine, when I add the second board's channels the error occurs.
    Each board shows up as A,B,C respectively in MAX and in the Labview browse menu for selecting channels.
    Greg Morningstar
    Takata

    Probably the best way to do this would simply be to use the Route Signal VI to make it to where each of your boards looks at a particular line for the trigger. You can do the same thing for the clock so that they are all sampling at the same time.
    You will also want to make sure that your device is defined in MAX. Once you do that, everything should be pretty easy to implement. You might also want to look at some of the examples that show how to do RTSI. It's almost the same as you would do for a PXI system.
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Simulation input box auto advance?

    I'm building a simulation and have a couple of questions:
    1) I have an input box where the user needs to enter text. If that text entered is correctly, the timeline will continue without the user having to press Enter.
    How is this possible?
    2) I have slides where the instructions call for the user to press enter to advance to the next slide. In Flash you can set up an event listener to listen to see if the Enter key is pressed.
    How would you do this in Captivate? The only way I've found is to add a text input box with a shortcut for Enter.
    Thanks in advance,
    Dan

    I think the issue here is that Captivate is an event-based application.  So there has to be some event triggered to which actions can then respond.
    You want there to be an event that is triggered as soon as the user enters the correct username in the field, without there being any other user interaction whatsoever.  If that's the way your software application is really set up to work at log on, it would be very unusual.  I'm not saying your app DOESN'T really work that way, because I know of some web apps using AJAX etc that are doing calls all the time to the server to check the current username or password, but it would be highly unusal break most of the user interaction models that people have grown up with in typical computer usage.
    Normally, after the user enters data into the username or password field, there is ALWAYS at least another button or key that they press to trigger the evaluation of username and password combination.  Captivate's interactive objects such as text boxes and buttons always assume this is the way things are going to work. They expect another user interaction of some kind. A keypress or a click.
    So trying to replicate the exact behaviour you describe requires that Captivate triggers an event based solely on the correct combination of letters in the text box field.  At the moment that sounds like some kind of special version of the text box widget to me.  I don't see any way to do it with standard Captivate functionality,
    Hope someone can prove me wrong.

  • Questions about PXI-6624 signal connections of outputs

    Attachments:
    6624.JPG ‏34 KB

    I just got off the phone with NI support, so no worries on the answers.
    Short versions:
    The unique ID's are regenerated when a sequence is copied.
    Teststand doesn't need higher versions uninstalled to reinstall an earlier copy.
     Connector Pane Checksum implies a different underlying VI, but having the same connector geometry/inputs/outputs/types should allow you to have a different VI for different installations without different sequence files.
    Still waiting to hear back from support on whether the goto pointers get updated properly when a sequence or portion of a sequence is copied.

  • Simulating inputs on PCI-6527

    Hello!
    I have a question regarding PCI-6527 board simulatuion. Is it possible to simulate inputs of the device, when the application is written with Visual C++? How?
    I have installed the latest DAQmx driver (8.2 I believe) and I have created simulated device.
    Thank you for your replies.

    Hi kovalenkov,
    Actually, if you have already simulated the device, the "hard part" is done.  DAQmx should have given the simulated device a name (such as "DevX"), and you can just call that name in your code as you would call a real device.  The inputs to the device are already simulated for you.  So, for example, if you were to call an analog read function, it simulates a sine wave input based on any timing information you give it.
    Thanks,
    Justin M.
    National Instruments
    ps - I agree this should be in the Digital I/O section.  If you would like to reply, just start a new thread in Digital I/O, and post a link to that thread here.

  • I am trying to route the trigger input on a PXI-8105 that I have in a PXI-1042 chasssis to the PXI backplane.

    I have several modules in a PXI-1042 chassis that I am tring to route the same trigger to [on the PXI-Trig0 line].  I am using the VISA Map Trigger VI, but I cannot seem to get it to work without error.  I am trying to use the front panel trigger from the PXI-8501 module [resource name PXI11::13::INSTR] as the souce and the PXI-Trig0 as the destination.
    Since the VISA Map Trigger does not accept VISA sessions of class INSTR, how do you map a trigger from an instrument to the backplane?
    Thanks.
    Chris

    Duplicate post: http://forums.ni.com/ni/board/message?board.id=270&message.id=4840&jump=true
    Applications Engineering
    National Instruments

Maybe you are looking for