Writing to SPI peripheral using the NI PCIe-6363

I'm writing a labview program to write to a simple SPI device using the DAQmx 6363. I found a library and examples of code and started using the "SPI - internal Clock.vi DAQmx".

http://www.NI.com/example/31200/en/

I believe that this is the right place to start, but I keep coming across mistakes that I can't locate.

200452 error occurred to the property Node DAQmx export Signal (arg 1) in Init IntClk Device.vi-> DAQmx SPI - internal Clock.vi

Possible reasons:

The specified property is not supported by the device or is not applicable to the task.

Property: DataActiveEvent.OutputTerm

Task name: _unnamedTask<18>

I found the vi the cause of the problem, but I'm not sure what the problem is yet. Any help is appreciated.

I believe that this knowledge base article contains the answer to your question. Follow the steps in knowledge base article to determine if the property node that you are using is supported by your card.

Tags: NI Software

Similar Questions

  • Generation of SPI by using the b PCIe-6535

    Hello

    I have a data ready signal generated every 100uS or so by a SPINNAKER of slaves.

    The SPI master must generate then 96 SPI clocks anhd captures data returned.

    The process is repeated every 100uS. The SPI 96 clocks must be completed before the next event, hence the need for an ardware or RT system.

    Would it not possible to program the PCIe-6535 b to act as the master of SPI that is to generate the clocks, store data, such as a Windows LabView program can probably pick up data without loss?

    Or I'm looking for something more like a RIO?

    References & code examples would be great!


  • Why are the characters sets are getting deleted using the card PCIe-1433?

    Hello

    I have several framegrabbers PCIe-1433 in my possession and I have a routine that sends out packets of 1 KB of calibration data to a camera at a time package.  Usually after a few starts, a time-out error because not enough data is received by the camera (the camera reacts returns with a character of receipt of each whole package).  The strange thing is that the same code works fine on the other boards of framegrabber no 1433 (using framegrabbers 1428-PCI and PCIe-1429, although I'm not able to take advantage of the faster transfer speeds) on this computer.

    I think the problem is the use of framegrabber PCIe-1433 AND model of the computer.  I tried the same code on two Dell Precision T3500 and they both allow only a few packages to send before that happen a transmission error.  When I try the same code and the same jury 1433 on a Dell Precision T3400 code works fine and I am able to send 1000 a lot of packages to the camera without error.

    It can be the cause of this problem?  I tried to change the cameralink cables and had the same problem.

    Thank you

    Bruce


  • Writing bug when you use the function to import .txt (Acrobat Pro DC)

    I'm trying to redact large sections of a document using the function import .txt to select phrases or expressions. It works great, except if there is - or '. In this case, Acrobat bad reads the text file, per the screenshot below. If I copy the sentence from the PDF file and add it in the same manual, it seems in good condition. If I paste the Clipboard even in a txt and then import the text, he result is bad reading and so cannot find the phrase in the document.

    Screen Shot 2016-04-17 at 9.42.45 PM.jpg

    It seems that the TXT file was done in Word and saved in Unicode format. and used quotation marks. Quotes in general are a big problem as three different characters are used for them and corresponding can be difficult; and 4 hyphen/as of the characters.

  • How to record video using the NI PCI-1411?

    Hi all

    I have an old NI PCI-1411 Pulnix camera, LabVIEW 7.1.1 and Module NI Vision Development 7.1.0.

    What I want to do is to simply record a video, and I can't find any tools to do so.

    I found an example in the code LV to save the view, but it seems to be too slow to save all frames.

    Am I missing something?

    Thank you

    Jakub

    Hi Jakub,

    There is nothing that directly records because I think that you are eager to reach. To save an image video, you will need to use a write function, to get the data and then save it to a file, some functions also have a read function.

    I suggest that you look at the function reference manual and available in IMAQ, LabVIEW help files and they are also available on our website.

    I found an article that uses a good architecture which may help you to structure your application, for what I understand, that you are eager to make you you will need to make emissions to get the IMAQ camera data into a buffer to save.

    There are also examples available from the example finder LabVIEW avi in the help tab that are a good reference in the development of any application.

    If you have any other questions please ask.

    Thank you

  • Satellite A200 - IE7 windows 'restore down' when using the Tracker pad

    Hi, I recently bought a Satellite A200 - 1VO and when using the laptop without a windows mouse explore 'restore down' at random.

    I found a thread on the site of the Internet USER who said that if his past not with a mouse, it may need tracker drivers up-to-date.
    You can also consider its under warranty.
    Any ideas anyone?

    Hello

    It s a bit confused what you´ve writes down. What do you mean exactly, where´s the problem and what you want to tell us when writing:

    > and when using the laptop without a windows mouse explore 'restore down' at random.
    >
    > I found a thread on the site of the Internet USER who said that if his past not with a mouse, it may need tracker drivers up-to-date.

    Whereas it should be, where´s now the problem?

    Please give clear and understandable feedback, then I and other users you could point to the solution.

    THX

  • Measurement error of the County of edge by using the external sample clock

    Hello

    I'm trying to measure the number of edges (rising) on a square wave at 5 kHz with a generator function on a device of the NI PCIe-6363. I configured a channel of County of front edge of counter at the entrance of the PFI8 device. I use an external sample clock that is provided by the output of the meter of a NI USB-6211 housing channel. If I acquire for 10secs then ideally I would expect to see a total of 50000 edges measured on the meter inlet channel. However, my reading is anywhere between 49900 and 50000.

    When I use the internal clock of time base to measure the edges, the measure is accurate and almost always exactly 50000. I understand that when you use the external sample clock, the precision of the measurements is subject to noise level of the clock signal. However, I checked the clock signal is stable and not very noisy. Any reason why there is an error of measurement and how tolerance should I expect when using an external sample clock compared to when you use the internal time base clock?

    Also, what is best clock Frequency (with respect to the frequency of the input signal) when using an external clock?

    Thank you

    Noblet

    Hi all

    Thanks for all your sugggestions. I was using an input signal with a function generator which had a range of 8V. It turns out that the reduction of the amplitude to 5V solves the problem. I was able to get accurate numbers with the 6211 external clock.

    Thank you

    Noblet

  • Using the Interface of FPGA functions palette

    Hello

    I use the card PCI-5640R and PXI-5600. I want to use the "scale" and "FFT" exspress screws to the range of functions 'Mathematical FPGA and analysis' in my VI "FPGA VI" and "FFT spectrum for '"FPGA interface"in my"host VI.

    A poster of the code examples in which these three subVIs are used can.

    Thanks in advance.

    Kind regards

    Rashid

    The answer to this question is available to

    http://forums.NI.com/T5/if-Rio/using-FFT-to-spectrum-SubVI-of-FPGA-interface-functions-pallete/TD-p/...

  • How to use the time of 80 MHz with the example of the soul base angular Position-buffer-Cont-Ext Clk.vi

    Hello:

    I use the card PCI-6602 and am a bit new to the use of timer/counters.  I use the Commission to measure the position of a quadrature encoder.

    I would use the time base internal 80 Mhz the map of 6602, but examples of LabVIEW will not allow that.  In the example, he States:

    2. call the DAQmx Schedule VI (sample clock) to configure settings of clock synchronization external sample Mode Sample and sample clock Source.  The sample clock Source will determine when a sample will be inserted into the buffer.  The 100 kHz, 20 MHz and 80 MHz time bases can serve as the sample clock Source.  The Edge parameter can be used to determine when a sample is taken.

    Is it possible to use the database internal time for my application?

    I have attached the example vi that I use.

    Thank you.

    Pat

    Hi, Pat.

    The rate determines how fast the samples are acquired and put on the material buffer.  This value depends on the basis of time, which is specified by the source of the VI DAQmx calendar entry.  The default source on the PCI-6602 map is the on-board clock (80 MHz).  The rate must be a divisor of the source.  For example, 80 MHz, 40 MHz, 20 MHz, 10 MHz,..., would be acceptable values for the entry rate.

    So the answer to your question would be to remove the entry from the source and ensure that the rate is a factor of the source.  Leaving this entry unwired will use the clock shipped by default of the unit, as shown in the screenshot below:

    I hope this helps.

  • Is connected to the Internet, but cannot use the Compaq Presario SR5123WM desktop PC

    Product name & #: Compaq Presario SR5123WM desktop PC (GC660AA-ABA)
    Operating system: Windows Vista Home Premium 32
    No only error message when Internet Explorer does not display the page or iTunes can't find any connection network (any application that requires an Internet connection).

    No changes were made to the system.

    I have the dial-up connection. The Bureau uses the Modem - PCI Soft Data Fax Modem with SmartCP (COM3).

    Once I start the computer, log in to my user and connect to the Internet, I click on Internet Explorer and type in Google to see if it would work. It is said that "Internet Explorer cannot display the webpage". For iTunes, he would say "iTunes has not to connect to the iTunes Store." Make sure your network connection is active and try again. »

    I tried all solutions online and by phone. I reset netsh int ip / winsock. I reset Internet Explorer options. Nothing works.

    What is strange, is that the Internet connection works well on my laptop (using Conexant D110 MDC V.92 Modem (COM3)).

    It would be GREAT if you could help me find a solution to this problem, because this has happened for months, and I'm tired of waiting. I put all my hopes on you.

    You may be able to do a system restore if the original HP partition is always on the computer.

    Here is a document detailing the steps:

    Perform a recovery of the system (Windows Vista) HP

  • Read only the SPI using the box USB-8451

    I am using the NI USB-8451 box to read the SPI of a Honeywell digital pressure transducer data.  The difficulty comes from that part of Honeywell uses only the SPI in half-duplex mode, meaning that it only transmits data, but does not require anything beyond the appropriate chip select signal and SCLK to start transmitting its 32-bit sensor data.  To facilitate experimentation with the sensor, I bought a USB-8451 SPI Interface thinking I could easily configure the 8451 to read data from the sensor.

    However, if I understand the situation, there is a problem.  The 8451 considers full duplex data, i.e. a data word must first be sent to the SPI device in question before the unit will start to transmit back data of its own.  And since the MOSI data writing periods, since this particular device starts transmitting immediately once a clock is applied, synchronizing the unused address data will cause the unit will return its data before the 8451 begins listening for data in return.  The call used by the 8451 to write read action can be divided into the individual reading and actions of writing of any kind that I could discover.

    Can someone tell me if I missed something in this operation or if there is some quick tips, that I could use to be able to use the 8451 therefor?  Thank you!

    Doug G.

    Exactly correct. It's nice when things are easier than expected. Hope it works as easy as it sounds.

  • How do you use the freqout as the sample clock to write data on the of 6224 PCI

    Using PCI-6224, I try currently to export data using the freqout as a reference clock sample to a digital output channel. I plug the scope to see the clock on the freqout PIN. However, the data seem to be missing. How can I output the data correctly using the reference for timing? What am I missing that connects the two signals together? Any help would be greatly appreciated. I am writing this code in MS VS C++ and here's what I've done so far:

            int32       error=0;
            TaskHandle  taskHandle=0;
            TaskHandle  taskHandleFRQ=0;
            char        errBuff[2048]={'\0'};
        uInt8       data[8]={1,0,1,1,1,0,1,0};
    
        /*********************************************/
        // DAQmx Configure Clock
        /*********************************************/
        DAQmxErrChk (DAQmxCreateTask("",&taskHandleFRQ));
        DAQmxErrChk (DAQmxCreateCOPulseChanFreq(taskHandleFRQ,"Dev2/freqout","",DAQmx_Val_Hz/*Units*/,DAQmx_Val_Low/*IdleState*/,0/*Delay*/,10000/*Freq*/,0.5/*DutyCycle*/));
        DAQmxErrChk (DAQmxCfgImplicitTiming(taskHandleFRQ,DAQmx_Val_ContSamps,8));
    
        /*********************************************/
        // DAQmx Configure Digital Output
        /*********************************************/
        DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
        DAQmxErrChk (DAQmxCreateDOChan(taskHandle,"Dev2/port0/line0","",DAQmx_Val_ChanPerLine));
        DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"/Dev2/PFI14",10000,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,8));
    
        /*********************************************/
        // DAQmx Write Code
        /*********************************************/
        DAQmxErrChk (DAQmxWriteDigitalLines(taskHandle,8,0,10.0,DAQmx_Val_GroupByChannel,data,NULL,NULL));
    
        /*********************************************/
        // DAQmx Start Code
        /*********************************************/
        DAQmxErrChk (DAQmxStartTask(taskHandleFRQ));
        DAQmxErrChk (DAQmxStartTask(taskHandle));
    

    I think that the original code was operational. However, given that the data transmission has been set to finished, I had a hard time to visualize the data on my scope. By changing the value of DAQmx_Val_FiniteSamps to DAQmx_Val_ContSamps, I could easily see the data.

    My mistake. I'm still learning here. Thanks for the time.

  • Hi, while writing an email online using Firefox 3.6.3, I was using one of the "CTRL + left arrow or right" to move the cursor on the text. I must have pressed some other key because the screen has become huge - and I can't scroll vertically or horizont

    Hi, while writing an email online using Firefox 3.6.3, I was using one of the "CTRL + left arrow or right" to move the cursor on the text. I must have pressed some other key because the screen has become huge - and I can't scroll vertically or horizontally, which makes the pages of Mail of Hotmail impossible. I have connected since using the Explorer MSFT and it works very well. This problem occurs only on the page of Mail of Hotmail Live not on the home page or other.
    Could you please let me know if there is a problem with Firefox, or if you have any advice on how to restore the appearance of Hotmail in Firefox?

    This has happened

    Just once or twice

    == I'm compiling an email in Hotmail Live

    See this:
    https://support.Mozilla.com/en-us/KB/page+zoom

  • 3 peripheral USB connected to the Macbook 4.1 computer tells me to restart using the power button / stop?

    I went to record a live concert, and I need to use a single interface to record the members of the group with microphones near directly to a computer and another interface running for my model of Macbook 4.1 end of 2007, to get signals from the map of the House.

    When I plug my converter USB 3.0 AD / DA in my Macbook 4,1 - the computer sends immediately a window indicating to me to "reboot" the computer using the power button / stop. Ideas or comments about why this happens?

    I read on this forum that USB ports should work with retroactive effect, or accept USB 3.0 devices, but just use a speed 2.0?

    Thank you.

    It could be that it is a requirement of your converter AD / DA she needs to be present at a properly accessible to the OS X when startup sequence it is plugged into a USB2 port.

    Its also interesting to note that, well that peripheral USB3 can be plugged into the USB2 ports... it could be that your device may not work properly unless it is used with a port USB3... for reasons of bandwidth or even certain types of power supply.

    But to be sure...

    Which converter AD / DA are you using?

  • Tips for using the pages 5.6 for writing a book?

    Hello

    Someone at - it advice for using the current version of Apple's Pages to write a book?

    Writing my last book in the old version of Pages with internal links/bookmarks function.  The table of contents allows, however I was wondering if the use of the pages is the way forward?  And if not, what are some suggestions on a Mac?

    Thank you, Tony

    Have you looked at Scrivener (http://literatureandlatte.com/).  It is designed specifically for writers of all kinds of materials.  It is useful for the Organization, research and multimedia, shaped for different destinations and hundreds of models available.  It is generally considered to be the tool first word forge to the authors.

    He has a bit of a learning curve, but it comes with a tutorial and a number of videos.  There are a lot of 3rd party videos and several courses on Udemy and elsewhere.  Once you use it, however, it is unlikely that you will return in a word processor or a publishing tool (which have two very different objectives).  There is a community of support for users, too.

    Good luck.

Maybe you are looking for