PFI 10

Hi,
I am trying to use cntr0 in my USB 6251 Mass Term, but it seems that only Ch. A is getting pulses. I have checked the entire wiring from my quadrature encoder all the way through SCXI 139 connector and to the 6251 terminal. Everything is OK. When I connect my encoder to cntr1 it works fine, but I need two counters for two different tasks. I also tried to monitor PFI lines individually as digital inputs. I could check PFI 8 (Ch. A, cntr0), PFI 3 (Ch. A, cntr1) and PFI 11 (Ch. B, cntr1) successfully, but when I tried PFI 10 (Ch. B, cntr0) the Measurement and Automation Explorer gave me error that PFI 10 is reserved for another task! I don't run any other task.
Do I need to do some initializations or configurations to have access to cntr0 or PFI 10?
For reference:
Hardware:
USB 6251 Mass Term ---> 68-pin cable ----> SCXI 1349 -----> SCXI 1520
                                                                                | ----> SCXI 1000-DC (Chassis)
                                                                                | ----> 50-pin connector --(lines 33,34,36,41,42)---> quadrature encoder 1
                                                                                                                |---(lines 24,35,37,47,48)---> quadrature encoder 2
M-Series and X-Series Breakout Pin Translations for the SCXI-1349 and SCXI-1346:
http://digital.ni.com/public.nsf/allkb/598A68C99373CF0886256F4600721018
- Javad

Hi Javad,
PFI 10 and several other lines are reserved by SCXI: Using the Digital I/O Lines on an E or M Series DAQ Board While Controlling an SCXI Chassis
Through the DAQmx API, you can specify a different B terminal for your encoder task, such as PFI12: use a DAQmx Channel property node to set the CI.Encoder.BInputTerm property. Unfortunately, I don't think the DAQ Assistant supports this.
Brad
Brad Keryan
NI R&D

Similar Messages

  • New ADT vs PFI

    Hi,
    I just recompiled my swf with the new air 2.6 adt, and I am very surprised.
    First of all, all buttons now take about 5 seconds to respond, vs almost immediate in the pfi.
    Next, all the bitmaps i cached are screwed up, virtually nothing is showing.  And the rendering speed of these bitmaps is also at least 10x slower than before.
    My project is coded in Flash CS5, stage size is set to iphone (480*320) and I have been testing on an Ipad (i used to set the publish setting to iphone and ipad).  I'm pretty sure I'm doing something wrong since the new packager is suppose to be faster.
    I found this line in its list of improvements:
    Improved hardware acceleration on iOS. Hardware acceleration on iOS now works like it does on Android, and generally provides much better performance than with PFI. And speaking of PFI…
    Does this mean that I should avoid using cacheAsBitmapMatrix?  Even if that's the case, why are my buttons slower?  I never cached them.
    Also, some vectors render incorrectly (sometimes not showing alpha).  I have never seen this problem in the old PFI, the app always looked the same whether it's on the ipad or computer.
    Can someone please explain to me what's going on?
    PS. Are game center/iAd supported in this version?

    hey there guys, there is a good discussion over at the Mobile AIR forum that shares some discoveries about performance with 2.6. i struggled for days then realized any caching (cacheAsBitmap and cacheAsBitmapMatrix) will seriously hinder performance, at least in my app it did. i set my app screen quality to low (i'm using PNGs for a majority of the app anyway) unless i need high quality vector rendering. i am getting 60FPS and am continuing to tune things.
    http://forums.adobe.com/community/air/development/android
    hope this helps

  • How do I set a PFI to High on a 6602 Board with DAQ Traditional

    Dear All,
    I am using LabVIEW 8.5 on 32-bit Windows XP with an NI 6602 DAQ board. In the past I've used DAQmx but for compatability with older software I need to do a few simple things using Traditional DAQ, which I have never used. Specifically I would like to make a simple VI that sets PFI 5 to high when the user presses a button and then low when they press the button a second time. How do I set PFI 5 for output and then write true to it?
    Thanks,
    Ed
    Solved!
    Go to Solution.

    Dear All,
    Apparently its as simple as using the Write to Digital Line VI. However, the non obvious thing is the port width of the 6602 board is 32 not the default 8. Buried in the LabVIEW help files is a list of physical port widths that one must stumble upon. Like the bat cave. In the attached image of the super simple VI I've made the 16 refers to PFI 16. Good to know.
    Best,
    Ed
    Attachments:
    write_low.JPG ‏5 KB

  • How Do I Configure the PFI Lines as input in PXI 6713 module

    Hi,
    I have PXI 6713 module in my PXI 1044 chassis. I have configured PXI 6713 module to geneate certain analogue signals to my board.
    Board inturn process this analogue signal and responds back the status signals through a status register on the board. In my application,the status bits in status register of  the board are mapped to the PFI 0:3 bits on PXI 6713 module ( pins 11,10 , 42 and 43).
    My query is how do i configue the PFI lines as input in PXI 6713 module to read these status bits ??
    May be below explanation could give you little bit more information w.r.to my query.
    When i use NI USB - 6008    module to read the same bits , since this device has 12 digital I/O lines, i could able to read the status bits in to the last 4 digital lines by configuring the those digital lines as input.
    In PXI 6713  module i have only 8 digital lines. These 8 digital lines i have used to send the digital signals to the board. I am left with no digital I/O lines. Hence i couldn't use these digital lines. I am left with only one option to use. Theya re PFI lines. Moreover the status bits in the pin out of board are mapped such that the bits can be read through the PFI lines.
    I am wondering do we have any example code to use  inorder to read these status bits on the board using the PFI lines.
    Please let me know if you need additional information to help me out.
    Thanks.
    Solved!
    Go to Solution.

    Hello There,
    When using the PFI pin as an input, you can individually configure each PFI for edge or level detection and for polarity selection.  This PFI information can be referenced in the DAQ Analog Output Series Manual on page 6-1 (http://www.ni.com/pdf/manuals/370735e.pdf).  Unfortunately, the PXI-6713 PFI lines are only capable of timing input and output signal for AI, AO, or counter/timer functions.  The option of creating static DI from the PFI lines is not available for the PXI-6713. However, some cards have this capability.  Newer National Instruments products with PFI lines have the option of setting PFI lines as:
    Static Digital Input 
    Static Digital Output
    Timing Input Signal for AI, AO, DI, DO, or counter/timer functions 
    Timing Output Signal from AI, AO, DI, DO, or counter/timer functions
    (http://digital.ni.com/public.nsf/allkb/14F20D79C649F8CD86256FBE005C2BC4)
    When set as static DIO, the PFI lines are assigned to a different port (eg. PFI0-7 is Port1).  More details about this can be referenced at:
    http://digital.ni.com/public.nsf/allkb/DA2D3CD0B8E8EE2A8625752F007596E1
    http://digital.ni.com/public.nsf/allkb/862567530005F09E8625677800577C27
    Regards,
    Roman Sandoval | National Instruments | RF Systems Engineer

  • Can you do Digital In or Out on the same port (byte) as PFI timing?

       I'm using an M series board with three digital ports.  Port 0 is only for DIO, ports 1 and 2 can be used for DIO or PFI (e.g. clocking, triggering).  My question is:  can I do both DIO and PFI functions on any one port.  For example, on Port 1, I would like to use bits 0 to 6 as Digital Inputs and have an external clock signal go into bit 7 as a clock for Analog Out.  Can the port be mixed like this?
    Thanks,
       Dave
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.

    Dave,
    The DIO lines on any DAQ device that uses the DAQ-STC ASIC can be configured on a per line basis, so using PFI and DIO lines on the same port will work just fine. 
    You can run a quick test on this using the "Gen Dig Pulse.vi" example (found in the NI Example Finder under Browse -> Hardware Input and Output -> DAQmx -> Generate Digital Pulses).  You should be able to generate a pulse on one of the PFI lines on the board, then read that pulse back in on one of the DIO lines of that port using an external connection.
    -Justin

  • How to output sample and convert clocks to PFI lines of E-Series DAQ (DAQPad-60​15)

    Hi,
    Can someone tell me how to output sample and convert clocks to PFI lines of E-Series DAQ (DAQPad-6015)?
    Thank you very much.
    Jack

    John --
    Windows is not an option for me. I like your idea of using a counter output -- it may be helpful as I am getting ramped up, but my application will eventually require both timer outputs.
    I have a legacy C application written for Macintosh, and I am in the process of moving it onto OS X. So my options are to use DAQmx Base, or write an in-kernel driver. I actually have already done the latter for 6024/6025 E-series boards (for another company); for this client I was hoping to use the DAQmx Base to allow an easy transition to M-series boards, without the cost of writing and supporting a low-level driver.
    The specific task I am doing is relatively straightforward. I record 2 channels of AI for a short period (usually about 250 ms.) and during this time I drive 2 external digital signals. Right now, I use the 2 timer outputs, which allows precise synchronization with the output and AI sampling.
    I appreciate your comments, and thanks in advance for any additional suggestions you can lob my way.
    --spg
    Scott Gillespie
    Applied Brain, Inc.
    scott gillespie
    applied brain, inc.

  • I need to measure the frequency of a signal on Pin 39 (PFI 15) of a PXIe-6361 module.

    I need to measure the frequency of a signal on pin 39 (PFI 15) of a PXIe-6361 module.  All of the digital I/O pins are already assigned and in use.  The signal frequency range is 50KHz to 500KHz.  I have tried all of the sample programs for DAQmx Counter/Timer frequency measurement.  If I modify them to use my hardware, I get run-time errors with conflicts with resources already assigned.

    Hi Julia,
    Thanks for the response.  As I stated before, I have tried all of the examples available that apply.  There are only three and one of those uses two counters.  The two I have tried are:
      Examples/Hardware Input and Output/Counter Measurements/Digital Frequency/
          DigFreq-Buff-Cont-ExtClk-ArmStart.prj     and
          DigFreq-LowFreq1Ctr.prj
    These examples default to using what appears to be traditional DAQ hardware (Dev1/ctr0 and /Dev1/PFI0).  I changed the counter to mine (/PXI1Slot3/ctr3) and directed my signal source (PFI15 on pin 39) to the counter.  No matter what I tried would not run.  They would always compile but gave run-time errors ranging from resources already in use to “external trigger required”.  I have no external trigger source and, if I did, there is no indication of how to assign it to the counter.  NI has a very good X Series Users Manual that tells all of the great things you can do with the hardware, but there is NO CLUE how to do any of those things!!!!  I know that some NI DAQmx functions use hardware resources that they never tell you about.  I discovered that when trying to produce a single output pulse from a timer using counter #0.  (Which, by the way, no one at NI could tell me how to do it.)
    Measuring frequency should be very simple.  The unknown signal is routed through a precise gate to a counter, and then the counter is read.  NI DAQmx uses the opposite approach of using my signal as the gate and counting their internal source.  However, the examples would not let me use the internal reference sources.
    To answer your other questions, I am not performing any other measurements at the same time and the counter is not being used for anything else, period.
    Any help would be greatly appreciated.  Thanks again.
    Wayne K.

  • How do you map a PFI to a clock to measure frequency?

    I am running LabVIEW 8.2 and I am trying to measure the frequency of a voltage on a PFI pin. I have heard that I can map that pin to a counter input to measure the voltage but i cannot figure out how to do it. Are there any VI's already set up to do this? How can I map the PFI to a counter?

    Hi Flowserve1,
    What hardware are you using to make your measurement? What driver are you working with? You will be able to make measurements with your counter on a digital signal. If you look at the device pinouts for your device in Measurement and Automation Explorer you will see the counter terminals.
    Steve B

  • PFI for AIR 2.5

    Any idea when a new Packager For iPhone will be available that supports AIR 2.5.1 rather than 2.0.1?
    StudioCloud (http://studiocloud.com) just released an Android app (http://blog.studiocloud.com/2010/11/new-android-app.html) that works with their existing AIR and Flex applications and we are really excited to have an iPhone app.  However, the current PFI does not work with 2.5.1 that I am aware of.
    Any news on this or even a prerelease for the new PFI would be great.

    I'd like fast app testing, like is in GameSalad, but in the meantime I work with Flash in a way that's reasonably quick, at least if you're a Mac user:
    1. I publish the ipa file, and I have ipa set to open in StuffitExpander.
    2. Double click on the ipa, and you get a Payload folder with the app inside.
    3. Drag the app straight to any of your connected devices in the Organizer window of Xcode. No need to even delete the previous build.
    Between Test Movie and the ability to quickly get things onto the devices, without the documented iTunes sync approach, I often go through dozens of test builds a day.

  • Driving DO lines with external clock wired to PFI lines

    Hi all,
    I have few issues understanding how to use hardware timing resources in M series USB6229, with particular focus on DO. I have read last couple of day all google offered on the subject but I am still straggling with some basic tasks. To cut the story short, the 1e6 dollar question:  can I set up 7 independent DO lines where (different tasks or virtual channels) where lines use same hardware timing source (eg, freqout or CO0 set to ~10kHz sampling time routed to PFI0).
    Note: the reason I need 7 independent lines and not a port output (which would be obvious solution) is because I need to have (vastly) different number of samples and for each line.
    Follow up question regarding timing: As I understood, any of PFI ports could be used and a input to the external clock which could be used to drive DO line(s) samples. I have tried to generate one DO, eg. P0\line4 by using CO0 to generate 10kHz sample rate.  The signal on the line4 is pulse with frequency of few Hz which I routed to PF6 (with actual wire) in hope to use this signal as a clock for line5. I tried this but I am receiving errors about "resources in use"
    Possible reason(s):
    Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
    Property: SampClk.Src
    Property: SampClk.ActiveEdge
    Source Device: USB-6229
    Source Terminal: PFI6
    Required Resources in Use by
    Task Name: _unnamedTask<7B>
    Source Device: USB-6229
    Source Terminal: PFI4
    Destination Device: USB-6229
    Destination Terminal: do/SampleClock
    Task Name: _unnamedTask<79>
     Apparently, many of internal clocks are routed internally to different PFI lines which mean the lines are occupied resource, and I do not know how to solve this.
    I wanted to ask you does this principle sound as something that should work and if you know about some examples that would be excellent.   
    Any help would be greatly appreciated.
    Cheers, Nenad

    > To cut the story short, the 1e6 dollar question:  can I set up 7 independent DO lines where (different tasks or virtual channels) where lines use same hardware timing source (eg, freqout or CO0 set to ~10kHz sampling time routed to PFI0).
    No, you can't. The USB-6229 has a single digital output FIFO which can only be used by one task at a time.
    > Note: the reason I need 7 independent lines and not a port output (which would be obvious solution) is because I need to have (vastly) different number of samples and for each line.
    It should be possible to generate all seven signals with a single task by generating a waveform that includes all seven signals. If the signals repeat at different rates or you need to start/stop them independently, you will have to disable regeneration and continuously generate new waveform segments on the fly. Continuous Write Digital Port - External Clock - Non Regeneration should be a good starting point for the DAQmx programming, but actually generating the data is likely to be the challenging part.
    Brad
    Brad Keryan
    NI R&D

  • Digital inputs. PFI trigger inpurs

    Hi,
    I want to be able to to start the data acquistion by the use of digital tigger, say on the rising edge. Do i use the PFI inputs and if so how. Or can use one of the digital input channels. Any help would be grateful. Note that I am using NI PCI 6259 and labview 7.
    Regards,
    Tadhg

    Using one of the PFI lines is actually a great idea.
    For analog input, you could try the LabVIEW example VI, "Acq&Graph Voltage-Int Clk-Dig Start" you'll be able to get up and running quickly. You may select which line to trigger from using the controls under "Trigger Parameters".
    If you are performing analog output, the "Gen Mult Updates-Int Clk-Dig Start" works in a similar way.

  • No digital trigger signal on a PFI x-port in a PCI-6259

    Hi,
    I am using a PCI 6259 DAQcard (with a SHC68-68-EPM cable and version:2.9.1f0) to get an analog signal and a digital signal. The analog signal is used in NI MAX or NI Signal Express (DAQmn 9.7.5) to trigger it with the digital signal. When the digital signal is mounted on a Px/x port I can detect it. If I want to use it as a trigger signal on a PFI x-  (better PFI x/Py.y-) .port I do not get any trigger quantitiy.
    With a NI USB 6008 everything works quite well. Remark: The digital post is just labled as: PTI 0 and not as in the case of the PCI 6259 on the NI CB-68LPR-board: PFI x/Py.y.
    Another remark is that I did not measure a voltage difference of 5 volt at the provided port.
    How can I fix the problem and use a PFI x/Py.y-port for a digital trigger?
    Solved!
    Go to Solution.

    Hey AndGar,
    by trying I found one chanel on the platine with give me an trigger signal. So I can measure something but not in every chanal.
    Maybe just the PFI x- ports are reserved for triggering and you need to close every other task which measures a digital signal.
    *actuall I have no access to the programm*
    Thanks and best regards,
    Marcus

  • Sync output timing to hardware trigger (PFI?)

    I'd like to sync the output of my cards (2 PCI-6733 connected with an RTSI cable, and using  BNC-2110's) to the AC power line of the lab I work in. That is, when told to output, they will always wait and output at the same point in the 60Hz cycle.  
    To that end, I've built a circuit that gives a TTL signal that is synced to the building's AC line. I now need to find a way to take this TTL signal and use it as the starter for my experimental sequence. If there is a delay that's ok, however it needs to be a consistant delay (to within a few microseconds preferably). This is so that everytime I run my experimental sequence, I'm starting at the same point in the AC power cycle.
    Is it correct to use the PFI port to try and do this? Other suggestions?
    The sequence would be:
    Step 1: Cards are ready to write
    Step 2: Cards write once, started by hardware trigger of the TTL from the circuit I built.
    Step 3: Other Labview code runs, and then returns to step 1.
    Solved!
    Go to Solution.

    Ok. Knowing about DAQmx export signal is definitely helpful. I don't think I've got everything set up quite right though, as it's giving me an error with what I tried. 
    Error -89136 occurred at DAQmx Start Task.vi:1
    Possible reason(s):
    Specified route cannot be satisfied, because the hardware does not support it.
    Property: StartTrig.OutputTerm
    Destination Device: Dev1
    Destination Terminal: PFI0
    Task Name: _unnamedTask<1E>
    I'm not sure on the correct order of the DAQmx functions. I currently have: Create Channel -> Timing -> Write -> Export Signal (?) -> Start Task. This doesn't seem to be the correct way to do this though. The sample you linked to had the Write after the Start Task... which doesn't quite make sense to me... In addition, I'm not sure where to put the DAQmx Trigger.vi in this sequence.
    Any pointers to set me in the right direction? I've attached a screenshot and vi of my current code to show you what I do now. 
    Attachments:
    Write2PCI6733 (SubVI).vi ‏54 KB
    WriteToPCIscheme_Mar9_2012.PNG ‏59 KB

  • NI-5133 won't acknowledge PFI as channel to trigger from

    Hello,
    trying to use an NI-5133 Scope to read two channels, triggering off an external signal. Labview 2011, Scope 3.9.4
    I figured based on documentation that it would be no reading a trigger in on the PFI line (labelled PFI1 on the hardware, I still don't understand why it wouldn't be PFI0). Anyway, I tried using the niScope Configure Trigger block, and it will only let my choose between channel 0 and channnel 1 returning an error if I try to tell it to use the scope. I tried an alternative approach I found after perusing forums and that didn't work either, also returning an error:
    niScope Initiate Acquisition.vi:1<ERR>Source terminal to be routed could not be found on the device.
    Make sure the terminal name is valid for the specified device. Refer to Measurement & Automation Explorer for valid terminal names.
    Source Device: NI_Scope
    Source Terminal: PFI0
    Destination Device: NI_Scope
    Destination Terminal: StartTrigger
    Status Code: -89120
    Any advice on how I can get this to work triggering off the PFI line would be much-appreciated.
    I've attached my VI, I know it is probably pretty poorly constructed but I am very new to Labview.
    Thanks,
    Wolley
    Attachments:
    Test2.vi ‏62 KB

    Hello Wolley,
    What I would suggest is that you try running the NI SCOPE Soft Front Panel. This will allow you to verify the functionality of the hardware without adding the software variable. It can be found under Start>All Programs>National Instruments>NI-SCOPE.
    You can configure it to run with a trigger off of PFI1 and give it a try. You should be able to acquire from both CH0 and CH1.
    Hope this helps.
    Tarek B
    Applications Engineer
    National Instruments

  • How to set PFI pins as input/output

    Hi...
    I want to set PFIs as input/out but I don't know how to deal with it. I try to find the function but nothing can set in PFIs.
    I want to trigger with PFI 1.
    Thanks in advance for any kind help!!

    Hello jtanabe,
    You are correct.  The example posted above in
    Traditional DAQ is used to input a trigger signal to the card.  The PFI
    pins allow you to route signals into and out of your card, they are not capable
    of directly generating signals.  To generate a square wave you would use
    either a counter or digital line.  A counter would allow you to generate a
    square wave with a specific frequency and duty cycle, and a digital line would
    allow you to do something similar depending on the card you have.  For
    example with an E Series device you write a single value to a digital port at a
    time, and therefore it is software timed.  The frequency you can update
    the digital port/line will completely depend on your software and the speed of
    your system.
    For more information on PFI lines please see a PFI
    Knowledge Base found here.  If you are just starting out, or if you are
    using an M Series Board I would recommend (if your hardware supports it) using
    the DAQmx driver.  It is easier to create applications, and it allows you
    to use the Data Acquisition Assistant Express VI if you are using LabVIEW.  There are examples that demonstrate how to generate square waves online and in NI Example Finder.  If you are using LabVIEW you can find examples by selecting Help >> Find Examples.  In the window that appears select Hardware Input and Output >> NI-DAQmx >> Generating Digital Pulses.
    Regards,
    Jesse O.
    Applications Engineering
    National Instruments
    Jesse O. | National Instruments R&D

  • Is the Packager for iPhone (pfi) still for download somewhere?

    Hi,
    It's great to see that Adobe is making updates for the iOS development platform.
    However, I have an application in the appstore that I developed using the (old) pfi packager using Flash cs5.
    Therefore I can't update the app using Air 2.6 or 2.7.
    I wonder: what if I reinstall my mac from scratch, I need to reinstall pfi to create updates to my app.
    Does anyone know where I can download the old pfi?
    Or maybe someone downloaded the installer and is willing to send it to me?
    I would hate to be unable to continue development of my "old" apps...
    Thanx in advance!

    Thanx for your quick respons Sanika.
    Unfortunately the download-link doesn't work. It redirects to the new air-pages with no sign of a download link to the old files.
    I know I should better move to air 2.7 (and believe me, I want to!), but 2 things are bothering me about air 2.7:
    1) I am not able to upgrade my existing games due to the fact that some older devices aren't supported anymore. I have about 20.000 downloads allready so I can't ask all those people to download my app again when I release it under a different name. I just don't think people will like that. Especially when they have to pay for it again!
    2) My app is a game for kids and most of them don't have a fancy iPhone 4 or iPad. A lot of them have iPod touches (2nd en 3rd generation) and releasing an app in Air 2.7 makes it impossible for them to download it. I would loose a rather big audience if I do so...
    So, if anyone has a working download link for the old iPhone packager (PFI) or has another solution for the problems described above, I would really appreciate it.
    (makes me wonder how you other guys update your existing apps)

Maybe you are looking for