Step and direction pulse from 6024e
Hi,
I am trying to control a stepper motor through labview. I have a PCI-6024e DAQ and a stepper driver (G210A from geckodrive). The stepper driver takes step and direction inputs from a pulse source. Is the 6024e capable of doing this? Are there any vi examples?
Thanks
Mike
Yes, the 6024E is capable of doing that. If the motor doesn't have to run fast, you can simply use two DIO lines.
If the motor has to run faster than your software loop time allows, then you can program a counter output to send pulses corresponding to the number of degrees you want the motor to rotate.
I don't have example code that specifically operates a stepper, but LabVIEW ships with examples showing counter configurations that will work.
Similar Messages
-
Tutorial myRIO Stepper with 2 digital lines (step and direction)
Hey NI Community!
I'm new here and an academical employee.
I want to program / control a stepper with myRIO, this is needed for a research project at my institute to build a prototype.
The stepper is driven by a digital driver which have one digital line for the steps and one for the direction (see attached files).
Now I want to know, if there is a tutorial or a example for this because I have no Labview, FPGA and myRIO skills at the moment.
THANKS!Hi MasterChief,
There is no tutorial how to control a stepper with myRIO. But there is an example shipped with the myRIO that is using a DI task. You can find this example in the LabVIEW example library. Go to Help >> Find examples in an open LabVIEW window. In the dialog open the folder Modules and Toolkits >> myRIO. There is an example called Edge detection and Debouncing.
The example contins a RT Main.vi. In this VI there is an express VI used. This express VI should be used in your application, too. You only hav to reconfigure the Digital Output instead of Digital Input.
For your application you will need to control two tasks witht the VI. One for the direction and one that outputs the pulse for the stepper.
Regards,
Melanie -
Bluetooth and direct call from Outlook 2010 issue
Hello.
I connect Nokia 5300 via Bluetooth and can call from Nokia Communication Center. But when i try to call from Outlook, phone begins dialing and immediately shows strange icon "D" and break dialing.
If i connect via USB - all work without any problems - form Nokia Communication Center and from Outlook also.
In OS Nokia is shown as Standard Modem via Bluetooth (Microsoft)
PC Suite 7.1.6
Windows 7 x64 Ultimate RUS SP1
Outlook 2010 x64Workstations are on a domain
Also it may appear to be more of a issue with 2000 .pub type of files. As users can create a 2010 .pub file and it works great fine. But every time a user opens a 2000 .pub file via outlook and tries to edit and save it requests the
user to do a save as, vs. save to outlook temp location. -
No sound with ALSA and/or Pulse from built-in Intel 5 Series Card
Hello,
I posted a thread about a similar problem to this 4 years ago, but that solution is no longer working for me, and I'm just now returning to Arch after floating between a few different distros, so I'm not as knowledgeable about this as I might once have been.
Basically, my problem is that sound does not work on my laptop, neither through the internal speakers or headphone jack, and neither with plain ALSA nor Pulseaudio. This leads me to believe that there is some underlying problem that once solved, will allow plain ALSA and Pulse to work properly, but that's just speculation. I've put several hours of research into this so far with no luck. Everything in alsamixer is unmuted and looks right. I'm going to dump as much relevant info on my setup below in hopes that someone more knowledgeable than I can spot the issue:
The relevant section of lspci:
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
Subsystem: Dell Device 0447
Flags: bus master, fast devsel, latency 0, IRQ 32
Memory at fbd00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
The output of aplay -l
card 0: MID [HDA Intel MID], device 0: 92HD81B1X5 Analog [92HD81B1X5 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
The output of aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=MID
HDA Intel MID, 92HD81B1X5 Analog
Default Audio Device
sysdefault:CARD=MID
HDA Intel MID, 92HD81B1X5 Analog
Default Audio Device
front:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
Front speakers
surround21:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
HDA Intel MID, 92HD81B1X5 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=MID,DEV=0
HDA Intel MID, HDMI 0
HDMI Audio Output
The contents of /proc/asound/cards
0 [MID ]: HDA-Intel - HDA Intel MID
HDA Intel MID at 0xfbd00000 irq 32
The contents of /proc/asound/devices
2: [ 0] : control
3: [ 0- 0]: digital audio playback
4: [ 0- 0]: digital audio capture
5: [ 0- 3]: digital audio playback
6: [ 0- 0]: hardware dependent
7: [ 0- 3]: hardware dependent
33: : timer
/etc/asound.conf is empty and my user has no .asoundrc file in its home directory.
I ran the ALSA Information Script and the results of that can be found here.
Any help would be greatly appreciated; this is a very frustrating issue. Thank you very much!same problem with me on Intel Corporation 7 Series/C210 Series.
actually, internal speakers works, it's just on mute (you can change it with alsamixer), but headphone/external speakers doesn't work. and there's no sound card detected in gnome control center -> audio section.
"00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)" -
Files stop rendering after a while! both in media encoder and direct export from timeline
hi there,
getting very frustrated here need to deliver a file but each time it stops rendering (each time at the same moment)
I tried several encodings (mpeg, H264, wmv) with the same disappointing results.
What i found out is that the first preset i used worked. (i rendered a waveform file for mastering in my audio software)
When starting te export a new file from the timeline you will see the latest preset you used (in my case windows media audio file)
then any following preset you choose won't work. Encoding will stop. When restarting the program and going back to the export menu will
show the first preset i had chosen (the only one that did work) which tells me that any other preset i choose won't work.
I tried several tricks (import timeline in another one, save copy project etc) non succesfull.
i work with PC/asus P6T SE/i7 - window 7 professional
hope anyone can help me with a workaround!
Frank
P.S. i succeeded to render the previous file with specific H264 setting using CBR in stead of VBR encoding but can not reproduce it so far!hi Arjun,
no third party plug-ins used.
General
Editing mode: Sony XDCAM HD/EX 1080i (SP)
Timebase: 25,00fps
Video Settings
Frame size: 1440h 1080v (1,3333)
Frame rate: 25,00 frames/second
Pixel Aspect Ratio: HD Anamorphic 1080 (1.333)
Fields: Upper Field First
Audio Settings
Sample rate: 48000 samples/second
Default Sequence
Total video tracks: 3
Master track type: Stereo
Audio Tracks:
Audio 1: Standard
Audio 2: Standard
Audio 3: Standard
Audio 4: Standard -
I am running Labview 7 with a 1200 DAQ card.
KBClark,
It is indeed possible. You can find out more information by checking out this link: �Motion Control Software�. Perhaps someone in the community has specific experience and can be of more assistance. Good luck!
Craig H.
National Instruments -
How can I control 3 stepper motors w/ amplifier by sending TTL pulses from DIO96
We have NI PCI-DIO-96 board and we have 3 stepper motors with amplifier and encoders. We want to control the motors by sending TTL pulses directly from the DIO-96 board to the amplifiers. Is this possible? What would you recommend if this is not a good approach? Thanks in advance.
Roman ZeylikovichRoman,
Thank you for contacting National Instruments. While using a motion controller would be the recommended approach for any type of motion application, you may be able to use your DIO board to generate a TTL pulse train to control the step and direction inputs of your drive and motor. You will need to make sure that the current sinking and sourcing specification for the DIO-96 fits your stepper motor. That board is not designed to source very much current at all so this is one issue you will need to verify. Also, this board does not have any counter/timer logic that can handle quadrature encoder inputs.
Again, this digital device is probably not the best solution to control a stepper motor, but, depending on your hardware, could be configured to work proper
ly. The PCI-7334 is a low-cost stepper motion controller that can control up to 4 axes and is designed to easily accommodate these types of applications. You can browse through more information on our Motion controller boards at the following website:
http://sine.ni.com/apps/we/nioc.vp?cid=3809〈=US
Let us know if you have any more questions or comments.
Regards,
Michael
Applications Engineer
National Instruments -
Since I upgraded to iOS 7.1.2, new Outlook calendar and contact items will not sync to/from my iOS devices - I am not using the iCloud, just sync'ing direct to/from laptop. Neither direction seems to be working.
Does anyone have a solution?Hello Happy-in-the-Mountains,
Thanks for using Apple Support Communities.
To troubleshoot this issue where you're unable to sync between your iPhone and Outlook, I'd like you to please follow the steps in the article linked to below.
Troubleshooting Sync Services on Windows with Microsoft Outlook 2003, Outlook 2007, or Outlook 2010 - Apple Support
Have a great weekend,
Alex H. -
Verizon Chat advises pdf attachment non-download from AOL email is a software problem and directs me to Apple Support. I see "can't access cellular data network" in an instant before the file's icon is replaced by the file's name. In Inbox three emails in a row show there is an attachment. My iPad 3rd gen. runs 7.1.
You have Acrobat Pro on your system. It will try to open PDFs, and of course it will fail. You must uninstall it. Then, you will need a PDF reader. So install Adobe Reader. That seems quite simple, but perhaps something is wrong. If anything goes wrong with these two steps (1) uninstall Acrobat Pro (2) install Adobe Reader, then please let us know the details.
-
I need to count intermittent high speed pulses from an outside source with cFP-CTR-502 and Labview 8.2 . I've found example code for generating pulses and creating intricate count setups but no straightforward examples of a simple counter. Any suggestions?
Hello tinfish,
I could not find a simple example that implements simple counting either, but it should be straightforward enough for us to try. Do you have the CTR module configured properly in MAX? If so, can you monitor the channels on your CTR 502 for input? Try connecting a square wave or some other digital pulse to the terminal to test the functionality of the counter module first (before programming). If you monitor the input channels with somethign connected you should see the count increment each time it sees a rising edge (assuming default configuration).
Once you've verified that everything works in MAX, you can set up your CTR module in a LV 8.2 project. If you need help with this, refer to the help document (look in the "Configuring FieldPoint in LabVIEW" section):
C:\Program Files\National Instruments\FieldPoint\documentation\Online Help\fplv.chm
You should be able to just read a channel tag from your CTR 502 using an FP Read VI. (Simply drag the channel from your project onto the block diagram). Since counting is the default behavior of the 502, there is no special programming involved to make it work.
I hope this helps -- if it's too high-level we can talk details about specific questions you have. Have a good one!
Charlie S.
Visit ni.com/gettingstarted for step-by-step help in setting up your system -
I purchased a song from iTunes however it will not play. I get a message telling me I need to authorize my PC, when I go through the steps as directed I get a message saying this PC is already authorized however the song still will not play. Any help?
If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Otherwise, I'd report the problem to the iTunes Store.
Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items. -
What are steps to take music from ipad itunes and add to ipod nano?
what are steps to take music from ipad itunes and add to ipod nano?
You will need to transfer any music that you have purchased on the iPad directly from the iTunes Store app to the iTunes app on the computer to which you sync the iPod. You can do that by directly downloading the media from Apple to the computer's iTunes app or by connecting the iPad to the computer and before syncing the iPad transferring purchases that you have made to the computer's iTunes media library. One place that you will find that command is in the iTunes app's File menu.
-
I have been trying to download apps from the app store and every time it tells me there is a problem with my previous billing and direct me to put in new billing information and every time i do that it still will not let me download any apps.
Have a look here > http://support.apple.com/kb/TS1646
-
Im tying to unlock an Iphone 4.
the celular company make it by its system, and send me an E mail with the instructions to finsh the process by myself, throug itunes.
I did every step, and at the end appers a message telling that my Iphone is unlocked.
but it does not work with other celular company sim card.
It only works with the original sim Card company.
In the Iphone appears a message teeling that has no service with another company's sim CArd.
I don't know what to do.
I've been doing this, with different Sim cards.
sometimes appears a message informing that the SIM card is locked with a PIN. That i must instal the last itunes version and connect it again.
but every Sim card I have are with PIN.
If you can help me I;ll be very glad.
Thank you very Much.
nicanorfrommonChrisj4203, thank you for your kind answer.
I have done a lot of restores to the Iphone, and resets also.
I;ve done holding both buttons as you sugested, but there is no signal appearing.
I am in Uruguay, South America and the original company is Movistar ( Telefonica) and the new sim card is from ANTEL ( the officail and biggest company in my country).
I don;t knoe what todo.
I have been trying for more than one mont.
I have gone several times to both companies. Aldo two times to Apple uruguay, and nobody can help me. -
How to view the Billing data,direct postings from FI and Over head costs
Dear All,
I have created a PA report by Report Painter and when I execute the report by KE30,I could able see the report for billing data by selecting the 'F' and when I want to see the direct postings from FI,I have to come back to initial screen ,then select 'B' and similarly select 'D' for overhead costs.
Can I see all data (i.e billing,postings from FI & overhead costs ) in a single report,without selecting the Record Type.
Regards
SuHi,
In KE35 (Form),I have defined the columns (for actuals and plan) and rows (for value fields only) and in KE32 (Report),I have defined the characteristics and variables and when I defining the VARIABLES ,I have selected 'Record Type' as one of the variable.
As you said that I have tried to remove the Record Type as a variable,but i could not remove it . Please suggest me as how to remove it and take it as a Characteristic.
Regards
Subbu
Maybe you are looking for
-
Adobe Acrobat 9 Pro Freezes & Shuts Down - I need help.
I am running Adobe Acrobat 9 Pro on Windows XP and recently I started getting messages that say "Please wait while document is prepared for reading" and then AA9 freezes and eventually shuts down. I did 2 repair installations that did not resolve th
-
How to change a text item to have a link that opens a different page?
Hi, How to change a text item to have a link that opens a different page? Thanks, Guy
-
Is there a way to change the background of your ichat buddy list to a different color? like go into the .tiff files and modify a color? also when are tabs going to be available
-
HT1476 how do u get ur ipod touch to charge with usb cord on the wall?
my i pod wont charge on the wall or on my pc (computer) what do i do??????
-
How do you set up study cards within your book?
I've figured out the glossary, but want to add study cards to my book. where is that setting or panel?