LabVIEW RF Communications Viterbi decoder

Hi guys ~!

I am developing a 32-bit Viterbi decoder. I am currently using Viterbi decoder it draws from the available FPGA RF Communications here. However, I can't do things. 'Decoded bit' output of the decoder, Viterbi that VI is always zero, any symbol coded is. I put the VI within a while loop any constantly enter Mobby entry encoded within the VI. The VI that I use is shown in the picture and the project that I developed is in zip archive! Thank you very much!

Hi ArisEnding!

I looked through the example of Viterbi decoder and your code and there seems to be differences. Looks like you have deleted information of lattice and hamming from the block schema information. I'm not an expert with the Viterbi algorithm decoder, but these seem to be required by the algorithm. It looks like you this change on purpose. If you are looking for others with a more intimate knowledge of the Viterbi algorithm decoder, I recommend posting on the example page communityViterbi decoder.

Best,

-tannerite

Tags: NI Software

Similar Questions

  • TCPiP betwenn QT-Server und Labview-Client communication

    Hello all,.

    IAM new in network programming with LabVIEW.

    I have a problem of communication of data via the TCP/IP protocol. I created a simple Client.vi that connect to the QT C++ server. If the connection is established, Client.vi sent a simple string "Hello" to Qt-server.

    the problem is: Qt-Server receives an empty string with size 0!

    Client.VI

    QT-Server

    QT-feature receive data :

    Help, please

    Of a possible problem you have, is that you look for a size of qint16. I'm not familiar with QT or used in the syntax of C++, but the duration of LabVIEW is an int32 and so 4 bytes. LabVIEW Typecast also creates big endian data stream, which means that the length of the string will be-> LSB MSB ordered, do the first 3 bytes in the flow of a 0 byte, causing your routine determine that there are 0 bytes to read.

    You have read 4 bytes for the length parameter, change the byte order for your local boutien, more likely to have to share the big endian to little endian number and think of it as the number of bytes to read for the string.

  • LabVIEW: No communication with the RAD-2 USB adapter table.

    Hello

    I try to use a DL2 - N adapter USB to I2C/SPI/GPIO Dinah (https://diolan.com/dln2). This constructor provides drivers for the Council as an example Labview vis I want to just use them to access all interfaces through Labview. After that, I design a test configuration for our latest range of products using this adapter card.

    What I did:

    (1) new installation of Labview 2014 (version evaluaton). System: DELL Precision M6800 (i7), Windows 7 Professional SP1.

    (2) install the drivers OR VISA and NOR-488. 2 (14.0).

    (3) install the drivers from manufacturer as explained on the Web site of NOR.

    (4) run Labview.  I can see instrument pilot screws under the range of function and run the example screws so far, ok (I guess)

    (5) run NI MAX. No listed USB port. Only COM1 and LPT1 (printer port).

    (6) I ran a few windows test applications provided by the manufacturer to access all the NXP microcontroller interfaces in the DLN2. Everything works. I can read the analog/digital, power digital input values and use the SPI and I2C (I see the SPI/I2C frame Sin a scope).

    I spent a day through the various links in the Web site of NOR (have watcheing almost every video demo on the site) and are still not able to guess why Labview can not see my USB device.

    Any clue?

    Kind regards

    Jose

    Hello

    Problem solved. After contacting with Dinah (the manufacturer of the adapter card) they updated the driver library. Now the USB communication and all peripheral work of the microcontroller. I have a UART, SPI/I2C (master and slave), GPIO 48 and 8 inputs analog (10 bits to 1 MHz). All accessible via USB and for less than $ 200 USD (that's way less the HW OR equivalent).

    With Labview, it can be used without any problem. Not a Council weird at all, if you know something about the material.

    Bravo for Dinah!

    Jose

  • LabVIEW arduino communication

    Hey I'm communication labview with arduino using visa.i have reached the communication.now my problem is:

    I want only after execution of façade, the user must Select the values you want digital controls and then data (codes in my case) LabVIEW for equipment begin after clicking an OK button .i have attached my first good program want to pass by and my desired OK button or any other option that will transmit the codes selected after clicking this option as a second attachment.

    Note: all codes transmitted labview to arduino once only.

    Kind regards

    rich

    rich,

    Please, use only badly written example. He has what we call a gourmet loop. He turns at a high rate and deprives the cpu. Also, it initializes and close the serial port whenever case is true. Initialize the port once and close once completed the VI. You should use the structure of the event and a change in the value of the Boolean.

  • Local SQL & Labview database communication

    I created a database of sql with sql server 2008 R2. I want to be able to insert data into this database locally. Can someone please tell me if this is possible, and if possible, could someone give me the steps I have to follow?

    Thank you.

    I solved my problem.

    The way I fixed it, is as follows:

    1. start all sql services in windows services

    2. go to C:\Windows\SysWOW64 and find odbcad32

    3. open this file

    4. click on the system dsn name, click Add and add a sql server

    5. complete all configurations and select the .sql

    The problem I had was an architecture problem, because I use windows 7 x 64 and I created the reference in odbc, using the 32-bit odbc.

  • VISA: Communication with "Optris Laser Modul" via a port series

    Hello

    I use a "Optris Laser Module" for measurements of temperature (see attached pdf). This module could be connected via usb to the computer. The pilot of the laser module generates a serial port (COM4 on my PC). The manufacturer's software works without any problem.

    The next step is to use labview for communication. Unfortunately, I did not find driver.

    The manual shows the adjustments for the serial port

    baudrate: 9.6... 115,2 Kbauds

    data bits: 8

    parity: none

    stop bits: 1

    FlowControl: no

    Normally, the module communicates with a binary protocoll. With a special order, it is possible to change the protocoll in ASCII. To change the protocoll you must write "Dezimal: 131" or "HEX: 0 x 83 '. The answer should be 1 byte with '0 = protocoll binary' or '1 = ASCII protocoll.

    I wrote a little VI (see table at right) to change the protocoll. I am not getting any error, but also no answer.

    Anyone have an idea where the problem could be found in the code.

    Thank you very much and best regards,

    Michael

    P.S.: If you attach the code, please use LabVIEW 8.2.1, if I'm not able zu read the code. Thank you.

    Attached: Small manual for "Optris Laser Modul" and VI.

    You would be he catalogued to U16

  • I need assistance with LabVIEW RT and dll

    Hello!

    I'm new to LabVIEW but I am facing something very difficult.

    I develop with LabVIEW 2012 on a cRIO-9082, and I would use a specific DLL in a VI. The DLL is called TcAdsDll.dll and it is used to communicate with a PLC. (This DLL is provided by Beckhoff, for more information: http://infosys.beckhoff.com/index_en.htm TwinCAT > TwinCAT system > TwinCAT connectivity > TwinCAT ADS).

    When I use the 'library of the call' function with the DLL, I get an error 7. I'm just trying to call a simple function of the DLL.

    I know that in LabVIEW RT (Pharlab) only certain DLLs are supported. I also checked the DLL with the tool of NEITHER, but after the 10th dependend DLL calling it just hangs.

    If someone is able to provide assistance, I would be very grateful!

    Does anyone know, what are the rules for the dll must be met to use in LabVIEW RT?

    Thanks in advance!

    A DLL must call only Win32 API supported by the Pharlap ETS system in question in the first place. Since NO guard updated the ETS with almost every new version of LabVIEW it depends actually. DLL checking tool is the only way I know to check this. If this DLL checking failures, or as in your case tool breaks down, the DLL is not justifiable on the RT system. The Beckhoff ADS DLL is a complex beast with many dependencies on any other DLLs Beckhoff and what else, and as such a bad candidate to run on NI RT systems.

    In addition to this fundamental questions, you have additional problems with the Microsoft c runtime library in his infinite wisdom, has decided to create a new C runtime library version with each new version of Visual C. It is already a problem for a developer when deploying to standard PC Windows, but gets a problem almost unmanagabel when targeting something as Pharlap ETS. NEITHER seems to have paid the MS C runtime for their version of the toolchain Visual C of choice for LabVIEW RT system, but this isn't an option for you. If the 3rd party DLL to be used has been compiled in a version of Visual different C that ANYTHING used for the RT version you want to use, then you almost certainly run into trouble, unless the DLL was created with Visual C 6.0 (now a very old version)!

    I've created in the past as a VI based entirely the LabVIEW ADS communication library. It is a tedious job to know the actual byte stream protocol. Unfortunately it is not something that I can share with the community.

    Your best bet would probably be to use the cRIO Ethercat solution and go with an Ethercat on your PLC interface. EtherCAT is sort of a superset of the ADS interface.

    Maybe you can also talk with these guys here. They have a few ADS LabVIEW library and Ethercat libraries too. Not sure if they are basic DLLS and if they would be compatible with LabVIEW RT well.

  • analog multiple read arduino serial communication

    Hello

    I'm working on a project and I'm new to Labview,

    Can someone tell me how to read the multiple analog playback on Labview in communication series with Arduino UNO?

    I tried, but data are somehow in error.

    I have also attached my current code of vi and arduino.

    Please help me.

    Hello

    You then send a value of more than your Arduino project. But in you VI you do not analyze the data entering split of voltage and current.

    I suggest that you send a fixed string with voltgae and data current so that you know in your VI you will receive the number of bytes and how to divide the data.

    Kees

  • Communication Serial Port with PIC

    Dear all.

    I am interfacing the labVIEW to an eeprom controller PIC, where I need to input data user to store in a location memory EEPROM, according to my condition that I've done programming the pic and it works very well with hyperterminal, at the same time I need to do with a labVIEW using communication serial port VISA , but when I did I receive a warning in 1073676294 that cannot be ignored, but I am not able to write user data to EEPROM by labview but I can do it to hyperterminal, please someone help me on this.

    Charron a G

    I was interfacing to pictures for a while, and the example that you have to build from was the same that I used. First, move the initialization OF THE outside of the loop. No need to re-initialization of the COMM PORT every 750ms.  Inside the code example, there is an expectation of 500ms between WRITING and READING (it is hardcoded for now, you brought it out on the ICON).  So time total is 750ms loop over the 500ms wait (more traffic comms), FYI.

    You do not use a return of ramasseherbe (13) or a NEWLINE (10) as a dismissal. You use a SO (14). Unless you're on a triggering a 14 ASCII in the PIC, the PIC will never see the "end of the chain of command" to analyze out. I have attached a good routine of init (IMO) I re - use on all my PIC projects, take a look.

    I use compilers Mikroelectronica MikroCPRO and displayed a complete interface of the UART (triggers on a CR (13)) on their site LIBSTOCK if you want to take a look at the side of the PHOTO of my work.

    http://www.libstock.com/projects/view/250/RS232-interrupt-driven-command-based-interface

    Steve

  • LabVIEW disconnects my SC card

    Hello

    I've been using a polarization controller which is only in fact a stepper motor. I order this step via a standard EiBotBoard motor. I was able to control with Labview via NI-VISA and it works. I also created a loop whose initialization process and some other commands to get a set of specific variables in terms of polarization. I run my loop once and everything is fine but when I try to do it for the second time, he is unable to finish the intermediate stage. At this time, it seems that labview loses communication with my EiBotBoard and it seems that the problem comes from Labview from any other program that I use with my Commission work great. What bothers me here is that when I close Labview, the Council immediately restarts and works very well.

    As additional information, my loop contains three wizards of Instrument of e/s on which I ask to run a single command 2500 times. If anyone wants to see it, I can upload a picture of my block diagram.

    I hope someone can help me find a way to solve my problem,

    Kind regards

    Marc-Daniel Gagnon

    Here is a view of my current VI. It is very simplistic and it is essentially a test to see if we needed to be able to generate a full sweep of the movement of an engine step by step. I'm open to suggestions to make it better if you ever get a little. My engine is connected by USB, but I had to install some. INFs given that the Council must be controlled by COM port, so basically my entry USB simulates commands COM port.

    The command send using the Instrument is simply a sequence of 'Writing' on the device with REFLUX controls that the guy who sold me the engine joined the Board of Directors. In other words, it is just the COM4, and then wrote a bunch of specific commands.

    As I said in my first post, it works real well the first time that I run and the second time that it still fails keep the connection until the movements.

    Enjoying quick responses.

    Marc-Daniel Gagnon

  • USB of NI LABVIEW for c ++

    Hello

    I am a rookie in labview, but I have a project to get NI USB (sound) data, then find the peak of the signal whose frequency.

    After that, I send the value of the amplitude to the bluetooth.

    I want to use labview to find the signal Ridge (because it is easier using labview), after that I'll use C++ to send the value for bluetooth.

    Is this possible?

    Thank you

    limavolt wrote:

    Hello

    I am a rookie in labview, but I have a project to get NI USB (sound) data, then find the peak of the signal whose frequency.

    After that, I send the value of the amplitude to the bluetooth.

    I want to use labview to find the signal Ridge (because it is easier using labview), after that I'll use C++ to send the value for bluetooth.

    Is this possible?

    Thank you

    Yes, it is definitely possible.

    I ask (apart from being new to LabVIEW), why not just make the bluetooth in LabVIEW so communication?  Unless there is some sort of C++ libraries that you can't live without, it should be easy enough to do all this in LabVIEW (in most cases).

    But yes, you have several ways of calling C++ code from LabVIEW application or vice versa.  To call it since in LabVIEW, I would like to make a DLL to your C++ code.  If you want the main code be based C++, you will probably use ActiveX or a LabVIEW built DLL.

    References to help get your started:

    For calls of LabVIEW in C++: http://www.ni.com/white-paper/5719/en/

    For C++ in LabVIEW calls: http://www.ni.com/white-paper/4877/en/

    EDIT:

    Heck, if you really want to be gross you could write two applications and communicate via TCP.  You have many options

  • 2901 NI USRP in C program

    I'm new on USRP and I have a 2901 I'm trying to control with a C program.   The manual says the device can be used only with Labview System Communication Design, but all the drivers seem to be there.  Can I control with C program?  If I can use with the C program, should I install the Labview anyway?

    C I can communicate with the device, but after I niUSRP_ConfigureSignal and call niUSRP_WriteTxDataComplexInt16 to send samples, the call to fail with the message "data NI2901 writing failed. Status =-1074118650 ", even if I have the time set for a certain number of negatvie (wait forever).  All other calls seem to work perfectly.  Any help would be appreciated.

    Hi Phipps,

    You can program the 2900 using the driver Ettus UHD in C++, and I think that C as well. The USRP 2900 is very similar to a B200.

  • Import of very special binary data in Diadem

    In order to use the tiara I need to import binary transient recorders data. The data is stored in block mode (after CH CH), in the form of pairs of X - Y data. All channels have different lengths, but the structure and channel names are written in a special header block, preceding the data. Pairs of data X - there are written in words (32-bit) with the variable X / Y separation is Y maybe for example scale 12-bit and so X by using the remaining bits of the word 20. The X / position of separation there is too much code in the header.
    Can I set a very complex import directly in DIAdem or can I call a LabVIEW read file and decode the driver? Or is it simply impossible, except that I convert all my 120000 data sets and made them using 4 times more space?

    Thank you very much in advance to the experts!

    Marco Mailand
    ABB Switzerland Ltd.
    Technology high voltage

    Hi Andreas,
    about the e-mail of Hervé Bailey of NOR-CH, I wish to inform you that I can't yet give you examples of files as the data format is buried in the form of code F77 w/o any general description. It was developed where people used the ATARI computers to write text and no format is standardized. The lack of mass storage, compression was really maximized with this special format. Right now I am able to read and parse the header and to extract the information of access channel, but I can't access the channels in a reliable way. This means that some I can access, others do not and I don't know what's wrong. I guess in some rounded effect of the real by the division of integers that is used to calculate the start of the channel block.

    Best regards, Mar
    Co

    P.S.: You can contact me under mailto:[email protected] offline

  • Deleting FTP

    Hello!

    I chose to use ftp to transfer files between a compact RIO and a Windows 7 Pro customer.  Windows client software is developed in 2012 of LabVIEW.  The ftp "embedded," VI perform open, connection, put, get, and list.  I understand that there is currently no VI ftp to delete files or create new folders on the compact RIO.  I also see that the Internet Toolkit is available for download.

    Of the basis of knowledge NOR about the Internet Toolbox, "these obsolete APIs is available on ni.com/drivers (Windows, Mac OS, Linux) for existing applications, upgrade to LabVIEW 2012 or later." National Instruments recommends against the beginning of any new developments with these APIs.

    As there are many options available (some of which I'm sure I'm not yet aware) I would like to know what is the recommendation of OR for an application that has not only put and get, but also delete and create.  The methods that come to mind are:

    (1) command, ftp Windows 7

    (2) FileZilla ftp client

    (3) pass signals using compact RIO static and the compact Rio variable removes and create based on these signals (I think it would be awkward)

    (4) develop a .NET DLL that is the compact RIO using ftp interface

    (5) purchase a license for the box tool FTP de EvaluMation

    (6) download the Toolkit OR from the Internet (even though NEITHER says that it should not be used for its "new developments") by the way, is there any cost for the NI Internet Toolkit?

    Can anyone suggest what recommends these, or other options?  I want the deletion of files and folders that are created without action by the operator (using NI MAX, for example).

    Thank you

    Hamilton wood

    You do not need the Internet for the screws of FTP Toolbox, these are now included in the standard palettes of LabVIEW (Data Communication > protocols > FTP).

    The FTP Toolbox is not a "predefined" VI to remove the files, but you can use the 'Command.vi FTP"(used inside many screws of FTP) directly and send the command 'DELE path\to\file.ext' there.

  • How to read data from the memory on the computer that was written by another program host

    Hi all

    This is my first post.

    I am very new to LabView and I just finished 1 Core and Core 2 with no experience of LabView.

    I have a card SilconSoftware acquisition with an FPGA card on it to capture and image of a CamerLink sensor processing. The FPGA is programmed to produce a 64-bit using DMA to the host PC image, and I know the address of the Image. The image consists of two pixels, I would read the pixels in LabView, so I can decode the information.

    How can I do this?

    Thank you _KAL

    I'm not familiar with this specific material, but the easiest is if the camera is compatible with IMAQ. Furthermore, the seller provides a DLL to access the images?

    Mike...

Maybe you are looking for