TTl output PCI-7342 & SCB 68

Hello,
In my application, I have to control a servomotor. For that, I have the PCI 7342 with the UMI 7764 interface... Also,I would like to use the 32 DIO of the PCI 7342 for send and receive data...( I use the SCB68)
In the SCB 68, I have connected on the port 1 bit 0 an electronic chart to control brakes...But I have to send on this port a +5V signal....
My problem is that I don't know sufficiently Labview to know which is the VI adapted that would allow me to realize this...
I am completely blocked. I would like that you help me.
THANK YOU .
Cordially
Murat

Murat-
You should be able to use the "Set I/O Port MOMO" VI which is under "Analog and Digital I/O" in the Flexmotion palette.

Similar Messages

  • LabVIEW PCI-7342-SCB-68

    Bonjour,
    Dans mon application je dois commander un servomoteur.Pour cela, je me suis dotée d'une carte PCI 7342 avec  l'interface UMI 7764 qui va avec... Je veux aussi utiliser les 32 entrées sorties numériques de ma carte pour envoyer et recevoir des données.(j'utilise pour cela le boitier SCB 68).
    Sur le boitier SCB 68, j'ai relié sur le port 1 bit0 une carte de gestion de freins. Pour commander les freins, il faut que j'envoie sur le port 1 bit 0 un signal de 5V...
    Mon probleme est que je ne connais pas suffisamment Labview  pour savoir quel est le VI adapté que me permettrait de réaliser ceci....
    Je suis totalement bloquée.
    J'aimerais que vous m'aidiez. MERCI
    Cordialement
    Murat

    Bonjour Karlito,
    La série des cartes 734x dispose du driver motion. Dans celui-ci, vous pouvez accéder à la fonction "Write Digital I/O Data" (voir image jointe) afin de paramétrer vos E/S numériques. Référez-vous à l'aide NI-Motion au sujet de cette fonction afin de pouvoir la paramétrer correctement.
    Vous aurez besoin du cluster "data in", de "board in", de "line in" afin de choisir et de configurer votre ligne. Vous ferez varier "attribute" pour changer d'état.
    Cordialement, 
    BRAUD Jean-Philippe
    Field Sales Engineer - Nord et Centre France
    LabVIEW Certified Developper
    Attachments:
    motion IO.jpg ‏33 KB

  • PCI 7342 digital output

    I am using PCI 7342 motion controller and UMI7772. There are 6 relays in my system, which are 24Vdc coil voltage and 37mA coil current for each. Can I use digital output on PCI 7342 through UMI7772 to drive these relays?
    PCI7342's digital output is 0-5V, 24mA, but through UMI7772, I can get 5-30Vdc, 100mA output. Am I right? I am not sure 100mA is total or for each output.
    Thanks for reply.

    Don't forget that a relay is basically an inductor and therefore the inrush current can be somewhat higher than the rated current. But I don't think that this might cause problems in this application.
    In any case you should connect a breakdown diode in parallel with the relay coil to keep off inducted voltage from the 734x outputs, or some other snubber circuitry.

  • PCI-7342 Digital I/O example

    Does anyone have an example of reading/writing to the Digital I/O ports on a PCI-7342? (2-Axis Stepper/Servo Controller with Digital I/O) I'm very new to Labview and am having difficulties using the labview environment commands.
    Right now I have a simple setup where I have a framed sequence where I do the following in this order:
    1. Configure port 1 as output
    2. Write $FF to port 1
    3. Configure port 1 as input
    4. Display value of port 1
    Of course, nothing lights up at all. I've tried changing the polarity and the MOMO values, but still no signs of life.
    Can anyone help? Examples are preferrable :-}
    Thanks,
    Jeff

    Dennis,
    Good point. At the time, I was thinking that if I wrote to the port then immediately read it, the value would still be there. But now, I see what you mean.
    But I still have some problems... Using the attached VI I don't know what the right sequence is for writing to the port. The problem is that the "Set I/O port MOMO" function doesn't seem to have any effect. However, when I flip the bits on the "Set I/O Port polarity" function it outputs to the port!
    I though that the polarity function just determined what ON meant(i.e ON=0v or ON=+5V). Is this true? No matter how I set the MOMO, it doesn't seem to have any effect on the output. Only the polarity controls it.
    Any ideas?
    Jeff
    Attachments:
    Motor_IO_Test.vi ‏42 KB

  • Pci-7342, onboard dsp and pid

    Hi
    I am currently working on a system where we use the PWM capability of the pci-7342 board to set the speed of a motor.
    In theory it is fairly simple, I sample the encoder position every n ms, compare the speed to the setpoint value, and feeds it to a PID controller (home-made in labview). This gives me a PWM duty cycle, and it works ok.
    The problem is that, using labview, I use a timed loop and it is hooked to the standard 1 kHz timer. That gives me a minimum loop time of 1 ms, and I would like it to be faster.
    The pci-7342 board has several axes, which may be programmed and tuned using the onboard dsp. For the axes the are posibilities of doing profiles and controling the movement using a PID controler. I would like to know if it is possible to use these controller to output something else than the signals for the servo/stepper channels.
    It seems that I could build my own pid-loop using register and basic arithmetics. Does anyone have a link to an example program for an onboard pid controller?
    Also, I have been unable to find the clockfrequency of the internal dsp. Is it fixed or does it just run as fast as possible?
    Links, comments or code samples would be appriciated.
    Regards
    Morten

    Morten,
    it looks like you are a little bit on the wrong track here. The 73xx boards run the trajectory generation and the PID loops on the DSP. This ensures deterministic and stable system behavior, as the DSP has direct access to the IOs.
    In your case you are using the motion board as a simple I/O-board, bypassing all the onboard intelligence. This is not the intended use case for these boards and the system behavior will be everything but fast and deterministic, as all the I/O operations need to run through a low priority process on the onboard CPU. With a timed loop running at 1 kHz you will get a jitter that is in the millisecond range, destroying the deterministic behavior that is required for a stable PID loop.
    I understand that you are doing this because you need to generate a PWM signal instead of a +/-10 V DC signal, but this approach won't work.
    Unfortunately onboard programming will not result in better behavior, as onboard programs run also in a low priority thread on the onboard CPU without direct access to the IOs. In terms of jitter onboard programs don't perform better than host PC applications and loop rates may be even slower.
    So here are some alternative approaches:
    For the case that you are working with motors from PI (Physikinstrumente), there is a drive available from PI, that converts the +/- 10 V signals of a NI motion control board to PWM signals required by PI motors. Here is the link.
    Use an NI multifiunction board, like a PCI-6221 instead of a motion control board. Even if you use this board under Windows, you will get much better I/O performance, as you can access the I/Os directly through the NI-DAQmx driver interface. Still this is not a really good option, as Windows introduces a significant amount of jitter to your control loop, which will make your system unreliable.
    Same idea as in 2.) but run the system in a real time environment (LabVIEW RT). This will greatly improve the performance (timed loop with µs-resolution timer or hardware timing) and system reliability (jitter in the lower µs range). Additionally you could use the NI softmotion development module, that provides all the functionality of a motion board (e. g. trajectory generation, advanced PID algorithms, spline engine,...) in a convenient LabVIEW library.
    As a very high performance option you could consider using an NI CompactRIO system, that allows you to run the motion control on a combination of a LV RT controller and an FPGA, both programmed with LabVIEW.
    I hope this helps,
    Jochen Klier
    National Instruments

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

  • How to send TTL output AND acquire AI voltage data using USB-6211

    Hello,
    I am relatively new to Labview, so please bear with me.  I have a research application involving 2 pressure transducers and a high-speed camera.  I wish to acquire analog voltage data from the 2 pressure transducers.  However, at the start of the acquisition, I will need to send a single TTL output to trigger the camera.  This TTL pulse must be sent out at exactly the same time that the AI acquisition begins, in order to ensure that my 2 pressure measurements and camera images are 'synchronized' in time.
    Is this possible on the USB-6211 running with LabView 8.20?  I currently have a fairly simple LabVIEW vi that uses a software trigger to start an AI acquisition - I have attached it with hopes that it may help anyone willing to assist me.  I would prefer to be able to simply add something to it so that it will output a TTL pulse at the start of the acquisition.  
    Thank you in advance.
    Regards, Larry
    Message Edited by Larry_6211 on 12-19-2008 11:24 AM
    Attachments:
    USB6211_v1.vi ‏212 KB

    Hi All,
    I'd like to clear a few things up. First, you'll find that if you try to set the delay from ai start trigger and delay from ai sample clock to 0, you'll get an error. Due to hardware synchronization and delays, the min you can set is two. Note that when I say two, I am referring to two tick of the AI Sample clock timebase, which for most acquisitions is the 20MHz timebase. I modified a shipping example so you can play around with those delays if you want to - I find that exporting the signals and looking at them with a scope helps me visualize what is going on. The Manual has some good timing diagrams as well but it looks like you've already hit that. The defaults would give you a delay of  250ns from the start trigger - is this too high for your situation? What is an acceptable delay? I tend to think that "exactly the same time" is a measure of how precise rather than an absolute (think delays in cable length making a difference.)
    With all that in mind, I see a few options:
    Start your camera off of the AI start trigger (an internal signal) and just know it is 250 ns before your first convert. 
    Export the convert clock to use as a trigger. This assumes your camera can ignore the next set of convert clocks.
    More complicated option: Internally you have an ai start trigger, sample clock and convert clock. From your start trigger to the first convert is 250ns but if you export your convert clock you're going to get future convert clocks as well. One option would be to generate a single triggered pulse using a counter (start with the  Gen Dig Pulse-Dig Start.vi example) with the AI start trigger as the trigger for the counter, an initial delay of 250 ns, and a high time of whatever you want it to be. This should give you a singe pulse at very close to same time (on the order of path delays) as your first convert clock. 
    Hope this helps, 
    Andrew S
    MIO DAQ Product Support Engineer
    Getting Started with NI-DAQmx
    Measurement Fundamentals
    Attachments:
    Acq&Graph Voltage-Int Clk.vi ‏37 KB

  • NI PCI 7342 and UMI 7764

    Hello All,
    I am using the PCI-7342 to control 2 servos for co-ordinated motion. I am using UMI7764 to breakout Motion IO to connect to my Servo Amplifiers. I am confident that the system will work fine because I have used a similar setup before. The issue I have now is that the UMI 7764 unit is farther than 2meters from the PC. I called NI and the tech said that NI doesn't have any cables longer than 2M to solve my problem. So she directed me to this forum. I was little disappointed that NI doesn't have any option or may be she is just not aware of it.
    I have following questions here. First, is it OK to have the UMI 7764 mounted farther than 2 meters from the PCI card? (I need one extra meter here) Has any one used a setup where he or she needed to mount the Break Out Board farther than 2 meters and if so than was there any issues with the signal degradation that was observed? Is there any limitation on distance mentioned any where on NI documentation ?
    Secondly if it's Ok technically to be farther than 2 m than who is the cable manufacturer? I was starting to search L-com.com. Is there any other source besides L-com.
    Thanks

    I have a testing machine (which permits to stretch or to compress samples) that I have to analyze with an aim to re-do the processing part (command part).
    I send to you a diagram of the machine and a diagram with the connection to the UMI 7764.
    I have to do moving the horizontal part, obtained thanks to the rotate of the two long screws.
    This screw turns thanks to the speed that supplies the motor (gearwheel + driving belt).
    To control the motor, I have to apply to the terminals AOUT and AGND, the consign voltage (є [-10V; +10V]), image of the motor speed rotate.
    +10V → 3000 rpm
        0V → 0 rpm
    -10V  → -3000 rpm
    Cordially
    Murat
    Attachments:
    diagram.doc ‏292 KB

  • How to choose connector and cable of NI PCI-7342

    I want to buy NI PCI-7342 motion controller card of NI but i don't know How to choose connector and cable of NI PCI-7342. My objective is just control the servo motor. What 're connector and cable I need to buy together ?

    Hi bkk -
    The choice of accessory equipment will depend on the drive and feedback method you plan to use.  If you would like to use an NI servomotor drive (the MID-7652 would be appropriate for your controller), the cable that will connect your controller and drive is the SHC68-C68-S.  If you plan to use a third-party motor drive, you'll need a breakout unit to make the appropriate connections with your controller.  The UMI-7772 is our two-axis breakout unit, and the same cable will connect to it.
    David Staab, CLA
    Staff Systems Engineer
    National Instruments

  • Kollmorgen Motors with PCI-7342 and UMI-7772

    Hi,
    I am trying to connect a pair of third-party servo-motors (Kollmorgen AKM11B-ANCNC-00) and drives (Kollmorgen AKD P00306-NBAN-0000) using a National Instrument motion controller NI PCI-7342 and motion interface NI UMI-7772.
    Ever since the setup has been connected to a new computer, the motors aren't moving even though they are connected. The motors are detected by the GUI for the motors (Kollmorgen Workbench) but the program shows that the hardware is not enabled.
    It has also been noticed that the LED indicating 'Interlock' shows red, and so do the LEDs indicating the 'Disabled' for both the axes on the UMI.
    The 'Axis Configuration' for both axes on the NI MAX program indicate 'Enabled'.
    Since only the PCI board has been switched from the old computer (where the setup was working well) to the new one, most cable connections have been left untouched.
    Any help/suggestions on why the motors aren't working is welcome.
    Thanks in advance,
    Subhabrata

    Could you explain a little more on what you mean by 'current settings on limit switches' ? Anyway in accordance to the link you attached to the previous reply, we changed the settings on the NI MAX program to correspond that on the switch (on the UMI) and now we don't get the error (70119). Thanks for that.
    But we still cannot get the motors to work. The 'interlock' light is still on. We took out the 'control' and 'feedback' ports that go into the UMI for the two axes and probed the voltage between pin 6 and pin 9 on the control port. One link (from the Knowledgebase) had suggested that we would get a voltage around 24V, but we did not. It was the same for both the axes. Does that suggest anything ? Should we look into replacing the cables connecting the UMI and the motion controller (even though the they were working fine before we moved set-up) ? Or could it even have something to do with the motion controller itself ?
    Thanks in advance,
    Subhabrata

  • PCI 7342 exist in MAX as 7340, why?

    Hi,
    I have a PCI-7342 device, but why it show in max is 7340. not 7342??
    MY

    Hi My,
    The type of board is a 7340 so if you have a 7342, 7344, or 7348 it will show up in MAX as a 7340.  The last two numbers indicate how many axis are available on your board.  In MAX it will have the option to configure 2 axis if you are using the 7342.  I hope this helps.
    Regards,
    GG

  • PCI6602 to detect TTL output from single photon counter

    Dear all,
    I am learning how to use Labview.
    Here is the system I try to set up.
    1.   Single photon counting module, 2.5v TTL output, 20MHz light source
    2. BNC-2121 block
    3. PCI6602
    4. Labview 7.0, NI-DAQmx
    The aim of this system is to counts the number of the detected photons from the light source.
    I have problem to start this task. Can you guys help to creat a sample which i can start from?  
    Your help will be greatly appreciated.
    Frankie

    Hi Frankie,
    I would suggest using the NI-DAQmx counter shipping examples to get
    started.  The Count Digital Events VI would be a good starting
    point. 
    You can open it through:
     Help >>
    Find Examples >>
    Hardware Input and Output >>
    DAQmx >>
    Counter Measurements >>
    Count Digital Events >>
    Count Digital Events.
    Hope this helps!
    Micaela N
    National Instruments

  • Programatically configure PCI 7342

    I need to configure motion controller card PCI 7342 programmatically. How about the configuration in MAX? Not sure how 7342 handle it, does it ingore the configuration in MAX?
    Thanks.

    From the help of Initialize Controller.flx :
    Settings Name is the name of the configuration settings as specified in Measurement & Automation Explorer (MAX). To use the current configuration settings, leave Settings Name unwired or pass NULL for the Settings Name parameter. The current settings are the setting that are configured in MAX.
    So this error occurs when the configuration does not exist in MAX.
    There can be 2 cases :
    1) The application runs on the same computer than the one that was used for developement.
    In this case it is not necessary to export the settings. Wire the name of an existing motion configuration to Initialize controller.flx to use one of the existing settings.
    2) Once the developement is finis
    hed, the application is installed and runs on another computer.
    In this case, instead of retyping the whole configuration on the target computer, you can export it to a file. But what I missed to say is that you must then import it on the other computer. Than, same as 1).
    Sorry for my incomplete previous answer.

  • High Noise on Analog Output PCI 6289

    Hi guys
    I am using  a PCI 6289 M series device for A/D characterization , I am using the device both for the analog output generation and also for data acquistion of the digital lines , The dynamic tests for the A/D were showing a very poor SNR ratio of the ADC, it is a  12 bit adc so technically in the ideal case i should atleast see  90 db but the resulting figure was way lower around 40 db .
    I connected the A0 from the PCI 6289 brought out to a scb-68 block to a RHODE and SCHWARZ spectrum analyzer , the above spectrum analyzer is a decent one with good analysis capability and I was surprised to see a SNR of 50 db , the data sheet says that PCI 628X devices have  a internal 16 bit DAC so technically the SNR should be atleast 90 db even if 6 db were removed for the harsh environment of the computer .
    please advise , have anybody else faced this problem , the data sheet does not give a figure for the SNR ratio of the card , since i need to test a 12 bit adc , thought that 6289 would be up to the task since it has a 16 bit DAC.I am using the Noise shielding cables and also SCB-68 block , the block is far removed from other power supplies .
    any ideas why the noise is occuring , one of my colleagues says maybe the harsh environment inside the pc enclosure causes it , is it necessary to use a separate PCI box for the card and then connect the card to the computer , is this standard procedure ?????.
    and also does the PCI -6289 have a filtering option for the analog output , all i could find was the filtering for input.

    Hi Tom
    Thanks a lot for responding to the thread , did not expect a response in the holiday season . The SNR for the 12 bit one was a typo , was referring to the 16 bit onboard dac in the M series card , which technically should ensure a clean input signal having atleast 90 db .
    The info you have given helps a lot , i suspect the conditions inside the pc might be causing it , also i am driving the analog output from the card at almost its limits of 2.5 MS/s , the sample rate specification for the card on the data sheet says 2.8 MS/s , also i notice the settling time requirement for the outputs is 3 us which i suspect will put the onboard DAC under quite a load.
    If the conditions inside the PC cannot be rectified , where can i find a external PCI box which can be connected to the computer or does such a box exist only for the PXI cards ? will that necessarily rectify the problem and also since filtering is not possible on the card itself , I remember reading the scb -68 connector block has  single RC output filter option , i would have to use discrete R,C components to make it but notice on the right hand corner some pcb holes are provided , would this help.
    Would appreciate your Response
    Thank you
    Chip learner

  • Generating TTL output pulses

    Hello,
    I have actuators driver which controlls 5 actuators through 10 inputs (two inputs per actuator for open/close). Each line is pulled up to +5V internally. This allows the controller to be operated using open-drain (open collector) sources. The actuator moves when a corresponding input is drained. I need a DIO PCI card to control the driver with TTL pulses of ~2s duration. I was thinking about having all 10 digital outputs powered up to +5V when the card is configured for the output and then selectively write digital low to a channel I need to drain to activate the actuator, living the rest 9 channels at +5V load. Could you please advise me on what DIO PCI card I should use to do that? Any other alternative solutions to my problem?
    Thank you in advance,
    Albert

    Just to make sure I understand everything the “actuator” is the one that has to be controlled by an “open collector” source? since a line driver is a sourcing output, an open collector is a sinking output and a push-pull output is a combination of a line driver and an open collector. Because you need and open collector, click here for more information, I would suggest a NI PCI-6220 since you get 32 digital inputs and outputs, than can handle sinking and sourcing i\o and  you get the additional 16 analog input lines, and counters. But that is my suggestion and since you will probably have a lot more specification that have to be fulfilling the best thing to do is use our search engine, Data Acquisition (DAQ) Hardware, or get in touch with our sales department.
    I hope it helps
    Jaime Hoffiz
    National Instruments
    Product Expert
    Digital Multimeters and LCR Meters

Maybe you are looking for