PNP input to PCIe 6612

What is the easiest way to connect a PNP (current sinking) encoder to a counter-timer?  I need to trigger some electronics using a PNP encoder, and it appears the 6612 counter-timer only accepts NPN (line driver) inputs.  Is there an easy way to do this?  I see several references that some NI cards can be configured for both PNP and NPN, but there is very little information on which ones and on the 6612.

http://digital.ni.com/public.nsf/allkb/D9B4018C3E540CE4862570F30068C0DB?OpenDocument  this maybe help u

Similar Messages

  • Noise at analogue input of PCI-7350

    Hi,
    I have a set up as shown below. 
    Futek Load Cells >> SCC-SG04>> SC-2345 >>SH68-68EP Cable >> SCB-68 >> Analogue input of PCI 7350 8 axis motion controller.
    This set up has resulted in a noisy analogue signal from 7350 with high amplitude spike. 
    I had try connecting the signal out of SCB-68 directly to an oscilloscope, and the signal was fairly clean without the spikes. however, when i connect the signal to AI of PCI-7350, both oscilloscope and load ADC.vi readings of the signal became noisy with high frequency noise on oscilloscope. All the AI ports and AIGND ports were probed without other connections showed the same noise problem.
    Moreover, after the switching on of 24Vdc power supply for the motors, the amplitude of noise became even higher.
    Is there any method to eliminate/minimise the noise pick up at the AI ports?? Any suggestions are welcome.
    Thank you.
    Yanxinix 

     An essential issue when connecting analogue lines to a system is connecting not only the signals lines properly but also the ground lines. Proper grounding of the signal connections is essential. You should be aware that BOTH lines (signal and GND) carry the signal, and depending on the connection of the GND line excessive current flowing through this line on a section between the system and the sensor may cause excessive noise. Much has been written about proper grounding of analogue signals. The most essential rule is NEVER to let any significant current (besides the current generated by the signal source) flow somewhere between the system and the sensor, i.e. NEVER use the signal GND lines as GND line for the power supply of the sensor. There are tutorials available on this issue on the NI site, try this one: http://zone.ni.com/devzone/cda/tut/p/id/3344.

  • Does NI PCIe-6612 card communicate through SPI

    Dear all,
    Does NI PCIe-6612 card communicate through SPI [serial pheripheral interface].

    That card has some high speed DIO, so you may be able to program it to send data as if it was SPI.  But that would be a lot of work.  I would recommend going with something like the USB-8452, which is specifically made for SPI communications.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Noisy input on PCI-6024 card

    I am having a problem with noise on my analog input on the NI PCI-6024 card.  I applied a low pass and stll could not get the right voltage at the input.  Am I missing anything?  Do I need to ground all of the Ai grounds, ground the other inputs?  Any advice is appreciated.

    since you speak of AI ground, looks like you are using a Single ended mode(RSE)
    I suggest you connect your Input in Differential Mode and see if the noise rejection is better.
    But before that, can you tell what kind of signal are you feeding to the DAQ card??, is it a floating signal or a ground referenced signal??
    then you can determine which of the following modes is best:  RSE,NRSE or Differential
    http://digital.ni.com/public.nsf/allkb/1FFCBE3451ABEE09862562970059881D
    http://digital.ni.com/public.nsf/allkb/D509679FFAE2764386256297005D0C9D
    This links should help you
    First try this basic trouble shooting. if the noise is still evident, do get back and we could suggest other techniques to remove noise

  • 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.

  • How to generate a pulse of 5 V -ve polarity in synchronis​ation with a 10 v input using PCI 6251 DAQ board

    HI
    I want to generate a 5V -ve polarity pulse to trigger my IEEE 1394 camera using an PCI 6251 (scb68 pin E) device, furthermore I am reading a standard Vsync signal from a SVGA port which is 10 v.
    Now I want to synchronise the image capture of an IEEE 1394 camera with the Vsync signal so that camera is triggered to capture at every 4th Vsync signal (which is 50HZ.). Presently I am able to read the Vsync signal and also generate the -5 v signal But the Daq board generates a continues -5v signal while I want a 1 ms pulse (for every 4th Vsync).
    Also this 5 v signal is generated even if the vi is stopped running.
    Can anybody guide me so this problem can be solved.
    Thanks a lot in advance
    Shri

    You can use the Write function, that is you can use the 10 volt signal as a trigger for the task, and when you get this trigger, the task starts and generate (writes) a waveform you defined in an array ("data", in the example).
    Something like this..
    DAQmxCreateTask("",&taskHandle);
    DAQmxCreateAOVoltageChan (taskHandle, clokSource, your_sampling_freq, -10.0, 10.0,
    DAQmx_Val_Volts, "");
    DAQmxCfgSampClkTiming (taskHandle, clockSource, SAMPLING_RATE,
    DAQmx_Val_Rising, DAQmx_Val_FiniteSamps,
    samp_to_read);
    DAQmxCfgAnlgEdgeStartTrig (taskHandle, input_channel, DAQmx_Val_RisingSlope, 9.0);
    DAQmxWriteAnalogF64 (taskHandle, 1000, 0, 10.0,
    DAQmx_Val_GroupByChannel, data, //data contain a pulse
    &samp_per_channel, 0);
    DAQmxStartTask(taskHandle);
    // and then you create a loop....
    For example you can specify data to be like this:
    data[0] = -5;
    for(i=1;i<1000; i++){
    data[i] = 0;
    Tell me if you need more help.....
    bye

  • Using PFI0 as a trigger and PFI1 as an input on PCI-5114

    Hi,
    I have a NI-5114, and I'm currently using PFI0 as the trigger, and reading out the two analog channels.  I'd like to add a second digital input through the other PFI so I can simply test if something is on or off (already a digital signal).  So, when PFI0 triggers, it digitizes the two inputs and reads whether or not PFI1 is on or off (no timing necessary).  Is there a trick to get this done?
    Thanks,
    Karl 

    Hello Karl,
    Since the PFI lines are generally used as triggers, we cannot read a PFI line unless you are specifically triggering off it. What you could do is as soon as you receive a trigger you can export a trigger of PFI1 which you could connect to one input of an external AND gate and second one is the signal you want to monitor. or can use another DIO DAQ device like USB-6501 to monitor the status of external digital signal. 
    Good Luck
    NI-khil

  • Why there are self-excited oscillation on Voltage input on PCI-6229 Card?

    hello,
    I am using PCI-6229 card to aquisite voltage from a photo diode.
    I use differential mode to connect plus node on ai21 and nagetive on ai29 of PCI-6229. 
    this corresponding with terminal 60 & 26 on SCB-68 connector.
    But after several seconds the voltage will climb on to the maximum 10V even I leave the terminal of ai21 & ai29 open.
    Is it normal of PCI-6229 ?
    How to solve this problem?
    Thanks a lot!

    duplicate post

  • Pci-6251 analog input set up

    Hi all,
    Can I set the analog input of PCI-6251 in mix configuration (some in differential mode and some in single ended mode). Because in my set up the differential option is greyed out.
    Thanks
    dphan128
    Solved!
    Go to Solution.

    Yes you should be able to do that. You have 16 analog inputs. For differential you will use two of those per channel. See the DAQ M series user manual. You can program channels on an M Series device to acquire with different ground references.To enable multimode scanning in LabVIEW, use NI-DAQmx Create Virtual Channel.vi of the NI-DAQmx API. You must use a new VI for
    each channel or group of channels configured in a different input mode.
    Remeber that for a differential that you would wire for example AI 0 to the + side and AI 8 to the - side. So now you can't use the AI 8 for single ended. AI 1 is related to AI 9 etc. up to AI 7, AI 16.
    Hope this helps.
    Using LabVIEW 2010SP1 and TestStand 4.5

  • Tension control in labview using PCI 7354 Motion Control Board

    I want to make a program for web tension control of roll to roll system in labview using PCI 7354 Motion Control Board. Is there any interface program that can convert my controller output in a format to be directly used as the input of PCI 7354 (Motion Controller Board) for tension control?
    Thank you!

    thanks for your reply, i have already make the code of a straight line move and the motor moves successfully, but know i want to put the H-bridge to be able to make a reverse direction for the motor, for your information i only use a PCI-7340 controller and a UMI-7774, where the controller connected to the UMI-7774, the UMI connected to a PWM circuit and the PWM connected to the DC-motor, so what do you think i can do?

  • PCI 7342 position feedback

    how many encoder inputs  does PCI 7342 have?
    may i use all four encoder inputs? 

    As you might have read on the PCI7342 data sheet you can connect two quadrature encoders to the board - just as many axes you can control.
    Probably there is some kind of misunderstanding: QUADRATURE encoder means that it is an encoder with a two-phase output. Both outputs have a phase shift of 90 deg. This makes it possible to detect the direction of rotation. Also, in many cases (as on the 7342 boards) by detecting rather the edges of the output signal than their levels, you can get 4 pulses for each encoder step, hence QUADRATURE.
    If you are not familiar with quadrature encoders or rotation encoders in general the tutorials on the NI website might be helpful.

  • Software trigger the PCI-5122

    hi
    I am going to program a board with PCI-6552 and in meantime in specific times capture just one sample of the anolog output of the board by PCI-5122.
    1) Can I use the digital output of one channel of PCI-6552 as trigger for PCI-5122 (to activate the fetching of PCI-5122) e.g. by connecting the output of PCI-6552 to the external trigger input of PCI-5122.
    2) Does it need to synchronize the two boards.
    2) Is there any example for software triggering the PCI-5122, and how long it takes from triggering to sampling the data.
    3) How I can capture just one sample in every triggering time and then wait for another trigger time.

    1) after programming the two output of the NI-6552 (DIO0 and DIO1) with the same pattern and connecting the DIO0 to Ch0 of PCI-5122 and DIO1 to external trigger of PCI-5122 and assigning the external trigger as the edge trigger source, the the signal is different from when the Ch0 is assigned as the trigger source. why are they different, also it does not accept two triggers sequentially. (Pic 1)
    2)I am using a loop for generating the data and a loop for aquisition, when I using two trigger in one cycle and select niscope repeat_time=4, the signal position for 8 aquisition should be the same but as you can see in figure 3 the first two pulse are correct but the other ones are different.
    Attachments:
    pic1.bmp ‏2305 KB
    pic2.bmp ‏2640 KB
    pic3.bmp ‏2305 KB

  • Input from SSR

    Hi,
    I am having problems getting a signal from an SSR.  It has an internal resistance somewhere between 40 and 100 ohms (nominally about 50 ohms).  The SSR has normally open and normally closed contacts and I need to check that both sets of contacts are functioning when expected to.  I have connected the common line of the SSR to ground and the N/O and N/C lines to two digital inputs of PCI MIO -16E - 4.  The N/O input seems to function as expected, but the N/C line is pulled high (positive input) when not connected, and the relay passes the test.
    What options do I have for connecting the relay as an input to the DAQ board?
    Thanks,
    Dan

    Hi Tom,
    The COM line is connected to the ground of the board, but htis is also connected to the ground of the power supply.  To be honest, I didn't think it would work unless I did that. 
    Hopefully the attached diagram will be of some use.
    FS2 and FS3 are fuses and VDR4/5/6 are transient suppressors. 
    I'm afraid I don't know much about these, but it doesn't look like they should affect my test.
    Thanks,
    Dan
    Attachments:
    TRS2 SSRs.doc ‏39 KB

  • 6612 support under QNX with NI-MHDDK

    Hellon
    We have already developped QNX drivers for PCIe-6341 but currently we would like to support PCIe-6612  8 counters board. It seems that this board use the STC-3 as other Serie X . But the current version of the NI-MHDDK for QNX does not specificaly support this PCIe-6612 board. 
    What should I do be able in a first step that the QNX MHDDK identifies my board ?
    Regards,

    Please get the MH DDK examples and documentation from the following location.
    MHDDK
    Christian L
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Ni pci 6259 tutorial

    Hello,
    Would you please tell me do existence a tutorial or video for using of
    NI-PCI 6259?
    Thank you for your attention and time.
    Best regards 

    I want to measurer impedance of a device.
    I use a resistor in input of device and I generate a sine voltage with
    Analog output of PCI 6259.
    Then I measure voltage of resistance and I can measure current of circuit.
    Then I divide voltage of device to output current and impedance calculate.
    My interested frequency is (10 KHz-500 KHz)
     I want to know do Analog output of PCI 6259 can generate a sin wave
    with frequency 500KHz and do Analog Input of PCI 6259 can measure a
    sin wave with frequency 500KHz?
    Please find the attached file
    Attachments:
    impedance.JPG ‏8 KB

Maybe you are looking for

  • How to download a LOB file without File Browse or a Report?

    Hi, All, Behind my APEX 4.2.2 app, I have a table with PDF's held in a column of type BLOB.  With the ID of a given row held in a Page Item, I would like to dynamically generate a simple link for downloading the file.  Can this be done? I wasn't sure

  • Feature with ID 15/.. has already been installed. Use the force attribute to explicitly re-install the feature

    Hi everyone, I really become desperate with this one. I know, it's mentioned hundred times in the web, and it really works when you use a force deployment, but my simple question is: Why? To explain my issue: We have several SharePoint 2010 solutions

  • Fillable PDF works on very few computers

    I imported a form to Acrobat, had fields auto-detected, made a few required, saved as Reader Enabled, imported into FormsCentral, added a submit button and uploaded it. After submissions worked, I made the fields right, saved as RE, imported to FC, a

  • Driver for a955 cant find

    i followed instructions (going thru the device mgr) plus searched online. I am using a vista OS, I also updated windows -still no driver. any help on where i may obtain the driver for my phone would be greatly appreciated

  • Navigating in Places

    It seems like sometimes I am able to navigate on a map in Aperture 3 in Places by holding down my thumb on the trackpad of my MacBook Pro and moving my index finger. Also, I am sometimes able to use the finger gesture to zoom or zoom out. This seems