How to interface with NI PCI-7344

Hi,
First off,i have to say im a newbie with labview so if tis is some stupid qns,my apologies.I nid to work out a program using LabView 8.0 to control a stepper motor thru NI PXI-7344 and the NI UMI-7764. The program is ready with the output as a 32-bit integer, However i am clueless to wad should i connect it to. can some1 kindly plz help me thanks
~Nova
Attachments:
Example.vi ‏18 KB

Nova,
Since you have a PXI-7344, it should have come with the NI-Motion
driver. Is that something that you have installed currently? If not,
you can find the latest version here.
To learn how to programmatically control a stepper motor, you might
want to start off by taking a look at some of the examples that come
with LabVIEW. To access them, open up LabVIEW, then go to Help >>
Find Examples...
Using the Browse by Task option, expand the Hardware Input and Output
folder, and then the Motion Control folder. Here you will find many
examples that you can examine to learn her to program your motion
control application.

Similar Messages

  • TrueTime Card and how to interface with dll file!?

    I am trying to interface with a PCI-SG 2U (IRIG) timing card (Used to made by TrueTime, now Symmetricom).  Does anyone have a solution for this card in LV 2009?  
    If not, can anyone give advice on writing code to interface with .dll file?  I am not sure how to pass through the "GENERIC_READ | GENERIC_WRITE" into the function to open the device. The function says to open it is: 
    TT_OpenDevice(boardID, GENERIC_READ | GENERIC_WRITE, &hDevice)
    No clue on how to pass this in.  Can anyone help?
    Thanks - 
    Tom

    Thanks Mike.  I do have the .h file and the sdk information.  I went through and used the Import>Shared Library Tool and was able to find all the header information that way.  I guess that my problem/question is, the documentation says that it is a DWORD to pass as an input, but LabVIEW says it is a uint32.  I guess the real question is, what the heck do I pass in to the dll function?  Should it be the string "GENERIC_READ | GENERIC_WRITE" or something else?
    Thanks - 
    Tom

  • How to interface with ROWID column in DB2?

    I'm using DB2 version 7.1.
    I have a column in a table called ROWID, and the Data Type is ROWID. However, I don't know how to interface with it in Java. For example, for CHAR and VARCHAR, I use the String class. For SMALLINT, I use int, etc. But what do I use for ROWID? It's not in the java.sql.Types list. The DB2 manual says it is stored as a VARCHAR(17), but I didn't just want to assume I could use String.
    Any thoughts?

    try getObject() and see what kind of object you get:
    ResultSet rs = statement.executeQuery("...");
    while(rs.next()) {
      Object o = rs.getObject(1); // the rowid column
      System.out.println(o + " class: " + o.getClass().getName());
    }

  • Windows 2000 upgrade from win98--wil​l i have problems with my pci-7344, pci 6110e & ni5411?

    I am running win98 with my Labview 5.1. It running fine, but I would like to upgrade the os to windows 2000.
    When I was running a check of the hardware, win2k said that the following hardware may not run:
    pci-7344, pci-6110 & ni-5411.
    will i need new drivers?
    will i run into any problems?
    any suggestions?
    thanks!
    Byron Golden
    Allied Geophysical Labs
    U of Houston

    Byron,
    You should not have any problems when you upgrade your OS. Depending on what driver versions you have for that hardware, you may want to go ahead an upgrade your drivers anyway, though. The drivers for these devices are all available for free from our website at:
    Current Driver Versions
    http://digital.ni.com/softlib.nsf/webcategories/9A​D71162B755F0E786256BBC005F001A?OpenDocument&node=1​32060_US
    Try that and let me know if you have any trouble.
    Regards,
    Scott R.
    Applications Engineer
    National Instruments

  • LabVIEW 3.1 SE: how to interface with Centronics

    I would to interface my serial ADC (ADS7822) via
    Centronics so I was wondering how I can do it
    by usinf LabVIEW 3.1 Student Version.
    Thanks in advance.

    The printer port (Centronics) is parallel communication and you'll need a converter. The ones in my Black Box catalog (www.blackbox.com) are not cheap - ~U$100. Cheaper to buy another serial port card for the computer. You'd then have the problem of how to communicate with the parallel port. Version 3.1 is extremely old. With a newer LabVIEW version you'd have more options.

  • CPU-Usage during control of a DC Motor with the PCI-7344 board?

    Hello!
    I want do control a DC-motor (no stepper motor). Now i´m using the PCI-6527 board and simulating the delay between "high" and "low" on the Simulate-signal-vi. This works fine while no other process on the PC is running. The CPU-usage rises up to 100%. Is it possible to use the PCI-7344 board for controlling my DC-motor and having enough CPU resources to do other things like capturing pictures with a cam at the same time? The CPU is a Pentium 3 1Ghz.

    The PCI-7344 is a perfect solution for your problem. This board is designed for motion control applications and it's running everything on its own DSP and CPU:
    Trajectory Generation, PID control, limit switch monitoring and so on.
    Thus the PC's CPU is free for other tasks. Please note that you need a position feedback signal from a quadrature encoder.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • Problems with a PCI-7344 motion controller

    Hi all,
    I've run into a weird problem with a NI PCI-7344 motion controller, where I
    have a program that provides the motion control for my program that works
    reasonably well, but when I make minor changes gets motion errors. The changes
    are not specifically to the motion parts, just changing a couple of globals
    that provide communication with another part of the program (and another piece
    of hardware). The errors I get indicate that I am trying to enable limits
    switches at the wrong time in my program. I will add that I do not get any
    errors when I go through the program in debug mode
    Tnx,
    P.W.Monroe

    The portion of my program that gets the errors uses the "Flexmotion" Find Home
    and Find Index routines, which are built into the 7344 controller. In the
    exampes for using these VIs, they are followed by a loop that has a VI that
    monitors the status of these VIs for completion, both move complete and Home or
    Index Found. The globals that I mentioned are being used to terminate the loops
    if an error condition occurs elsewhere, and do not cause the program to do
    anything other than terminate looking at the status and then go into a wait
    loop. It crashes when it goes into the loop when I substitute a different
    global, which is baffling to me, as they aren't triggering something that would
    result in a race condition.

  • How LV interfaces with a microcontroller (serial communication).

    I am starting to design a system that uses an RFIC, a microcontroller and a VI to act as a user interface.  The microcontroller outputs in RS232 to a Lantronix device which packages up the information and sends it over a network. I plan on using LV's VISA to locate the device.  I have not worked with a system like this before and I would like to know how LV sees the data that is being sent over the network and how I can unpackage the data and make sense of it in LV, then output data to be sent to the uC.  I would appreciate any suggestions anyone may have.

    The Lantronix device will install a device driver to the PC that creates a virtual com port.  LabVIEW will communicate with that com port (Let's say Com8) through VISA.  The device driver will handle the communication with the Lantronix device over the network.
    The Lantronix device I used is pretty sophisticated, and was not that easy to set up.  It may also have other methods of communication such as talking to it TCP/IP.  If I remember correctly, it also had a local terminal mode and a remote terminal mode.
    In the end, once I figured out the trick to getting the device driver to work (the instructions were just not that obvious on how you had to set up the ports and open up the firewall to make it work), I was able to use it just like I said at the beginning as a Virtual com port.  I've used other remote serial devices that were truly much more plug and play.

  • How to interface with Chameleon camera

    Hi everyone,
    I am trying to use Labview to control Chameleon camera, which is from Point Grey Research. I am using the ActiveX control interface and I have encounter a problem of using "Call Library Function" node. I am using that node to get the image array from a pointer and trying to display. However, the "Call Library Function" node doen't work.
    I am wondering how can I get the  image array from a pointer that is used by the FlyCapture?
    Was there anyone experience the same thing?
    Thanks.
    Carson

    CarsonZ,
    Please check to see if your camera is supported by the Industrial Camera Advisor. Also, when you say that the Call Library Function node does not work, does it return a specific error message or just not return any data?
    Lastly, is the FlyCapture application an ActiveX enabled application? If so you should be able to register for events and also pull the information from the application by running through this help document.
    Logan H
    National Instruments
    Applications Engineer

  • How to Interface with IP in Kernel

    I have a unique problem regd solaris network stack.
    I want to add a new protocol over solaris IP, say RIP.
    How can it be done ?? Does Solaris IP use the published NPI interface ??
    or does it use some other published interface ??
    Can we write a streams module and push it over IP driver to get particular protocols packets from IP??
    If i want to replace IPSec module of Solaris because of some proprietary feature enhancement, is it possible to do that ??
    Regards
    Girija

    try getObject() and see what kind of object you get:
    ResultSet rs = statement.executeQuery("...");
    while(rs.next()) {
      Object o = rs.getObject(1); // the rowid column
      System.out.println(o + " class: " + o.getClass().getName());
    }

  • How 7921 interface with 3rd party; guest service contact center?

    I want to use 7921 for staff in hotel to get sms from "guest service contact center", how to do the interface?

    You can write an application to push text to 7921, using CiscoIPPhoneExecute and CiscoIPPhoneText object. Check out Cisco's SDK for more information about using these objects.
    There are 3rd party products, like PhoneTop Messenger, which allow you to push text/audio to Cisco IP phones.

  • How to interface with Trial Version of Netweaver 7.01

    Is there a way for an external ,NET program to communicate with the Trial Verson of Netweaver 7.01?
    I've tried the .NET Connector version 2.   However when I try to expand the BAPI or RFC folder in VS 2003 I get the message, "Unable to open c:\windows\sapmsg.ini
    I've tied creating a web service from a BAPI.  However it fails in the last step.   No real explanation.  It ust fails   Furthermore when I go into SOAADMINr, I receive the error URL http://"xxxx":8000/sap/bc/webdynpro/sap/appl_soap_management call was terminated because the corresponding service is not available.

    It was an installation problem

  • Limit Switches interfacing with PCI-7344

    I am trying to figure out the best way to calibrate encoders with the PCI-7344 interface card. Should I setup my limit switches to stop the axis at the limit and then reset encoders there or what? Or should I have a home switch somewhere in the center of travel and let Labview reset the encoders at that point? The 7344 card has digital I/O but they are not configured as anything at the moment. I assume there is a vi to do this? What is the accepted way to do this?
    Perry

    Hi Perry,
    What sort of behavior is your motion system going to have? Typically, you would want for one end (if linear) to be the home. So, I would probably approach it that way. But, what is your system going to be like? As for the digital I/O, there is a palette of VIs to handle this within the NI 73XX functions palette. See the pic.
    Matt J.

  • Position Control of compumotor linear servo table and GV-U6E with PCI-7344

    I'm referring PCI-7344 (not 7334).
    I have the GV-U6E which is a drive only and does not possess control functionality. the drive only version does not store or use programs. So, serial commands can not be sent through COM port by LabVIEW even though A few basic commands can be emulated.
    I am trying to do position control as I mentioned. For example, the motor should move A point to B point exactly with a certain speed. The points must be aboulte position.
    I would like you to see the reference comment that I have been contacting with in your website forum.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000DD490000&USEARCHCONTEXT_CATEGORY_0=_14_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_14_&UCATEGORY_S=0
    Regard,
    Jin Ho Lee
    ----- Original Message -----
    From:
    To:
    Sent: Thursday, September 26, 2002 5:00 PM
    Subject: Re: (Reference#1549-QYW196) "Position Control of linear servo table and GV-U6E with PCI-7344
    >
    > Note: Your reference number is included in the Subject field of this
    > message. It is very important that you do not remove or modify this
    > reference number, or your message may be returned to you.
    >
    >
    > JinHo. Compumotor is a very popular brand, and I know of several customers
    > who integrate our 7334 with Computmotor drives. However, when you say that
    > the MAX configuration doesn't fit in the compumotor drive settings, are you
    > referring to the specs from the 7344? It looks like the 7344 and the
    > Compumotor will work well together through a UMI break out box. If you're
    > referring to specific commands that the Compumotor receives, I'd have to
    > know more about the protocol. If the Compumotor needs serial commands,
    > then you can send them through the computer's COM port from LabVIEW.
    > Please let me know exactly what kind of configurations you're trying to
    > set. The 7344 can be completely configured in MAX and LabVIEW.
    >
    >
    > Best Regards
    >
    > Kyle Voosen
    > Applications Engineer
    > National Instruments
    > http://www.ni.com/support
    >
    > ------------------------------------------------------------------------------
    >
    > Problem Description :
    > "Position Control of compumotor 406LXR linear servo table and GV-U6E(motor
    > drive) with PCI-7344"
    >
    > "Since I had the answers referring:
    > http://exchange.ni.com/servlet/ ProcessRequest?RHIVEID=101&RPAGEID=135&
    > HOID=506500000008000000DD490000& USEARCHCONTEXT_CATEGORY_0=_14_&
    > USEARCHCONTEXT_CATEGORY_S=0& UCATEGORY_0=_14_&UCATEGORY_S=0
    >
    > Wiring step was done well. However, I still have a problem that MAX
    > configuration doesn't fit in compumotor drive settings. Therefore, the
    > setup is shown below, and I want to know how I can set up PCI-7344
    > configuration in MAX or LabVIEW VI.
    >
    >
    > -----------------------------------------------------
    >
    > Uploaded from device address 0
    >
    > Gemini GV Servo Drive Setup
    >
    >
    >
    > Motor Setup
    > DMTR 1703
    > Motor ID (406-x-LXR-M-x-D13-x-x-x-x-E5-x-x-x)
    > DMTIC 2.48
    > Continuous Current (Amps-RMS)
    > DMTICD 0.00
    > Continuous Current Derating (% derating at rated speed)
    > DMTKE 17.6
    > Motor Ke (Volts (0-to-peak)/krpm)
    > DMTRES 10.10
    > Motor Winding Resistance (Ohm)
    > DMTJ 119.300
    > Motor Rotor Inertia (kg*m*m*10e-6)
    > DPOLE 1
    > Number of Motor Pole Pairs
    > DMTW 40.5
    > Motor Rated Speed (rev/sec)
    > DMTIP 7.40
    > Peak Current (Amps-RMS)
    > DMTLMN 3.4
    > Minimum Motor Inductance (mH)
    > DMTLMX 3.4
    > Maximum Motor Inductance (mH)
    > DMTD 0.000000
    > Motor Damping (Nm/rad/sec)
    > DMTRWC 0.23
    > Motor Thermal Resistance (degrees Celsius/Watt)
    > DMTTCM 20.0
    > Motor Thermal Time Constant (minutes)
    > DMTTCW 0.33
    > Motor Winding Time Constant (minutes)
    > DMTAMB 40.00
    > Motor Ambient Temperature (degrees Celsius)
    > DMTMAX 90.00
    > Maximum Motor Winding Temperature (degrees Celsius)
    > DHALL 1
    > Disable Hall Sensor Checking
    > DMTLQS 0
    > Set Q Axis Inductance Saturation
    > DMTLDS 0
    > Set D Axis Inductance Saturation
    > DTHERM 0
    > Disable motor thermal switch input
    >
    >
    >
    > Drive Setup
    > DMODE 2
    > Drive Control Mode
    > DRES 8400
    > Drive Resolution (counts/rev)
    > DPWM 16
    > Drive PWM Frequency (kHz)
    > SFB 1
    > Encoder Feedback
    > ERES 8400
    > Encoder Resolution (counts/rev)
    > ORES 8400
    > Encoder Output Resolution (counts/rev)
    > DMEPIT 42.00
    > Electrical Pitch (mm)
    > SHALL 0
    > Invert Hall Sensors
    > DMTLIM 1.5
    > Torque Limit (Nm)
    > DMTSCL 1.5
    > Torque Scaling (Nm)
    > DMVLIM 119.000000
    > Velocity Limit (rev/sec)
    > DMVSCL 119.000000
    > Velocity Scaling (rev/sec)
    >
    >
    >
    > Load Setup
    > LJRAT 0.0
    > Load-to-Rotor Inertia Ratio
    > LDAMP 0.0000
    > Load Damping (Nm/rad/sec)
    >
    >
    >
    > Fault Setup
    > FLTSTP 1
    > Fault on Startup Indexer Pulses Enable
    > FLTDSB 1
    > Fault on Drive Disable Enable
    > SMPER 8400
    > Maximum Allowable Position Error (counts)
    > SMVER 0.000000
    > Maximum Allowable Velocity Error (rev/sec)
    > DIFOLD 0
    > Current Foldback Enable
    >
    >
    >
    > Digital Input Setup
    > INLVL 11000000
    > Input Active Level
    > INDEB 50
    > Input Debounce Time (milliseconds)
    > INUFD 0
    > Input User Fault Delay Time (milliseconds)
    > LH 0
    > Hardware EOT Limits Enable
    >
    >
    >
    > Digital Output Setup
    > OUTBD 0
    > Output Brake Delay Time (milliseconds)
    > OUTLVL 0100000
    > Output Active Level
    >
    >
    >
    > Analog Monitor Setup
    > DMONAV 0
    > Analog Monitor A Variable
    > DMONAS 100
    > Analog Monitor A Scaling (% of full scale output)
    > DMONBV 0
    > Analog Monitor B Variable
    > DMONBS 100
    > Analog Monitor B Scaling (% of full scale ouput)
    >
    >
    >
    > Servo Tuning
    > DIBW 1500
    > Current Loop Bandwidth (Hz)
    > DVBW 100
    > Velocity Loop Bandwidth (Hz)
    > DPBW 40.00
    > Position Loop Bandwidth (Hz)
    > SGPSIG 1.000
    > Velocity/Position Bandwidth Ratio
    > SGIRAT 1.000
    > Current Damping Ratio
    > SGVRAT 1.000
    > Velocity Damping Ratio
    > SGPRAT 1.000
    > Position Damping Ratio
    > DNOTAF 0
    > Notch Filter A Frequency (Hz)
    > DNOTAQ 1.0
    > Notch Filter A Quality Factor
    > DNOTAD 0.0000
    > Notch Filter A Depth
    > DNOTBF 0
    > Notch Filter B Frequency (Hz)
    > DNOTBQ 1.0
    > Notch Filter B Quality Factor
    > DNOTBD 0.0000
    > Notch Filter B Depth
    > DNOTLG 0
    > Notch Lag Filter Break Frequency (Hz)
    > DNOTLD 0
    > Notch Lead Filter Break Frequency (Hz)
    > SGINTE 1
    > Integrator Option
    > SGVF 0
    > Velocity Feedforward Gain (%)
    > SGAF 0
    > Acceleration Feedforward Gain (%)
    > -----------------------------------------------------
    >
    >
    > Regards,
    > JinHo"
    > NI Software :
    > LabVIEW version 6.0
    > NI Hardware :
    > Motion Control device PCI-7344
    > Driver Version :
    > no
    > OS :
    > Windows 2000
    > CPU :
    > Pentium
    > RAM :
    > 128
    > Vendor :
    > DELL
    > Customer Information :
    > Jin Ho Lee
    > North Carolina State Univ.
    > US
    > [email protected]
    > Ph: (
    > 919
    > )
    > 512-9929
    >
    >

    Yes, we used an NI PXI-7344 motion control card with an NI UMI-7764 box connected to a Gemini GV-U12E servo drive. (which is a drive only.)
    We did positional control in absolute position mode.
    I can send you an AutoCAD schematic detailing how to connect the UMI-7764 to the Gemini GV servo drive.
    In regard to the Rs232 interface to the GV servo drive,
    the GV drive only model is "configurable" not "programmable". You can create unique GV configuration files with Compumotor's Motion planner then download the configuration via Rs232 using LabVIEW as desired. Or, using LabVIEW via Rs232 you can change individual GV drive parameters on demand,
    or use the GV's two analog outputs back to LabVIEW's analog inputs to measure commanded motor current or torque, etc.etc.etc

  • How to achieve image using digital camera of USB-type interface through IMAQ PCI-1424 board.

    1.Is it doable?
    2.How to connect USB-type interface with IMAQ PCI-1424 board.
    Thanks!

    See the Developer's Zone (www.ni.com/zone) for specifics on USB (search for "USB").
    "1.Is it doable?"
    - In short "no".
    - USB is similar to FireWire (IEEE 1394), and no framegrabber is required. We offer an IEEE 1394 IMAQ driver to interface FireWire cameras with LabVIEW & CVI.
    "2.How to connect USB-type interface with IMAQ PCI-1424 board."
    - You will need a USB driver for the camera. The 1424 is not required.

Maybe you are looking for

  • Enterprise Adobe Cloud

    Is there any plan for an enterprise version of adobe cloud?

  • Object States not working on iPad

    Hello! Crossing my fingers someone on here can help. I am working on, and nearly finished a children's book I made for the iPad. Everything looks great on my desktop content viewer but when I preview the app using the content viewer on my iPad a lot

  • Cancellation of return delivery

    Hi all, I want to know, if we cancel the Return delivery document after doing Reverse goods Movement using VL09, then wht will happen to the stock. will it go away or come into the stock. plz. let me know. thanx in advance sourav

  • AE free trial installation error.

    Working on MAC OS X Yosemite 10.10.2.     Trying to install CC After FX free trial . Keep getting this message "Could not create -/Library/Application Support/Adobe/CoreSync". AND "Download Error - The Creative Cloud Installation is no longer functio

  • Roxio Media Manager Installation Problem

    My Desktop Manager recently updated itself to version 5.   Shortlly therafter I started to get error messages from Window's Installer trying to configure  Roxio Media Manager and not finding a particular roxio media manager .msi file.  This is a very