LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How implement analog sorting?

Ant,

 

If you are planning on doing any FPGA coding in LabVIEW, you will need to get some of our hardware that has an FPGA in it. (i.e, cRIO, R-Series PCI/PXI, sbRIO). Simulating FPGA in LabVIEW will be identical to just programming without FPGA.

 

If you're set on doing this in FPGA, you'll need to get the hardware. It may be beneficial for you to get some LabVIEW FPGA training as well, as it would be extremely useful with these getting starting questions.

Message 21 of 33
(1,635 Views)

What trainings? I downloaded several pds- on topic but I need to have some FPGA-specific functions, but to use FPGA I need to choose the target?

If I have no device -- How choose the target? Let it be the simulation -- so how to launch simulation?

And yet I included to my Labview IP FPGA Builder module--but how can I use it -- as I have seen that it has a lot of the same functions as

simple Labview, except the continous integrator so what i need for the simulation, and how launch it?

I have downloaded the FPGA Module too -- so how to use it what it does, what IP Builder do?

And there is am Xilinx compi;ations tools module should I download it as i is very large by size--Can I simulate Xilinx or I should just

buy Xilinx then introduce this module for the my Labview?

0 Kudos
Message 22 of 33
(1,619 Views)

Hi ant11,

 

As Daniel posted on the last message I also think that if you are starting with the LabVIEW FPGA programming and what it comes with it the training could be an excelent option to solve most of your actual concerns. If you are interested you could follow the next link to see the course overview, the requisites and also you could look for the option that you consider the most suitable for your case.

 

Regarding the IP Builder, to get started with it you could also take a look at the following white-paper from our web site which contains a breif description and how to use guide for it.

 

Hope you could find this information helpful!

Regards,

Sil.VI
0 Kudos
Message 23 of 33
(1,593 Views)
1) Sorry I am not from US or Western Europe. Anyway it is not so difficult not to learn from text. But I connected the Labview with IP FPGA Builder module, as well with Advanced Signal Processing. But how can I use. Should I connect also FPGA module that I also have on my USB-Disk. 2) If I could have the Labview standart circuit—how can I convert it to FPGA or FPAA (Analog Arrays)—if there are such ones. Can I convert it automatically? Can I use such function as Signal Generation in FPGA palette. And of cause I cannot use integrator on time on FPGA. Would you convert the files from 14 to 12 version for me to view it? https://decibel.ni.com/content/docs/DOC-38933 3) Just now I tried to create one diagram after managing to do it Simulink. http://postimg.org/image/hswnsla0h/ But I got the error on the type compability, to be more exact On array and one-unit item compability of the same type –despite I have no similar error in SL. Should I correctly understand that I cannot fork the wire more tan once. If I have the wire could I branch it to for example 6 items? I refer here the image. In the second case I have the same error with Boolean type. I subtract two numbers and its checked twice is it >=0 or NOT equal to 0, than go inside the selector function but it evokes the error. Here it forkes just once?? So what I need to do here. Should I build array here?
0 Kudos
Message 24 of 33
(1,563 Views)
0 Kudos
Message 25 of 33
(1,555 Views)

Did you read the popup when you hover over the broken wire?

 

You can't wire a 1-D array of boolean when it is expecting just a boolean.  The select function doesn't take an array into its selector input.

 

Perhaps you should wrap that select with a For Loop and turn on auto-indexing on all the tunnels.

 

Then go vote for this idea if you want Select Comparison Function accept array for its Select input

0 Kudos
Message 26 of 33
(1,546 Views)

The issue is in arry-to-one after the substarction?

If it cahge it change the input for the select. The input for the select should be the integer no more.

So I do not undeestand why I got the arryay of  1D-after the integrator it should also to be the integer. And why I caamot connect the Integer Control(DBL) to initial value of iintegrator, just the constant that is also of 1D array --but it should be just 0.

Here I have attachment where I showed that when building the array I received 2d array --it is even diificult image what is it--then I shaped the For cycle with the comparizons,

and Summation of array. But it produce the sum of 0. Anyway I need to dispay the 6 result on graph--here it have any conncetion and if so--I need to use paralell calculations but here I should use the For loop that contradict of this principle.

So why I remale the initial scheme and why it generate the error when connecting with output--indicator?

0 Kudos
Message 27 of 33
(1,522 Views)

I'm sorry, but I really didn't understand a word you said in that last message.

 

All I can tell is you are now talking about a different part of your code than you were before.

 

Your probe 49 shows an empty 2-D array.  That For Loop is going to run 0 times because of that.  You also have a broken run arrow, so your code isn't capable of running at all.

0 Kudos
Message 28 of 33
(1,509 Views)
https://decibel.ni.com/content/docs/DOC-38933 -- But I am intersted in that initial scheme. The error, broken arrow. disappear when I disconnect with output to indicator but then I can not check the value. But anyway it results in array. Why there are any arrays? I create the integers that substract variable x, then that result compares to 0 and transform to 1 or 0 --then I add all that and substract from K (integer) -- so the result is integer. Then depending on the result (should it be >0,=0,<0) I pass to the input of integrator the x, x-A, or simply 0. In the first two cases the x --is the result of intehrator output with initial condition of 0. So the Input as output of integrator should be also one double. So why here are 1D arrays? MAybe I choose incorrect integating method--simpson-1--by default. And about the integrator taht has default initial value of 0. If I want to define it directly I choose constant --but it appear as the arry with 0 value--why? And if I want to pass 0 to lower input of 2nd selector that is the same as Switch in simulink I also get error on incompatibily of 0 as Num control of 0 so I just need to use Constat of 0--also as the 1d array--why here are any arrays? I have the same circuit in Simulink and it works correctly there wgy here I have problems with the arrays 1d? How to absolve of it. And once more: I need to use the signals as in Simulink but when I change the Num Control to Simulate Signals DC (offset=2) I got the zebra dark-blue pattern line and when probing the content I got t0=DD.MM.YYY, dt=1, Y=0. And also some kind of Array depending on time--so how I can convert the simulated constant signal to Integer in LAbview as it seems creates more difficulties. But even with simple intefers it creates the problems, despite no problems with the signals in Simulink?
0 Kudos
Message 29 of 33
(1,492 Views)

I still can't understand what you wrote.  Even though you use periods, it reads like one long run-on sentence.

0 Kudos
Message 30 of 33
(1,504 Views)