Implementing SPI protocol using PXI-7833R

Hello everyone,
I'm trying to implement SPI protocol using PXI-7833R, so that it should behave as a SPI master and should be able to communicate with a SPI device (treated as slave).
Now I already found an example, but the problem is, this example uses cRIO-9103 as FPGA target and in my case I'm going to use PXI-7833R as FPGA target, and when I'm changing the target (from cRIO-9103 to PXI-7833R), I dont know how to map I/O's listed under 'Chassis I/O' (under cRIO) to the new target (which is PXI-7833R).
I am not allergic to Kudos, in fact I love Kudos.
 Make your LabVIEW experience more CONVENIENT.

Hi All,
Somehow I was able to change the target (from cRIO to PXI-7833R).... but now I'm getting an error while trying to compile the code.
The error description is:
"Multiple objects are requesting access to a resource through a resource interface from both inside and outside the single-cycle Timed Loop, which is not supported.
Place all objects requesting access to the resource interface either inside or outside the single-cycle Timed Loop."
I am not allergic to Kudos, in fact I love Kudos.
 Make your LabVIEW experience more CONVENIENT.

Similar Messages

  • Can i implement RS422 protocol using 7831 RIO card

    please tell if i can implement RS422 protocol using NI FPGA card. Also please help me on how to do the same...

    You can definitely implement the RS-422 protocol on the FPGA card. Check out the RS-232 on FPGA example on DevZone. RS-422 may be a bit different than RS-232, but not very much. The main thing you will have to deal with are the voltage levels of the signal. The FPGA DIO are single-ended 3.3V TTL, while RS-422 is a differential voltage signal. So to have a true RS-422 interface you will need to add a signal translator between the FPGA card and your RS-422 device(s).
    Christian L
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Labview arm spi protocol

    Hi,
    I`m trying to read out an Interpolation-Hardware using the SPI-Port of the lm3s8962-Eval-Board.
    Does anybody know the type of SPI-protocol used in the Labview-ARM-Toolkit.
    For my Slave-Hardware i need the Freescale-Protocol(16Bit)....
    At the moment i can sent data but i dont recieve anything.
    I also need to know if its possible to change the settings of the SPI-Configuration(maybe to change the time between data-packeges).
    I`m using: Labview2011+Labview Embedded for ARM-Module+lm3s8962-Eval-Board(not the usb-type)+GEMAC IP2000 (Ipo-IC).
    Thank you for help!

    I think as SPI doesn´t specify a particular protocol so do the LabVIEW ARM SPI functions.
    You are free to change all the parameters the Interface offers, so there is no special protocol used with the
    LabVIEW ARM Module. Please check out the SPI-documentation of your slave with respect to timing and clock configuration.
    I´m sorry, but thats all I can say.
    Marco Brauner NIG

  • Wanted: PXI-7833R for sale, used or new

    PXI-7833R is obsolete. I want to reach out at the NI community to see if anyone is selling new or used card.
    Solved!
    Go to Solution.

    http://www.artisantg.com/TestMeasurement/81026-1/National_Instruments_PXI_7833R_R_Series_Multifuncti...
    They also have these

  • Implementing Differential Equations using Labview fpga modules on PXI-7811R

    Dear,
        I am working on   implementing dynamic systems modeled ordinary  differential equations on PXI-7811R FPGA using labview FPGA. Is there any body who can help me how to implement differential equation on PXI devices uding Labview FPGA, please? Is there any integrator in Labview FPGA, module. I used Discrete Integerator in LAbview FPGA  module in Maths palette, but i hesistated if it really works . I really appreciate your help,
                                        Gammee

    Thank you for posting on the discussion forum.
    You can solve differential equations using LabVIEW FPGA but you may run into some significant difficulties in doing so. If you are not tied to using FPGA, you could try using LabVIEW real-time, which may make things much easier. But if you would like to stick with FPGA, see the link below for a list of examples that may be helpful:
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/ssnav:ipn/q/differential%20e...
    Below is a link that you can review to better understand the functionality of the discrete integrator should you choose to go that route:
    http://zone.ni.com/reference/en-XX/help/371599B-01/lvfpga/discrete_normalized_integrator/
    I hope that helps.
    Best,
    Rachel
    Rachel D.
    Applications Engineer
    National Instruments

  • Using PXI 7352 Motion card and 6025E DAQ

    Dear Sir,
    I am using SCXI 1520 along with PXI 1011 & E Series DAQ (6025E) to measure the Load Value of a load cell. I am also using PXI 7352 Motion card to control the velocity of a Plunger. Now my requirement is to stop the movement of the Plunger depending on the value I read from the load cell. I am not able to achieve the stoping accuracy for high speeds (around 150mm/sec) in the software. Can it be possible with the use of Motion Control card and RTSI signals? If so, how can I do that? (I am not used any limit switches as the load value at which the Plunger should stop is user programmable and I am using DAQ card in Multiplexed mode because i am reading more number of analog inputs with only one DAQ card)
    Ramkumar. D
    Soliton Automation,
    India.

    Hello.
    Based on your post I am guessing that you are performing the control in software, i.e. starting a velocity move, and then reading the load cell until it reaches a threshold, then stopping the motion. As such you are essentially limited by the software control loop rates.
    You are using PXI so it is possible that you are using real-time. If not, one solution could be to implement a real-time application that would be more deterministic, but again this would still depend on the software.
    Depending on your system (stepper or servo), you could implement a direct analog feedback into the motion card itself, but this would require a signal which has a range much greater than your load cells. This is only a good option for servo axes. If this was somehow possible, you can tell the motion controller to move to a specified LOAD instead of a specified position/velocity. Provided you could appropriately condition the signal, this is the best choice.
    Unfortunately, you cannot implement limit switches/etc over RTSI, so I believe that this will not be a good option.
    A third, and probably most un-desireable option, is to output a voltage on the PXI-6025E proportional to the load received from the load cell. This voltage could then be used as the analog feedback for your motion device. This, however, still adds the software layer of delays.
    I hope these ideas help you out.
    Regards,
    Colin C.
    Applications Engineering
    Colin Christofferson
    Community Web Marketing
    Blog

  • Problem in implementing POP3 protocol.

    hi...
    i wanna implement POP3 protocol......actully i m designing an mail client..n i m using POP3 protocol to receive mails frm a POP3 server..but i dn't kno how to implement it?..how to go ahead to implement it?...plzz help me...if u hav any sort of coding regarding to POP3..then plz mail me at [email protected]...

    http://www.rfc-editor.org/cgi-bin/rfcdoctype.pl?loc=RFC&letsgo=1939&type=ftp&file_format=txt
    http://www.rfc-editor.org/cgi-bin/rfcsearch.pl?searchwords=rfc1957&opt=All+fields&num=25&format=ftp&orgkeyword=POP3&filefmt=txt&search_doc=search_all&match_method=prefix&abstract=absoff&keywords=keyoff&sort_method=newer
    http://www.rfc-editor.org/cgi-bin/rfcsearch.pl?searchwords=rfc2449&opt=All+fields&num=25&format=ftp&orgkeyword=POP3&filefmt=txt&search_doc=search_all&match_method=prefix&abstract=absoff&keywords=keyoff&sort_method=newer
    The protocol itself is very simple and shouldn't cause any difficulty in Java.

  • Implementing UIApplicationDelegate protocol methods in NSObject class not working.

    Hi Everyone,
    I am new bee in iphone developement. I want to implement UIApplicationDelegate protocol methods in one of my NSObject class, how can i implement that help me please.
    I have mentioned the sample code what acutal i want to impelment.
    .h file
    @interface SmaplClass : NSObject <UIApplicationDelegate>
    .m file
    - (void)applicationWillResignActive:(UIApplication *)application
    - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
    -(void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
    - (void)application:(UIApplication*)application didFailToRegisterForRemoteNotificationsWithError:(NSError*)error
    Want to implement the above methods is NSObject class to be implemented or used, its not working. Help me can do it.
    Please help me
    Thanks,

    I complete the above discussion with saying that it is better to implement the notification handling methods in your app delegate. If there are good reasons to not to do so, you have to implement the methods in another class, instantiate the class, and call the methods from the actual UIApplicationDelegate protocol methods in the AppDelegate object. This way you can remove the actual notification handling code from AppDelegate class.
    For example, suppose you implemented the methods in the class called Test. This is a sample code in the AppDelegate class:
    @implementation AppDelegate
    - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
          Test *t = [[Test alloc] init];
         [t application: application didReceiveRemoteNotification: userInfo];
    @end
    Or you can create an association relationship between the AppDelegate and Test, so you do not have to create a new Test instance in each of the remote notification handling methods:
    @interface AppDelegate {
         Test *test;
    @end
    @implementation AppDelegate
    + (id)init {
         if (self = [super init]) {
              test = [[Test alloc] init];
         return self;
    - (void)dealloc {
         [test release];
         [super dealloc];
    - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
         // No need to create a Test instance. You just forward the call from AppDelegate instance to test      // instance
         [test application: application didReceiveRemoteNotification: userInfo];
    @end

  • PXI 7833R pull up

    I am using Labview FPGA and PXI 7833R card.
    the PXI 7833R card has normal output swing from 0 to 3.3v. If I wanna drive a 5V CMOS logic . The manual says I can use a pull up resistor.
     My question is that when I use the pull up resistor, should I set up the digital output through the FPGA software, or I just use a pull up resistor without doing anything else?
    this picture is how the manual does.
    Attachments:
    c.jpg ‏32 KB

    Hi There:
    Thank you for your question. I am not sure I have understood your question correctly so if this post does not answer your question please let me know so that I can research further.
    Basically all the pull up resistor is taking the output of 3.3V and pulling it up to 5V. The board outputs 3.3V when a high logic is seen at the terminal. The logic that you send out to the terminal is determined by the code in your FPGA vi. So to answer the question, you will have to connect a pull up resistor and set the digital outputs using the FPGA software which in this case is LabVIEW FPGA.
    I hope that helps.
    Best Regards,
    Jaideep

  • How to count number of edges using PXIe-6363 Counters

    Hello,
    I am trying to count number of edges in a test signal in a 50 ms duration. I am using PXIe-6363 card and connecting the test signal to CTR 0 SRC (PFI 8). Is it a correct connection? What else do I need hardware-wise to make a correct set up for this application?
    Thanks
    Jeet
    Solved!
    Go to Solution.

    Hi Jeet,
    When you say interrupt signal, do you mean a pulse that will pause your counter task? If that is the case, and you want to pause your task with a digital pulse, you need to use the DAQmx Trigger Property Node and set that to Pause, Trigger Type. As you said, you can connect that signal coming from the chip to any PFI line and then set that line as the source of the property node.
    There is an example that you can use that does exactly what I just described. This example is called Count Digital Events-Pause Trig.vi, and you can find it by going to Help>Find Examples..., then on the NI Example Finder window go to the Browse tab and navigate in the folders to Hardware Input and Outpout\DAQmx\Counter Measurements\Count Digital Events.
    Regards.
    Jorge
    Applications Engineer
    National Instruments
    Certified LabVIEW Associate Developer (CLAD)

  • I would like to know how i can share my music using an UPnp protocole. I have an Imac but when i'm chosing the option share my file i can connect my mac to another network reader . it seems that the protocole used is not UPnp. I need this to be in UPnp.

    I would like to know how i can share my music using an UPnp protocole. I have an Imac but when i'm chosing the option share my file i can connect my mac to another network reader . it seems that the protocole used is not UPnp. I need this to be in UPnp. does somebody can help ?

    Google "upnp mac"

  • I tried to implement photo albums using iweb and got a publishing error.

    I tried to implement photo albums using iweb and got a publishing error. All was fine with my site until I added the photo album page. The software doesnt say what the error is exactly, only that it is a publishing error to my ftp
    Exact message "There was an error communicating with the FTP server. Try again later, or check with your service provider."
    If I reduce the albums inside to 1 then it seems to work but that takes away from the usefullness of multiple albums.
    my iWeb version is 3.0.4 (601)

    Publish your site to a folder on your hard drive to see if the publication will proceed successfully and open the site locally with your browser to confirm all of the alums are there and work.  If they do try the following:
    delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    Click to view full size
    launch iWeb and try again.
    If you're still not able to publish from iWeb to your server download and use the free  Cyberduck to upload your website files to the server. Users have found that CD has been successful when iWeb had problems.
    OT

  • Help!!! How to implement a special useful button in tool bar?

    How to implement a special useful button in tool bar, when the button is clicked, then a menu shows under the button, just like the Internet Explorer's back button and forward button, there is a black arrow at the two buttons right, when click the black arrow, a menu shows under the back button or forward button, how to implement this in java?
    Please help!!!
    Thanks!!!

    Like an enhanced JComboBox?
    ;o)
    V.V.

  • Can i use PXIe-1073 with an embedded PXIe controller PXIe-8108

    I have a PXI express chassis PXIe-1073 with an integrated controller MXI-Express controller PCIe-8361. I now want to use the chassis as a standalone system with an embedded controller.
    (a)Can i use PXIe-1073 chassis with PXIe-8108 embedded controller
    (b)Can i use a windows based laptop to control the PXIe-1073 via the PCIe-8361 integrated controller.

    Hello kanad,
    The PXIe-1073 is a MXI-integrate chassis.  This means that the MXI card that would normally go into the controller slot (slot 1) is built into the chassis.  The PCIe-8361 or Expresscard8360 are placed into the desktop or laptop, respectively, and connect to the chassis.  The cards in the PXIe-1073 then appear as if they are part of the desktop of laptop.
    Since the controller is built into the chassis, the PXIe-1073 does not have a slot 1.  Controllers, such as the 8108 can only be plugged into slot 1.  Therefore, the PXIe-1073 can only be controlled by the desktop or laptop MXI link.  It cannot run standalone with an embedded controller.
    Consider reading page 1-3 and 1-6 in the manual below:
    NI PXIe-1073 User Manual and Specifications
    Regards, 
    George T.
    Applications Engineering Specialist
    National Instruments UK and Ireland

  • What is the protocol used in this code?

    FileInputStream in = new FileInputStream("\\10.0.0.2\sharedFolder\data.txt");
    by above line, we can read a file data.txt from remote computer (ip:10.0.0.2).
    What is the protocol used in this input stream?
    Thanks

    englefly wrote:
    FileInputStream in = new FileInputStream("\\10.0.0.2\sharedFolder\data.txt");
    by above line, we can read a file data.txt from remote computer (ip:10.0.0.2).Not really, because you didn't escape your backslashes, but assuming you correct that,
    What is the protocol used in this input stream?I think SMB.
    EDIT: Too slow, shoulda refreshed :-)
    Edited by: paul.miner on Jul 31, 2008 12:34 AM

Maybe you are looking for