11-19-2006 08:27 AM
11-20-2006 08:15 AM
11-20-2006 10:54 AM
Thank you hannah for your help. Where do i get the simulate express vi from? and i am also trying to produce the pulse now by swithcing a digital line on and off continuously using a while loop for the USb 6009. but i am a total and complete beginner in Labview, so is it possible to send me an example of how you can do that on Labview (an example VI)?
Thank you for your help,
Myriam
11-21-2006 11:03 AM
11-21-2006 03:09 PM
11-22-2006 10:48 AM
Hi Myriam,
Here's the vi in version 7.1 of LabVIEW.
Good Luck
Hannah
NIUK & Ireland
11-23-2006 05:20 PM
11-27-2006 09:35 AM
Hi Myriam,
Changing the wait time is the only way to change the timing in the vi I sent you (so the time between each value change).
As for the WriteDigPort example, you can modify this to write multiple samples by changing the polymoprhic selector to read 'Digital 1D U16 1 Chan 1 Samp' by selecting the polymorphic selector and navigating to 'Digital>>Single Channel>>Multiple Samples>>1D U16 (port format)'
This will allow you to write an array of data (you'll have to change the front panel control to an array first).
Hope this helps
Hannah
NIUK & Ireland
11-28-2006 08:31 AM
Hi Hannah
Thanks a lot for your help. I am trying to use the shift register now to generate a pulse on a digital line but the output is very slow. Is there anyway of making this quicker? I have three main questions about this:
1- Can I use the onboard counter on the USB 6009 to generate the pulse instead?
2- If i use the digital line would a pull up resistor connected in series make it go quicker?
3- is it possible to use software timing to write the pulse to a digital line? I can use the analog one (Gen MultVolt Updates-SW TIMED.vi) to prodcue the pulse at the frequency i want on an analog output. Is there no way of doing the same thing on a digital line?
I need to get the pulse at a frequency of at elast 100 Hz to operate a stepper motor so is there no way of producing a pulse of a quicker frequency using the USB 6009?
Thank you in advance for your help
Regarrds,
Myriam
11-30-2006 09:48 AM