07-21-2010 04:12 PM
Hi, I just bought the DAQmx , USB-6229. It has 2 counters and waveform out.
I am not sure how to use these functions- counters and waveform out- using PFI 0-15, which lines of the PFI 0-15 are IN or OUT. Which pins belong to the waveform out. Can any of this 16 lines of PFI be used as IN or OUT for counters and waveform. Please advice.
Regards;
JH
Solved! Go to Solution.
07-21-2010 05:10 PM
You can find the pin out and all kinds of information at NI's website. go to ni.com and enter your device model number into the search box. Click on a link that is displayed. You should find a link to the data sheet, spec sheet, and such. You may have to click on the Resources link to see more information, like a user manual and other spec sheets.
07-21-2010 05:33 PM
Thanks for the prompt reply.
I do have access to the DAQ pin out and the manual, but it is all generic, it does not tell you counter 1 is this connection or that, it just lists PFI 0-15 as static digital IN or OUT and can be used as Counter or Waveform out.
What I am looking for is that which one of the PFI can be used in or out and how many lines can be used for one counter or for waveform.
Regards;
JH
07-21-2010 05:47 PM - edited 07-21-2010 05:48 PM
I found this in the user manual. So you can use any PFI line for a counter.
The link for the manual is here. I found it just by following the instructions I gave to you. Go to NI's website, search for USB-6229, click on Resources tab, click on Manuals link, click on user manual link, open the pdf file. Next time I give advice, please follow it.
(this didn't format quite right - look at the manual)
Routing a Signal to Counter
n Source
Each co
signal. Any of the following signals can be ro
inp
• 80MHz Timebase
• 20MHz Timebase
• 100 kHz Timebase
• RTSI<0..7>
• PFI <0..15>
• PXI_CLK10
• PXI_STAR
• Analog Comparison Event
In addition, Co
Co
Co
unter has independent input selectors for the Counter n Sourceuted to the Counter n Sourceut:unter 1 TC or Counter 1 Gate can be routed tounter 0 Source. Counter 0 TC or Counter 0 Gate can be routed tounter 1 Source.
07-21-2010 05:51 PM
Thanks, one more thing,
I believe the analog outputs are open collector and need pullup resistor. Is that true, 1K ohm resistor would be acceptable.
Regards;
JH
07-21-2010 06:02 PM
@jm56789 wrote:
Thanks, one more thing,
I believe the analog outputs are open collector and need pullup resistor. Is that true, 1K ohm resistor would be acceptable.
Regards;
JH
Typiclly, Analog Outputs are NOT open collector. Why do you say this? Did you read the manual? Digital outputs can be open collector to form a bus. But analog outputs normally drive highs and lows. Read the manual, look for the analog output section. It will give you the voltage range and the current capability.
Whenever you add a pull up resistor, just don't pick a number out of the air. Think V=RI. The current being sunk by the device is going to be the voltage applied to the resistor divided by the resistor value. So if you put 5v on a 1K, the current will be 5mA. But what if the device can only handle 1mA? BURN OUT. You have to read the manual or spec sheet to see what the device can handle.
07-21-2010 06:20 PM
Thanks again,
for the open collector, I have a DAQ 6008 and it says analog outputs are open collectors and need to pull up resistor.
Regads;
JH
07-21-2010 06:45 PM
@jm56789 wrote:
Thanks again,
for the open collector, I have a DAQ 6008 and it says analog outputs are open collectors and need to pull up resistor.
Regads;
JH
I don't know what manual you are looking at, but you have the wrong information. Analog Outputs are NOT open collector. That is like saying you have a power supply with an open collector output. It just isn't possible. I can't copy and post the manual picture successfully, but I'm looking at it, and it is not open collector. It can drive 0-5V. Open collector circuits don't drive anything except ground.
Here is the link to the USB-6008 user manual on NI's website. Read it.
07-21-2010 07:26 PM
Thanks
Appreciate your help.
08-11-2010 03:26 PM
Hi, does Labview sends analog signals to the DAQ at different voltage levels and different intervals. My test setup is to send two analog signal to differential op amp, 0V to the - and 1V to the +, then to send 0V to the - and 1.1V to the +, then to send 0V to the – and 1.2V to the +, and vice versa, send the same signals to the + instead to the -, the purpose of my test is that 1 V to the op amp’s positive input sends 2A to the motor and rotates it CW , and 1V to the op amp negative input sends 2A to the motor and rotates it CCW.
Any advice.
JH